Content
100%Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.
This is an excellent skill file that efficiently teaches ast-grep usage. It nails the balance between providing enough actionable detail (constraints, workflow, examples) while deferring comprehensive reference material to clearly-signaled supporting files. The constraints section is particularly strong, identifying the most common failure modes with specific solutions rather than generic advice.
| Dimension | Reasoning | Score |
|---|---|---|
Conciseness | The content is lean and efficient. Every constraint and workflow step teaches something specific to ast-grep that Claude wouldn't already know. The introductory paragraph is brief and establishes the mental model (patterns vs YAML rules, ~60/40 split) without over-explaining ASTs or tree-sitter. | 3 / 3 |
Actionability | Provides fully executable CLI commands and complete YAML rule examples that are copy-paste ready. Examples cover the key use cases (search, rewrite, relational rules, context/selector) with concrete syntax, and constraints specify exact pitfalls with specific solutions. | 3 / 3 |
Workflow Clarity | The 7-step workflow is clearly sequenced with explicit validation checkpoints (steps 5 and 6), a feedback loop ('when a rule doesn't work, go back to step 3'), and a final verification step. The emphasis on testing after each incremental addition and verifying against positive/negative cases is excellent for this error-prone domain. | 3 / 3 |
Progressive Disclosure | The main content provides a concise overview with constraints, workflow, and examples, then cleanly references five well-organized one-level-deep reference files (pattern-syntax, rule-reference, yaml-config, cli, recipes) with clear descriptions of what each contains. | 3 / 3 |
Total | 12 / 12 Passed |