smithery.ai

autofix-blueprint-syntax

Fixes syntax errors in Android.bp files.

First seen Mar 21, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,233 B
  • docs SUMMARY.md 72 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

Blueprint Syntax Skill

Fixes parsing and syntax errors in Android Blueprint (Android.bp) files.

Detection Patterns

  • Android.bp:X:Y: parse error
  • expected ',' before ']'
  • unexpected '}'
  • unrecognized property

Strategy

  1. Locate Error: Find the exact line and column in Android.bp.
  2. Identify Issue: Parse the syntax error description.
  3. 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.