Agent skill

Write A Spec

by inkeep in inkeep/open-knowledge

Scope a feature end to end and write an implementation spec under specs/ from an accepted proposal — current-system mapping, goals/non-goals, a Decision Log for one-way-door choices, a live Open…

GPL-3.0Auto-check passedProduct & Project Management

Install Write A Spec

skills CLI
$ npx skills add inkeep/open-knowledge --skill write-a-spec -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install inkeep/open-knowledge write-a-spec --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/inkeep/open-knowledge.git skills-src && mkdir -p .claude/skills && cp -r skills-src/packages/server/assets/skills/packs/software-lifecycle/write-a-spec .claude/skills/write-a-spec && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
write-a-spec
GitHub stars
4.4k
Token cost
~4.9k tokens
SKILL.md length
2,486 words
Files
1
Skills in repo
18
Repo updated
First seen
Licence
GPL-3.0

At a glance

Scope a feature end to end and write an implementation spec under specs/ from an accepted proposal — current-system mapping, goals/non-goals, a Decision Log for one-way-door choices, a live Open…

  • Works in 12 steps: Find the parent proposal → Map the CURRENT system before designing… → Scoping STOP gate → …
  • Tasks that involve Architecture decision records
  • SKILL.md covers Autonomy mode, Mandatory execution order, Step 0: Find the parent proposal and Step 1: Map the CURRENT system…, plus 11 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Write A Spec is an agent skill from inkeep/open-knowledge. Scope a feature end to end and write an implementation spec under specs/ from an accepted proposal — current-system mapping, goals/non-goals, a Decision Log for one-way-door choices, a live Open Questions backlog, and a real migration + test plan. Read when asked to write a spec, scope this feature, turn this proposal into a spec, plan the implementation, or break this into tasks. Do NOT fire on frame a proposal or write the PRD (sibling frame-a-proposal — a PRD frames a change before it is accepted; this skill…

Its SKILL.md is about 4.9k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts. Compatibility notes: Any agent host with the OpenKnowledge MCP server configured. Installed project-local by ok seed --pack software-lifecycle.

It sits in Product & Project Management, covering Architecture decision records, Runbooks and postmortems and PRD writing. The repository describes itself as: Beautiful, AI-native markdown IDE and LLM wiki. The licence is GPL-3.0.

When your agent uses it

  • Tasks that involve Architecture decision records
  • Tasks that involve Runbooks and postmortems
  • Tasks that involve PRD writing

Example prompts

  • “/write-a-spec”

Requirements

  • Compatibility (from SKILL.md): Any agent host with the OpenKnowledge MCP server configured. Installed project-local by `ok seed --pack software-lifecycle`.

Workflow steps

12 steps, taken from the step headings in SKILL.md.

  1. Find the parent proposal
  2. Map the CURRENT system before designing the change
  3. Scoping STOP gate
  4. Create the spec folder + spec.md
  5. Fill Goals and Non-goals
  6. Design
  7. Decision Log
  8. Open Questions
  9. Migration and Test plan
  10. plan.md and tasks.md
  11. Link and validate
  12. Recap

What it can do on your machine

Read from SKILL.md and the folder at commit cf9b84c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown and yaml).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Any agent host with the OpenKnowledge MCP server configured. Installed project-local by `ok seed --pack software-lifecycle`.

    From compatibility in the SKILL.md frontmatter.

Context cost

Write A Spec loads about 4.9k tokens when it runs. Until then it costs about 196 tokens; SKILL.md has 2,486 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~196
When it runs · the whole SKILL.md, loaded when a task matches
~4.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from inkeep/open-knowledge at commit cf9b84c, republished under its GPL-3.0 licence (© inkeep). 2,486 words, ~4,929 tokens.

Download SKILL.mdSave it as .claude/skills/write-a-spec/SKILL.md (or your agent's skills folder).
name
write-a-spec
description
Scope a feature end to end and write an implementation spec under specs/ from an accepted proposal — current-system mapping, goals/non-goals, a Decision Log for one-way-door choices, a live Open Questions backlog, and a real migration + test plan. Read when asked to write a spec, scope this feature, turn this proposal into a spec, plan the implementation, or break this into tasks. Do NOT fire on frame a proposal or write the PRD (sibling frame-a-proposal — a PRD frames a change before it is accepted; this skill starts once one is), record a decision or write the ADR (record-a-decision), write a postmortem (write-a-postmortem), or review this design (review-a-design) — those are separate skills. Complements the platform open-knowledge skill; does not replace it.
compatibility
Any agent host with the OpenKnowledge MCP server configured. Installed project-local by `ok seed --pack software-lifecycle`.
metadata.pack
software-lifecycle
metadata.author
Inkeep
metadata.repository
https://github.com/inkeep/open-knowledge-skills

Write a spec — scope a feature and commit an implementation spec

This skill is pack guidance. The platform /open-knowledge skill (read/write/preview/linking/grounding rules) still governs every markdown operation — this layers spec-writing craft on top.

A spec is the contract between "we decided to build this" and "here is how it gets built." It is derived from an ACCEPTED proposal, maps the system that exists TODAY before proposing a change, and records its one-way-door choices in a Decision Log so the reasoning survives the author leaving. A spec that skips the current-system mapping, or resolves its open questions silently, is a liability — it reads authoritative while being unfounded.

specs/ uses a folder-per-spec shape: specs/NNN-name/ holding spec.md, and (when the work is actually going to be built) plan.md + tasks.md. The pack ships all three templates. status on spec.md flows draft → ... → shipped.

Autonomy mode

ModeBehaviorHow entered
Supervised (default)STOP at the Step 2 scoping gate for user confirmation of Goals / Non-goals / change shape. Route open decisions interactively.Default when a user drives the session.
HeadlessAuto-confirm the scoping proposal after presenting it; auto-select routing decisions. All other gates (parent-proposal check, current-system mapping, Decision Log, validation, grounding) still enforced.Explicit "don't wait for me", "just proceed", "run headless" — or non-interactive container environments.

In headless mode, propose the scope AND proceed immediately; record in the Decision Log that scope was auto-confirmed without user sign-off.


Mandatory execution order

Hard gates — do NOT skip ahead. If you find yourself about to write ## Design before you have read the actual code the change touches, STOP — you skipped Step 1.

  1. Find the parent proposal. No accepted proposal behind a spec is a smell.
  2. Map the CURRENT system. Read real code + prior specs + guides. Write what exists today, with pointers.
  3. Scoping STOP gate. Propose Goals / Non-goals / change shape. In Supervised mode, WAIT.
  4. Create the spec folder + spec.md from the spec template; allocate NNN by listing, not guessing.
  5. Fill Goals / Non-goals — non-goals temporal, each with a reason.
  6. Design — options considered, one chosen, why; one-way doors flow to the Decision Log.
  7. Decision Log — append the section; each entry survives the author.
  8. Open Questions — a live backlog, each with its closing evidence and decider.
  9. Migration + Test plan — real states, real tiers, explicit gaps.
  10. plan.md + tasks.md — only when the spec is going to be built.
  11. Link + validate — backlinks, dead-links clean, frontmatter complete.
  12. Recap — and what would move it out of draft.

Step 0: Find the parent proposal

A spec implements a decision that was already made. Before scoping anything, find the accepted proposal it derives from.

  1. exec("ls -A proposals/") — surface the proposal set with frontmatter enrichment.
  2. exec("ls -A decisions/") — an accepted proposal often has a matching frozen record here.
  3. search({ query: "<feature name or problem statement>" }) — semantic match across both folders when the name differs from the filename.
  4. For the 1-2 strongest candidates, exec("cat proposals/0004-x.md") — read the accepted design and its unresolved questions in full; those unresolved questions become your Open Questions seed.

Route on what you find:

  • Accepted proposal exists → note its path; it becomes parent_proposal: in the spec frontmatter. Proceed to Step 1.
  • Proposal exists but is not accepted (draft, fcp, rejected) → STOP. A spec for an un-accepted proposal builds on sand. Surface this: "The proposal <path> is at status: <x>, not accepted. A spec should follow an accepted proposal. Want me to help get it accepted first, or proceed anyway?"
  • No proposal at all → say so plainly: "There's no accepted proposal behind this feature. Specs derive from proposals — the proposal is where we argue whether to build; the spec is how. I can frame a proposal first (that's the /frame-a-proposal skill), or, if you acknowledge the risk, proceed straight to a spec and record that we skipped the proposal." If the user opts to proceed, record that choice in the Decision Log (Step 6) with its rationale. Do not silently skip it.

HARD GATE: do not create spec.md until the parent-proposal question is resolved one way or the other and, if skipped, acknowledged by the user.


Step 1: Map the CURRENT system before designing the change

The most common spec failure is designing against an imagined system. You cannot write a sound ## Design or a real ## Migration without knowing what the running system does today.

Read the code that exists — with native host tools. Source code (.ts, .py, config, schema) lives OUTSIDE the knowledge base, so read it with the host's native file tools (Read / Grep / Glob), not OpenKnowledge verbs. Trace the actual flow end to end: the entry points, the modules the change will touch, the data shapes, the call chain across boundaries.

Read the knowledge base with OpenKnowledge verbs. Prior specs and guides ARE in-scope markdown:

  • exec("ls -A specs/") — see what's been specced before; a sibling spec may already map the same subsystem.
  • exec("cat specs/003-x/spec.md") — read the closest prior spec's Design + Migration for the shape and the pointers.
  • exec("ls -A guides/") then exec("cat guides/<runbook>.md") — runbooks describe operational reality the code alone won't tell you.
  • search({ query: "<subsystem name>" }) — surface adjacent decisions and postmortems that constrain the design.

Write what exists today into the spec's Design section as a "Current system" subsection first, with file/module pointers (src/foo/bar.ts, the handleX function, the widgets table). Concrete pointers are what make the spec verifiable and let a reviewer check your map against the code.

HARD GATE: do not draft the proposed ## Design until the current-system map is written with real pointers. If you cannot point at where a behavior lives today, you do not yet understand it well enough to change it.


Step 2: Scoping STOP gate

Before writing the spec body, propose the scope and get confirmation. Getting Goals / Non-goals wrong is expensive to unwind after the spec is drafted.

Present this to the user:

## Proposed scope

**Parent proposal:** [path — or "none; proceeding without one per your acknowledgement"]

**Goals** (what this spec delivers):
1. [Goal — an observable capability or change]
2. ...

**Non-goals** (explicitly out of THIS spec, and why):
1. [Thing] — deferred because [reason]
2. ...

**Shape of the change:** [2-4 sentences: the approach at a high level, and which modules from the Step 1 map it touches]

**Open questions I already see:** [1-3 — the ones that will gate the design]

Supervised mode: STOP and WAIT for confirmation. Do not create the spec folder until the user confirms or adjusts.

Headless mode: present the scope AND proceed; note the auto-confirmation in the Decision Log.

Scoping discipline:

  • If the feature is vague, narrow it here, not in the Design. "Which surfaces? For whom? What's explicitly deferred?"
  • Name the beneficiary of each goal — a goal with no one who benefits is scope creep.
  • Do not invent requirements the proposal never established (see Non-goals for this skill). If a goal isn't traceable to the parent proposal, flag it and ask.

Step 3: Create the spec folder + spec.md

Allocate the next NNN by listing, not guessing:

  1. exec("ls -A specs/") — read the existing NNN-name/ folders. Take the highest NNN, add one, zero-pad to the existing width (003 → 004).
  2. Choose a short kebab-case name from the feature: specs/004-payment-retries/.
  3. Create the spec:
write({ document: { path: "specs/004-payment-retries/spec.md", template: "spec" } })

The spec template ships frontmatter and these H2 sections in order: ## Goals, ## Non-goals, ## Design, ## Migration, ## Test plan. Fill the frontmatter now:

yaml
type: spec
description: "<one line: what this spec delivers>"
status: draft
owner: <user>
target_release:
created: <today YYYY-MM-DD>
parent_proposal: ./proposals/0004-payment-retries.md   # or note the skip
tags: [spec]

Set parent_proposal: to the relative markdown path from Step 0. Leave target_release: blank until the plan exists.


Step 4: Fill Goals and Non-goals

Edit the ## Goals and ## Non-goals sections via edit({ ... }).

Goals — each an observable outcome, not an implementation detail. "Failed payments retry with backoff and surface a final status" is a goal; "add a retryCount column" is a design choice. Tie each goal to the beneficiary and, where possible, to the parent proposal's motivation.

Non-goals are TEMPORAL, not eternal. Frame each as "not in THIS spec" with the reason it's deferred — never as "we will never do this." "Multi-currency retries — deferred; the retry engine is currency-agnostic and multi-currency is its own proposal" tells a future reader the door is open and why it's closed for now. "We don't support multi-currency" reads as a permanent product stance the spec has no authority to make. Every non-goal carries its why.


Step 5: Design

Edit ## Design. It has two layers, in order:

  1. Current system (from Step 1) — what exists today, with file/module pointers. Keep this; it is what makes the proposed change legible.
  2. Proposed change — the options you considered, the one you chose, and why.

For each meaningful design fork, write: the options on the table, the one chosen, and the reasoning. Name the trade-off you accepted. A design that presents only the chosen option hides the fact that a choice was made — and hides it from the reviewer whose job is to pressure-test it.

Every one-way-door choice goes to the Decision Log (Step 6). A one-way door is a decision that is expensive or impossible to reverse once code ships on it: a wire format, a schema migration that drops data, a public API shape, a security boundary. Reversible choices (an internal helper name, a log level) do not need a log entry — keep the log to decisions that will cost real money to undo.


Show full SKILL.md (1,032 more words)Show less

Step 6: Decision Log

The spec template does NOT ship a Decision Log — you append it. Add an ## Decision Log section to spec.md after ## Test plan. This is the single most valuable artifact in the spec: it is what a new owner reads to understand why the system is shaped the way it is, without having to re-derive it or ask someone who has left.

Each entry is a short block:

markdown
### DL-1: <the question, as a question>

- **Options:** A [...], B [...], C [...]
- **Choice:** B
- **Rationale:** [why B beat A and C — the trade-off accepted, the evidence]
- **Date:** YYYY-MM-DD
- **Reverses if:** [what new fact or condition would force revisiting this]

Discipline:

  • One entry per one-way-door choice from Step 5, plus any process decision (e.g. "proceeded without a parent proposal per the user's acknowledgement on <date>").
  • The Reverses if line is not optional — a decision with no stated reversal condition can never be re-examined honestly.
  • This log is scoped to THIS spec. It is not the project's decision record. Recording an architecture decision in decisions/ is the sibling /record-a-decision skill's job; do not write ADRs here.

Step 7: Open Questions

A spec ships with its open questions MARKED, not silently resolved. Guessing at an answer and writing it as settled is how a spec misleads everyone downstream.

Append an ## Open Questions section (the template does not ship one). Keep it as a live backlog:

markdown
### OQ-1: <the unresolved question>

- **Blocks:** [which goal / design decision this gates, or "nothing — nice to know"]
- **Closed by:** [the evidence that would resolve it — a benchmark, a load test, a product call, a spike]
- **Decider:** [who has authority to close it — a role, not a name that will rot]
- **Status:** open

Discipline:

  • If a question blocks a Decision Log entry, say so in both places — the log entry stays provisional until the question closes.
  • Prefer "we don't know yet, here's how we'd find out" over a confident guess. The boundary of what you know is information; a fabricated answer is a hazard.
  • As questions close during the spec's life, flip Status: open to resolved → DL-N and move the resolution into the Decision Log — don't just delete the question.

Step 8: Migration and Test plan

Both real, not decorative. A migration section that says "migrate the data" and a test plan that says "add tests" are worse than nothing — they signal coverage that doesn't exist.

## Migration — name the STATES a live system passes through, in order, and what is true at each. A running system does not teleport from old to new; it lives in intermediate states where both must work:

  • The states, e.g.: (1) new code deployed, feature flag off, old path live. (2) backfill runs, both schemas readable. (3) flag on for a cohort, dual-write. (4) flag on globally. (5) old path + old column removed.
  • What is reversible at each state and where the point of no return is (link that point to its Decision Log entry).
  • Data at rest: what gets backfilled, what gets dropped, whether the drop is recoverable.
  • If the change needs no migration (net-new, no live data, no deployed callers), say so explicitly and why — don't leave the section empty.

## Test plan — name WHAT is verified and at WHICH tier, and explicitly what is NOT verifiable and why:

  • Per goal: the tier that proves it — unit (a pure function's edges), integration (a component against its real collaborators), end-to-end (the user-visible flow), contract (a boundary both sides must honor).
  • The failure modes worth a test, not just the happy path — the retry that exhausts, the migration that half-completes, the concurrent write.
  • What cannot be verified before ship, and why — a production-only load characteristic, a third-party behavior you can't stage, a race that only manifests under real traffic. Naming the gap is what lets the reviewer decide whether it's acceptable; hiding it is how the gap becomes an incident.

Step 9: plan.md and tasks.md

Only when the spec is actually going to be built. A spec at status: draft that may not be implemented does not need these yet — creating them early produces stale scaffolding. Create them when the spec is greenlit for implementation.

write({ document: { path: "specs/004-payment-retries/plan.md",  template: "spec-plan"  } })
write({ document: { path: "specs/004-payment-retries/tasks.md", template: "spec-tasks" } })

Set parent_spec: ./spec.md in both frontmatter blocks.

plan.md (## Approach, ## Phases, ## Risks + unknowns, ## Dependencies, ## Rollout) — the how-to-build sequenced into phases. Risks + unknowns pulls from the Open Questions that block implementation; Rollout mirrors the Migration states.

tasks.md (## Tasks checklist, ## Done when, ## Out of scope) — the work broken down. Two rules:

  • Ordered by dependency. A task that depends on another comes after it. The reader should be able to work top to bottom.
  • Each task independently verifiable. "Add retry backoff to the payment worker — verified by the exhaustion integration test" is a task; "improve reliability" is not. If you can't state how a task is checked, it's not decomposed enough.

## Done when restates the spec's Goals as the completion bar. ## Out of scope mirrors the Non-goals.


Specs that don't link back are islands. Wire the spec into the graph and prove it's clean:

  • Backlink the parent proposal inline in the spec body: derived from [Payment retries proposal](./proposals/0004-payment-retries.md). Plain markdown relative link — never backticked, never an HTML anchor.
  • Link every decision the spec depends on — if the design rests on a frozen record in decisions/, link it where it's relied upon.
  • Update the parent proposal (and any hub) to link forward to this spec, so the spec is discoverable via backlinks. links({ kind: "backlinks", ... }) to confirm the reverse edge registered.
  • audit({ path: "specs/004-payment-retries/spec.md" }) returns clean (every lint violation + broken internal link) — fix every finding.
  • Frontmatter complete: type, description, status, owner, parent_proposal, created, tags all present.

Step 11: Recap

Close the loop with the user:

## Recap

- Spec at specs/004-payment-retries/spec.md, status: draft
- Derived from [proposal] (or: proceeding without one, logged as DL-N)
- N goals, M non-goals (all temporal, with reasons)
- Decision Log: K one-way-door choices recorded
- Open Questions: J open — [name the ones that block the design]
- Migration: [one line] · Test plan: [what's covered / what can't be]

**To move out of `draft`:** [the specific things — usually: close the design-blocking open questions, get the owner's sign-off, and create plan.md + tasks.md once greenlit for build]

State plainly what is still open. A spec's honesty about its own gaps is what makes it trustworthy.


Non-goals

  • Don't invent requirements the proposal didn't establish. The spec is how, not a second bite at whether. A goal with no root in the parent proposal is scope creep — flag it, don't smuggle it in.
  • Don't record decisions in decisions/. That's the sibling /record-a-decision skill. The spec's Decision Log is scoped to THIS spec's one-way doors; it is not the project's ADR record.
  • Don't skip the current-system mapping. Designing against an imagined system is the top failure mode. No ## Design before Step 1's map with real pointers.
  • Don't mark shipped before the work ships. status reflects reality. A spec is draft until built, and only shipped once the code is live — never aspirationally.
  • Don't write the postmortem. If the shipped feature breaks, the incident write-up is the /write-a-postmortem skill's job, not an addendum here.
  • Don't silently resolve Open Questions. A marked open question is information; a fabricated answer is a hazard. Ship the spec with its unknowns visible.

© inkeep, GPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in packages/server/assets/skills/packs/software-lifecycle/write-a-spec of inkeep/open-knowledge.

Open the folder on GitHubat commit cf9b84c

Compare with similar skills

Write A Spec next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Write A Spec compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Write A Spec this skillinkeep/open-knowledge4.4k—~4.9kAutomated safety check: PassGPL-3.0
Schematicblader/schematic239—~2.2kAutomated safety check: PassMIT
Vscuse Scenario AuthoringOfficeDev/microsoft-365-agents-toolkit781—~4.3kAutomated safety check: PassCustom licence
Architecturenteract/nteract178—~497Automated safety check: PassBSD-3-Clause
Review Rfcnurettincoban/ai-prd-workflow298—~1.4kAutomated safety check: PassMIT
Rhesisrhesis-ai/rhesis396—~1.2kAutomated safety check: PassProprietary

Similar skills

  • Schematic

    blader/schematic

    Reverse engineer a detailed product and technical specification document from a git branch's implementation.

    239 GitHub stars~2.2k tokensUpdated 7 mo ago
    Product & Project ManagementAuto-check passed
  • Vscuse Scenario Authoring

    OfficeDev/microsoft-365-agents-toolkit

    A skill your agent uses when: reading a docs scenario, PRD, mockup, or user flow and using vscuse-ui/noVNC as the primary authoring surface to record, generate, replace, or update vscuse test plans…

    781 GitHub stars~4.3k tokensUpdated yesterday
    Product & Project ManagementAuto-check passed
  • Architecture

    nteract/nteract

    Architecture and documentation framing for cross-cutting repo decisions, docs taxonomy placement, ADRs, memos, PRDs, implementation plans, audits, measurements, runbooks, and source-grounded…

    178 GitHub stars~497 tokensUpdated yesterday
    DevOps & CloudAuto-check passed
  • Review Rfc

    nurettincoban/ai-prd-workflow

    Review an implemented RFC in a fresh context against its acceptance criteria, RULES.md and the test plan, and save the review to reviews/.

    298 GitHub stars~1.4k tokensUpdated 6 days ago
    Product & Project ManagementAuto-check passed
  • Rhesis

    rhesis-ai/rhesis

    Design, run, and analyze AI test suites on Rhesis — explore endpoints, build test foundations from a spec, create requirements and metrics, execute tests, and analyze results.

    396 GitHub stars~1.2k tokensUpdated today
    Product & Project ManagementAuto-check passed
  • Shep Workstreams

    shep-ai/shep

    A skill your agent uses when a large body of work (a version milestone, an epic, a roadmap, a set of PRDs/design docs) needs to be broken into parallel workstreams and executed with the shep CLI.

    264 GitHub stars~2.5k tokensUpdated 2 days ago
    Product & Project ManagementAuto-check passed

More from inkeep/open-knowledge

All 18 skills in this repo
  • Open Knowledge Write Skill

    inkeep/open-knowledge

    A skill your agent uses when the user wants to create, author, write, or design a new Agent Skill (a SKILL.md) — for OpenKnowledge or for their editors — including requests like 'help me write a…

    4.4k GitHub stars~3.7k tokensUpdated today
    Auto-check passed
  • Open Knowledge Discovery

    inkeep/open-knowledge

    Read when the user asks what OpenKnowledge is, wants to install it on a repository, wants to open or preview a single markdown file that is not part of an OpenKnowledge project, wants to share an…

    4.4k GitHub stars~2k tokensUpdated today
    Auto-check passed
  • Write A Postmortem

    inkeep/open-knowledge

    Write a blameless incident postmortem under postmortems/ following the Google SRE shape — evidence-based timeline, trigger vs root cause vs symptom, contributing factors, what went well, and…

    4.4k GitHub stars~4.4k tokensUpdated today
    Auto-check passed
  • Codebase Wiki

    inkeep/open-knowledge

    How to work in a Codebase Wiki project (the codebase-wiki starter pack): an agent-authored, source-grounded wiki of the surrounding codebase.

    4.4k GitHub stars~1.8k tokensUpdated today
    Auto-check passed
  • Open Knowledge

    inkeep/open-knowledge

    Authoritative agent-runtime contract for working inside an OpenKnowledge project — a markdown-CRDT knowledge base exposed over MCP.

    4.4k GitHub stars~4.7k tokensUpdated today
    Auto-check passed
  • Consolidate Notes

    inkeep/open-knowledge

    Promote existing research into a stable-status canonical article under articles/ in a Knowledge Base project (the knowledge-base starter pack).

    4.4k GitHub stars~2.3k tokensUpdated today
    Auto-check passed

Questions about Write A Spec

What does Write A Spec do?

Scope a feature end to end and write an implementation spec under specs/ from an accepted proposal — current-system mapping, goals/non-goals, a Decision Log for one-way-door choices, a live Open…. Write A Spec is an agent skill from inkeep/open-knowledge. Scope a feature end to end and write an implementation spec under specs/ from an accepted proposal — current-system mapping, goals/non-goals, a Decision Log for one-way-door choices, a live Open Questions backlog, and a real migration + test plan.

When should I use Write A Spec?

Write A Spec fits situations like: tasks that involve Architecture decision records; tasks that involve Runbooks and postmortems; tasks that involve PRD writing.

How do I install Write A Spec in Claude Code?

Run `npx skills add inkeep/open-knowledge --skill write-a-spec -a claude-code`. Or copy the skill folder (packages/server/assets/skills/packs/software-lifecycle/write-a-spec in inkeep/open-knowledge) into .claude/skills/write-a-spec in your project. Claude Code loads it when a task matches its description.

How do I install Write A Spec in Codex?

Run `npx skills add inkeep/open-knowledge --skill write-a-spec -a codex`. Or copy the skill folder (packages/server/assets/skills/packs/software-lifecycle/write-a-spec in inkeep/open-knowledge) into .agents/skills/write-a-spec in your project. Codex loads it when a task matches its description.

Can I use Write A Spec in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add inkeep/open-knowledge --skill write-a-spec -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/write-a-spec, .gemini/skills/write-a-spec, .github/skills/write-a-spec and .opencode/skills/write-a-spec in your project.

What does Write A Spec need to run?

SKILL.md names no scripts, command-line tools or credentials: Write A Spec is instructions for the agent only. Compatibility (from SKILL.md): Any agent host with the OpenKnowledge MCP server configured. Installed project-local by `ok seed --pack software-lifecycle`..

Does Write A Spec access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Write A Spec safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Write A Spec use?

Write A Spec is published under the GPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Write A Spec use?

About 4.9k tokens (SKILL.md is roughly 20k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Write A Spec?

Skills that share tags, products or a category with Write A Spec: Schematic (blader/schematic, 239 stars), Vscuse Scenario Authoring (OfficeDev/microsoft-365-agents-toolkit, 781 stars), Architecture (nteract/nteract, 178 stars) and Review Rfc (nurettincoban/ai-prd-workflow, 298 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Write A Spec?

inkeep (a GitHub organization) maintains it in inkeep/open-knowledge, which has 4,407 GitHub stars. The repository holds 18 skills in this directory. The repository was last updated on October 7, 2026.

Source: inkeep/open-knowledge on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.