بنقرة واحدة
validate-release
Run full pre-release validation - tests, spec parsing, highlight coverage, build
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Run full pre-release validation - tests, spec parsing, highlight coverage, build
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
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
Generate parser from grammar.js, run all tests, and verify spec files parse cleanly
Update highlights.scm to cover all grammar rules, detecting missing patterns
استنادا إلى تصنيف SOC المهني
| name | validate-release |
| description | Run full pre-release validation - tests, spec parsing, highlight coverage, build |
| disable-model-invocation | true |
Run comprehensive pre-release checks before tagging a release.
Run all corpus tests:
npm test
Must be 100% passing. Report the total test count (must be >= 96).
Verify spec files parse cleanly:
total_errors=0
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"
total_errors=$((total_errors + errors))
fi
done
echo "Total spec file errors: $total_errors"
Must be 0 errors.
Check highlight coverage: Compare keywords in grammar.js against patterns in queries/highlights.scm. Report any uncovered keywords.
Build the parser:
npm run build
Must succeed without errors.
Verify README accuracy:
Check EditorConfig compliance:
npx editorconfig-checker
Summary: Report pass/fail for each check, with details on any failures. All checks must pass for release.