Rob

All projects · GitHub · 한국어

painless-spec

Turn fuzzy feature ideas into readable functional specs and verifiable behavior examples.

Turn fuzzy feature ideas into readable functional specs and verifiable behavior examples.

Painless Spec combines user-perspective functional writing with example-driven behavior discovery. It separates Joel-derived principles, BDD practices, and its own safety and verification extensions. It is a writing convention and Codex skill, not a Cucumber dependency or a heavyweight PRD system.

English | 한국어

Built for teams that need agreement before implementation

Use Painless Spec when:

  • Product managers and founders need to turn a rough idea into behavior that engineering can estimate and build.
  • Engineers and coding agents need explicit scope, rules, examples, and open questions instead of guessing product decisions.
  • Designers and QA need the same user-visible flow and failure behavior to review and verify.
  • Small teams want stronger specifications without adopting a heavyweight PRD process or Cucumber runtime.

What you get

Feature Advantage Benefit
User-perspective functional spec Keeps the conversation on observable behavior instead of implementation details Align on what should happen before code makes disagreements expensive
Story, Rules, Examples, and Questions discovery Separates known facts from missing decisions and assumptions Find ambiguity early instead of discovering it during implementation or QA
Explicit scope, flows, edge cases, and failures Turns a fuzzy request into reviewable behavioral slices Estimate, hand off, and schedule work with fewer hidden decisions
Proportionate verification map Connects critical behavior to the lightest evidence that proves it Know what “done” requires without making every check an end-to-end test
Source map and method boundary Traces each writing rule to Joel, BDD, or a Painless Spec extension Know what the skill is actually using instead of trusting a loose attribution
Markdown skill with optional Given/When/Then Works without a Cucumber dependency or framework migration Start with the next feature request using the tools you already have

See the transformation: vague feature request → reviewable functional spec.

Why

Feature work often starts as either a vague ticket that leaves critical decisions to the implementer or a giant document that nobody can review. Painless Spec turns the useful facts in either input into a concise, reviewable description of user-visible behavior.

Workflow

The skill follows five stages:

  1. Discover — extract the story, rules, examples, and unanswered questions without adding facts.
  2. Explain — state the outcome and context in plain, user-centered language.
  3. Specify — define scope, behavior, rules, examples, edge cases, and failures.
  4. Connect — link critical behavior to proportionate verification and separate technical notes.
  5. Review — check source fidelity, decision completeness, human readability, and revision visibility.

It refuses to invent missing facts, silently resolve contradictions, package an oversized bundle as one ticket, or mix user-visible behavior with implementation details.

Install

Clone the repository and copy the skill into your user skills directory:

git clone https://github.com/robfold/painless-spec.git
cd painless-spec
mkdir -p ~/.agents/skills
cp -R skills/write-painless-specs ~/.agents/skills/

In Codex CLI or IDE, run /skills; in the ChatGPT desktop app, open Skills in the sidebar. If write-painless-specs is missing, restart Codex and check again. See the official Build skills documentation for installation guidance.

Use

Invoke $write-painless-specs with a short prompt:

$write-painless-specs Turn this expense approval request into a reviewable functional spec.

See the deliberately vague before example and the resulting after example.

Painless Spec has no Cucumber dependency and requires no CLI, web app, or particular framework. Given/When/Then is optional notation for examples, not a runtime commitment.

Method provenance

The bundled source map records the method boundary:

  • Joel Spolsky supplies the user-perspective functional spec, accountable ownership, scenarios, nongoals, detailed decisions, living revisions, and readable-writing principles.
  • Cucumber's BDD material supplies Story, Rules, Examples, Questions, concrete behavior examples, and optional Given/When/Then notation.
  • Painless Spec adds the evidence boundary, behavioral slicing, high-risk decision guardrails, and unit/integration/system/manual verification map.

The repository summarizes and links to its sources. It does not bundle copies of the original articles, but an owner may maintain a separate local archive outside the package. Package contents alone do not prove that no such archive exists. Product rules must still come from the user's evidence.

When changing the method or its citations, run:

python3 skills/write-painless-specs/scripts/check_provenance.py --check-links
python3 -m unittest skills/write-painless-specs/tests/test_check_provenance.py

Ordinary spec drafting requires neither command nor network access.

Sources

License

MIT. Copyright (c) 2026 Rob.

Get the next fix when it ships.

I email you when a new skill is ready. Unsubscribe any time.