원클릭으로
update-highlights
Update highlights.scm to cover all grammar rules, detecting missing patterns
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Update highlights.scm to cover all grammar rules, detecting missing patterns
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | update-highlights |
| description | Update highlights.scm to cover all grammar rules, detecting missing patterns |
Ensure queries/highlights.scm has syntax highlighting patterns for all grammar rules.
Extract all ShellSpec keywords from grammar.js: Find every string literal used as a keyword
(Describe, It, When, The, etc.) and every rule name prefixed with shellspec_.
Read current highlights.scm: Check which keywords and rules already have highlight patterns.
Identify gaps: List any keywords or node types from grammar.js that are missing from highlights.scm.
Add missing patterns following the existing conventions in highlights.scm:
@keyword@attribute@keyword@keyword@function.macro@string@variable.builtin or @function.builtinEnd keyword → @keywordVerify: Run tree-sitter test to ensure highlights don't cause issues.
Optionally test with tree-sitter highlight test/spec/*.sh if available.
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
Run full pre-release validation - tests, spec parsing, highlight coverage, build