Back to list
Haaaiawd

spec-writer

by Haaaiawd

🚀 The structured operating system for Agentic AI. Combines Workflows (Plan) & Skills (Execute) to force AI to think like a Senior Architect. Native support for Antigravity to prevent architecture drift in the Vibe Coding era. Agentic AI 的结构化操作系统。通过工作流(规划)与技能(执行)的深度结合,强迫 AI 像高级架构师一样思考。Antigravity 原生支持,专为解决 Vibe Coding 时代的架构漂移问题而生。

2🍴 0📅 Jan 21, 2026

SKILL.md


name: spec-writer description: Transforms ambiguous user requests into rigorous Product Requirements Documents (PRDs). Use when requirements are vague or high-level.

The Detective's Guide (需求侦探手册)

"The hardest part of building software is deciding precisely what to build."

Your job is to kill ambiguity.

⚡ Quick Start

  1. Read Request (MANDATORY): Use view_file or context to identify "Vibe Words" (Fast, Modern, Easy).
  2. Deep Think (CRITICAL): You MUST call mcp_sequential-thinking_sequentialthinking with at least 7 reasoning steps to:
    • Extract User Stories (As a X, I want Y, so that Z)
    • Identify ambiguities
    • Draft clarifying questions
  3. Interrogate: Present questions to user. DO NOT proceed without answers.
  4. Draft PRD (MANDATORY): Use view_file references/prd_template.md then write_to_file to create genesis/v{N}/01_PRD.md.

🛑 Mandatory Steps

Before creating the PRD, you MUST:

  1. Extract at least 3 clear User Stories.
  2. Define at least 3 Non-Goals (what we're NOT building).
  3. Clarify "Vibe Words" with the user (What does "Fast" mean to you? What does "Modern" imply?).
  4. Use write_to_file to save output. DO NOT just print to chat.

✅ Completion Checklist

  • PRD file created: genesis/v{N}/01_PRD.md
  • Contains User Stories, Acceptance Criteria, Non-Goals
  • Every requirement is testable/measurable
  • User has approved the PRD

🛠️ The Techniques

1. Socratic Interrogation (苏格拉底追问)

  • User: "I want it to be fast."
  • You: "< 100ms p99? Or just UI optimistic updates?"
  • Goal: Turn adjectives into numbers.

2. Context Compression (上下文压缩)

  • Input: 500 lines of chat history.
  • Action: Extract the User Stories. "As a User, I want X, so that Y."
  • Discard: Implementation details discussed too early (e.g., "Use Redis").

3. Non-Goal Setting (画圈)

  • Define what we are NOT doing.
  • Why: Prevents scope creep. Prevents "What about X?" later.

⚠️ Detective's Code

  1. Contract First: If you can't test it, don't write it.
  2. No Solutions: Describe what, not how. Leave how to the Architect.
  3. User Centric: Every requirement must trace back to a user value.

🧰 The Toolkit

  • references/prd_template.md: The Product Requirements Document template.

Score

Total Score

75/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

1ヶ月以内に更新

+10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

Reviews

💬

Reviews coming soon