用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/rcarmo/piclaw-addons --skill ast-grep命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Manage Iroh client-ID pairing in Remote Peer Settings and use chat for trusted one-hop peer conversations.
Render a multi-instance Piclaw usage chart from Graphite telemetry.
Inspect and use the catalogue-backed cheapskate/auto router, which permits only explicitly enabled models with exact zero catalogue pricing.
基于 SOC 职业分类
正在显示 SKILL.md
| name | ast-grep |
| description | Use `code_search` and `code_rewrite` for syntax-aware code search and refactors when structure matters. |
| distribution | public |
Use this skill when text search would be noisy or unsafe.
code_search(pattern, lang, path?, limit?) — find code by AST patterncode_rewrite(pattern, rewrite, lang, path?, dry_run?) — structural find-and-replaceconsole.log($MSG) — find all console.log callsvar $NAME = $VAL → const $NAME = $VAL — modernize var declarationscatch ($ERR) { } — find empty catch blocksimport $X from "lodash" — find imports from a specific modulecode_search(pattern, lang, path, limit=20) — narrow path, sample firstcode_rewrite(pattern, rewrite, lang, path, dry_run=true) — preview changescode_rewrite(pattern, rewrite, lang, path, dry_run=false) — applygrepdry_run=true before applying any rewritepath to avoid unintended matches in vendored/generated codelang values: typescript, javascript, tsx, jsx, python, rust, go, java, c, cpp, csharp, ruby, swift, kotlin, lua, html, css, json, yamllang is correct (e.g. typescript not ts), broaden patternpath, add more structure to pattern, lower limittypescript ≠ tsx, javascript ≠ jsx — run separate passes