Docs Planning

Coverage

Track which test cases exist and which are missing, one checkbox per case.

COVERAGE.md lists what should be tested, grouped by area and file. Each case is one checkbox tagged happy, sad, edge, or security. No percentages, just what is covered and what is still missing.

Without and with Stillmark

Without Stillmark

Agent chat, before a release

  • you: Is account lockout tested?
  • agent: I think so. Let me search the tests.
  • Nobody knows which cases are missing
  • A good-looking percentage hides the gap

Without a checklist, you find the missing test when the bug shows up.

With Stillmark

COVERAGE.md

  • Lockout after 5 tries · sad · tested
  • Login with the right password · happy · tested
  • Invoice with zero items · edge · missing

Every case is one checkbox, so what is missing shows at a glance.

Try it

Type this in your agent chat. Stillmark picks the right command.

/stillmark The lockout case is tested now.

Examples

Check a case

You say

/stillmark The lockout case is tested now.

Stillmark runs

stillmark coverage check "lockout"
COVERAGE.md Changed line marked
  1. ### `src/auth/Login.ts`
  2. - [x] [happy] login with a valid password
  3. - [x] [sad] lockout after 5 failed tries Checked.
  4. - [ ] [edge] expired session

What changes

The case that matches your words is checked. Nothing else moves.

Add a missing case

You say

/stillmark We still need a test for an invoice with zero items.

Stillmark runs

stillmark coverage add "Invoice.ts" "invoice with zero items" --tag=edge
COVERAGE.md Changed line marked
  1. ### `src/billing/Invoice.ts`
  2. - [x] [happy] total with tax
  3. - [ ] [edge] invoice with zero items Added, still missing.

What changes

The case lands under the right file, unchecked, so everyone sees it is still to do.

Catch up with the code

You say

/stillmark What changed since the checklist was last updated?

Stillmark runs

stillmark coverage update
terminal Changed line marked
  1. Changed paths (relevant for coverage first)
  2. M tests/billing/Invoice.test.ts The agent reviews these.
  3. M src/billing/Invoice.ts

What changes

Lists the source and test files changed since COVERAGE.md was last committed, tests first, so the agent knows what to check or add.

Keep the format clean

You say

/stillmark Is the checklist well formed?

Stillmark runs

stillmark coverage validate
COVERAGE.md Changed line marked
  1. ## Billing Needs a number: ## 2. Billing
  2. - [ ] [edge] invoice with zero items

What changes

Format mistakes are reported with their line number and the check fails, so they are caught before a commit.

Commands

Each one also works in chat: type /stillmark followed by the same words.

Command What it does
stillmark coverage init Create a starter COVERAGE.md
stillmark coverage check "…" Check off the case that matches your words
stillmark coverage uncheck "…" Uncheck a case
stillmark coverage add "<heading>" "…" --tag=edge Add a case under a heading, tagged happy, sad, edge, or security (--checked if it already exists)
stillmark coverage update List the files changed since COVERAGE.md was last committed
stillmark coverage summary Count checked and missing cases
stillmark coverage validate Check the format and fail on mistakes
/stillmark coverage In chat: show help without changing anything
/stillmark coverage <text> In chat: edit the checklist in plain language