product-spec — community product-spec, ai_coding_project_base, community, ide skills

v1.0.0

关于此技能

非常适合需要自动生成产品规格的开发代理,特别适用于新项目。 Generate PRODUCT_SPEC.md through guided Q&A. Use as the first step when starting a new greenfield project.

benjaminshoemaker benjaminshoemaker
[32]
[4]
更新于: 2/24/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reference-Only Page Review Score: 6/11

This page remains useful for operators, but Killer-Skills treats it as reference material instead of a primary organic landing page.

Concrete use-case guidance Explicit limitations and caution Quality floor passed for review
Review Score
6/11
Quality Score
65
Canonical Locale
en
Detected Body Locale
en

非常适合需要自动生成产品规格的开发代理,特别适用于新项目。 Generate PRODUCT_SPEC.md through guided Q&A. Use as the first step when starting a new greenfield project.

核心价值

赋予代理生成综合的PRODUCT_SPEC.md文件的能力,通过引导式的问答过程,利用分步工作流,并支持Markdown文件格式。

适用 Agent 类型

非常适合需要自动生成产品规格的开发代理,特别适用于新项目。

赋予的主要能力 · product-spec

自动创建新项目的产品规格文档
通过交互式用户会话生成PRODUCT_SPEC.md文件
使用预定义的Q&A工作流来简化项目初始化

! 使用限制与门槛

  • 需要用户交互来完成Q&A过程
  • 仅限于生成Markdown格式的PRODUCT_SPEC.md文件
  • 需要访问项目目录来创建和修改文件

Why this page is reference-only

  • - Current locale does not satisfy the locale-governance contract.
  • - The page lacks a strong recommendation layer.

Source Boundary

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

评审后的下一步

先决定动作,再继续看上游仓库材料

Killer-Skills 的主价值不应该停在“帮你打开仓库说明”,而是先帮你判断这项技能是否值得安装、是否应该回到可信集合复核,以及是否已经进入工作流落地阶段。

实验室 Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

常见问题与安装步骤

以下问题与步骤与页面结构化数据保持一致,便于搜索引擎理解页面内容。

? FAQ

product-spec 是什么?

非常适合需要自动生成产品规格的开发代理,特别适用于新项目。 Generate PRODUCT_SPEC.md through guided Q&A. Use as the first step when starting a new greenfield project.

如何安装 product-spec?

运行命令:npx killer-skills add benjaminshoemaker/ai_coding_project_base。支持 Cursor、Windsurf、VS Code、Claude Code 等 19+ IDE/Agent。

product-spec 适用于哪些场景?

典型场景包括:自动创建新项目的产品规格文档、通过交互式用户会话生成PRODUCT_SPEC.md文件、使用预定义的Q&A工作流来简化项目初始化。

product-spec 支持哪些 IDE 或 Agent?

该技能兼容 Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer。可使用 Killer-Skills CLI 一条命令通用安装。

product-spec 有哪些限制?

需要用户交互来完成Q&A过程;仅限于生成Markdown格式的PRODUCT_SPEC.md文件;需要访问项目目录来创建和修改文件。

安装步骤

  1. 1. 打开终端

    在你的项目目录中打开终端或命令行。

  2. 2. 执行安装命令

    运行:npx killer-skills add benjaminshoemaker/ai_coding_project_base。CLI 会自动识别 IDE 或 AI Agent 并完成配置。

  3. 3. 开始使用技能

    product-spec 已启用,可立即在当前项目中调用。

! 参考页模式

此页面仍可作为安装与查阅参考,但 Killer-Skills 不再把它视为主要可索引落地页。请优先阅读上方评审结论,再决定是否继续查看上游仓库说明。

Upstream Repository Material

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

Upstream Source

product-spec

安装 product-spec,这是一款面向AI agent workflows and automation的 AI Agent Skill。查看评审结论、使用场景与安装路径。

SKILL.md
Readonly
Upstream Repository Material
The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.
Supporting Evidence

Generate a product specification document for the current project.

Workflow

Copy this checklist and track progress:

Product Spec Progress:
- [ ] Step 1: Directory guard
- [ ] Step 2: Project root confirmation
- [ ] Step 3: Check for existing PRODUCT_SPEC.md
- [ ] Step 4: Conduct guided Q&A with user
- [ ] Step 5: Write PRODUCT_SPEC.md
- [ ] Step 6: Handle deferred decisions
- [ ] Step 7: Review and refine with user
- [ ] Step 8: Suggest next step (/technical-spec)

Directory Guard

  1. If .toolkit-marker exists in the current working directory → STOP: "You're in the toolkit repo. Run this from your project directory instead: cd ~/Projects/your-project && /product-spec"

Project Root Confirmation

Before generating any files, confirm the output location with the user:

Will write PRODUCT_SPEC.md to: {absolute path of cwd}/
Continue? (Yes / Change directory)

If the user says "Change directory", ask for the correct path and instruct them to cd there first.

Existing File Guard (Prevent Overwrite)

Before asking any questions, check whether PRODUCT_SPEC.md already exists in the current directory.

  • If it does not exist: continue normally.
  • If it exists: STOP and ask the user what to do:
    1. Backup then overwrite (recommended): read the existing file and write it to PRODUCT_SPEC.md.bak.YYYYMMDD-HHMMSS, then write the new document to PRODUCT_SPEC.md
    2. Overwrite: replace PRODUCT_SPEC.md with the new document
    3. Abort: do not write anything; suggest they rename/move the existing file first

Process

Read .claude/skills/product-spec/PROMPT.md and follow its instructions exactly:

  1. Ask the user to describe their idea
  2. Work through each question category (Problem, Users, Experience, Features, Data)
  3. Make recommendations with confidence levels
  4. Generate the final PRODUCT_SPEC.md document

Output

Write the completed specification to PRODUCT_SPEC.md in the current directory.

After writing PRODUCT_SPEC.md, verify the file exists and is non-empty by reading the first few lines. If the file was not created successfully, report the error and retry.

Deferred Requirements Capture (During Q&A)

IMPORTANT: Capture deferred requirements interactively during the Q&A process, not after.

When to Trigger

During the Q&A, watch for signals that the user is deferring a requirement:

  • "out of scope"
  • "not for MVP" / "post-MVP"
  • "v2" / "version 2" / "future"
  • "later" / "eventually"
  • "maybe" / "nice to have"
  • "we'll skip that for now"
  • "not right now"
  • "that's a separate thing"

Capture Flow

When you detect a deferral signal, immediately use AskUserQuestion:

Question: "Would you like to save this to your deferred requirements?"
Header: "Defer?"
Options:
  - "Yes, capture it" — I'll ask a few quick questions to document it
  - "No, skip" — Don't record this

If user selects "Yes, capture it":

Ask these clarifying questions (can be combined into one AskUserQuestion with multiple questions):

  1. What's being deferred? "In one sentence, what's the requirement or feature?" (Pre-fill with your understanding from context)

  2. Why defer it? Options: "Out of scope for MVP" / "Needs more research" / "V2 feature" / "Resource constraints" / "Other"

  3. Notes for later? "Any context that will help when revisiting this?" (Optional — user can skip)

Write to DEFERRED.md Immediately

After collecting answers, append to DEFERRED.md right away (don't wait until end).

If file doesn't exist, create it:

markdown
1# Deferred Requirements 2 3> Captured during specification Q&A. Review when planning future versions. 4 5## From PRODUCT_SPEC.md ({date}) 6 7| Requirement | Reason | Notes | 8|-------------|--------|-------| 9| {user's answer} | {selected reason} | {notes or "—"} |

If file exists, append:

markdown
1| {user's answer} | {selected reason} | {notes or "—"} |

(If appending to a different spec's section, add a new section header first.)

Continue Q&A

After capturing (or skipping), continue the spec Q&A where you left off. Don't break the flow.

Cross-Model Review (Automatic)

After writing PRODUCT_SPEC.md, run cross-model review if Codex CLI is available:

  1. Check if Codex CLI is installed: codex --version
  2. If available, run /codex-consult on the generated document
  3. Present any findings to the user before proceeding

Consultation invocation:

/codex-consult --research "product requirements, user stories" PRODUCT_SPEC.md

If Codex finds issues:

  • Show critical issues and recommendations
  • Ask user: "Address findings before proceeding?" (Yes/No)
  • If Yes: Apply suggested fixes
  • If No: Continue with noted issues

If Codex unavailable: Skip silently and proceed to Next Step.

Error Handling

SituationAction
PROMPT.md not found at .claude/skills/product-spec/PROMPT.mdStop and report "Skill asset missing — reinstall toolkit or run /setup"
DEFERRED.md write fails (permissions or disk)Output deferred items to terminal, warn user, continue with spec generation
Codex CLI invocation fails or times outLog the error, skip cross-model review, proceed to Next Step

Next Step

When complete, inform the user:

PRODUCT_SPEC.md created at ./PRODUCT_SPEC.md
Deferred Requirements: {count} items captured to DEFERRED.md
Cross-Model Review: PASSED | PASSED WITH NOTES | SKIPPED

Next: Run /technical-spec

相关技能

寻找 product-spec 的替代方案 (Alternative) 或可搭配使用的同类 community Skill?探索以下相关开源技能。

查看全部

openclaw-release-maintainer

Logo of openclaw
openclaw

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

333.8k
0
AI

widget-generator

Logo of f
f

为prompts.chat的信息反馈系统生成可定制的插件小部件

149.6k
0
AI

flags

Logo of vercel
vercel

React 框架

138.4k
0
浏览器

pr-review

Logo of pytorch
pytorch

Python中具有强大GPU加速的张量和动态神经网络

98.6k
0
开发者工具