[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6NRRPYTJM4FE117FTPFFRQA":3,"skill-same:01M6NRRPYTJM4FE117FTPFFRQA":69},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":23,"publishedAt":37,"linkOnly":38,"markdownContent":39,"markdownBody":40,"frontMatter":41,"refName":42,"commitSha":43,"skillDirectory":44,"forksCount":45,"repositoryHtmlUrl":46,"repositoryHomepageUrl":6,"ownerHtmlUrl":47,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":48,"install":49,"resources":62},"01M6NRRPYTJM4FE117FTPFFRQA","extracting-code-structure",null,"Use when listing all methods, functions, or classes in a file, exploring unfamiliar code, getting API overviews, or deciding what to read selectively without loading entire files","mattonweb\u002Fai-assistant-foundry","mattonweb","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F2309734?v=4","01M6NQYCY846TKYN2ZCRS71WQ7","Matt Johnson","01M6NQYD2NPAQEFVD8TW9W0SVX",1,"MIT","https:\u002F\u002Fgithub.com\u002Fmattonweb\u002Fai-assistant-foundry\u002Fblob\u002Fmain\u002Farchitecture-codebase-analysis\u002FSebastienDegodez\u002Fextracting-code-structure\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[24,25,26,27,28,29,30,31,32,33,34,35,36],"code","structure","extracting","code structure","extracting code structure","file","api","read","use","files","functions","methods","loading","2026-11-10 10:12:30",false,"---\nname: extracting-code-structure\ndescription: Use when listing all methods, functions, or classes in a file, exploring unfamiliar code, getting API overviews, or deciding what to read selectively without loading entire files\n---\n\n# Code Structure Exploration Tools\n\n**Always invoke extracting-code-structure skill to extract file structure - do not execute bash commands directly.**\n\n## Recognizing Structure Questions\n\n**These keywords mean use structure tools, NOT grep\u002Fsearch:**\n- \"all the methods\u002Ffunctions\u002Fclasses in...\"\n- \"list of function signatures\"\n- \"what functions\u002Fexports\u002FAPI...\"\n- \"package API\" or \"module exports\"\n- \"method signatures with receivers\" (Dart\u002FFlutter, TypeScript)\n- \"what's available in...\"\n\n**These keywords mean use search (Grep tool or extracting-code-structure skill):**\n- \"where is X defined\"\n- \"find calls to X\"\n- \"search for pattern Y\"\n\n## Before You Choose a Tool\n\nAsk yourself:\n1. Am I listing\u002Fexploring what exists? → Structure tools\n2. Am I finding WHERE something is? → Search tools (Grep or ast-grep)\n3. Am I understanding HOW something works? → Read\n\n## When to Get File Outline vs Read\n\n**Get outline\u002Findex when:**\n- File is large (>500 lines)\n- Need to see what's available (functions, classes, exports)\n- Exploring unfamiliar code\n- Want to decide what to read in detail\n- **Saves 90%+ context** vs reading entire file\n\n**Just use Read when:**\n- File is small (\u003C500 lines)\n- Already know what you're looking for\n- Need to understand implementation details\n- extracting-code-structure pattern already targets what you need\n\n## Anti-Patterns\n\n**DON'T use grep\u002Frg\u002FGrep tool for:**\n- Extracting function\u002Fmethod lists\n- Getting API overviews\n- Finding all exports\u002Fpublic members\n- Getting signatures\u002Finterfaces\n\nThese are STRUCTURE queries, not SEARCH queries.\n\n## Default Strategy\n\n**Invoke extracting-code-structure skill** for extracting file structure (functions, classes, exports) efficiently without reading entire files.\n\nUse ast-grep patterns, Dart\u002FFlutter analyzer, ctags, or language-specific tools to get outlines and signatures. Dart\u002FFlutter and JavaScript\u002FTypeScript support have highest priority.\n\n## Exploration Strategy\n\n**Tiered approach (try in order):**\n\n1. **ast-grep with known patterns** - Fast, targeted (highest priority)\n   - Extract exports, functions, classes with specific patterns\n   - See [code structure guide](.\u002Freference\u002Fcode-structure-guide.md) for patterns, including comprehensive Dart\u002FFlutter support\n\n2. **Toolchain-specific approaches** - When available\n   - **Dart\u002FFlutter analyzer** - Comprehensive structure extraction for .dart files\n     - See [code structure guide](.\u002Freference\u002Fcode-structure-guide.md) for Dart\u002FFlutter patterns\n   - **ctags\u002Funiversal-ctags:** Symbol index across languages\n   - See [code structure guide](.\u002Freference\u002Fcode-structure-guide.md) for examples\n\n3. **Read file** - Last resort for exploration\n   - Sometimes necessary to understand structure\n\n## Key Principle\n\n**Use structure tools to decide what to read, then read selectively.**\n\nDon't read 1000-line files blind. Get an outline first, then read the 50 lines you actually need.\n\n## Skill Combinations\n\n### For Discovery and Exploration\n- **extracting-code-structure → finding-files**: Find files of a specific type, then get structure\n- **extracting-code-structure → searching-text**: Understand structure, then search for specific patterns\n- **extracting-code-structure → analyzing-code-structure**: Get outline, then perform structural refactoring\n- **extracting-code-structure → querying-json\u002Fquerying-yaml**: Understand API structures before extracting data\n\n### In Refactoring Workflows\n- **extracting-code-structure → fuzzy-selecting → analyzing-code-structure**: Interactive selection of components to refactor\n- **extracting-code-structure → searching-text → replacing-text**: Find patterns and perform replacements\n\n### For Documentation and Analysis\n- **extracting-code-structure → analyzing-code**: Get statistics for specific code components\n- **extracting-code-structure → viewing-files**: View structure with syntax highlighting\n\n### Multi-Skill Workflows\n- **extracting-code-structure → searching-text → analyzing-code-structure → viewing-files**: Complete code analysis and refactoring pipeline\n- **extracting-code-structure → finding-files → querying-json\u002Fquerying-yaml**: Find and analyze configuration structures\n- **extracting-code-structure → fuzzy-selecting → replacing-text**: Interactive selection and modification of code elements\n\n### Integration Examples\n```bash\n\n# Get structure and find all methods\nast-grep -r 'function $FUNC($$$ARGS) {$$$BODY}' src\u002F | fzf | cut -d: -f1 | xargs -I {} bat {}\n\n# Understand API and extract usage\nyq '.endpoints' api.yml | fzf | ripgrep -A 10 -B 5\n```\n\n## Detailed Patterns\n\nFor language-specific extraction patterns, ast-grep examples, ctags usage, and integration strategies, load [code structure guide](.\u002Freference\u002Fcode-structure-guide.md) when needing:\n- Dart\u002FFlutter specific patterns and analyzer usage\n- Language-specific extraction strategies\n- ctags configuration and usage\n- Comprehensive workflow examples\n- Tool selection guidance for different languages\n","# Code Structure Exploration Tools\n\n**Always invoke extracting-code-structure skill to extract file structure - do not execute bash commands directly.**\n\n## Recognizing Structure Questions\n\n**These keywords mean use structure tools, NOT grep\u002Fsearch:**\n- \"all the methods\u002Ffunctions\u002Fclasses in...\"\n- \"list of function signatures\"\n- \"what functions\u002Fexports\u002FAPI...\"\n- \"package API\" or \"module exports\"\n- \"method signatures with receivers\" (Dart\u002FFlutter, TypeScript)\n- \"what's available in...\"\n\n**These keywords mean use search (Grep tool or extracting-code-structure skill):**\n- \"where is X defined\"\n- \"find calls to X\"\n- \"search for pattern Y\"\n\n## Before You Choose a Tool\n\nAsk yourself:\n1. Am I listing\u002Fexploring what exists? → Structure tools\n2. Am I finding WHERE something is? → Search tools (Grep or ast-grep)\n3. Am I understanding HOW something works? → Read\n\n## When to Get File Outline vs Read\n\n**Get outline\u002Findex when:**\n- File is large (>500 lines)\n- Need to see what's available (functions, classes, exports)\n- Exploring unfamiliar code\n- Want to decide what to read in detail\n- **Saves 90%+ context** vs reading entire file\n\n**Just use Read when:**\n- File is small (\u003C500 lines)\n- Already know what you're looking for\n- Need to understand implementation details\n- extracting-code-structure pattern already targets what you need\n\n## Anti-Patterns\n\n**DON'T use grep\u002Frg\u002FGrep tool for:**\n- Extracting function\u002Fmethod lists\n- Getting API overviews\n- Finding all exports\u002Fpublic members\n- Getting signatures\u002Finterfaces\n\nThese are STRUCTURE queries, not SEARCH queries.\n\n## Default Strategy\n\n**Invoke extracting-code-structure skill** for extracting file structure (functions, classes, exports) efficiently without reading entire files.\n\nUse ast-grep patterns, Dart\u002FFlutter analyzer, ctags, or language-specific tools to get outlines and signatures. Dart\u002FFlutter and JavaScript\u002FTypeScript support have highest priority.\n\n## Exploration Strategy\n\n**Tiered approach (try in order):**\n\n1. **ast-grep with known patterns** - Fast, targeted (highest priority)\n   - Extract exports, functions, classes with specific patterns\n   - See [code structure guide](.\u002Freference\u002Fcode-structure-guide.md) for patterns, including comprehensive Dart\u002FFlutter support\n\n2. **Toolchain-specific approaches** - When available\n   - **Dart\u002FFlutter analyzer** - Comprehensive structure extraction for .dart files\n     - See [code structure guide](.\u002Freference\u002Fcode-structure-guide.md) for Dart\u002FFlutter patterns\n   - **ctags\u002Funiversal-ctags:** Symbol index across languages\n   - See [code structure guide](.\u002Freference\u002Fcode-structure-guide.md) for examples\n\n3. **Read file** - Last resort for exploration\n   - Sometimes necessary to understand structure\n\n## Key Principle\n\n**Use structure tools to decide what to read, then read selectively.**\n\nDon't read 1000-line files blind. Get an outline first, then read the 50 lines you actually need.\n\n## Skill Combinations\n\n### For Discovery and Exploration\n- **extracting-code-structure → finding-files**: Find files of a specific type, then get structure\n- **extracting-code-structure → searching-text**: Understand structure, then search for specific patterns\n- **extracting-code-structure → analyzing-code-structure**: Get outline, then perform structural refactoring\n- **extracting-code-structure → querying-json\u002Fquerying-yaml**: Understand API structures before extracting data\n\n### In Refactoring Workflows\n- **extracting-code-structure → fuzzy-selecting → analyzing-code-structure**: Interactive selection of components to refactor\n- **extracting-code-structure → searching-text → replacing-text**: Find patterns and perform replacements\n\n### For Documentation and Analysis\n- **extracting-code-structure → analyzing-code**: Get statistics for specific code components\n- **extracting-code-structure → viewing-files**: View structure with syntax highlighting\n\n### Multi-Skill Workflows\n- **extracting-code-structure → searching-text → analyzing-code-structure → viewing-files**: Complete code analysis and refactoring pipeline\n- **extracting-code-structure → finding-files → querying-json\u002Fquerying-yaml**: Find and analyze configuration structures\n- **extracting-code-structure → fuzzy-selecting → replacing-text**: Interactive selection and modification of code elements\n\n### Integration Examples\n```bash\n\n# Get structure and find all methods\nast-grep -r 'function $FUNC($$$ARGS) {$$$BODY}' src\u002F | fzf | cut -d: -f1 | xargs -I {} bat {}\n\n# Understand API and extract usage\nyq '.endpoints' api.yml | fzf | ripgrep -A 10 -B 5\n```\n\n## Detailed Patterns\n\nFor language-specific extraction patterns, ast-grep examples, ctags usage, and integration strategies, load [code structure guide](.\u002Freference\u002Fcode-structure-guide.md) when needing:\n- Dart\u002FFlutter specific patterns and analyzer usage\n- Language-specific extraction strategies\n- ctags configuration and usage\n- Comprehensive workflow examples\n- Tool selection guidance for different languages\n",{"name":5,"description":7},"main","d8518247cb8ab8b2dac57a6be33543ffd23b97c5","architecture-codebase-analysis\u002FSebastienDegodez\u002Fextracting-code-structure",0,"https:\u002F\u002Fgithub.com\u002Fmattonweb\u002Fai-assistant-foundry","https:\u002F\u002Fgithub.com\u002Fmattonweb","2026-05-29 08:42:23",{"source":8,"skillName":5,"commands":50,"prompt":60,"zipAvailable":61},[51,54,57],{"tool":52,"command":53},"npx","npx skills add mattonweb\u002Fai-assistant-foundry --skill extracting-code-structure",{"tool":55,"command":56},"bunx","bunx skills add mattonweb\u002Fai-assistant-foundry --skill extracting-code-structure",{"tool":58,"command":59},"pnpm","pnpm dlx skills add mattonweb\u002Fai-assistant-foundry --skill extracting-code-structure","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmattonweb\u002Fai-assistant-foundry\u002Fblob\u002Fmain\u002Farchitecture-codebase-analysis\u002FSebastienDegodez\u002Fextracting-code-structure\u002FSKILL.md",true,[63],{"path":64,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":67,"sourceHtmlUrl":68},"reference\u002Fcode-structure-guide.md","REFERENCE","参考文档",12040,"https:\u002F\u002Fgithub.com\u002Fmattonweb\u002Fai-assistant-foundry\u002Fblob\u002Fmain\u002Farchitecture-codebase-analysis\u002FSebastienDegodez\u002Fextracting-code-structure\u002Freference\u002Fcode-structure-guide.md",[70,103,116,136,157,183],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":84,"publishedAt":37},"01M6P02DENRHN6KVGYC55FKASJ","writing-clearly-and-concisely","Use when writing prose humans will read—documentation, commit messages, error messages, explanations, reports, or UI text. Applies Strunk's timeless rules for clearer, stronger, more professional writing.","https:\u002F\u002Fgithub.com\u002Fmattonweb\u002Fai-assistant-foundry\u002Fblob\u002Fmain\u002Fwrite-technical\u002Fsoftaworks\u002Fwriting-clearly-and-concisely\u002FSKILL.md",[76,81],{"categoryNo":77,"categoryName":78,"taxonomyType":79,"taxonomyTypeDesc":80},"01JBSEEDCAT000000000000018","写作与文案","SCENARIO","使用场景",{"categoryNo":82,"categoryName":83,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000036","内容创作者",[85,86,87,88,89,90,91,92,93,94,95,32,31,96,97,98,99,100,101,102],"writing clearly and concisely","writing","concisely","text","for","more","timeless","error","professional","prose","reports","Rules","commit messages","messages","error messages","ui","documentation","commit",{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":37},"01M6P0286HZ8RWMFCCPC8HF7SC","crafting-effective-readmes","Use when writing or improving README files. Not all READMEs are the same — provides templates and guidance matched to your audience and project type.","https:\u002F\u002Fgithub.com\u002Fmattonweb\u002Fai-assistant-foundry\u002Fblob\u002Fmain\u002Fwrite-technical\u002Fsoftaworks\u002Fcrafting-effective-readmes\u002FSKILL.md",[],[110,111,86,112,113,32,114,115,33],"crafting effective readmes","README","templates","type","project","guidance",{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":125,"publishedAt":37},"01M6P025A41BBTPWVTZ3GFQVG6","wiki-architect","You are a documentation architect that produces structured wiki catalogues and onboarding guides from codebases.","https:\u002F\u002Fgithub.com\u002Fmattonweb\u002Fai-assistant-foundry\u002Fblob\u002Fmain\u002Fwrite-technical\u002Fsickn33\u002Fwiki-architect\u002FSKILL.md",[122],{"categoryNo":123,"categoryName":124,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000038","人力资源",[126,127,128,129,130,131,132,133,134,135,101],"wiki","architect","wiki architect","unknown","you","documentation architect","guides","structured","community","onboarding",{"skillNo":137,"name":138,"nameZh":6,"description":139,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":140,"categories":141,"keywords":142,"publishedAt":37},"01M6P01NSKPXP77NWB4K0PXRK5","readme","You are an expert technical writer creating comprehensive project documentation. Your goal is to write a README.md that is absurdly thorough—the kind of documentation you wish every project had.","https:\u002F\u002Fgithub.com\u002Fmattonweb\u002Fai-assistant-foundry\u002Fblob\u002Fmain\u002Fwrite-technical\u002Fsickn33\u002Freadme\u002FSKILL.md",[],[111,143,144,145,130,146,147,114,148,149,42,150,151,152,153,154,101,155,156],"project documentation","tree","kind","expert","github","wish","writer","goal","write","technical writer","technical","https","write a readme","safe",{"skillNo":158,"name":159,"nameZh":6,"description":160,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":161,"categories":162,"keywords":163,"publishedAt":37},"01M6P01GP0NEN8KT3A3SA6ZFVE","ubiquitous-language","Extract a DDD-style ubiquitous language glossary from the current conversation, flagging ambiguities and proposing canonical terms. Saves to UBIQUITOUS_LANGUAGE.md. Use when user wants to define domain terms, build a glossary, harden terminology, create a ubiquitous language, or mentions \"domain model\" or \"DDD\".","https:\u002F\u002Fgithub.com\u002Fmattonweb\u002Fai-assistant-foundry\u002Fblob\u002Fmain\u002Fwrite-technical\u002Fmattpocock\u002Fubiquitous-language\u002FSKILL.md",[],[164,165,32,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182],"ubiquitous language","language","extract","user","glossary","model","terms","ddd","create","build","true","canonical","style","define","harden","domain model","domain","terminology","conversation",{"skillNo":184,"name":185,"nameZh":6,"description":186,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":187,"categories":188,"keywords":191,"publishedAt":37},"01M6P01BJBP9XP4TDRT7QD1ZVA","technical-writing-style","Enforce clear, direct writing in software development documents including OKRs, PRDs, tech specs, architecture decision records (ADRs), git commit messages, PR descriptions, READMEs, changelogs, runbooks, incident postmortems, API docs, and onboarding guides. Trigger whenever a user asks to write, edit, revise, or review any of these document types. Also trigger when the user says writing \"sounds like AI\", \"feels robotic\", \"needs polish\", or asks to \"make it sound more natural\" in the context of technical or professional prose. Do not trigger for fiction, poetry, creative writing, academic papers, or legal documents unless the user explicitly asks for a more natural tone.","https:\u002F\u002Fgithub.com\u002Fmattonweb\u002Fai-assistant-foundry\u002Fblob\u002Fmain\u002Fwrite-technical\u002Fmattnebr\u002Ftechnical-writing-style\u002FSKILL.md",[189,190],{"categoryNo":77,"categoryName":78,"taxonomyType":79,"taxonomyTypeDesc":80},{"categoryNo":82,"categoryName":83,"taxonomyType":21,"taxonomyTypeDesc":22},[192,193,176,153,86,194,93,195,196,197,198,199,200,201,30,98,202,203,102,204],"writing style","technical writing style","technical writing","papers","types","runbooks","software development","incident","Poetry","decision","documents","architecture","review"]