[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6QHXE9KHFRKR343AFJK00TY":3,"skill-same:01M6QHXE9KHFRKR343AFJK00TY":77},{"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":43,"linkOnly":44,"markdownContent":45,"markdownBody":46,"frontMatter":47,"refName":51,"commitSha":52,"skillDirectory":53,"forksCount":13,"repositoryHtmlUrl":54,"repositoryHomepageUrl":6,"ownerHtmlUrl":55,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":56,"install":57,"resources":70},"01M6QHXE9KHFRKR343AFJK00TY","code-comment-writer",null,"Writes precise, reader-oriented code comments explaining \"why\" not \"what\". Covers onboarding, refactoring, algorithm explanation, tech debt marking, and API integration scenarios. Should be used when the user mentions adding comments, documenting code, explaining code logic, improving code readability, or needs help understanding code during handoff. Distinguished from refactoring skills which focus on code structure changes.","ImaginerLabs\u002Fskill-manager","ImaginerLabs","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F214277308?v=4","01M6QGGDPNF15RMMT1RCFDH9FN","01M6QGGDTH5BY64DQ123NR8M33",0,"MIT","https:\u002F\u002Fgithub.com\u002FImaginerLabs\u002Fskill-manager\u002Fblob\u002Fmain\u002Fskills\u002Fcoding\u002Fcode-comment-writer\u002FSKILL.md",[17],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42],"code comment writer","code","writer","structure","code structure","changes","which","comments","tech","code readability","logic","focus","react","api integration","code comments","refactoring","why","api","help","component","2026-11-10 10:12:30",false,"---\nname: code-comment-writer\ndescription: >-\n  Writes precise, reader-oriented code comments explaining \"why\" not \"what\". Covers onboarding,\n  refactoring, algorithm explanation, tech debt marking, and API integration scenarios.\n  Should be used when the user mentions adding comments, documenting code, explaining code\n  logic, improving code readability, or needs help understanding code during handoff.\n  Distinguished from refactoring skills which focus on code structure changes.\ncategory: coding\nboundary:\n  vs_react-component-refactor: \"react-component-refactor focuses on restructuring code, this skill focuses on adding explanatory comments\"\n---\n\n# Code Comment Writer\n\n## Core Capability\n\nWrite precise, targeted code comments that explain the \"why\" behind code, not the \"what\". Comments should help future readers (including yourself) understand intent, edge cases, pitfalls, and migration context.\n\n## When to Use\n\n- **Onboarding**: Help new team members understand legacy code\n- **Refactoring**: Mark migration context and known pitfalls\n- **Algorithm Explanation**: Document complex logic decisions\n- **Tech Debt**: Mark code that needs future attention\n- **API Integration**: Explain external dependencies or quirks\n\n## When NOT to Use\n\n- Don't explain what the code literally does (e.g., `\u002F\u002F increment i` for `i++`)\n- Don't add comments for self-documenting code\n- Don't add redundant comments that duplicate the code\n\n## Reading Scenarios\n\nThis skill supports multiple reading scenarios:\n\n| Scenario | Focus | Example |\n|----------|-------|---------|\n| Onboarding | Why this code exists, what's tricky | \"This cache has a 5min TTL because...\" |\n| Refactoring | Migration notes, what to watch for | \"TODO: remove after users migrate to V2\" |\n| Algorithm | Why this approach was chosen | \"Using binary search because data is sorted\" |\n| Tech Debt | Why it's a problem, how to fix | \"Slow because no index; add index in V2\" |\n| API Integration | Quirks, error handling | \"Throws on 400, caller must handle\" |\n\n## Comment Types\n\n### 1. Intent Comments\nExplain why the code does what it does.\n\n```typescript\n\u002F\u002F Using batch insert because single insert causes\n\u002F\u002F lock contention at high concurrency.\n\u002F\u002F TODO: switch to streaming after DB upgrade.\nasync function saveBatch(items: Item[]) { ... }\n```\n\n### 2. Edge Case Comments\nDocument known boundaries.\n\n```typescript\n\u002F\u002F Handles empty string as valid input (matches legacy behavior).\n\u002F\u002F Max length: 10000 chars (DB constraint).\nfunction normalize(input: string) { ... }\n```\n\n### 3. Pitfall Comments\nWarn about surprising behavior.\n\n```typescript\n\u002F\u002F WARNING: This mutates the original array.\n\u002F\u002F Use clone() first if that's not intended.\nfunction process(items) { ... }\n```\n\n### 4. Migration Comments\nTrack transition state.\n\n```typescript\n\u002F\u002F DEPRECATED: Use v2 API instead.\n\u002F\u002F Will remove after Q3 2024 deprecation deadline.\n\u002F\u002F TODO(team-backend): remove in V3.0\nasync function legacyFetch(id: string) { ... }\n```\n\n### 5. Diagram Comments (ASCII)\nUse when logic flows are complex — see `references\u002Fdiagram-guide.md`.\n\n```typescript\n\u002F*\n * Payment flow\n *\n * User clicks pay\n *      │\n *      ▼\n * Validate inventory ──fail──▶ Show error\n *      │ success\n *      ▼\n * Create order ──...\n *\u002F\nconst handlePay = async () => { ... };\n```\n\n## Quality Guidelines\n\n1. **Be specific**: `\u002F\u002F retry up to 3 times` is better than `\u002F\u002F retry logic`\n2. **Include context**: Mention external constraints or past incidents\n3. **Use TODO\u002FFIXME\u002FDeprecation markers** for actionable items\n4. **Reference tickets** when possible: `\u002F\u002F See JIRA-1234`\n5. **Keep comments in sync**: Outdated comments are worse than none\n\n## Anti-Patterns\n\n| Anti-Pattern | Why It's Bad |\n|-------------|--------------|\n| `\u002F\u002F increment i` | Restates what code does |\n| `\u002F\u002F check if null` | Obvious from code |\n| `\u002F\u002F TODO: fix this later` | Not actionable |\n| Commented-out code | Just delete it |\n\n## Relationship to References\n\n- `references\u002Fdiagram-guide.md` — When and how to use ASCII diagrams in comments","# Code Comment Writer\n\n## Core Capability\n\nWrite precise, targeted code comments that explain the \"why\" behind code, not the \"what\". Comments should help future readers (including yourself) understand intent, edge cases, pitfalls, and migration context.\n\n## When to Use\n\n- **Onboarding**: Help new team members understand legacy code\n- **Refactoring**: Mark migration context and known pitfalls\n- **Algorithm Explanation**: Document complex logic decisions\n- **Tech Debt**: Mark code that needs future attention\n- **API Integration**: Explain external dependencies or quirks\n\n## When NOT to Use\n\n- Don't explain what the code literally does (e.g., `\u002F\u002F increment i` for `i++`)\n- Don't add comments for self-documenting code\n- Don't add redundant comments that duplicate the code\n\n## Reading Scenarios\n\nThis skill supports multiple reading scenarios:\n\n| Scenario | Focus | Example |\n|----------|-------|---------|\n| Onboarding | Why this code exists, what's tricky | \"This cache has a 5min TTL because...\" |\n| Refactoring | Migration notes, what to watch for | \"TODO: remove after users migrate to V2\" |\n| Algorithm | Why this approach was chosen | \"Using binary search because data is sorted\" |\n| Tech Debt | Why it's a problem, how to fix | \"Slow because no index; add index in V2\" |\n| API Integration | Quirks, error handling | \"Throws on 400, caller must handle\" |\n\n## Comment Types\n\n### 1. Intent Comments\nExplain why the code does what it does.\n\n```typescript\n\u002F\u002F Using batch insert because single insert causes\n\u002F\u002F lock contention at high concurrency.\n\u002F\u002F TODO: switch to streaming after DB upgrade.\nasync function saveBatch(items: Item[]) { ... }\n```\n\n### 2. Edge Case Comments\nDocument known boundaries.\n\n```typescript\n\u002F\u002F Handles empty string as valid input (matches legacy behavior).\n\u002F\u002F Max length: 10000 chars (DB constraint).\nfunction normalize(input: string) { ... }\n```\n\n### 3. Pitfall Comments\nWarn about surprising behavior.\n\n```typescript\n\u002F\u002F WARNING: This mutates the original array.\n\u002F\u002F Use clone() first if that's not intended.\nfunction process(items) { ... }\n```\n\n### 4. Migration Comments\nTrack transition state.\n\n```typescript\n\u002F\u002F DEPRECATED: Use v2 API instead.\n\u002F\u002F Will remove after Q3 2024 deprecation deadline.\n\u002F\u002F TODO(team-backend): remove in V3.0\nasync function legacyFetch(id: string) { ... }\n```\n\n### 5. Diagram Comments (ASCII)\nUse when logic flows are complex — see `references\u002Fdiagram-guide.md`.\n\n```typescript\n\u002F*\n * Payment flow\n *\n * User clicks pay\n *      │\n *      ▼\n * Validate inventory ──fail──▶ Show error\n *      │ success\n *      ▼\n * Create order ──...\n *\u002F\nconst handlePay = async () => { ... };\n```\n\n## Quality Guidelines\n\n1. **Be specific**: `\u002F\u002F retry up to 3 times` is better than `\u002F\u002F retry logic`\n2. **Include context**: Mention external constraints or past incidents\n3. **Use TODO\u002FFIXME\u002FDeprecation markers** for actionable items\n4. **Reference tickets** when possible: `\u002F\u002F See JIRA-1234`\n5. **Keep comments in sync**: Outdated comments are worse than none\n\n## Anti-Patterns\n\n| Anti-Pattern | Why It's Bad |\n|-------------|--------------|\n| `\u002F\u002F increment i` | Restates what code does |\n| `\u002F\u002F check if null` | Obvious from code |\n| `\u002F\u002F TODO: fix this later` | Not actionable |\n| Commented-out code | Just delete it |\n\n## Relationship to References\n\n- `references\u002Fdiagram-guide.md` — When and how to use ASCII diagrams in comments",{"name":5,"boundary":48,"category":50,"description":7},{"vs_react-component-refactor":49},"react-component-refactor focuses on restructuring code, this skill focuses on adding explanatory comments","coding","main","b9a52d8e27455bdad953d64928696d028223ea1b","skills\u002Fcoding\u002Fcode-comment-writer","https:\u002F\u002Fgithub.com\u002FImaginerLabs\u002Fskill-manager","https:\u002F\u002Fgithub.com\u002FImaginerLabs","2026-04-18 16:27:13",{"source":8,"skillName":5,"commands":58,"prompt":68,"zipAvailable":69},[59,62,65],{"tool":60,"command":61},"npx","npx skills add ImaginerLabs\u002Fskill-manager --skill code-comment-writer",{"tool":63,"command":64},"bunx","bunx skills add ImaginerLabs\u002Fskill-manager --skill code-comment-writer",{"tool":66,"command":67},"pnpm","pnpm dlx skills add ImaginerLabs\u002Fskill-manager --skill code-comment-writer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FImaginerLabs\u002Fskill-manager\u002Fblob\u002Fmain\u002Fskills\u002Fcoding\u002Fcode-comment-writer\u002FSKILL.md",true,[71],{"path":72,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":75,"sourceHtmlUrl":76},"references\u002Fdiagram-guide.md","REFERENCE","参考文档",3760,"https:\u002F\u002Fgithub.com\u002FImaginerLabs\u002Fskill-manager\u002Fblob\u002Fmain\u002Fskills\u002Fcoding\u002Fcode-comment-writer\u002Freferences\u002Fdiagram-guide.md",[78,111,130,158,191,216],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":92,"publishedAt":43},"01M6QJCB2SD5KHC41ZDQC0GA1T","meeting-minutes","Generate concise, actionable meeting minutes for internal meetings. Includes metadata, attendees, agenda, decisions, action items (owner + due date), and follow-up steps.","https:\u002F\u002Fgithub.com\u002FImaginerLabs\u002Fskill-manager\u002Fblob\u002Fmain\u002Fskills\u002Fwriting\u002Fmeeting-minutes\u002FSKILL.md",[84,89],{"categoryNo":85,"categoryName":86,"taxonomyType":87,"taxonomyTypeDesc":88},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",{"categoryNo":90,"categoryName":91,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000034","行政与办公人员",[93,94,95,96,97,98,99,100,101,102,80,51,103,104,105,106,107,108,109,110],"meeting minutes","meeting","minutes","writing","github","copilot","generate","decisions","meetings","up","agenda","actionable","concise","follow-up","tree","true","action","for",{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":43},"01M6QJC71RRGTGNNFEHJG6S20G","documentation-writer","Diátaxis Documentation Expert. An expert technical writer specializing in creating high-quality software documentation, guided by the principles and structure of the Diátaxis technical documentation authoring framework.","https:\u002F\u002Fgithub.com\u002FImaginerLabs\u002Fskill-manager\u002Fblob\u002Fmain\u002Fskills\u002Fwriting\u002Fdocumentation-writer\u002FSKILL.md",[],[118,119,25,96,97,98,120,121,122,123,124,125,51,26,126,127,128,107,108,129],"documentation","documentation writer","https","quality","technical","technical writer","expert","documentation expert","authoring","software","principles","high",{"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":143,"publishedAt":43},"01M6QJC0V3C7C4R9768J1AJYWY","doc-coauthoring","Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision docs, or similar structured content. This workflow helps users efficiently transfer context, refine content through iteration, and verify the doc works for readers. Trigger when user mentions writing docs, creating proposals, drafting specs, or similar documentation tasks.","https:\u002F\u002Fgithub.com\u002FImaginerLabs\u002Fskill-manager\u002Fblob\u002Fmain\u002Fskills\u002Fwriting\u002Fdoc-coauthoring\u002FSKILL.md",[136,139,140],{"categoryNo":137,"categoryName":138,"taxonomyType":87,"taxonomyTypeDesc":88},"01JBSEEDCAT000000000000018","写作与文案",{"categoryNo":85,"categoryName":86,"taxonomyType":87,"taxonomyTypeDesc":88},{"categoryNo":141,"categoryName":142,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000036","内容创作者",[144,145,96,146,147,118,148,149,150,151,152,153,51,154,155,126,156,157,107,110],"doc coauthoring","doc","workflow","official","tasks","decision","write","context","proposals","guide","refine","iteration","trigger","co",{"skillNo":159,"name":160,"nameZh":6,"description":161,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":162,"categories":163,"keywords":172,"publishedAt":43},"01M6QJBJ0YPVEWGEXZH3PJRRTT","code-review-workflow","Executes comprehensive 4-phase code review: basic review, quality check, bundle analysis, and test coverage. Should be used when the user mentions comprehensive code review, checking code quality, or reviewing staged changes with multi-phase analysis. This is the comprehensive review workflow, distinct from focused skills like frontend-code-review, staged-code-review, or code-change-test-designer.","https:\u002F\u002Fgithub.com\u002FImaginerLabs\u002Fskill-manager\u002Fblob\u002Fmain\u002Fskills\u002Ftesting\u002Fcode-review-workflow\u002FSKILL.md",[164,167,170,171],{"categoryNo":165,"categoryName":166,"taxonomyType":87,"taxonomyTypeDesc":88},"01JBSEEDCAT000000000000007","代码审查",{"categoryNo":168,"categoryName":169,"taxonomyType":87,"taxonomyTypeDesc":88},"01JBSEEDCAT000000000000008","测试与质量",{"categoryNo":85,"categoryName":86,"taxonomyType":87,"taxonomyTypeDesc":88},{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},[173,174,146,24,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190],"code review","review","code review workflow","testing","frontend","test","change","code quality","code-review","analysis","check","coverage","quality check","basic","multi","comprehensive code review","with","phase",{"skillNo":192,"name":193,"nameZh":6,"description":194,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":195,"categories":196,"keywords":206,"publishedAt":43},"01M6QJB7XNHV3VEEQF4W7FMWF6","code-change-test-designer","Analyzes code changes and designs comprehensive test cases. Reads diffs, summarizes capability changes, and designs test cases covering main flows and edge cases. Should be used when the user mentions test coverage, designing tests for code changes, or analyzing diff\u002Fcommit for testing purposes. Distinguished from code-review-workflow which provides comprehensive review, this skill focuses on test case design for code changes.","https:\u002F\u002Fgithub.com\u002FImaginerLabs\u002Fskill-manager\u002Fblob\u002Fmain\u002Fskills\u002Ftesting\u002Fcode-change-test-designer\u002FSKILL.md",[197,198,201,202,203],{"categoryNo":168,"categoryName":169,"taxonomyType":87,"taxonomyTypeDesc":88},{"categoryNo":199,"categoryName":200,"taxonomyType":87,"taxonomyTypeDesc":88},"01JBSEEDCAT000000000000015","视觉设计",{"categoryNo":85,"categoryName":86,"taxonomyType":87,"taxonomyTypeDesc":88},{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},{"categoryNo":204,"categoryName":205,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000032","设计师",[178,179,24,207,208,176,209,210,146,211,181,212,184,213,51,214,215,29,110,190],"designer","code change test designer","design","diffs","commit","edge","diff","tests","flows",{"skillNo":217,"name":218,"nameZh":6,"description":219,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":220,"categories":221,"keywords":223,"publishedAt":43},"01M6QJB195WD7DCJWDMKWKB29S","skill-creator","Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.","https:\u002F\u002Fgithub.com\u002FImaginerLabs\u002Fskill-manager\u002Fblob\u002Fmain\u002Fskills\u002Fmeta-skills\u002Fskill-creator\u002FSKILL.md",[222],{"categoryNo":85,"categoryName":86,"taxonomyType":87,"taxonomyTypeDesc":88},[224,225,226,227,147,228,229,230,231,232,182,233,234,235,51,236,237,107,110,218],"skill creator","creator","performance","run evals","variance analysis","create","run","benchmark","Meta","improve","edit","evals","optimize","existing skill"]