一键导入
to-prd
Turn the current conversation context into a PRD and publish it to the issue tracker. Use when user wants to create a PRD from the current context.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Turn the current conversation context into a PRD and publish it to the issue tracker. Use when user wants to create a PRD from the current context.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | to-prd |
| description | Turn the current conversation context into a PRD and publish it to the issue tracker. Use when user wants to create a PRD from the current context. |
Synthesize the current conversation and codebase understanding into a PRD. I do NOT interview the user — just synthesize what I already know.
Assumes your repo has a CONTEXT.md (domain glossary) and docs/adr/ (decisions recorded). If not, run /setup-mateonunez-skills first. The issue tracker and triage label vocabulary come from setup.
Understand the current state of the codebase if not already familiar. Use domain glossary vocabulary throughout the PRD and respect ADRs in the touched area.
Identify the major modules you'll need to build or modify. Look for opportunities to extract deep modules (high functionality behind simple, testable interfaces, rarely changing).
Check with the user:
Use the template below, then publish to the issue tracker. Apply the ready-for-agent triage label — no additional triage needed.
PRD template:
## Problem Statement
The problem the user faces, from the user's perspective.
## Solution
The solution to the problem, from the user's perspective.
## User Stories
A LONG, numbered list of user stories in the format:
As an <actor>, I want a <feature>, so that <benefit>
Example:
As a mobile bank customer, I want to see balance on my accounts, so that I can make better informed decisions about my spending
Cover all aspects of the feature exhaustively.
## Implementation Decisions
A list of implementation decisions made, including:
- Modules that will be built/modified
- Interfaces that will change
- Technical clarifications from the developer
- Architectural decisions
- Schema changes
- API contracts
- Specific interactions
Do NOT include specific file paths or code snippets — they go stale quickly.
Exception: if a prototype produced a snippet encoding a decision more precisely than prose can (state machine, reducer, schema, type shape), inline it within the relevant decision and note briefly it came from a prototype. Trim to decision-rich parts only.
## Testing Decisions
A list of testing decisions made, including:
- What makes a good test (only test external behavior, not implementation details)
- Which modules will be tested
- Prior art for the tests (similar types of tests in the codebase)
## Out of Scope
Description of things that are out of scope for this PRD.
## Further Notes
Any further notes about the feature.
Review a diff or PR against my conventions — Result not throw, vertical slices, AItError codes, node:test, Biome, entity normalisation, a11y. Findings are triaged by severity (correctness → conventions → polish), not piled in a flat list. Use when reviewing a diff, reviewing a PR before merge, self-reviewing before opening a PR, or when user says "review this", "review the diff", "code review", or invokes `/code-review`.
Ultra-compressed communication mode. Cuts token usage ~75% by dropping filler, articles, and pleasantries while keeping full technical accuracy. Use when user says "caveman mode", "talk like caveman", "use caveman", "less tokens", "be brief", or invokes /caveman.
Break a plan, spec, or PRD into independently-grabbable issues using vertical-slice tracer bullets. Use when user wants to convert a plan into issues, create implementation tickets, or break down work into issues.
Triage issues through a state machine driven by triage roles. Use when you want to create an issue, triage issues, review incoming bugs or feature requests, prepare issues for an AFK agent, or manage issue workflow.
Create new agent skills with proper structure, progressive disclosure, and bundled resources. Use when user wants to create, write, or build a new skill.
Include error telemetry, request context, and queue visibility in production code. Use when writing error handlers, queue processors, async jobs, or boundary code that talks to external systems.