api-versioning
API versioning strategies for ASP.NET Core. Covers Asp.Versioning library, URL segment,…
Turn a vague feature or product idea into an agreed, persisted specification through relentless structured questioning. Never assumes — every gap, ambiguity, or "probably" becomes a question to the developer, and the spec cannot be approved while open questions remain. Produces
$ npx -y skills add codewithmukesh/dotnet-claude-kit --skill spec --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/specContext preview
The summary Claude sees to decide when to auto-load this skill.
Turn a vague feature or product idea into an agreed, persisted specification through relentless structured questioning. Never assumes — every gap, ambiguity, or "probably" becomes a question to the developer, and the spec cannot be approved while open questions remain. Produces
name: spec description: > Turn a vague feature or product idea into an agreed, persisted specification through relentless structured questioning. Never assumes — every gap, ambiguity, or "probably" becomes a question to the developer, and the spec cannot be approved while open questions remain. Produces docs/specs/<NNN>-<slug>.md with acceptance criteria that /plan, /scaffold, and /tdd consume. Use when: "spec", "write a spec", "spec this out", "requirements", "PRD", "acceptance criteria", "define the feature", "user stories", "what should we build", or before planning any feature too big to describe in one sentence.
Converts an idea into a written, versioned specification that both the developer and Claude explicitly agree on — before any planning or code. The contract:
itself thinking "probably", "presumably", or "the usual way" — that thought is a question to ask, not a decision to make.
time) across nine dimensions — not one overwhelming dump, and not a single polite round that stops early.
Approved. Implementation never starts from a Draft. Approval requires the developer to read the final document and say so.
and survives the session. Plans, tests, and commits reference it.
**Skip for:** bug fixes, refactors, single-endpoint CRUD where the entity is obvious.
Take the raw idea and restate it in one paragraph: what Claude understood, in its own words. End with: "Is this the idea? What did I get wrong?" Do not begin questioning until the developer confirms the restatement — questioning the wrong idea wastes everyone's time.
Work through the nine dimensions in order. Each round: pick the 3–5 most load-bearing unanswered questions (answers that reshape later questions come first). Where the harness supports selectable options, present choices with trade-offs — and a recommendation — but **the developer chooses; a recommendation is never silently applied**.
| # | Dimension | What to pin down | |---|-----------|------------------| | 1 | Problem & users | Who hurts today, how they work around it, what success looks like | | 2 | Scope | What is IN this iteration, what is explicitly OUT, where the MVP line sits | | 3 | Domain & data | Entities, relationships, lifecycle (create→archive→delete?), retention | | 4 | API contract | Resources, endpoints, request/response shapes, pagination, versioning | | 5 | Authorization | Who can do what, role/claim model, tenant boundaries | | 6 | Edge cases & failure modes | Concurrency, duplicates, idempotency, partial failure, limits | | 7 | Non-functionals | Expected volume, latency budget, growth assumptions | | 8 | Integrations | External services, published events, webhooks, side effects | | 9 | Acceptance criteria | Testable Given/When/Then for every behavior in scope |
**Rules of relentless questioning:**
fallback the developer chooses now ("default to soft-delete until decided"). Silent deferral is forbidden.
because the conversation feels long — stopping early is how assumptions sneak in.
Determine the next number from existing files in `docs/specs/` (create the directory if missing). Write `docs/specs/<NNN>-<slug>.md`:
# Spec NNN: <Title> **Status:** Draft **Date:** <today> ## Problem <!-- who hurts, why now --> ## Scope <!-- ### In / ### Out — both explicit --> ## Domain Model <!-- entities, relationships, lifecycle --> ## API Contract <!-- endpoints table: verb, route, request, response, errors --> ## Authorization <!-- who can do what --> ## Edge Cases & Failure Modes ## Non-Functional Requirements ## Integrations ## Acceptance Criteria <!-- Given/When/Then, numbered AC-1, AC-2, ... --> ## Deferred Decisions <!-- decision, chosen fallback, revisit trigger --> ## Open Questions <!-- MUST be empty before approval -->
Set status to **In Review**. Present the complete spec and ask: "Read this end-to-end. What is wrong, missing, or over-engineered?" Fold corrections in and re-present. Repeat until the developer has no further changes. New answers may spawn new questions — that is the process working, not a failure to converge.
Approval is a deliberate act, never inferred from silence or "looks good" in passing. Ask explicitly: "Do you approve this spec? After approval, code follows the spec — changes go through the spec first." On approval, set `**Status:** Approved (<date>)`.
In Review, fix t
API versioning strategies for ASP.NET Core. Covers Asp.Versioning library, URL segment,…
Architecture conformance check: verifies an existing codebase against its declared…
Architecture selection advisor for .NET applications. Asks structured questions about domain…
.NET Aspire for cloud-native orchestration. Covers AppHost configuration, service defaults,…
Authentication and authorization for ASP.NET Core. Covers JWT bearer tokens, OpenID Connect,…
Autonomous iteration loops for .NET: drive a broken build or failing test suite to green with…