跳到正文
cccskills
免费在 GitHub 公开

prd-create

Use when the user wants a new Product Requirements Document — 'criar um PRD', 'escrever os requisitos de', 'new PRD for', 'documento de requisitos' — through a 12-step interview, one question at a time, ending with an approval gate. Do NOT use to change an existing PRD (prd- refine) or to plan implementation.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(2)

  • SKILL.md4.5 KB
  • agents/openai.yaml163 B

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Create a PRD

Method (inline — you run in the MAIN context)

You are the PRD interviewer. Follow <plugin-root>/references/interview-method.md end-to-end: persona, principles, the 12-step process, smart defaults, consistency checks, opening message. Never delegate the interview to a subagent — you interview the human, and subagents cannot talk to the human.

Input

The arguments: brief description of the feature or system (required).

Pre-check

mkdir -p .planning/prds

Flow

STEP 0 — Language

Follow <plugin-root>/references/language.md (resolve lang from .planning/config.json; ask only if unset).

STEP 1 — Determine PRD slug

From the arguments, generate a kebab-case slug (e.g., "user-authentication", "inventory-management").

Create directory:

mkdir -p .planning/prds/{slug}

STEP 2 — Start Interview

Follow the 12-step interview process from references/interview-method.md:

  1. Context and overview
  2. Problem and opportunity
  3. Objectives and success metrics
  4. Scope
  5. Functional requirements
  6. Non-functional requirements
  7. Architecture and approach
  8. Decisions and trade-offs
  9. Dependencies
  10. Risks and mitigation
  11. Acceptance criteria
  12. Testing and validation

Rules:

  • One question at a time
  • Summarize at end of each step
  • Confirm before moving on
  • Mark unknowns as hypothesis

STEP 3 — Consistency Checks

Before generating, run all consistency checks from references/interview-method.md. Flag any issues and resolve with the user.

STEP 4 — Generate PRD.md

Write to .planning/prds/{slug}/PRD.md following exactly the template in <plugin-root>/templates/PRD.template.md. Log: sh "<plugin-root>/scripts/audit-log.sh" event create "" completed ".planning/prds/{slug}/PRD.md" ""

STEP 4.1 — Approval gate

Show a 3-line summary (feature, number of FRs, open hypotheses), then ask:

Approve this PRD? Approved PRDs can be turned into a roadmap.
(y = mark APPROVED / n = keep as DRAFT)

On yes → set the header line to Status: APPROVED. On no → keep Status: DRAFT. Never set APPROVED without the user's explicit yes.

STEP 5 — Ask about JSON export

The PRD has been generated in Markdown.

Would you also like a JSON export with English keys? (y/n)

If yes → generate .planning/prds/{slug}/prd.json following the canonical JSON structure in <plugin-root>/references/interview-method.md.

STEP 6 — Ask about commit

📋 PRD created: .planning/prds/{slug}/PRD.md

Would you like to commit this PRD to the repository? (y/n)

If yes:

git add .planning/prds/{slug}/
git commit -m "docs(prd): add PRD for {slug}"

STEP 7 — Summary

✅ PRD created

📄 Files:
  .planning/prds/{slug}/PRD.md      ← Structured PRD
  .planning/prds/{slug}/prd.json    ← JSON export (if requested)

📊 Summary:
  Product: {product}
  Status: {DRAFT | APPROVED}
  Feature: {feature}
  Functional requirements: {N}
  Business rules: {N}
  Non-functional requirements: {N}
  Risks: {N}
  Acceptance criteria: {N}

👉 Next:
  /pwdev-prd:refine {slug}     → Update this PRD
  /pwdev-prd:roadmap {slug}    → Roadmap with dependency chain and draft stories (needs Status: APPROVED)
  /pwdev-prd:stories {slug}    → Evolve each feature: user stories, CA and RN
  /pwdev-prd:publish {slug}    → GitHub Project + issues from the roadmap (pwdev-github)
  /pwdev-prd:export {slug}     → JSON, or a single GitHub issue with the PRD
  /pwdev-feat:feat             → Create action plan from this PRD (if pwdev-feat installed)
  /pwdev-code:discover         → Start full workflow from this PRD (if pwdev-code installed)

Prohibitions

  • NEVER skip the interview — always ask questions
  • NEVER invent requirements the user didn't provide
  • NEVER include specific technology choices (PRDs are technology-agnostic)
  • NEVER commit without asking

Language: resolve lang per references/language.md before any human-facing output. Paths <plugin-root>/..., references/, scripts/, templates/ are relative to the plugin root; tool names, subagent dispatch and the command form to show the user depend on the runtime (references/runtime.md).

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Accessibility auditing and remediation skill for Vue 3 + Reka UI. Use when reviewing components, verifying WCAG 2.1 AA, fixing ARIA issues, or validating keyboard navigation in Reka UI components.

中文简介正在准备中。当前显示原文说明。

pwdev-solucoes/pwdev-claude-marketplace32026年10月15日 更新

ai-infra

免费

Infraestrutura para IA — GPU, servidores MCP, gateway de LLM, pipeline de inferência, custo de token, cache semântico e observabilidade de modelo. Use quando o usuário disser "GPU", "MCP server", "LLM", "inferência", "modelo", "gateway de IA", "custo de token", "rate limit da API de IA", "self-host de modelo".

中文简介正在准备中。当前显示原文说明。

pwdev-solucoes/pwdev-claude-marketplace32026年10月15日 更新

alt-text

免费

Escreve texto alternativo e descrição de imagem para peças de rede social. Use quando o usuário disser "alt text", "texto alternativo", "descrição da imagem", "acessibilidade da peça", "descrever para leitor de tela", ou automaticamente antes de qualquer publicação. Obrigatório em todas as peças — em carrossel, um por slide.

中文简介正在准备中。当前显示原文说明。

pwdev-solucoes/pwdev-claude-marketplace32026年10月15日 更新

Organiza, compara e seleciona entre as variações geradas, e publica a grade de comparação como Artifact para aprovação do time. Use quando o usuário disser "qual dessas", "comparar as variações", "escolher a melhor", "mostrar as opções", "montar grade de aprovação", ou após qualquer lote de geração. Selecionar é trabalho, não detalhe.

中文简介正在准备中。当前显示原文说明。

pwdev-solucoes/pwdev-claude-marketplace32026年10月15日 更新

Aumenta resolução e qualidade de imagem via Freepik/Magnific, ou orienta o processo manual quando não há chave. Use quando o usuário disser "upscale", "melhorar a resolução", "a imagem está pixelada", "Magnific", "Freepik", "aumentar a imagem", "imagem pequena demais". Gasta crédito — exige confirmação.

中文简介正在准备中。当前显示原文说明。

pwdev-solucoes/pwdev-claude-marketplace32026年10月15日 更新

CI/CD e automação — GitHub Actions, Terraform, OpenTofu, Ansible, n8n. Use quando o usuário disser "pipeline", "CI/CD", "GitHub Actions", "workflow", "terraform", "ansible", "n8n", "automatizar", "deploy automático", "IaC".

中文简介正在准备中。当前显示原文说明。

pwdev-solucoes/pwdev-claude-marketplace32026年10月15日 更新

查看 pwdev-solucoes 的全部技能

报告此技能的问题