write-spec

Convert ambiguous feature requests into approved implementation specifications.

3|1|Updated May 10, 2026
One-click install
npx skills add https://github.com/nuttaruj/rolepod --skill write-spec-nuttaruj
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: write-spec
Source: https://github.com/nuttaruj/rolepod/tree/main/core/skills/write-spec
Command: npx skills add https://github.com/nuttaruj/rolepod --skill write-spec-nuttaruj

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps when a feature request is too vague to implement safely, especially when scope, success criteria, risks, or design direction are still unclear. It prevents premature coding by forcing structured discovery, explicit tradeoffs, and user approval before planning or implementation begins.

Core Features & Use Cases

  • Structured discovery: Guides a one-question-at-a-time clarification process that only asks questions which materially change implementation.
  • Decision framing: Produces 2-3 viable approaches with tradeoffs and recommends the simplest workable option.
  • Approval gates and spec quality checks: Requires direction approval before drafting and optionally file-level approval for saved specs, with placeholder and contradiction checks.
  • Use cases: Ideal for new features, high-risk changes involving auth, billing, migrations, or security, repeat feature work that must verify prior behavior, and any request like "build me X" that lacks enough detail to code responsibly.

Quick Start

Ask the AI to use write-spec to turn your feature idea into an approved implementation spec before any code is written.

Frequently Asked Questions about write-spec

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I turn a vague feature request into an implementation specification?

To turn a vague feature request into an implementation specification, use guided discovery to clarify scope, analyze tradeoffs, and secure explicit approval before drafting final specs. This prevents premature coding by enforcing structured discovery and risk analysis.

When do I need to write formal requirements before coding a new feature?

You need to write formal requirements before coding when non-trivial product or engineering work lacks fully defined scope, goals, success criteria, risk surfaces, or design direction. High-risk changes involving auth, billing, migrations, or security strictly require this upfront specification.

What is the best way to define project scope for a complex product change?

The best way to define project scope for a complex product change is through a one-question-at-a-time clarification process that only asks questions materially impacting implementation. This is followed by framing 2-3 viable approaches with explicit tradeoffs to select the simplest workable option.

How does an approval workflow improve product planning for engineering teams?

An approval workflow improves product planning by requiring explicit direction approval before drafting specs and optional file-level approval for saved specs. It enforces placeholder and contradiction checks, ensuring engineering teams implement safely defined, high-risk changes without scope creep.

Can I use structured discovery for multi-session risk analysis and repeat feature work?

Yes, you can use structured discovery for multi-session risk analysis and repeat feature work. It applies stricter reviews and verifies prior behavior to ensure high-risk changes involving migrations or security are explicitly defined and approved before implementation.

What are the limitations of skipping requirements discovery for ambiguous requests?

Skipping requirements discovery for ambiguous requests risks premature coding without defined success criteria or design direction. It bypasses necessary risk analysis and tradeoff evaluation for high-risk changes, leading to unsafe implementation and unmanaged scope.