SPECS

Spec-driven development with coding agents

A spec says what a feature must do, as requirements with acceptance criteria. Kanship keeps one markdown spec per feature in a repository you choose, and agents plan, build and review against it.

How specs work

  1. 1

    Start from your code

    Agents draft the first specs from your code and project knowledge. Nothing becomes a spec until you approve it.

  2. 2

    Rules you can check

    Each requirement has acceptance criteria. A criterion that starts with NOT: says what the product must never do.

  3. 3

    Change a spec, get the work

    Edit a spec or brainstorm the change. An agent turns it into a task, or an epic if it’s big. The new spec text lands with the code, and Undo merge reverts both.

  4. 4

    Doubts stay questions

    When a writer isn’t sure, it records an open question, not a rule. Agents suggest an answer for each, and you decide.

Example spec change, with a NOT: criterion and an open question

Questions

Do I need specs?

No. Specs stay off until you turn on Spec-driven in a project’s settings and pick the repository that holds them. Kanship then drafts a spec for each feature from your code and project knowledge, and you approve each one. After that, changing a spec creates the task that implements it, and reviewers send back work that contradicts a spec. Bugs and maintenance stay plain tasks.