spec-writer

Generate structured product requirement documents from solution markdown files.

Updated Apr 9, 2026
One-click install
npx skills add https://github.com/daemgo/syncmind-mnrjxdgt --skill spec-writer-daemgo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: spec-writer
Source: https://github.com/daemgo/syncmind-mnrjxdgt/tree/main/.claude/skills/spec-writer
Command: npx skills add https://github.com/daemgo/syncmind-mnrjxdgt --skill spec-writer-daemgo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Spec-writer turns an existing solution.md into a structured product requirement document so downstream teams can implement with clarity and traceability without reinterpreting the plan.

Core Features & Use Cases

  • Solution-based Spec Generation: Reads docs/plan/solution.md to gather version, scene, and functional narratives, then uses prompts/generate-spec-md.md to write docs/spec/spec.md with the mandated structure and standards.
  • Quality and Traceability Enforcement: Applies scope definitions, layout/table conventions, data dictionary references, and humanizer-zh post-processing to keep narratives natural while keeping structured tables precise.
  • Use Case: After finishing plan-writer and confirming the solution content, spec-writer exports the structured spec for stakeholder approval and optional init-app demo generation.

Quick Start

Use spec-writer to transform the existing solution.md into docs/spec/spec.md.

Frequently Asked Questions about spec-writer

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

FAQPage Schema
How do I generate a product requirement document from a solution markdown file?

To generate a product requirement document from a solution markdown file, you need a tool that reads solution.md, applies structural standards, and outputs a compliant spec.md. This process extracts version, scene, and functional narratives to ensure downstream development teams have clear, traceable requirements.

What is the best way to structure a spec.md file for downstream development workflows?

Structuring a spec.md file for downstream development requires applying scope definitions, layout and table conventions, and data dictionary references. This ensures the generated product requirements maintain structured table precision while keeping narratives natural for stakeholder approval.

Does spec generation require an existing solution plan before creating product requirements?

Spec generation requires an existing solution plan before creating product requirements, specifically reading docs/plan/solution.md. You must finalize the solution content first, as the tool extracts version, scene, and functional narratives from this plan to build the compliant spec document.

Can I use humanizer-zh post-processing to naturalize product requirement narratives?

You can use humanizer-zh post-processing to naturalize product requirement narratives during spec generation. This applies scope definitions and layout conventions to keep structured tables precise while ensuring the narrative text in your spec.md remains natural and readable.

When should I not use automated spec generation from solution plans?

Automated spec generation from solution plans should not be used when the solution.md content is incomplete or unconfirmed. The process relies on finalized solution plans to extract accurate version, scene, and functional narratives, so generating specs from drafts leads to non-compliant requirement documents.

How does spec-writer handle data dictionaries and table layouts in spec.md files?

Spec-writer handles data dictionaries and table layouts in spec.md files by applying validated layout and table conventions during generation. It reads the solution plan, enforces scope definitions, and references data dictionaries to ensure structured tables remain precise for downstream init-app workflows.