CtrlK
BlogDocsLog inGet started
Tessl Logo

structural-search

Search code by AST structure using ast-grep. Find semantic patterns like function calls, imports, class definitions instead of text patterns. Triggers on: find all calls to X, search for pattern, refactor usages, find where function is used, structural search, ast-grep, sg.

99

4.00x
Quality

100%

Does it follow best practices?

Impact

96%

4.00x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No known issues

SKILL.md
Quality
Evals
Security

Quality

Discovery

100%

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

This is a strong skill description that clearly communicates what the skill does (AST-based structural code search), how it differs from alternatives (semantic patterns vs text patterns), and when to use it (with a comprehensive 'Triggers on' clause). The description is concise, uses third person voice, and includes both tool-specific terms (ast-grep, sg) and natural language triggers.

DimensionReasoningScore

Specificity

Lists multiple specific concrete actions: 'Search code by AST structure', 'Find semantic patterns like function calls, imports, class definitions'. Clearly distinguishes from text-based search by specifying structural/semantic pattern matching.

3 / 3

Completeness

Clearly answers both 'what' (search code by AST structure, find semantic patterns like function calls, imports, class definitions) and 'when' (explicit 'Triggers on:' clause with multiple natural trigger phrases).

3 / 3

Trigger Term Quality

Excellent coverage of natural trigger terms: 'find all calls to X', 'search for pattern', 'refactor usages', 'find where function is used', 'structural search', 'ast-grep', 'sg'. These are phrases users would naturally say when needing this capability.

3 / 3

Distinctiveness Conflict Risk

Clearly distinguishes itself from generic code search or text-based grep by emphasizing AST/structural search, semantic patterns, and the specific tool ast-grep/sg. The distinction from text patterns is explicitly stated, reducing conflict with regular search skills.

3 / 3

Total

12

/

12

Passed

Implementation

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 that is concise, highly actionable, and well-structured. It provides immediately executable ast-grep commands covering the most common use cases, with a clean quick reference table and well-organized references to deeper content. The only minor note is the slightly truncated content in the pattern syntax table (appears cut off), but the essential patterns section more than compensates.

DimensionReasoningScore

Conciseness

The content is lean and efficient, using tables and code examples without unnecessary explanation. It doesn't explain what ASTs are or how ast-grep works internally—it just shows the patterns and commands.

3 / 3

Actionability

Every example is a copy-paste ready command with concrete patterns. The 10 essential patterns cover real-world use cases with executable `sg` commands, and the quick reference table provides immediately usable command variations.

3 / 3

Workflow Clarity

For this single-purpose search tool, the workflow is unambiguous: find patterns, optionally preview replacements, then apply. The distinction between preview (`-r`) and apply (`--rewrite`) serves as an implicit validation checkpoint for the refactoring use case.

3 / 3

Progressive Disclosure

The skill provides a concise overview with essential patterns inline, then clearly signals one-level-deep references to language-specific patterns, security patterns, and advanced usage in the Additional Resources section.

3 / 3

Total

12

/

12

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation11 / 11 Passed

Validation for skill structure

No warnings or errors.

Repository
NeverSight/skills_feed
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.