What problem does it solve? Text-based search cannot reliably find code by structure, such as all async functions missing error handling or console.log calls inside class methods. This Skill translates natural language queries into ast-grep rules that match code by its Abstract Syntax Tree structure. ## Core Features & Use Cases - Rule Authoring Workflow: Guides you from a natural language query through example code, rule creation, testing, and full codebase search. - Structural Code Search: Uses atomic, relational, and composite rules (pattern, kind, inside, has, all, any, not) with metavariables to match complex code structures. - Debugging Support: Uses --debug-query to inspect the AST/CST and diagnose why rules fail to match. - Use Case: Find all async JavaScript functions that use await but lack try-catch blocks across an entire repository with a single YAML rule. ## Quick Start Ask the assistant to find all async functions that use await but have no try-catch error handling in your JavaScript project.