← スキル一覧に戻る

autofix-blueprint-syntax
by hyz0906
⭐ 0🍴 0📅 2026年1月19日
SKILL.md
name: autofix-blueprint-syntax description: Fixes syntax errors in Android.bp files.
Blueprint Syntax Skill
Fixes parsing and syntax errors in Android Blueprint (Android.bp) files.
Detection Patterns
Android.bp:X:Y: parse errorexpected ',' before ']'unexpected '}'unrecognized property
Strategy
- Locate Error: Find the exact line and column in Android.bp.
- Identify Issue: Parse the syntax error description.
- Fix Syntax: Apply the appropriate correction.
Instructions
Step 1: Go to Error Location
From: Android.bp:42:15: parse error: expected ',' before ']'
Open Android.bp at line 42.
Step 2: Common Fixes
Missing comma:
// Before (error)
srcs: [
"file1.cpp"
"file2.cpp"
]
// After
srcs: [
"file1.cpp",
"file2.cpp",
]
Trailing comma issue:
// Before (error in some cases)
deps: [
"libfoo",
] // Trailing comma is OK in Android.bp
Missing colon:
// Before
name "mylib"
// After
name: "mylib",
Unclosed bracket:
// Before
srcs: [
"main.cpp",
// Missing ]
// After
srcs: [
"main.cpp",
],
Step 3: Validate
Run m blueprint_tools or check with Android build.
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です