to-prd

GitHub

基于当前对话上下文和代码库状态,自动合成产品需求文档(PRD)并提交为 GitHub Issue。无需额外访谈用户,直接通过探索仓库、规划模块及定义测试策略来生成包含问题陈述、用户故事和实施决策的完整文档。

examples/to-prd/SKILL.md Teaonly/SKILL.mk

Trigger Scenarios

用户希望将当前讨论转化为正式的产品需求文档 用户要求基于现有上下文创建或提交 GitHub Issue

Install

npx skills add Teaonly/SKILL.mk --skill to-prd -g -y
More Options

Non-standard path

npx skills add https://github.com/Teaonly/SKILL.mk/tree/main/examples/to-prd -g -y

Use without installing

npx skills use Teaonly/SKILL.mk@to-prd

指定 Agent (Claude Code)

npx skills add Teaonly/SKILL.mk --skill to-prd -a claude-code -g -y

安装 repo 全部 skill

npx skills add Teaonly/SKILL.mk --all -g -y

预览 repo 内 skill

npx skills add Teaonly/SKILL.mk --list

SKILL.md

Frontmatter
{
    "name": "to-prd",
    "description": "Turn the current conversation context into a PRD and submit it as a GitHub issue. Use when user wants to create a PRD from the current context."
}

This skill takes the current conversation context and codebase understanding and produces a PRD. Do NOT interview the user — just synthesize what you already know.

Process

  1. Explore the repo to understand the current state of the codebase, if you haven't already.

  2. Sketch out the major modules you will need to build or modify to complete the implementation. Actively look for opportunities to extract deep modules that can be tested in isolation.

A deep module (as opposed to a shallow module) is one which encapsulates a lot of functionality in a simple, testable interface which rarely changes.

Check with the user that these modules match their expectations. Check with the user which modules they want tests written for.

  1. Write the PRD using the template below and submit it as a GitHub issue.

Problem Statement

The problem that the user is facing, 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. Each user story should be in the format of:

  1. As an , I want a , so that
1. As a mobile bank customer, I want to see balance on my accounts, so that I can make better informed decisions about my spending

This list of user stories should be extremely extensive and cover all aspects of the feature.

Implementation Decisions

A list of implementation decisions that were made. This can include:

  • The modules that will be built/modified
  • The interfaces of those modules that will be modified
  • Technical clarifications from the developer
  • Architectural decisions
  • Schema changes
  • API contracts
  • Specific interactions

Do NOT include specific file paths or code snippets. They may end up being outdated very quickly.

Testing Decisions

A list of testing decisions that were made. Include:

  • A description of what makes a good test (only test external behavior, not implementation details)
  • Which modules will be tested
  • Prior art for the tests (i.e. similar types of tests in the codebase)

Out of Scope

A description of the things that are out of scope for this PRD.

Further Notes

Any further notes about the feature.

Version History

  • 9ed8bc9 Current 2026-07-24 16:51

Same Skill Collection

examples/caveman/SKILL.md
examples/design-an-interface/SKILL.md
examples/domain-model/SKILL.md
examples/edit-article/SKILL.md
examples/git-guardrails-claude-code/SKILL.md
examples/github-triage/SKILL.md
examples/improve-codebase-architecture/SKILL.md
examples/migrate-to-shoehorn/SKILL.md
examples/obsidian-vault/SKILL.md
examples/qa/SKILL.md
examples/request-refactor-plan/SKILL.md
examples/scaffold-exercises/SKILL.md
examples/setup-pre-commit/SKILL.md
examples/tdd/SKILL.md
examples/to-issues/SKILL.md
examples/triage-issue/SKILL.md
examples/ubiquitous-language/SKILL.md
examples/write-a-skill/SKILL.md

Metadata

Files
0
Version
9ed8bc9
Hash
0642c339
Indexed
2026-07-24 16:51

Home - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-21 10:04
浙ICP备14020137号-1 $Map of visitor$