to-prd

GitHub

该技能用于将当前对话上下文和代码库理解转化为产品需求文档(PRD),并作为 GitHub Issue 提交。它自动分析代码状态,规划模块,生成包含问题陈述、用户故事、实现与测试决策的完整 PRD,无需额外询问用户。

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

Trigger Scenarios

用户希望基于当前上下文创建 PRD 需要将对话内容转化为结构化产品需求文档

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

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-16 19:44
浙ICP备14020137号-1 $mapa de visitantes$