[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7B1JDF28F8T5K5E84MFQ3W8":3,"skill-same:01M7B1JDF28F8T5K5E84MFQ3W8":55},{"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":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":31,"install":32,"resources":44},"01M7B1JDF28F8T5K5E84MFQ3W8","codebase-design",null,"Shared vocabulary for designing deep modules. Invoke when the user asks to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary. Do not invoke merely because the user mentions codebase-design, names a skill, or writes 'skill \u003Cword>'.","mineugene\u002Fpi-dev-config","mineugene","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F8313048?v=4","01M7B1HXRN5A0CS3ZH5MAR30VD","Eugene Min","01M7B1HXS9CJCHJK9KXDSYNRTK",1,"MIT","https:\u002F\u002Fgithub.com\u002Fmineugene\u002Fpi-dev-config\u002Fblob\u002Fmain\u002Fskills\u002Fcodebase-design\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: codebase-design\ndisable-model-invocation: true\ndescription: \"Shared vocabulary for designing deep modules. Invoke when the user asks to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary. Do not invoke merely because the user mentions codebase-design, names a skill, or writes 'skill \u003Cword>'.\"\n---\n# Codebase Design\n\n## Scope\n\nThis skill owns the shared vocabulary for deep-module design. It is a reference.\nIt does not implement and it does not run a session.\n\n## Objective\n\nDesign deep modules: much behaviour behind a small interface at a seam that\nisolates the implementation. The aim is leverage for callers, locality for\nmaintainers, and a test surface at the interface.\n\n## Vocabulary\n\nUse these terms exactly when discussing module design. Do not substitute\n`component`, `service`, `API`, `signature`, or `boundary`.\n\n- **Module**: anything with an interface and an implementation: a function,\n  class, package, or tier-spanning slice. _Avoid_: unit, component, service.\n- **Interface**: every fact a caller must know to use the module: type\n  signature, invariants, ordering constraints, error modes, required\n  configuration, and performance characteristics. _Avoid_: API, signature.\n- **Implementation**: the code inside a module.\n- **Adapter**: a concrete thing that satisfies an interface at a seam. A thing\n  can be a small adapter with a large implementation (a Postgres repository) or\n  a large adapter with a small implementation (an in-memory fake). Use `adapter`\n  when the seam is the topic; otherwise use `implementation`.\n- **Depth**: leverage at the interface: the behaviour a caller or test can\n  exercise per unit of interface they must learn. A module is **deep** when much\n  behaviour sits behind a small interface and **shallow** when the interface is\n  nearly as complex as the implementation.\n- **Seam**: a place where behaviour changes without editing in that place; the\n  location at which a module's interface lives. _Avoid_: boundary.\n- **Leverage**: what callers get from depth.\n- **Locality**: what maintainers get from depth: change, bugs, knowledge, and\n  verification concentrate in one place.\n\n## Rules\n\n1. Depth is a property of the interface, not the implementation. A deep module\n   can contain small, mockable internal parts. Internal seams stay private.\n2. Deletion test: imagine deleting the module. When complexity vanishes, it was\n   a pass-through. When complexity reappears across callers, it earned its keep.\n3. The interface is the test surface. Callers and tests cross the same seam. A\n   test that must reach past the interface is a signal the module shape is\n   wrong.\n4. One adapter is a hypothetical seam. Two adapters make a real one. Introduce\n   no seam unless at least two adapters are justified.\n5. When designing an interface, reduce the method count, simplify the\n   parameters, and hide more complexity inside.\n\n## Testability rules\n\n1. Accept dependencies; do not create them inside the module.\n2. Return results; do not produce hidden side effects.\n3. Keep the surface small: fewer methods and parameters need less setup.\n\n## Relationships\n\n- A module has exactly one external interface.\n- Depth is a property of a module, measured against its interface.\n- A seam is where a module's interface lives.\n- An adapter sits at a seam and satisfies the interface.\n- Depth produces leverage for callers and locality for maintainers.\n\n## Rejected framings\n\n- Depth as the ratio of implementation lines to interface lines: it rewards\n  padding. Use depth-as-leverage.\n- Interface as the TypeScript `interface` keyword or a class's public methods:\n  too narrow.\n- Boundary: overloaded with DDD's bounded context. Say seam or interface.\n\n## Disclosed reference\n\n- Deepening a cluster given its dependencies: [DEEPENING.md](.\u002FDEEPENING.md).\n- Exploring alternative interfaces: [DESIGN-IT-TWICE.md](.\u002FDESIGN-IT-TWICE.md).\n","# Codebase Design\n\n## Scope\n\nThis skill owns the shared vocabulary for deep-module design. It is a reference.\nIt does not implement and it does not run a session.\n\n## Objective\n\nDesign deep modules: much behaviour behind a small interface at a seam that\nisolates the implementation. The aim is leverage for callers, locality for\nmaintainers, and a test surface at the interface.\n\n## Vocabulary\n\nUse these terms exactly when discussing module design. Do not substitute\n`component`, `service`, `API`, `signature`, or `boundary`.\n\n- **Module**: anything with an interface and an implementation: a function,\n  class, package, or tier-spanning slice. _Avoid_: unit, component, service.\n- **Interface**: every fact a caller must know to use the module: type\n  signature, invariants, ordering constraints, error modes, required\n  configuration, and performance characteristics. _Avoid_: API, signature.\n- **Implementation**: the code inside a module.\n- **Adapter**: a concrete thing that satisfies an interface at a seam. A thing\n  can be a small adapter with a large implementation (a Postgres repository) or\n  a large adapter with a small implementation (an in-memory fake). Use `adapter`\n  when the seam is the topic; otherwise use `implementation`.\n- **Depth**: leverage at the interface: the behaviour a caller or test can\n  exercise per unit of interface they must learn. A module is **deep** when much\n  behaviour sits behind a small interface and **shallow** when the interface is\n  nearly as complex as the implementation.\n- **Seam**: a place where behaviour changes without editing in that place; the\n  location at which a module's interface lives. _Avoid_: boundary.\n- **Leverage**: what callers get from depth.\n- **Locality**: what maintainers get from depth: change, bugs, knowledge, and\n  verification concentrate in one place.\n\n## Rules\n\n1. Depth is a property of the interface, not the implementation. A deep module\n   can contain small, mockable internal parts. Internal seams stay private.\n2. Deletion test: imagine deleting the module. When complexity vanishes, it was\n   a pass-through. When complexity reappears across callers, it earned its keep.\n3. The interface is the test surface. Callers and tests cross the same seam. A\n   test that must reach past the interface is a signal the module shape is\n   wrong.\n4. One adapter is a hypothetical seam. Two adapters make a real one. Introduce\n   no seam unless at least two adapters are justified.\n5. When designing an interface, reduce the method count, simplify the\n   parameters, and hide more complexity inside.\n\n## Testability rules\n\n1. Accept dependencies; do not create them inside the module.\n2. Return results; do not produce hidden side effects.\n3. Keep the surface small: fewer methods and parameters need less setup.\n\n## Relationships\n\n- A module has exactly one external interface.\n- Depth is a property of a module, measured against its interface.\n- A seam is where a module's interface lives.\n- An adapter sits at a seam and satisfies the interface.\n- Depth produces leverage for callers and locality for maintainers.\n\n## Rejected framings\n\n- Depth as the ratio of implementation lines to interface lines: it rewards\n  padding. Use depth-as-leverage.\n- Interface as the TypeScript `interface` keyword or a class's public methods:\n  too narrow.\n- Boundary: overloaded with DDD's bounded context. Say seam or interface.\n\n## Disclosed reference\n\n- Deepening a cluster given its dependencies: [DEEPENING.md](.\u002FDEEPENING.md).\n- Exploring alternative interfaces: [DESIGN-IT-TWICE.md](.\u002FDESIGN-IT-TWICE.md).\n",{"name":5,"description":7,"disable-model-invocation":24},true,"main","656f9af15679b3c6a7df060a321bf853acb56e8c","skills\u002Fcodebase-design",0,"https:\u002F\u002Fgithub.com\u002Fmineugene\u002Fpi-dev-config","https:\u002F\u002Fgithub.com\u002Fmineugene","2026-11-12 07:59:18",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":24},[34,37,40],{"tool":35,"command":36},"npx","npx skills add mineugene\u002Fpi-dev-config --skill codebase-design",{"tool":38,"command":39},"bunx","bunx skills add mineugene\u002Fpi-dev-config --skill codebase-design",{"tool":41,"command":42},"pnpm","pnpm dlx skills add mineugene\u002Fpi-dev-config --skill codebase-design","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmineugene\u002Fpi-dev-config\u002Fblob\u002Fmain\u002Fskills\u002Fcodebase-design\u002FSKILL.md",[45,51],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"DEEPENING.md","REFERENCE","参考文档",1767,"https:\u002F\u002Fgithub.com\u002Fmineugene\u002Fpi-dev-config\u002Fblob\u002Fmain\u002Fskills\u002Fcodebase-design\u002FDEEPENING.md",{"path":52,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":53,"sourceHtmlUrl":54},"DESIGN-IT-TWICE.md",1742,"https:\u002F\u002Fgithub.com\u002Fmineugene\u002Fpi-dev-config\u002Fblob\u002Fmain\u002Fskills\u002Fcodebase-design\u002FDESIGN-IT-TWICE.md",[56,63,70,77,84,91],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M7B1MJ8EHWXNYWNX60WB00X5","writing-for-agents","Reference for writing documents an agent consumes: skills, AGENTS.md or CLAUDE.md, and docs reached by a pointer. Invoke when creating or editing a skill or an agent instruction file, or when a document's pointer wording, load, or structure is in question. Do not invoke merely because the user mentions writing-for-agents, names a skill, or writes 'skill \u003Cword>'.","https:\u002F\u002Fgithub.com\u002Fmineugene\u002Fpi-dev-config\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-for-agents\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M7B1MDTK7MDRPNFPRM7ATT23","wizard","Generate an interactive bash wizard for steps only a human can perform. Invoke when the user asks for a script or wizard for manual setup: infrastructure provisioning, credentials or CI secrets, a third-party dashboard, or a one-off migration or cutover. Do not invoke for steps the agent can perform, or merely because the user mentions wizard, names a skill, or writes 'skill \u003Cword>'.","https:\u002F\u002Fgithub.com\u002Fmineugene\u002Fpi-dev-config\u002Fblob\u002Fmain\u002Fskills\u002Fwizard\u002FSKILL.md",[],[],{"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":76,"publishedAt":19},"01M7B1MAHMQPAEE4Q8AZF8WW9N","wait-what","Stop and re-pitch the last message in plain, simplified language.","https:\u002F\u002Fgithub.com\u002Fmineugene\u002Fpi-dev-config\u002Fblob\u002Fmain\u002Fskills\u002Fwait-what\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M7B1M8NS8GYP1QDEYY9KXPQP","to-tickets","Split an agreed specification into reviewable vertical-slice issues with explicit blockers, then publish them after confirmation.","https:\u002F\u002Fgithub.com\u002Fmineugene\u002Fpi-dev-config\u002Fblob\u002Fmain\u002Fskills\u002Fto-tickets\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M7B1M6M89D3KH0QTB71061QX","to-spec","Turn the current conversation into a specification and publish it after confirmation.","https:\u002F\u002Fgithub.com\u002Fmineugene\u002Fpi-dev-config\u002Fblob\u002Fmain\u002Fskills\u002Fto-spec\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M7B1M540CQGT30DHPKZ2PCQF","to-pr","Create a pull request from the current branch.","https:\u002F\u002Fgithub.com\u002Fmineugene\u002Fpi-dev-config\u002Fblob\u002Fmain\u002Fskills\u002Fto-pr\u002FSKILL.md",[],[]]