[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6DRFY0AGP2ESWB9WAQPTP09":3,"skill-same:01M6DRFY0AGP2ESWB9WAQPTP09":62},{"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":22,"publishedAt":35,"linkOnly":36,"markdownContent":37,"markdownBody":38,"frontMatter":39,"refName":41,"commitSha":42,"skillDirectory":43,"forksCount":44,"repositoryHtmlUrl":45,"repositoryHomepageUrl":6,"ownerHtmlUrl":46,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":47,"install":48,"resources":61},"01M6DRFY0AGP2ESWB9WAQPTP09","mcp:setup-codemap-cli",null,"Guide for setup Codemap CLI for intelligent codebase visualization and navigation","AntifragileTech\u002Fantifragile-claude-code","AntifragileTech","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F174357194?v=4","01M6DQCYMK4CDSQQAN0ZC72NTV","01M6DQCYS9YPW1WKMQ5TJMPQ43",9,"MIT","https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fdev\u002Fsetup-codemap-cli\u002FSKILL.md",[17],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[23,24,25,26,27,28,29,30,31,32,33,34],"MCP","cli","setup","codemap","mcp:setup codemap cli","visualization","preferences","guide","navigation","configuration","os","type","2026-11-10 10:12:30",false,"---\nname: mcp:setup-codemap-cli\ndescription: Guide for setup Codemap CLI for intelligent codebase visualization and navigation\nargument-hint: Optional - specific configuration preferences or OS type\n---\n\nUser Input:\n\n```text\n$ARGUMENTS\n```\n\n# Guide for setup Codemap CLI\n\n## 1. Determine setup context\n\nAsk the user where they want to store the configuration:\n\n**Options:**\n\n1. **Project level (shared via git)** - Configuration tracked in version control, shared with team\n   - CLAUDE.md updates go to: `.\u002FCLAUDE.md`\n   - Hook settings go to: `.\u002F.claude\u002Fsettings.json`\n\n2. **Project level (personal preferences)** - Configuration stays local, not tracked in git\n   - CLAUDE.md updates go to: `.\u002FCLAUDE.local.md`\n   - Hook settings go to: `.\u002F.claude\u002Fsettings.local.json`\n   - Verify these files are listed in `.gitignore`, add them if not\n\n3. **User level (global)** - Configuration applies to all projects for this user\n   - CLAUDE.md updates go to: `~\u002F.claude\u002FCLAUDE.md`\n   - Hook settings go to: `~\u002F.claude\u002Fsettings.json`\n\nStore the user's choice and use the appropriate paths in subsequent steps.\n\n## 2. Check if Codemap is already installed\n\nCheck whether codemap is installed by running `codemap --version` or `codemap --help`.\n\nIf not installed, proceed with setup.\n\n## 3. Load Codemap documentation\n\nRead the following documentation to understand Codemap's capabilities:\n\n- Load \u003Chttps:\u002F\u002Fraw.githubusercontent.com\u002FJordanCoin\u002Fcodemap\u002Frefs\u002Fheads\u002Fmain\u002FREADME.md> to understand what Codemap is and its capabilities\n\n## 4. Guide user through installation\n\n### macOS\u002FLinux (Homebrew)\n\n```bash\nbrew tap JordanCoin\u002Ftap && brew install codemap\n```\n\n### Windows (Scoop)\n\n```bash\nscoop bucket add codemap https:\u002F\u002Fgithub.com\u002FJordanCoin\u002Fscoop-codemap\nscoop install codemap\n```\n\n## 5. Verify installation\n\nAfter installation, verify codemap works:\n\n```bash\ncodemap --version\ncodemap .\n```\n\n## 6. Update CLAUDE.md file\n\nUse the path determined in step 1. Once Codemap is successfully installed, update the appropriate CLAUDE.md file with the following content:\n\n```markdown\n## Use Codemap CLI for Codebase Navigation\n\nCodemap CLI is available for intelligent codebase visualization and navigation.\n\n**Required Usage** - You MUST use `codemap --diff --ref master` to research changes different from default branch, and `git diff` + `git status` to research current working state.\n\n### Quick Start\n\n```bash\ncodemap .                    # Project tree\ncodemap --only swift .       # Just Swift files\ncodemap --exclude .xcassets,Fonts,.png .  # Hide assets\ncodemap --depth 2 .          # Limit depth\ncodemap --diff               # What changed vs main\ncodemap --deps .             # Dependency flow\n```\n\n### Options\n\n| Flag | Description |\n|------|-------------|\n| `--depth, -d \u003Cn>` | Limit tree depth (0 = unlimited) |\n| `--only \u003Cexts>` | Only show files with these extensions |\n| `--exclude \u003Cpatterns>` | Exclude files matching patterns |\n| `--diff` | Show files changed vs main branch |\n| `--ref \u003Cbranch>` | Branch to compare against (with --diff) |\n| `--deps` | Dependency flow mode |\n| `--importers \u003Cfile>` | Check who imports a file |\n| `--skyline` | City skyline visualization |\n| `--json` | Output JSON |\n\n**Smart pattern matching** - no quotes needed:\n- `.png` - any `.png` file\n- `Fonts` - any `\u002FFonts\u002F` directory\n- `*Test*` - glob pattern\n\n### Diff Mode\n\nSee what you're working on:\n\n```bash\ncodemap --diff\ncodemap --diff --ref develop\n```\n\n```\n\nif the default branch is not `main`, but instead `master` (or something else) update content accordingly:\n - use `codemap --diff --ref master` instead of regular `codemap --diff`\n\n\n## 7. Update .gitignore file\n\nUpdate .gitignore file to include `.codemap\u002F` directory:\n\n```text\n.codemap\u002F\n```\n\n## 8. Test Codemap\n\nRun a quick test to verify everything works:\n\n```bash\ncodemap .\ncodemap --diff\n```\n\n## 9. Add hooks to settings file\n\n- Use the settings path determined in step 1. Create the settings file if it doesn't exist and add the following content:\n\n    ```json\n    {\n        \"hooks\": {\n            \"session-start\": \"codemap hook session-start && echo 'git diff:' && git diff --stat && echo 'git status:' && git status\"\n        }\n    }\n    ```\n\n    if default branch is not `main`, but instead `master` (or something else) update content accordingly:\n    - use `codemap hook session-start --ref=master` instead of regular `codemap hook session-start`\n    - For rest of commands also add `--ref=master` flag.\n\n- Ask user whether he want to add any other hooks and provide list of options with descriptions. Add hooks that he asks for.\n\n### Available Hooks\n\n| Command | Trigger | Description |\n|---------|---------|-------------|\n| `codemap hook session-start` | SessionStart | Full tree, hubs, branch diff, last session context |\n| `codemap hook pre-edit` | PreToolUse (Edit\\|Write) | Who imports file + what hubs it imports |\n| `codemap hook post-edit` | PostToolUse (Edit\\|Write) | Impact of changes (same as pre-edit) |\n| `codemap hook prompt-submit` | UserPromptSubmit | Hub context for mentioned files + session progress |\n| `codemap hook pre-compact` | PreCompact | Saves hub state to .codemap\u002Fhubs.txt |\n| `codemap hook session-stop` | SessionEnd | Edit timeline with line counts and stats |\n\n\n### Example of file with full hooks configuration\n\n```json\n{\n  \"hooks\": {\n    \"SessionStart\": [\n      {\n        \"hooks\": [\n          {\n            \"type\": \"command\",\n            \"command\": \"codemap hook session-start\"\n          }\n        ]\n      }\n    ],\n    \"PreToolUse\": [\n      {\n        \"matcher\": \"Edit|Write\",\n        \"hooks\": [\n          {\n            \"type\": \"command\",\n            \"command\": \"codemap hook pre-edit\"\n          }\n        ]\n      }\n    ],\n    \"PostToolUse\": [\n      {\n        \"matcher\": \"Edit|Write\",\n        \"hooks\": [\n          {\n            \"type\": \"command\",\n            \"command\": \"codemap hook post-edit\"\n          }\n        ]\n      }\n    ],\n    \"UserPromptSubmit\": [\n      {\n        \"hooks\": [\n          {\n            \"type\": \"command\",\n            \"command\": \"codemap hook prompt-submit\"\n          }\n        ]\n      }\n    ],\n    \"PreCompact\": [\n      {\n        \"hooks\": [\n          {\n            \"type\": \"command\",\n            \"command\": \"codemap hook pre-compact\"\n          }\n        ]\n      }\n    ],\n    \"SessionEnd\": [\n      {\n        \"hooks\": [\n          {\n            \"type\": \"command\",\n            \"command\": \"codemap hook session-stop\"\n          }\n        ]\n      }\n    ]\n  }\n}\n```","User Input:\n\n```text\n$ARGUMENTS\n```\n\n# Guide for setup Codemap CLI\n\n## 1. Determine setup context\n\nAsk the user where they want to store the configuration:\n\n**Options:**\n\n1. **Project level (shared via git)** - Configuration tracked in version control, shared with team\n   - CLAUDE.md updates go to: `.\u002FCLAUDE.md`\n   - Hook settings go to: `.\u002F.claude\u002Fsettings.json`\n\n2. **Project level (personal preferences)** - Configuration stays local, not tracked in git\n   - CLAUDE.md updates go to: `.\u002FCLAUDE.local.md`\n   - Hook settings go to: `.\u002F.claude\u002Fsettings.local.json`\n   - Verify these files are listed in `.gitignore`, add them if not\n\n3. **User level (global)** - Configuration applies to all projects for this user\n   - CLAUDE.md updates go to: `~\u002F.claude\u002FCLAUDE.md`\n   - Hook settings go to: `~\u002F.claude\u002Fsettings.json`\n\nStore the user's choice and use the appropriate paths in subsequent steps.\n\n## 2. Check if Codemap is already installed\n\nCheck whether codemap is installed by running `codemap --version` or `codemap --help`.\n\nIf not installed, proceed with setup.\n\n## 3. Load Codemap documentation\n\nRead the following documentation to understand Codemap's capabilities:\n\n- Load \u003Chttps:\u002F\u002Fraw.githubusercontent.com\u002FJordanCoin\u002Fcodemap\u002Frefs\u002Fheads\u002Fmain\u002FREADME.md> to understand what Codemap is and its capabilities\n\n## 4. Guide user through installation\n\n### macOS\u002FLinux (Homebrew)\n\n```bash\nbrew tap JordanCoin\u002Ftap && brew install codemap\n```\n\n### Windows (Scoop)\n\n```bash\nscoop bucket add codemap https:\u002F\u002Fgithub.com\u002FJordanCoin\u002Fscoop-codemap\nscoop install codemap\n```\n\n## 5. Verify installation\n\nAfter installation, verify codemap works:\n\n```bash\ncodemap --version\ncodemap .\n```\n\n## 6. Update CLAUDE.md file\n\nUse the path determined in step 1. Once Codemap is successfully installed, update the appropriate CLAUDE.md file with the following content:\n\n```markdown\n## Use Codemap CLI for Codebase Navigation\n\nCodemap CLI is available for intelligent codebase visualization and navigation.\n\n**Required Usage** - You MUST use `codemap --diff --ref master` to research changes different from default branch, and `git diff` + `git status` to research current working state.\n\n### Quick Start\n\n```bash\ncodemap .                    # Project tree\ncodemap --only swift .       # Just Swift files\ncodemap --exclude .xcassets,Fonts,.png .  # Hide assets\ncodemap --depth 2 .          # Limit depth\ncodemap --diff               # What changed vs main\ncodemap --deps .             # Dependency flow\n```\n\n### Options\n\n| Flag | Description |\n|------|-------------|\n| `--depth, -d \u003Cn>` | Limit tree depth (0 = unlimited) |\n| `--only \u003Cexts>` | Only show files with these extensions |\n| `--exclude \u003Cpatterns>` | Exclude files matching patterns |\n| `--diff` | Show files changed vs main branch |\n| `--ref \u003Cbranch>` | Branch to compare against (with --diff) |\n| `--deps` | Dependency flow mode |\n| `--importers \u003Cfile>` | Check who imports a file |\n| `--skyline` | City skyline visualization |\n| `--json` | Output JSON |\n\n**Smart pattern matching** - no quotes needed:\n- `.png` - any `.png` file\n- `Fonts` - any `\u002FFonts\u002F` directory\n- `*Test*` - glob pattern\n\n### Diff Mode\n\nSee what you're working on:\n\n```bash\ncodemap --diff\ncodemap --diff --ref develop\n```\n\n```\n\nif the default branch is not `main`, but instead `master` (or something else) update content accordingly:\n - use `codemap --diff --ref master` instead of regular `codemap --diff`\n\n\n## 7. Update .gitignore file\n\nUpdate .gitignore file to include `.codemap\u002F` directory:\n\n```text\n.codemap\u002F\n```\n\n## 8. Test Codemap\n\nRun a quick test to verify everything works:\n\n```bash\ncodemap .\ncodemap --diff\n```\n\n## 9. Add hooks to settings file\n\n- Use the settings path determined in step 1. Create the settings file if it doesn't exist and add the following content:\n\n    ```json\n    {\n        \"hooks\": {\n            \"session-start\": \"codemap hook session-start && echo 'git diff:' && git diff --stat && echo 'git status:' && git status\"\n        }\n    }\n    ```\n\n    if default branch is not `main`, but instead `master` (or something else) update content accordingly:\n    - use `codemap hook session-start --ref=master` instead of regular `codemap hook session-start`\n    - For rest of commands also add `--ref=master` flag.\n\n- Ask user whether he want to add any other hooks and provide list of options with descriptions. Add hooks that he asks for.\n\n### Available Hooks\n\n| Command | Trigger | Description |\n|---------|---------|-------------|\n| `codemap hook session-start` | SessionStart | Full tree, hubs, branch diff, last session context |\n| `codemap hook pre-edit` | PreToolUse (Edit\\|Write) | Who imports file + what hubs it imports |\n| `codemap hook post-edit` | PostToolUse (Edit\\|Write) | Impact of changes (same as pre-edit) |\n| `codemap hook prompt-submit` | UserPromptSubmit | Hub context for mentioned files + session progress |\n| `codemap hook pre-compact` | PreCompact | Saves hub state to .codemap\u002Fhubs.txt |\n| `codemap hook session-stop` | SessionEnd | Edit timeline with line counts and stats |\n\n\n### Example of file with full hooks configuration\n\n```json\n{\n  \"hooks\": {\n    \"SessionStart\": [\n      {\n        \"hooks\": [\n          {\n            \"type\": \"command\",\n            \"command\": \"codemap hook session-start\"\n          }\n        ]\n      }\n    ],\n    \"PreToolUse\": [\n      {\n        \"matcher\": \"Edit|Write\",\n        \"hooks\": [\n          {\n            \"type\": \"command\",\n            \"command\": \"codemap hook pre-edit\"\n          }\n        ]\n      }\n    ],\n    \"PostToolUse\": [\n      {\n        \"matcher\": \"Edit|Write\",\n        \"hooks\": [\n          {\n            \"type\": \"command\",\n            \"command\": \"codemap hook post-edit\"\n          }\n        ]\n      }\n    ],\n    \"UserPromptSubmit\": [\n      {\n        \"hooks\": [\n          {\n            \"type\": \"command\",\n            \"command\": \"codemap hook prompt-submit\"\n          }\n        ]\n      }\n    ],\n    \"PreCompact\": [\n      {\n        \"hooks\": [\n          {\n            \"type\": \"command\",\n            \"command\": \"codemap hook pre-compact\"\n          }\n        ]\n      }\n    ],\n    \"SessionEnd\": [\n      {\n        \"hooks\": [\n          {\n            \"type\": \"command\",\n            \"command\": \"codemap hook session-stop\"\n          }\n        ]\n      }\n    ]\n  }\n}\n```",{"name":5,"description":7,"argument-hint":40},"Optional - specific configuration preferences or OS type","master","c73386b305dec167db7654e0e6feacb462d4f9dc","assets\u002Fskills\u002Fdev\u002Fsetup-codemap-cli",1,"https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code","https:\u002F\u002Fgithub.com\u002FAntifragileTech","2026-10-02 14:22:14",{"source":8,"skillName":5,"commands":49,"prompt":59,"zipAvailable":60},[50,53,56],{"tool":51,"command":52},"npx","npx skills add AntifragileTech\u002Fantifragile-claude-code --skill \"mcp:setup-codemap-cli\"",{"tool":54,"command":55},"bunx","bunx skills add AntifragileTech\u002Fantifragile-claude-code --skill \"mcp:setup-codemap-cli\"",{"tool":57,"command":58},"pnpm","pnpm dlx skills add AntifragileTech\u002Fantifragile-claude-code --skill \"mcp:setup-codemap-cli\"","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fdev\u002Fsetup-codemap-cli\u002FSKILL.md",true,[],[63,87,102,117,130,143],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":80,"publishedAt":35},"01M6DT9Q6VYA615SCXR757TZZ7","writing-skills","Use when creating new skills, editing existing skills, or verifying skills work before deployment","https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fthinking\u002Fwriting-skills\u002FSKILL.md",[69,72,75],{"categoryNo":70,"categoryName":71,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000008","测试与质量",{"categoryNo":73,"categoryName":74,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000018","写作与文案",{"categoryNo":76,"categoryName":77,"taxonomyType":78,"taxonomyTypeDesc":79},"01JBSEEDCAT000000000000036","内容创作者","PROFESSION","适用职业",[81,82,83,84,85,86],"writing skills","writing","use","editing","work","deployment",{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":95,"publishedAt":35},"01M6DT9GFHDNY90P41WGAE1TV0","writing-plans","Use when you have a spec or requirements for a multi-step task, before touching code","https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fthinking\u002Fwriting-plans\u002FSKILL.md",[93,94],{"categoryNo":73,"categoryName":74,"taxonomyType":20,"taxonomyTypeDesc":21},{"categoryNo":76,"categoryName":77,"taxonomyType":78,"taxonomyTypeDesc":79},[96,97,82,98,99,83,100,101],"plans","writing plans","requirements","task","code","spec",{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":110,"publishedAt":35},"01M6DT9C6PFGD86WS3HY7YE3XG","docs:write-concisely","Apply writing rules to any documentation that humans will read. Makes your writing clearer, stronger, and more professional.","https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fthinking\u002Fwrite-concisely\u002FSKILL.md",[108,109],{"categoryNo":73,"categoryName":74,"taxonomyType":20,"taxonomyTypeDesc":21},{"categoryNo":76,"categoryName":77,"taxonomyType":78,"taxonomyTypeDesc":79},[111,112,113,114,115,116,82],"docs:write concisely","write","docs","read","Rules","documentation",{"skillNo":118,"name":119,"nameZh":6,"description":120,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":121,"categories":122,"keywords":123,"publishedAt":35},"01M6DT98AWQ27P0N1CG97WAG66","kaizen:why","Iterative Five Whys root cause analysis drilling from symptoms to fundamentals","https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fthinking\u002Fwhy\u002FSKILL.md",[],[119,124,125,126,127,128,129],"why","kaizen","issue","five whys","analysis","root cause analysis",{"skillNo":131,"name":132,"nameZh":6,"description":133,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":134,"categories":135,"keywords":136,"publishedAt":35},"01M6DT93EH25NAX19R3WGE1P53","verification-loop","A comprehensive verification system for Claude Code sessions.","https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fthinking\u002Fverification-loop\u002FSKILL.md",[],[137,138,139,140,100,141,142],"verification loop","verification","loop","sessions","claude code sessions","system",{"skillNo":144,"name":145,"nameZh":6,"description":146,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":147,"categories":148,"keywords":149,"publishedAt":35},"01M6DT90GW7Z7VCN98P9DVYSNC","verification-before-completion","Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always","https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fthinking\u002Fverification-before-completion\u002FSKILL.md",[],[150,138,151,85,83,152,153,154],"verification before completion","commands","evidence","claim","complete"]