to-prd

to-prd is a skill for Claude Code, Codex from astordu/qoderharness. It costs 37 tokens per session (583 once invoked), scanned A, original, MIT.

A tool that turns the current conversation and project context into a product requirements document, or PRD—a plan describing a problem, solution, user needs, decisions, tests, and limits.

In plain words
What is it for?
Use it to create PRDs with user stories, implementation and testing decisions, scope boundaries, and supporting notes.
Why use it?
It organizes scattered discussion into a document that a team can use to plan development.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/astordu/qoderharness/to-prd
Any agent
npx skills add astordu/qoderharness --skill to-prd
Clone the repo
git clone --depth 1 https://github.com/astordu/qoderharness

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for to-prd

README.md
[![agentmods](https://agentmods.dev/badge/skills/astordu/qoderharness/to-prd.svg)](https://agentmods.dev/skills/astordu/qoderharness/to-prd)
Your own site
<a href="https://agentmods.dev/skills/astordu/qoderharness/to-prd"><img src="https://agentmods.dev/badge/skills/astordu/qoderharness/to-prd.svg" alt="Measured on agentmods" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 583 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00037 $0.00583
Opus 5 $0.00018 $0.00292
Sonnet 5 $0.00007 $0.00117
Haiku 4.5 $0.00004 $0.00058

Measured 5d ago against content hash 5dd74d21c2ec, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

to-prd scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.qoder/skills/to-prd/SKILL.md · 75 lines

What it actually says

该技能基于当前对话上下文和代码库理解,生成一份 PRD。不要访谈用户——直接综合你已有的信息。 保存到.qoder/prd目录下面

流程

  1. 探索代码仓库,了解当前代码库状态(若尚未了解)。

  2. 梳理需要构建或修改的主要模块,优先提取可独立测试的深层模块。

    深层模块 = 将大量功能封装在简洁、可测试、极少变更的接口中的模块。

    与用户确认模块划分是否符合预期,以及哪些模块需要编写测试。

  3. 使用下方模板编写 PRD,并发布到项目问题追踪器。

问题陈述

用户面临的问题,从用户视角描述。

解决方案

问题的解决方案,从用户视角描述。

用户故事

一份详尽的编号用户故事列表。每个用户故事应遵循以下格式:

  1. 作为<角色>,我希望<功能>,以便<收益>

用户故事列表应尽可能详尽,覆盖功能的所有方面。

实现决策

已做出的实现决策列表,可包括:

  • 将要构建/修改的模块
  • 将要修改的模块接口
  • 来自开发者的技术澄清
  • 架构决策
  • 数据模式变更
  • API 契约
  • 具体交互方式

不要包含具体文件路径或代码片段,它们很容易过时。

例外:如果原型产出的代码片段比文字更精确地表达了决策(如状态机、reducer、schema、类型形状),将其内联到相关决策中并简要注明来自原型。只保留决策相关的核心部分——不是完整演示,只是关键信息。

测试决策

已做出的测试决策列表,包括:

  • 优秀测试的标准描述(仅测试外部行为,不测试实现细节)
  • 哪些模块将被测试
  • 测试的先例(即代码库中类似的测试)

范围外

本 PRD 范围外的事项描述。

补充说明

关于该功能的任何补充说明。

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 75 lines · 37 tokens per session scan A 5dd74d21c2ec

Subscribe to this mod's changes

to-prd is a skill published in the GitHub repository astordu/qoderharness (23 stars, last pushed 2d ago), licensed MIT. It adds 37 tokens to every session and 583 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens