write-spec

Installation
SKILL.md

This skill takes the current conversation context and codebase understanding and produces a PRD. Do NOT interview the user — just synthesize what you already know.

Process

  1. Explore the repo to understand the current state of the codebase, if you haven't already.

  2. Sketch out the major modules you will need to build or modify to complete the implementation. Actively look for opportunities to extract deep modules that can be tested in isolation.

A deep module (as opposed to a shallow module) is one which encapsulates a lot of functionality in a simple, testable interface which rarely changes.

Check with the user that these modules match their expectations. Check with the user which modules they want tests written for.

  1. Write the PRD using the template below and save it to docs/specs/[name of the prd]-spec-[yyyy-mm-dd].md. Create the docs/specs directory if it does not exist.

Problem Statement

The problem that the user is facing, from the user's perspective.

Related skills
Installs
3
First Seen
Apr 25, 2026