writing-specs
What it does
This skill gives the AI a set of rules for writing project specification documents. It keeps them short, marks unconfirmed points clearly and avoids filler. It is for teams who keep design documents alongside their code.
When to use it
- βWhen the AI drafts or revises a goal, architecture or module specification document.
- βWhen a spec contains guessed content that needs to be marked as unconfirmed.
- βWhen you want project documents that a future reader can understand quickly.
Skill link
https://github.com/JetBrains/thinkrail/blob/main/packages/pi-thinkrail-workflow/skills/writing-specs/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βRewrite our architecture document so it is shorter and only includes decisions we have confirmed.β
5 new skills a week. 1 minute to read.
How it works
It sets rules: keep documents short, include only settled content, mark guesses inline, and keep new drafts marked until a person reviews them.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Writing Specs
The workflow family's shared bar for every spec a workflow produces: short, honest, on-rails.
Process skills name this concept at the steps that draft or revise specs; what to draft and when
stays with the referencing skill. Graph mechanics β frontmatter, link kinds, the spec_* tools β are
the spec-graph skill's ground; this concept carries the quality bar the family holds on top of them,
and is where the family's rules for specs and the spec graph accrue.
Short
- Small enough to read in one sitting. Target signal, not completeness.
- Explain intent, not inventory: what the thing is for, what it owns, where its boundary runs β never a file listing or a restatement of the code.
Honest
- Only settled content appears. Never pad with
[TBD]or placeholder sections β a section that hasn't been settled simply doesn't exist yet. - Anything inferred rather than confirmed is marked unconfirmed, inline, where it stands.
- New and inferred specs are
status: draftuntil the user has reviewed them β the flip out ofdraftfollows the user's review, never the drafting agent's own judgment. A reviewed durable spec goesactive, neverdone: it stays in force and evolves with the project.
On-rails
- High-signal enough that a future agent (or human) lands on the decisions without re-deriving them.
- The spec is the only home for rationale: decisions, invariants, trade-offs, and bug post-mortems are recorded here, never as code comments β a rationale paragraph found in code is content to promote into the owning spec, leaving at most a one-line pointer where misediting would silently break something.
- Say each thing once: link by
idinstead of restating; the dependency edges between sibling modules live in the parent's spec, not in each leaf. - One spec per genuine boundary β not per directory, not per file.
The goal doc describes the product, not a plan
goal-and-requirements is the living record of what the product is and why: its goal, problem,
audience, capabilities, and non-goals, plus any durable principles.
- No versions, releases, phases, MVP/v1/v2 splits, or "later" lists. Sequencing is not a spec's job: an idea cut from scope goes back to the user to track wherever they plan work, and never into the doc.
- Capabilities state what the product does, or for a new project what its smallest useful first build will do.
- Non-goals hold only what is excluded by decision. Something neither listed nor excluded is open, not forbidden.
- It evolves with the product: a change that adds a capability or overturns a principle updates the goal doc in the same change.
FAQ
Can a spec have placeholder sections?
No. Sections that are not settled are left out rather than filled with placeholders.
Who decides when a spec is final?
The user, after reviewing it. The AI does not mark its own drafts as approved.
Does it describe the code line by line?
No. Specs explain intent and boundaries, not a list of files.
Details
Original description by the author
Use when a workflow step drafts or revises a spec artifact β a goal-and-requirements, an architecture, or a module SPEC β or when a workflow skill names it at such a step. The shared quality bar for specs β not a workflow, nothing to execute.
repo: JetBrains/thinkrail
Popularity
- GitHub stars
- 7.1k
- Ranking position
- #13495
- License
- Apache-2.0
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
asking-user-questions
7.1kTeaches your agent how to ask you clear questions in rounds, with good answer options, until the open points are settled.
brainstorming
7.1kHelps your agent talk through a feature, behavior change or bug fix with you before building it, and record the agreed design.
choosing-a-workflow
7.1kHelps your agent pick the right ThinkRail workflow for a new project, a pull request, or any change to what the product does.
importing-a-codebase
7.1kTeaches your agent to read an existing codebase and draft its first set of project specs, asking you only where the code is unclear.
Similar skills
obsidian-vault-maintainer
394kHelps your agent keep an Obsidian-friendly memory vault tidy, with working wiki links, consistent properties, and safe generated sections.
wiki-maintainer
394kHelps your agent maintain an OpenClaw memory wiki with repeatable pages, safe managed blocks, and checks for contradictions or gaps.
obsidian
394kLets your agent read, search, create, and edit Obsidian notes, tasks, links, and properties using the official Obsidian command line.