[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DEQHA1WJA6PB666ENSZAMC":3,"skill-same:01M7DEQHA1WJA6PB666ENSZAMC":46},{"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":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M7DEQHA1WJA6PB666ENSZAMC","design-notes",null,"Use when starting non-trivial implementation work, when design decisions risk being buried in generated code, or when scoping a feature before writing code","kejadlen\u002Fdotfiles","kejadlen","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F8639?v=4","01M7DEPV4SN2WBW50SBF2KG7D1","Alpha Chen","01M7DEPV5FBX0YWCBKEVHKT8E2",10,"MIT","https:\u002F\u002Fgithub.com\u002Fkejadlen\u002Fdotfiles\u002Fblob\u002Fmain\u002Fai\u002Fskills\u002Fdesign-notes\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: design-notes\ndescription: Use when starting non-trivial implementation work, when design decisions risk being buried in generated code, or when scoping a feature before writing code\n---\n\n# Design notes\n\nSupplementary notes on designing software with AI, accumulated from experience and external sources.\n\n*This is a self-improving skill. If you used it and it came up short — a missing command, flag, gotcha, or workflow — invoke the `self-improving-skills` skill and follow it before you finish.*\n\n## Before proposing: read the existing record\n\nIf the task points at a design record, or the repo already keeps them, read it first. Implementation conforms to the record, not the reverse, and a dated record is never rewritten to match behavior that arrived after it.\n\n## The implementation trap\n\nAI collapses design and implementation into a single step. Describe a feature, receive hundreds of lines — with every architectural decision made silently. The first time you see the AI's design thinking is when you're reading code, which is the most expensive place to discover a disagreement.\n\nReviewing AI-generated code feels more exhausting than reviewing a colleague's work because you're evaluating scope, architecture, integration, contracts, and code quality simultaneously. That's too many dimensions for a single pass.\n\n**Core constraint:** No code until the design is agreed. Everything else follows from there.\n\n## Progressive design alignment\n\nWalk through progressive levels of design before writing code. Each level surfaces a category of decisions that would otherwise be buried in the implementation.\n\n| Level | Focus | Question it answers |\n|-------|-------|-------------------|\n| Capabilities | What the system needs to do | Are we building the same thing? |\n| Components | Building blocks — services, modules, abstractions | Do the boundaries make sense? |\n| Interactions | How components communicate — data flow, APIs, events | Does the integration fit? |\n| Contracts | Interfaces, function signatures, types, schemas | Do the shapes match? |\n| Implementation | Now write the code | — |\n\nPresent each level separately. Wait for approval before moving to the next. This is cognitive load management — one category of decision at a time, not all of them at once.\n\n## Calibrating depth to complexity\n\nNot every task needs all five levels. Scale to the work:\n\n| Task complexity | Start at | Example |\n|----------------|----------|---------|\n| Simple utility | Contracts | Date formatter, string helper |\n| Single component | Components | Validation service, API endpoint |\n| Multi-component feature | Capabilities | Notification system, payment integration |\n| New system integration | Capabilities + deep Interactions | Third-party API, event-driven pipeline |\n\n## Why this pays off\n\n- Catching a scope mismatch in a two-minute design conversation costs less than discovering it woven through 400 lines of generated code (Boehm's Cost of Change Curve still applies).\n- Agreed-upon contracts create preconditions for TDD — approve contracts, generate tests, then implement against them.\n- AI tends to add unrequested features (rate limiting, analytics hooks, webhook systems). Explicit scope at the Capabilities level prevents this technical debt injection.\n- Design alignment compounds with knowledge priming — when the AI already understands the project's architecture and conventions, each design level is anchored to the codebase.\n\n## Sources\n\n- [Design-First Collaboration](https:\u002F\u002Fmartinfowler.com\u002Farticles\u002Freduce-friction-ai\u002Fdesign-first-collaboration.html) (Rahul Garg, martinfowler.com, 2026)\n","# Design notes\n\nSupplementary notes on designing software with AI, accumulated from experience and external sources.\n\n*This is a self-improving skill. If you used it and it came up short — a missing command, flag, gotcha, or workflow — invoke the `self-improving-skills` skill and follow it before you finish.*\n\n## Before proposing: read the existing record\n\nIf the task points at a design record, or the repo already keeps them, read it first. Implementation conforms to the record, not the reverse, and a dated record is never rewritten to match behavior that arrived after it.\n\n## The implementation trap\n\nAI collapses design and implementation into a single step. Describe a feature, receive hundreds of lines — with every architectural decision made silently. The first time you see the AI's design thinking is when you're reading code, which is the most expensive place to discover a disagreement.\n\nReviewing AI-generated code feels more exhausting than reviewing a colleague's work because you're evaluating scope, architecture, integration, contracts, and code quality simultaneously. That's too many dimensions for a single pass.\n\n**Core constraint:** No code until the design is agreed. Everything else follows from there.\n\n## Progressive design alignment\n\nWalk through progressive levels of design before writing code. Each level surfaces a category of decisions that would otherwise be buried in the implementation.\n\n| Level | Focus | Question it answers |\n|-------|-------|-------------------|\n| Capabilities | What the system needs to do | Are we building the same thing? |\n| Components | Building blocks — services, modules, abstractions | Do the boundaries make sense? |\n| Interactions | How components communicate — data flow, APIs, events | Does the integration fit? |\n| Contracts | Interfaces, function signatures, types, schemas | Do the shapes match? |\n| Implementation | Now write the code | — |\n\nPresent each level separately. Wait for approval before moving to the next. This is cognitive load management — one category of decision at a time, not all of them at once.\n\n## Calibrating depth to complexity\n\nNot every task needs all five levels. Scale to the work:\n\n| Task complexity | Start at | Example |\n|----------------|----------|---------|\n| Simple utility | Contracts | Date formatter, string helper |\n| Single component | Components | Validation service, API endpoint |\n| Multi-component feature | Capabilities | Notification system, payment integration |\n| New system integration | Capabilities + deep Interactions | Third-party API, event-driven pipeline |\n\n## Why this pays off\n\n- Catching a scope mismatch in a two-minute design conversation costs less than discovering it woven through 400 lines of generated code (Boehm's Cost of Change Curve still applies).\n- Agreed-upon contracts create preconditions for TDD — approve contracts, generate tests, then implement against them.\n- AI tends to add unrequested features (rate limiting, analytics hooks, webhook systems). Explicit scope at the Capabilities level prevents this technical debt injection.\n- Design alignment compounds with knowledge priming — when the AI already understands the project's architecture and conventions, each design level is anchored to the codebase.\n\n## Sources\n\n- [Design-First Collaboration](https:\u002F\u002Fmartinfowler.com\u002Farticles\u002Freduce-friction-ai\u002Fdesign-first-collaboration.html) (Rahul Garg, martinfowler.com, 2026)\n",{"name":5,"description":7},"main","54400d2fb3ebb925baf35311c647aaa31e7a5222","ai\u002Fskills\u002Fdesign-notes",0,"https:\u002F\u002Fgithub.com\u002Fkejadlen\u002Fdotfiles","https:\u002F\u002Fgithub.com\u002Fkejadlen","https:\u002F\u002Fkejadlen.dev","2026-11-14 03:39:37",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add kejadlen\u002Fdotfiles --skill design-notes",{"tool":38,"command":39},"bunx","bunx skills add kejadlen\u002Fdotfiles --skill design-notes",{"tool":41,"command":42},"pnpm","pnpm dlx skills add kejadlen\u002Fdotfiles --skill design-notes","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fkejadlen\u002Fdotfiles\u002Fblob\u002Fmain\u002Fai\u002Fskills\u002Fdesign-notes\u002FSKILL.md",true,[],[47,54,61,68,75,82],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":19},"01M7DEVM19CB8GSCZV56PHA594","zoekt","Use when searching code across repositories — prefer zoekt over grep\u002Fripgrep for indexed code search. Covers indexing repos, search syntax, and query patterns.","https:\u002F\u002Fgithub.com\u002Fkejadlen\u002Fdotfiles\u002Fblob\u002Fmain\u002Fai\u002Fskills\u002Fzoekt\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M7DEVF10JKR56RSX30PZ8BNH","writing-for-accessibility","Use when writing documentation, alt text, diagrams, or any content that should be accessible to people with disabilities. Covers alt text, color contrast, inclusive language, and accessible visuals. Also use when reviewing documents for accessibility.","https:\u002F\u002Fgithub.com\u002Fkejadlen\u002Fdotfiles\u002Fblob\u002Fmain\u002Fai\u002Fskills\u002Fwriting-for-accessibility\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M7DEVA0Q63VMQWG32VN18XYB","writing-error-messages","Use when writing, reviewing, or improving error messages in code, CLI tools, APIs, or UIs. Covers identifying the cause, explaining the fix, and setting the right tone. Also use when error messages are vague, unactionable, or confusing.","https:\u002F\u002Fgithub.com\u002Fkejadlen\u002Fdotfiles\u002Fblob\u002Fmain\u002Fai\u002Fskills\u002Fwriting-error-messages\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M7DEV6GGF2H3FW3YCPWXRRT6","working-in-the-open","Use when making design decisions during implementation — routes rationale to the right venue (commits, task comments, code comments, or documentation) based on how durable the context needs to be","https:\u002F\u002Fgithub.com\u002Fkejadlen\u002Fdotfiles\u002Fblob\u002Fmain\u002Fai\u002Fskills\u002Fworking-in-the-open\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7DEV2XTM37B9S0QV8X9SNSW","web-standards","Use when writing or reviewing HTML, CSS, or browser JavaScript — covers semantic markup, native platform features over libraries, Baseline browser support, accessibility and APCA contrast, and optional validation with vnu, axe, and Lighthouse","https:\u002F\u002Fgithub.com\u002Fkejadlen\u002Fdotfiles\u002Fblob\u002Fmain\u002Fai\u002Fskills\u002Fweb-standards\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M7DETYVQNPNGXC094DT0PTDF","web-design","Use when designing or building web UI, frontends, or styling — covers personal web design preferences, fluid layout, and Alpine.js","https:\u002F\u002Fgithub.com\u002Fkejadlen\u002Fdotfiles\u002Fblob\u002Fmain\u002Fai\u002Fskills\u002Fweb-design\u002FSKILL.md",[],[]]