mk:backend-development
Drives a backend change from discovery to validation and hands each specialist part to its owning skill.
| Source | .claude/skills/backend-development/SKILL.md |
| Owner | portability |
| Runtime | portable |
| Risk | medium |
mk:backend-development coordinates a backend change end to end: a handler, service, integration, webhook consumer or background job. It classifies what the change touches (contract, service logic, data, auth, async work, operability), handles the service part itself and routes the rest to the owning skill.
When not to use it
| If you need | Use |
|---|---|
| Contract-only design or review | mk:api-design-principles |
| Schema, migration, query or index work | mk:database |
| Infrastructure, delivery or rollback | mk:devops |
| A security verdict | the security workflow (mk:cso) |
| The code root cause of a defect | mk:investigate |
The contract skill is loaded only for a new, public or breaking contract. An internal change with no contract delta does not open a contract discussion. A message-based change splits: the contract is mk:api-design-principles, the producer or consumer code is here. An unscoped performance request is triaged by evidence first, then a query or index question goes to mk:database and a capacity question to mk:devops.
Usage
/mk:backend-development [backend change]What it does
- Discover: reads the active plan, the affected module, its callers, covering tests and local conventions. It names what it did not find instead of assuming.
- Classify: contract-only (route and stop), service logic (stay), data (
mk:databasefor the schema or query part), auth (state the requirement, the security workflow owns the verdict), async or event (stay), production readiness (mk:devops). Most tasks are two or three of these. - Design the boundary: say which existing boundary the change lives in and why it is not a new one. For every call that leaves the process, state the behaviour on timeout, partial success, retry and duplicate delivery.
- Implement: in the owning flow, reusing the local error types, validation, logging and test helpers.
- Validate in proportion to risk: the narrowest covering test first, wider when a shared contract, public boundary or auth path was touched.
references/backend-readiness.mdis loaded for public-facing or high-risk changes.
Output
No new report. The workflow artifact already in use gains the affected boundary, the contract delta (or "none"), the auth and data decisions, the failure semantics, the validation evidence and the hand-offs.
Gotchas
- Name no infrastructure the repository does not already run. A queue, cache, broker or orchestrator is a proposal for you to decide.
- A new service is a deployment and an on-call surface, not a refactor.
- Invent no number. With "make it fast", find the stated target or ask what is slow now.
- A webhook or consumer retried at least once will be delivered twice. Make the handler tolerate it or say the guarantee is unknown.
- An auth requirement is not an auth verdict. State who may do what and what an unauthorized caller sees, and do not certify the code as safe.