concept-doc
Writes a short concept doc under docs/concepts before a new service or major feature is built, covering problem, goals, non goals, approach, alternatives and open questions. Use when planning a new se
Files1
View on GitHubSKILL.mdskills/docs/concept-doc/SKILL.md
GitHubConcept doc
Capture the plan for a new service or major feature before implementation.
When to use
Write one when a new service or repository starts, a feature touches several components or changes a data model, or a new external dependency is added.
Skip it for small fixes, refactors, version bumps and anything one pull request description already explains.
Steps
- Read
AGENTS.mdfor## Deviations. An entry that drops concept docs means: say so and stop. - Apply the gate above. If skipped, say so and stop.
- Create one file per feature, lowercase with hyphens, in the concepts directory. No directory yet means this is the first record: create it now.
- Problem: what hurts today, who is affected, what the workaround costs. No solution.
- Goals: checkable outcomes, not tasks. Non goals: what a reader would wrongly assume is included.
- Approach: components, data flow, boundaries, where it runs. Not a line by line plan.
- Alternatives: the real reason each was dropped: cost, operational load, complexity, lock in.
- Open questions: one line each, with an owner or a next step. An empty section in a first draft is a warning sign, not a success.
- Link related ADRs. Write the ADR now for any decision that is already settled.
- Review before implementation starts. Update when the approach changes.
- Write as intent, never as if the work is already done. Do not retrofit afterwards.
- One page, one line bullets. Depth goes to ADRs and
docs/. - Promote an open question to an ADR when it is architecture, infrastructure or tooling, expensive to reverse, or must outlive this feature.
Guardrails
## Deviationschecked before the directory is touched.- Gate applied, concept doc actually warranted.
docs/conceptscreated with the first record, not ahead of one.- Problem section has no solution in it.
- Goals verifiable, non goals explicit.
- Alternatives carry real rejection reasons.
- Open questions stay honest and open, not pre answered.
- Settled decisions moved into an ADR and linked.
- One page, one line bullets.
Config
docs.concepts: directory for concept docs. Defaultdocs/concepts.
References
adrfor the decisions a concept doc settles.