ast-grep 是做什麼的?
撰寫 ast-grep 規則以進行結構化程式碼搜尋與分析的指南。當使用者需要透過抽象語法樹(AST)模式搜尋程式碼庫、尋找特定程式碼結構,或進行超越純文字搜尋的複雜程式碼查詢時使用。此技能應在使用者要求搜尋程式碼模式、尋找特定語言建構,或定位具有特定結構特性的程式碼時啟用。
撰寫 ast-grep 規則以進行結構化程式碼搜尋與分析的指南。當使用者需要透過抽象語法樹(AST)模式搜尋程式碼庫、尋找特定程式碼結構,或進行超越純文字搜尋的複雜程式碼查詢時使用。
此技能提供使用 ast-grep 工具撰寫規則的指南,用於進行結構化程式碼搜尋與分析。ast-grep 是一種基於抽象語法樹(AST)的模式匹配工具,支援多種程式語言,能讓開發者以結構化方式搜尋程式碼,而非依賴純文字或正則表達式。本技能涵蓋規則語法、模式匹配技術、常見使用案例以及最佳實踐,幫助使用者有效利用 ast-grep 在大型程式碼庫中尋找特定程式碼結構、語言建構或模式。它支援多種平台,包括 CLI、編輯器整合與 CI/CD 流程,非常適合用於重構、靜態分析、程式碼審查與教育目的。
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.