matthew-plusprogramming/monorepo
Overview
This skill authors authoritative implementation specifications (spec.md) from gathered product requirements. It produces TaskSpec, WorkstreamSpec, or coordinates MasterSpec creation depending on scope, and writes the resulting spec into the spec group folder alongside manifest.json and requirements.md. Use it after PM discovery or when refining docs to create testable, implementation-ready contracts.
How this skill works
The skill validates the spec group, reads requirements.md and manifest.json, then extracts problem statements, goals, EARS-style requirements, constraints, and open questions. It generates a spec.md with the appropriate tiered template (TaskSpec, WorkstreamSpec, or MasterSpec orchestration), maps requirements to acceptance criteria and tests, produces a task list, and appends a decision & work log entry while updating manifest.json.
When to use it
- After PM completes discovery and requirements.md exists in a spec group
- When turning product requirements into an actionable implementation contract
- To formalize acceptance criteria, task breakdown, and test plans before engineering work
- When a single workstream requires detailed design and sequence diagrams
- To coordinate multi-workstream efforts and define cross-workstream contracts
Best practices
- Do not duplicate requirements in the spec; reference requirements.md and list IDs
- Choose the spec tier by scope: TaskSpec for 30m–4h tasks, WorkstreamSpec for 4–8h deeper work, MasterSpec for 5+ workstreams
- Make acceptance criteria testable and map each to specific test files
- Include sequence diagrams and interface contracts for complex flows
- Record decisions and timestamps in Decision & Work Log and update manifest.json
Example use cases
- Author a TaskSpec for adding a logout flow: context, ACs, task list, and tests
- Create a WorkstreamSpec for a new API endpoint with sequence diagrams and data models
- Coordinate a MasterSpec that decomposes a large feature into independent workstreams and registers contracts
- Refine an existing spec after stakeholder feedback and append decisions to the log
- Produce a test plan that maps requirements to unit and integration tests for CI validation
FAQ
The spec group must exist with requirements.md and manifest.json present in .claude/specs/groups/<spec-group-id>/.
Where is the spec written?
All outputs are written to .claude/specs/groups/<spec-group-id>/spec.md and manifest.json is updated with spec_complete and a decision_log entry.
How do I choose between TaskSpec, WorkstreamSpec, and MasterSpec?
Pick TaskSpec for small single-file changes, WorkstreamSpec for complex single-workstream features needing diagrams/contracts, and MasterSpec when 5+ workstreams and orchestration are required.
10 skills
This skill creates precise spec.md documents from requirements.md, guiding task breakdowns, tests, and design decisions for software initiatives.
This skill executes browser-based UI tests using Chrome MCP tools to verify interactions, visuals, and accessibility, capturing evidence for verification.
This skill generates comprehensive documentation from code implementations, including API references, user guides, and architecture notes to support
This skill implements approved atomic specs in a TypeScript monorepo, ensuring traceable progress, tests, and evidence after each step.
This skill analyzes user requests and routes tasks to oneoff-spec, oneoff-vibe, journal-only, or orchestrator workflows based on complexity.
This skill performs a read-only code review to identify quality, style, and maintainability issues before security review.
This skill analyzes connections between specs, surfaces inconsist inconsist in env vars, APIs, data shapes, and deployment assumptions before implementation.
This skill helps you improve code quality through incremental refactoring while preserving behavior, guided by the test suite as the contract.
This skill decomposes a high-level spec into atomic, independently testable, deployable, and reviewable units to improve clarity and traceability.
This skill performs a security review of code changes, identifying vulnerabilities, omissions, and recommendations to strengthen input handling and access