[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AT7YSBRSCAHZVMWVWABRGX":3,"skill-same:01M7AT7YSBRSCAHZVMWVWABRGX":61},{"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":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":13,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":28,"install":29,"resources":42},"01M7AT7YSBRSCAHZVMWVWABRGX","domain-modeling",null,"Domänkort and domain model discipline. Use when creating or updating DOMAIN.md or CONTEXT.md, preparing a project overview for a stakeholder meeting, re-entering a project after a context switch, defining or challenging domain terms, building a glossary, or visualizing a domain as a card (domänkort), side-by-side spread (uppslag), or mind map (domänkarta).","NilsWickman\u002Fmy-ai-config","NilsWickman","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F161308626?v=4","01M7AT7PRPXKRMQJCQQNNQ9ASM","01M7AT7PSBCQYDMBB32C5J04DG",0,"MIT","https:\u002F\u002Fgithub.com\u002FNilsWickman\u002Fmy-ai-config\u002Fblob\u002Fmain\u002Fdot_agents\u002Fskills\u002Fdomain-modeling\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: domain-modeling\ndescription: Domänkort and domain model discipline. Use when creating or updating DOMAIN.md or CONTEXT.md, preparing a project overview for a stakeholder meeting, re-entering a project after a context switch, defining or challenging domain terms, building a glossary, or visualizing a domain as a card (domänkort), side-by-side spread (uppslag), or mind map (domänkarta).\nuser-invocable: false\n---\n\n# Domain Modeling\n\nTwo layers, one discipline. The **domänkort** (`DOMAIN.md`) is the compressed top layer: the card a human reads in 30 seconds to own a project's story. Beneath it sits the working model: glossary overflow in `CONTEXT.md`, decisions in ADRs. This skill covers maintaining both *and* the active practice of sharpening the model as you design. (Merely *reading* the files for vocabulary is not this skill: that's a one-line habit. This skill is for when you're changing or presenting the model, not just consuming it.)\n\n## Domänkort: `DOMAIN.md`\n\nEvery project carries one `DOMAIN.md` at its root: fixed schema, hard cap 30 lines. The identical structure across projects is half the value: the reader's eyes learn where to look, and a project switch costs 30 seconds. Schema, rules, and visualization (uppslag, domänkarta, status vocabulary) live in [DOMANKORT-FORMAT.md](.\u002FDOMANKORT-FORMAT.md); read it before creating or restyling a card.\n\n- The card is an **index, not a store**: a fact lives in one place (code, ticket, doc); the card gists and links. When something doesn't fit, link deeper instead of growing the card.\n- Complexity scales in the **number of cards, never card length**: one card per bounded context plus a context-map card, mirroring `CONTEXT-MAP.md`.\n- Maintenance rides on the repo's `CLAUDE.md`: \"Läs DOMAIN.md först; uppdatera det vid domänändringar; håll taket 30 rader.\" A session that changes domain terms or behavior updates the card in that same session, never batched.\n\n## File structure\n\nMost repos have a single context:\n\n```\n\u002F\n├── DOMAIN.md            ← domänkort (the capped card)\n├── CONTEXT.md           ← full glossary, only once Språk overflows\n├── domain\u002F              ← per-term deep dives, created on demand (see DOMANKORT-FORMAT.md)\n├── docs\u002F\n│   └── adr\u002F\n│       ├── 0001-event-sourced-orders.md\n│       └── 0002-postgres-for-write-model.md\n└── src\u002F\n```\n\n## During the session\n\n### Challenge against the glossary\n\nWhen the user uses a term that conflicts with the established language (the card's Språk section, or `CONTEXT.md`), call it out immediately. \"Your glossary defines 'cancellation' as X, but you seem to mean Y. Which is it?\"\n\n### Sharpen fuzzy language\n\nWhen the user uses vague or overloaded terms, propose a precise canonical term. \"You're saying 'account': do you mean the Customer or the User? Those are different things.\"\n\n### Discuss concrete scenarios\n\nWhen domain relationships are being discussed, stress-test them with specific scenarios. Invent scenarios that probe edge cases and force the user to be precise about the boundaries between concepts.\n\n### Cross-reference with code\n\nWhen the user states how something works, check whether the code agrees. If you find a contradiction, surface it: \"Your code cancels entire Orders, but you just said partial cancellation is possible. Which is right?\"\n\n### Capture terms in the card, overflow to CONTEXT.md\n\nWhen a term is resolved, write it down right there, never batched. It lands in the card's Språk section while that holds ~7 load-bearing terms; past that, the full glossary moves to `CONTEXT.md` (format in [CONTEXT-FORMAT.md](.\u002FCONTEXT-FORMAT.md)) and the card keeps only the bearing few plus a link. Extracting a glossary from a conversation is this same move: terms, ambiguities, and canonical choices land in Språk or `CONTEXT.md`, nowhere else.\n\n`CONTEXT.md` is a glossary and nothing else: no implementation details, no spec, no scratch pad.\n\n### Offer ADRs sparingly\n\nOnly offer to create an ADR when all three are true:\n\n1. **Hard to reverse**: the cost of changing your mind later is meaningful\n2. **Surprising without context**: a future reader will wonder \"why did they do it this way?\"\n3. **The result of a real trade-off**: there were genuine alternatives and you picked one for specific reasons\n\nIf any of the three is missing, skip the ADR. Use the format in [ADR-FORMAT.md](.\u002FADR-FORMAT.md).\n","# Domain Modeling\n\nTwo layers, one discipline. The **domänkort** (`DOMAIN.md`) is the compressed top layer: the card a human reads in 30 seconds to own a project's story. Beneath it sits the working model: glossary overflow in `CONTEXT.md`, decisions in ADRs. This skill covers maintaining both *and* the active practice of sharpening the model as you design. (Merely *reading* the files for vocabulary is not this skill: that's a one-line habit. This skill is for when you're changing or presenting the model, not just consuming it.)\n\n## Domänkort: `DOMAIN.md`\n\nEvery project carries one `DOMAIN.md` at its root: fixed schema, hard cap 30 lines. The identical structure across projects is half the value: the reader's eyes learn where to look, and a project switch costs 30 seconds. Schema, rules, and visualization (uppslag, domänkarta, status vocabulary) live in [DOMANKORT-FORMAT.md](.\u002FDOMANKORT-FORMAT.md); read it before creating or restyling a card.\n\n- The card is an **index, not a store**: a fact lives in one place (code, ticket, doc); the card gists and links. When something doesn't fit, link deeper instead of growing the card.\n- Complexity scales in the **number of cards, never card length**: one card per bounded context plus a context-map card, mirroring `CONTEXT-MAP.md`.\n- Maintenance rides on the repo's `CLAUDE.md`: \"Läs DOMAIN.md först; uppdatera det vid domänändringar; håll taket 30 rader.\" A session that changes domain terms or behavior updates the card in that same session, never batched.\n\n## File structure\n\nMost repos have a single context:\n\n```\n\u002F\n├── DOMAIN.md            ← domänkort (the capped card)\n├── CONTEXT.md           ← full glossary, only once Språk overflows\n├── domain\u002F              ← per-term deep dives, created on demand (see DOMANKORT-FORMAT.md)\n├── docs\u002F\n│   └── adr\u002F\n│       ├── 0001-event-sourced-orders.md\n│       └── 0002-postgres-for-write-model.md\n└── src\u002F\n```\n\n## During the session\n\n### Challenge against the glossary\n\nWhen the user uses a term that conflicts with the established language (the card's Språk section, or `CONTEXT.md`), call it out immediately. \"Your glossary defines 'cancellation' as X, but you seem to mean Y. Which is it?\"\n\n### Sharpen fuzzy language\n\nWhen the user uses vague or overloaded terms, propose a precise canonical term. \"You're saying 'account': do you mean the Customer or the User? Those are different things.\"\n\n### Discuss concrete scenarios\n\nWhen domain relationships are being discussed, stress-test them with specific scenarios. Invent scenarios that probe edge cases and force the user to be precise about the boundaries between concepts.\n\n### Cross-reference with code\n\nWhen the user states how something works, check whether the code agrees. If you find a contradiction, surface it: \"Your code cancels entire Orders, but you just said partial cancellation is possible. Which is right?\"\n\n### Capture terms in the card, overflow to CONTEXT.md\n\nWhen a term is resolved, write it down right there, never batched. It lands in the card's Språk section while that holds ~7 load-bearing terms; past that, the full glossary moves to `CONTEXT.md` (format in [CONTEXT-FORMAT.md](.\u002FCONTEXT-FORMAT.md)) and the card keeps only the bearing few plus a link. Extracting a glossary from a conversation is this same move: terms, ambiguities, and canonical choices land in Språk or `CONTEXT.md`, nowhere else.\n\n`CONTEXT.md` is a glossary and nothing else: no implementation details, no spec, no scratch pad.\n\n### Offer ADRs sparingly\n\nOnly offer to create an ADR when all three are true:\n\n1. **Hard to reverse**: the cost of changing your mind later is meaningful\n2. **Surprising without context**: a future reader will wonder \"why did they do it this way?\"\n3. **The result of a real trade-off**: there were genuine alternatives and you picked one for specific reasons\n\nIf any of the three is missing, skip the ADR. Use the format in [ADR-FORMAT.md](.\u002FADR-FORMAT.md).\n",{"name":5,"description":7,"user-invocable":19},"main","e7c3a91f1f4dc630a3497d4c7930617f0ca2d789","dot_agents\u002Fskills\u002Fdomain-modeling","https:\u002F\u002Fgithub.com\u002FNilsWickman\u002Fmy-ai-config","https:\u002F\u002Fgithub.com\u002FNilsWickman","2026-10-14 03:15:44",{"source":8,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add NilsWickman\u002Fmy-ai-config --skill domain-modeling",{"tool":35,"command":36},"bunx","bunx skills add NilsWickman\u002Fmy-ai-config --skill domain-modeling",{"tool":38,"command":39},"pnpm","pnpm dlx skills add NilsWickman\u002Fmy-ai-config --skill domain-modeling","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FNilsWickman\u002Fmy-ai-config\u002Fblob\u002Fmain\u002Fdot_agents\u002Fskills\u002Fdomain-modeling\u002FSKILL.md",true,[43,49,53,57],{"path":44,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":47,"sourceHtmlUrl":48},"ADR-FORMAT.md","REFERENCE","参考文档",2733,"https:\u002F\u002Fgithub.com\u002FNilsWickman\u002Fmy-ai-config\u002Fblob\u002Fmain\u002Fdot_agents\u002Fskills\u002Fdomain-modeling\u002FADR-FORMAT.md",{"path":50,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":51,"sourceHtmlUrl":52},"agents\u002Fopenai.yaml",101,"https:\u002F\u002Fgithub.com\u002FNilsWickman\u002Fmy-ai-config\u002Fblob\u002Fmain\u002Fdot_agents\u002Fskills\u002Fdomain-modeling\u002Fagents\u002Fopenai.yaml",{"path":54,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":55,"sourceHtmlUrl":56},"CONTEXT-FORMAT.md",2290,"https:\u002F\u002Fgithub.com\u002FNilsWickman\u002Fmy-ai-config\u002Fblob\u002Fmain\u002Fdot_agents\u002Fskills\u002Fdomain-modeling\u002FCONTEXT-FORMAT.md",{"path":58,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":59,"sourceHtmlUrl":60},"DOMANKORT-FORMAT.md",4119,"https:\u002F\u002Fgithub.com\u002FNilsWickman\u002Fmy-ai-config\u002Fblob\u002Fmain\u002Fdot_agents\u002Fskills\u002Fdomain-modeling\u002FDOMANKORT-FORMAT.md",[62,69,76,83,90,97],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":18},"01M7AT8FXDYX5Q8KP15VFNASWV","wait-what","Stop. That last message did not land: re-pitch it.","https:\u002F\u002Fgithub.com\u002FNilsWickman\u002Fmy-ai-config\u002Fblob\u002Fmain\u002Fdot_agents\u002Fskills\u002Fwait-what\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":18},"01M7AT8ATF4FN387DW79N1A7KR","video","Record self-narrating product walkthrough videos of web apps with Playwright, including before\u002Fafter A\u002FB comparisons of two versions joined by a sweeping divider. Use when the user asks to record a demo, walkthrough, or feature showcase video of a web UI, wants a before-and-after or old-vs-new comparison video, or wants video evidence of a workflow for feedback or documentation.","https:\u002F\u002Fgithub.com\u002FNilsWickman\u002Fmy-ai-config\u002Fblob\u002Fmain\u002Fdot_agents\u002Fskills\u002Fvideo\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":18},"01M7AT89A0YK8XB636RVQ2YQZR","probe","Probe the AI models' built-in knowledge before trying to automate in the information.","https:\u002F\u002Fgithub.com\u002FNilsWickman\u002Fmy-ai-config\u002Fblob\u002Fmain\u002Fdot_agents\u002Fskills\u002Fprobe\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":18},"01M7AT87PFHEKYX08TNKDCPAY1","email","Read before drafting an email or other communication handoff.","https:\u002F\u002Fgithub.com\u002FNilsWickman\u002Fmy-ai-config\u002Fblob\u002Fmain\u002Fdot_agents\u002Fskills\u002Femail\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":18},"01M7AT84CR761A6AX0CHDH9KHM","dotfiles","Sync chezmoi-managed agent dotfiles between machines.","https:\u002F\u002Fgithub.com\u002FNilsWickman\u002Fmy-ai-config\u002Fblob\u002Fmain\u002Fdot_agents\u002Fskills\u002Fdotfiles\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":18},"01M7AT7SYHFE6R8Y68VKXK7T5E","diagnosing-bugs","Diagnosis loop for hard bugs and performance regressions. Use when the user says \"diagnose\"\u002F\"debug this\", or reports something broken\u002Fthrowing\u002Ffailing\u002Fslow.","https:\u002F\u002Fgithub.com\u002FNilsWickman\u002Fmy-ai-config\u002Fblob\u002Fmain\u002Fdot_agents\u002Fskills\u002Fdiagnosing-bugs\u002FSKILL.md",[],[]]