[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ADZGQCC0CCEEBX624R6P7Y":3,"skill-same:01M7ADZGQCC0CCEEBX624R6P7Y":44},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M7ADZGQCC0CCEEBX624R6P7Y","ast-grep-outline",null,"Use when exploring or modifying a codebase and you need a cheap structural map of files, directories, imports, exports, or direct members before reading full source.","hanchenhao\u002Fai-canvas","hanchenhao","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F15713703?v=4","01M7ADWCF5AE30N3MG7MDF3RV2","01M7ADWCFVJS4V8VD9KWJG22WR",1,"AGPL-3.0","https:\u002F\u002Fgithub.com\u002Fhanchenhao\u002Fai-canvas\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fast-grep-outline\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: ast-grep-outline\ndescription: Use when exploring or modifying a codebase and you need a cheap structural map of files, directories, imports, exports, or direct members before reading full source.\n---\n\n# Use ast-grep outline\n\n`ast-grep outline` prints a compact structural map of source code with line\nnumbers: top-level **items** (imports, functions, classes, structs,\ninterfaces, modules, enums) and their direct **members** (fields, methods,\nconstructors, enum variants). It is a local, syntax-only view — cheap enough\nto run before any full file read.\n\nRead code in stages: find candidate files with search or file names, outline\nthem, then open only the source range the outline points to. Defaults adapt to\ninput: a file shows its local structure with member digests; a directory shows\nonly its exported surface as grouped names.\n\n## When To Use It\n\n**Understand a file before editing.** Get a table of contents, dependencies,\nand public entry points before reading implementation details:\n\n```shell\nast-grep outline \u003Cfile>\nast-grep outline \u003Cfile> --items imports\nast-grep outline \u003Cfile> --items exports\n```\n\n**Map an unfamiliar directory.** Scan the public surface of a subtree, then\nnarrow by symbol type when you know what you are looking for:\n\n```shell\nast-grep outline \u003Cdir> --items exports\nast-grep outline \u003Cdir> --type struct,enum,function\n```\n\n**Zoom into a known symbol.** After search finds a likely name, list its\nmembers with line numbers instead of reading the whole body:\n\n```shell\nast-grep outline \u003Cfile> --match \u003Csymbol> --type class --view expanded\n```\n\n**Trace dependency direction.** Find which files import a package or module to\ndecide where a change belongs:\n\n```shell\nast-grep outline \u003Cdir> --items imports --view signatures\n```\n\n**Review changed files after editing.** Git tells you what changed; outline\nsummarizes the resulting structure and public surface:\n\n```shell\nast-grep outline $(git diff --name-only HEAD) --items exports\n```\n\n## Argument Guide\n\n- `--items \u003CKIND>` selects top-level items: `structure` for local declarations\n  (file default), `exports` for public API (directory default), `imports` for\n  dependencies, `all` when import\u002Fexport edges matter together.\n- `--view \u003CVIEW>` controls detail, from least to most: `names` for directory\n  scans, `signatures` for one line per item, `digest` for signatures plus\n  member names, `expanded` for one line per member with its line number.\n- `--match \u003CREGEX>` filters top-level items by name or signature. Rust regex,\n  case-sensitive; it never matches members.\n- `--type \u003CTYPE[,TYPE...]>` keeps only some top-level symbol types, such as\n  `--type class,function`. Member types like `method,field` never match\n  top-level items.\n- `--pub-members` hides private members when the view prints members.\n- `--json=stream` emits one JSON object per file with precise ranges. Use it\n  only to pipe or post-process entries; prefer text for navigation.\n\n## Limits\n\n`outline` shows local syntax structure. It does not resolve references, infer\ntypes, follow re-export chains, or build a call graph. Use `ast-grep run`,\n`rg`, or compiler-backed tools for those questions, then outline the candidate\nfiles they surface.\n````\n\n## NodeTool notes\n\nVendored from https:\u002F\u002Fgithub.com\u002Fast-grep\u002Fagent-skill @ c2a9bc1 (2026-07-03).\nRun via `npx --yes --package @ast-grep\u002Fcli ast-grep outline \u003Cargs>` (bare\n`npx @ast-grep\u002Fcli` fails — the binary is named `ast-grep`).\n","# Use ast-grep outline\n\n`ast-grep outline` prints a compact structural map of source code with line\nnumbers: top-level **items** (imports, functions, classes, structs,\ninterfaces, modules, enums) and their direct **members** (fields, methods,\nconstructors, enum variants). It is a local, syntax-only view — cheap enough\nto run before any full file read.\n\nRead code in stages: find candidate files with search or file names, outline\nthem, then open only the source range the outline points to. Defaults adapt to\ninput: a file shows its local structure with member digests; a directory shows\nonly its exported surface as grouped names.\n\n## When To Use It\n\n**Understand a file before editing.** Get a table of contents, dependencies,\nand public entry points before reading implementation details:\n\n```shell\nast-grep outline \u003Cfile>\nast-grep outline \u003Cfile> --items imports\nast-grep outline \u003Cfile> --items exports\n```\n\n**Map an unfamiliar directory.** Scan the public surface of a subtree, then\nnarrow by symbol type when you know what you are looking for:\n\n```shell\nast-grep outline \u003Cdir> --items exports\nast-grep outline \u003Cdir> --type struct,enum,function\n```\n\n**Zoom into a known symbol.** After search finds a likely name, list its\nmembers with line numbers instead of reading the whole body:\n\n```shell\nast-grep outline \u003Cfile> --match \u003Csymbol> --type class --view expanded\n```\n\n**Trace dependency direction.** Find which files import a package or module to\ndecide where a change belongs:\n\n```shell\nast-grep outline \u003Cdir> --items imports --view signatures\n```\n\n**Review changed files after editing.** Git tells you what changed; outline\nsummarizes the resulting structure and public surface:\n\n```shell\nast-grep outline $(git diff --name-only HEAD) --items exports\n```\n\n## Argument Guide\n\n- `--items \u003CKIND>` selects top-level items: `structure` for local declarations\n  (file default), `exports` for public API (directory default), `imports` for\n  dependencies, `all` when import\u002Fexport edges matter together.\n- `--view \u003CVIEW>` controls detail, from least to most: `names` for directory\n  scans, `signatures` for one line per item, `digest` for signatures plus\n  member names, `expanded` for one line per member with its line number.\n- `--match \u003CREGEX>` filters top-level items by name or signature. Rust regex,\n  case-sensitive; it never matches members.\n- `--type \u003CTYPE[,TYPE...]>` keeps only some top-level symbol types, such as\n  `--type class,function`. Member types like `method,field` never match\n  top-level items.\n- `--pub-members` hides private members when the view prints members.\n- `--json=stream` emits one JSON object per file with precise ranges. Use it\n  only to pipe or post-process entries; prefer text for navigation.\n\n## Limits\n\n`outline` shows local syntax structure. It does not resolve references, infer\ntypes, follow re-export chains, or build a call graph. Use `ast-grep run`,\n`rg`, or compiler-backed tools for those questions, then outline the candidate\nfiles they surface.\n````\n\n## NodeTool notes\n\nVendored from https:\u002F\u002Fgithub.com\u002Fast-grep\u002Fagent-skill @ c2a9bc1 (2026-07-03).\nRun via `npx --yes --package @ast-grep\u002Fcli ast-grep outline \u003Cargs>` (bare\n`npx @ast-grep\u002Fcli` fails — the binary is named `ast-grep`).\n",{"name":5,"description":7},"main","4ef72a828b24c99c49109033c7ec504c34f3bd17",".claude\u002Fskills\u002Fast-grep-outline",0,"https:\u002F\u002Fgithub.com\u002Fhanchenhao\u002Fai-canvas","https:\u002F\u002Fgithub.com\u002Fhanchenhao","2026-08-18 16:41:12",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add hanchenhao\u002Fai-canvas --skill ast-grep-outline",{"tool":36,"command":37},"bunx","bunx skills add hanchenhao\u002Fai-canvas --skill ast-grep-outline",{"tool":39,"command":40},"pnpm","pnpm dlx skills add hanchenhao\u002Fai-canvas --skill ast-grep-outline","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhanchenhao\u002Fai-canvas\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fast-grep-outline\u002FSKILL.md",true,[],[45,52,59,66,73,80],{"skillNo":46,"name":47,"nameZh":6,"description":48,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":49,"categories":50,"keywords":51,"publishedAt":18},"01M7AE5NP5AWGV47WS3F37VPZ1","sandbox-zip","Read and write zip archives in a Code node or CodeAct action, with fflate running on the host under a 50 MB inflation cap","https:\u002F\u002Fgithub.com\u002Fhanchenhao\u002Fai-canvas\u002Fblob\u002Fmain\u002Fpackages\u002Fsandbox-packs\u002Fsandbox-zip\u002FSKILL.md",[],[],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":18},"01M7AE5JP0CG2S114Q246RC6MH","sandbox-yaml","Read and write YAML inside a Code node or CodeAct action, with js-yaml running in the guest","https:\u002F\u002Fgithub.com\u002Fhanchenhao\u002Fai-canvas\u002Fblob\u002Fmain\u002Fpackages\u002Fsandbox-packs\u002Fsandbox-yaml\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":18},"01M7AE5GJ9AV36WM1DPW1878VM","sandbox-xml","Parse XML feeds and sitemaps in a Code node or CodeAct action, with fast-xml-parser running on the host","https:\u002F\u002Fgithub.com\u002Fhanchenhao\u002Fai-canvas\u002Fblob\u002Fmain\u002Fpackages\u002Fsandbox-packs\u002Fsandbox-xml\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":18},"01M7AE5DMYDAGJW27G8KKTZ2BN","sandbox-xlsx","Read and write Excel workbooks in a Code node or CodeAct action, with exceljs running on the host","https:\u002F\u002Fgithub.com\u002Fhanchenhao\u002Fai-canvas\u002Fblob\u002Fmain\u002Fpackages\u002Fsandbox-packs\u002Fsandbox-xlsx\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":18},"01M7AE5BARJSFCT296SEMYDSJQ","sandbox-twilio","Send SMS and WhatsApp messages and look up numbers from a Code node or CodeAct action, with NodeTool's Twilio request builder running on the host","https:\u002F\u002Fgithub.com\u002Fhanchenhao\u002Fai-canvas\u002Fblob\u002Fmain\u002Fpackages\u002Fsandbox-packs\u002Fsandbox-twilio\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":18},"01M7AE57C5APRDF96NB3G0WQMW","sandbox-tfjs","Classify and embed images, detect objects, and answer from a passage in a Code node or CodeAct action, with TensorFlow.js running on the host","https:\u002F\u002Fgithub.com\u002Fhanchenhao\u002Fai-canvas\u002Fblob\u002Fmain\u002Fpackages\u002Fsandbox-packs\u002Fsandbox-tfjs\u002FSKILL.md",[],[]]