ワンクリックで
generate-and-test
Generate parser from grammar.js, run all tests, and verify spec files parse cleanly
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Generate parser from grammar.js, run all tests, and verify spec files parse cleanly
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Add a new ShellSpec grammar rule with tests, following project conventions
Debug a ShellSpec parse failure by identifying ERROR nodes and tracing to grammar rules
Update highlights.scm to cover all grammar rules, detecting missing patterns
Run full pre-release validation - tests, spec parsing, highlight coverage, build
| name | generate-and-test |
| description | Generate parser from grammar.js, run all tests, and verify spec files parse cleanly |
Run the full grammar validation workflow:
Generate the parser from grammar.js:
npm run generate
If generation fails, stop and report the error.
Run all corpus tests:
npm test
All tests must pass (100% success rate required). If any fail, report which tests failed.
Verify real spec files parse without errors:
for f in test/spec/*.sh; do
errors=$(tree-sitter parse "$f" 2>&1 | grep -c ERROR || true)
if [ "$errors" -gt 0 ]; then
echo "ERRORS in $f: $errors"
tree-sitter parse "$f" 2>&1 | grep ERROR
fi
done
Report any spec files with parse errors.
Summary: Report total corpus tests passed, and spec file parse status.