Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

do-create-prd

БесплатноБез исполняемых скриптовНе проверен

Creates Product Requirements Documents (PRDs) from feature requests following a structured workflow of clarification, planning, and drafting. Outputs a…

fabio-barbozaот fabio-barboza★ 30 звёзд на GitHub1 установка в других каталогах

Об этом скилле

PRD Creation

Role

You are a senior product manager specialized in writing clear, actionable PRDs for development and product teams.

Directory Convention

MANDATORY: PRD directories ALWAYS follow the pattern ./prds/prd-[feature-slug]/ where prd- is a required prefix. Example: feature user-auth → directory ./prds/prd-user-auth/. NEVER create or reference a path like ./prds/user-auth/ (without the prd- prefix).

Execution Constraints

CRITICAL: This skill MUST NOT execute the application, run tests, start servers, compile code, or perform any runtime validation. Its sole purpose is to produce the PRD document. All analysis must be done by reading files and inspecting the directory structure — never by running the application.

Resumption Detection (Stateless Environments: GitHub Copilot, Cursor AI)

In GitHub Copilot and Cursor AI, each user message starts a fresh invocation — the agent has no memory of previous turns. To handle resumption:

  1. On every invocation, before running Step 1, check if a prd-answers.md file exists at ./prds/prd-[feature-slug]/prd-answers.md (use the slug derived from the user's input).
  2. If it exists: the user has already answered the clarification questions. Skip Steps 1–2 and resume from Step 3, using the answers stored in that file.
  3. After presenting questions (Step 2, stateless environment path): immediately save the questions to ./prds/prd-[feature-slug]/prd-answers.md as a placeholder (with empty answer fields). Instruct the user: "Edite o arquivo prd-answers.md com suas respostas e invoque /do-create-prd novamente para continuar."
  4. On resumption: read prd-answers.md, use the answers, then delete the file after the PRD is successfully saved.

Procedures

Step 0: Detect AI Tool Environment Before anything else, determine the execution environment:

  1. Identify the AI tool you are running in — you know whether you are Claude Code, GitHub Copilot, Cursor AI or Opencode. Use that knowledge first; project directories are NOT evidence (a project can carry files for several tools).
  2. Only if you cannot tell, fall back to project markers: .claude/ → Claude Code; .github/copilot-instructions.md, .github/agents/ or .github/prompts/ (a bare .github/ with only workflows does NOT indicate Copilot) → GitHub Copilot; .cursor/rules/ or .cursor/mcp.json → Cursor AI; opencode.json, .opencode/ or AGENTS.md → Opencode. If several match, prefer the tool whose agent/command files are installed and whose tools you actually have.
  3. Resolve available tools based on environment:
    • AskUserQuestion: use in all environments.
    • TaskUpdate: available in Claude Code; in Copilot, Cursor, and Opencode, skip gracefully.

Skill assets/references are loaded via your AI tool's native skill resolver — do not hard-code paths. Paths like do-shared/... are relative to the skills directory (the parent folder of this skill, e.g. .agents/skills/), not the project root; glob tools skip hidden directories such as .agents/, so read these files by their full path (see do-shared/references/do-project-context.md). Store the detected tool and capability flags internally.

Step 1: Validate Prerequisites

  1. Confirm the feature name or description has been provided by the user.
  2. Derive the slug in kebab-case and apply the mandatory prd- prefix for the output directory: ./prds/prd-[feature-slug]/. Example: user-auth → ./prds/prd-user-auth/.

Step 2: Clarify Requirements (Mandatory)

  1. Use AskUserQuestion to ask the user clarification questions before generating any content. Halt until answers are received.
  2. Cover all areas from the clarification checklist:
    • Problem and Objectives: What problem to solve, measurable goals.
    • Users and Stories: Primary users, user stories, main flows.
    • Core Functionality: Data inputs/outputs, actions.
    • Scope and Planning: What is NOT included, dependencies.
    • Design and Experience: UI/UX guidelines and accessibility.
  3. Do NOT proceed to Step 3 until clarification answers are received.

Step 3: Plan the PRD (Mandatory)

  1. Create a development plan including:
    • Section-by-section approach.
    • Areas requiring research (use Web Search for business rules).
    • Assumptions and dependencies.
  2. Present the plan to the user for alignment.

Step 4: Draft the PRD (Mandatory)

  1. Read the template at do-create-prd/assets/prd-template.md.
  2. Focus on WHAT and WHY, never on HOW (implementation belongs in Tech Spec).
  3. Include numbered functional requirements.
  4. No size limit: write the PRD at whatever length the feature actually requires — completeness always wins over brevity. Never truncate, omit, or summarize required content to hit a size target.
  5. Size advisory (never a constraint): if the finished PRD exceeds roughly 2,000 words, tell the user its approximate size and ask whether the
Полный SKILL.md на GitHub

Установить do-create-prd в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

assets/prd-template.md

FAQ

Что делает скилл do-create-prd?

Creates Product Requirements Documents (PRDs) from feature requests following a structured workflow of clarification, planning, and drafting. Outputs a standardized PRD to the project prds directory. Use when the user asks to create a PRD, define requirements, or document a new feature. Do not use for technical specifications, task breakdowns, or implementation planning.

Как установить скилл do-create-prd?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл do-create-prd запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить do-create-prd с