ast-grep 是做什么的?
编写ast-grep规则以执行结构化代码搜索和分析的指南。当用户需要基于抽象语法树(AST)模式搜索代码库、查找特定代码结构或执行超越简单文本搜索的复杂代码查询时使用。此技能应在用户要求搜索代码模式、查找特定语言构造或定位具有特定结构特征的代码时使用。
编写ast-grep规则以执行结构化代码搜索和分析的指南。当用户需要基于抽象语法树(AST)模式搜索代码库、查找特定代码结构或执行超越简单文本搜索的复杂代码查询时使用。
ast-grep/ast-grep 是一个专注于代码结构搜索和分析的 AI 助手技能。它基于抽象语法树(AST)模式,允许开发者编写精细的规则来定位特定代码结构,如函数调用、类定义、变量声明等,而不仅仅是依赖文本匹配。此技能适用于多种编程语言,并支持复杂的代码查询,例如查找所有使用了特定设计模式或违反编码规范的实例。通过使用 ast-grep 技能,开发者可以更高效地执行代码审查、重构和迁移任务。它的工作方式是解析用户输入的查询意图,生成或解释相应的 ast-grep 规则,并指导用户如何在项目中应用这些规则进行自动化搜索。
npx skills add https://github.com/ast-grep/agent-skill/tree/main/skills/ast-grepInstalled? Explore more 研究与数据分析 skills: affaan-m/uspto-database, affaan-m/scholar-evaluation, affaan-m/literature-review · View all 6 →
编写ast-grep规则以执行结构化代码搜索和分析的指南。当用户需要基于抽象语法树(AST)模式搜索代码库、查找特定代码结构或执行超越简单文本搜索的复杂代码查询时使用。此技能应在用户要求搜索代码模式、查找特定语言构造或定位具有特定结构特征的代码时使用。
USPTO patent and trademark data workflow for official record lookup, PatentSearch queries, TSDR checks, assignment data, and reproducible IP research logs.
Structured scholarly-work evaluation for papers, proposals, literature reviews, methods sections, evidence quality, citation support, and research-writing feedback.
Systematic literature-review workflow for academic, biomedical, technical, and scientific topics, including search planning, source screening, synthesis, citation checks, and evidence logging.
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Agent skill repository discovered by 10x-chat research.
Review backend code for quality, security, maintainability, and best practices based on established checklist rules. Use when the user requests a review, analysis, or improvement of backend files (e.g., `.py`) under the `api/` directory. Do NOT use for frontend files (e.g., `.tsx`, `.ts`, `.js`). Supports pending-change review, code snippets review, and file-focused review.