Coding
PromptBeginner5 minmarkdown
Nano Banana Pro
Agent skill for nano-banana-pro
6
- `grammar.js`, `src/`, and `binding.gyp` contain the Tree-sitter grammar plus generated artifacts (`src/parser.c`, `src/node-types.json`). Regenerate via the CLI rather than editing generated files directly.
Sign in to like and favorite skills
grammar.js, src/, and binding.gyp contain the Tree-sitter grammar plus generated artifacts (src/parser.c, src/node-types.json). Regenerate via the CLI rather than editing generated files directly.corpus/ holds parser fixtures. Each ================== block should mirror real .stencil snippets gathered from mage/Sources/Mage/Templates.queries/stencil/ stores highlight queries. Keep one language per folder so Neovim loads them automatically.scripts/install-manual.sh is the end-user helper for cloning into ~/.local/share/nvim/tree-sitter. Update it whenever installation paths change.assets/ contains README visuals; keep large binaries out of Git history unless essential.npm install — installs tree-sitter-cli, node-addon-api, and other build deps. Run once per checkout.npm run generate — executes tree-sitter generate, refreshing src/parser.c and src/node-types.json.npm test — shorthand for tree-sitter test; validates the grammar against corpus/.scripts/install-manual.sh — clones or updates the parser directly into Neovim’s parser directory and copies highlight queries to ~/.config/nvim/queries/stencil.const/let. Avoid trailing commas in grammar arrays to minimize merge conflicts.Assignment Tag.set -euo pipefail and informative logging (highlight/info/warn helpers already defined).{% assign foo = bar %}).npm test before committing; CI assumes generated artifacts match grammar.js.Add include_tag parser rule, Fix highlights path). Group grammar + generated artifacts in the same commit.assets/ accordingly), and manual-install instructions when scripts change.Fixes #12) and mention whether users must re-run :TSInstallFromGrammar stencil.When writing complex features or significant refactors, use an ExecPlan (as described in .agent/PLANS.md) from design to implementation.