to-spec-for-pm

to-spec-for-pm is a skill for Claude Code from astordu/qoderharness. It costs 54 tokens per session (1,278 once invoked), scanned A, original, MIT.

A product-requirements writing skill that turns the current conversation into a business-focused specification for a product manager. It explains user situations, decisions, rules, stories, and page interactions in everyday language.

In plain words
What is it for?
Use it to document the current problem, intended behavior, user stories, business rules, page layouts, and unresolved decisions, then publish the result to the project’s issue tracker.
Why use it?
It removes technical implementation details so product decisions can be reviewed by someone who understands the business but may not be a developer.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Good fit Use it to document the current problem, intended behavior, user stories, business rules, page layouts, and unresolved decisions, then publish the result to the project’s issue tracker.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/astordu/qoderharness/to-spec-for-pm
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.

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

Made for: Claude Code.

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-spec-for-pm

README.md
[![agentmods](https://agentmods.dev/badge/skills/astordu/qoderharness/to-spec-for-pm/github.svg)](https://agentmods.dev/skills/astordu/qoderharness/to-spec-for-pm)
Your own site
<a href="https://agentmods.dev/skills/astordu/qoderharness/to-spec-for-pm"><img src="https://agentmods.dev/badge/skills/astordu/qoderharness/to-spec-for-pm/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for to-spec-for-pm

Your own site · 80×15
<a href="https://agentmods.dev/skills/astordu/qoderharness/to-spec-for-pm"><img src="https://agentmods.dev/badge/skills/astordu/qoderharness/to-spec-for-pm.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,278 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00054 $0.01278
Opus 5 $0.00027 $0.00639
Sonnet 5 $0.00011 $0.00256
Haiku 4.5 $0.00005 $0.00128

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

Security

Grade A, and why

to-spec-for-pm 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 9d 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-spec-for-pm/SKILL.md · 138 lines

How it starts

The opening of the file, as written. The whole thing — 138 lines — stays where its author put it; the contents beside it link to each section on GitHub.

这个技能获取当前对话的上下文,产出一份面向产品经理的业务需求规格文档。文档的目标读者是不懂技术但熟悉业务的 PM,因此所有内容都应从业务视角和用户视角出发,使用通俗易懂的语言,避免技术术语。

不要访谈用户——只综合你在对话中已经确认过的需求。

issue tracker 与分诊(triage)标签词汇应当已经提供给你——如果没有,运行 /init_goder_harness

流程

  1. 回顾对话:梳理当前对话中已经讨论和确认的所有需求决策点。如果有些关键问题在对话中没有明确,在文档中标注为「待确认」。

  2. 探索现有系统:了解当前系统中相关功能的现状,以便在文档中清楚地说明「现在是什么样」和「要变成什么样」。

  3. 用下面的模板编写规格文档,然后把它发布到项目的 issue tracker。打上 spec-for-pm 分诊标签。

需求背景

用 1-2 段话说清楚:

  • 现在系统里这个功能是什么样的?
  • 用户遇到了什么问题或不便?
  • 为什么现在要做这个改动?

用 PM 能理解的语言,避免任何技术术语。

使用场景

描述用户在什么情况下会使用这个功能。用讲故事的方式,让 PM 能脑补出具体画面。

示例格式:

小明每天早上打开健康 App 查看昨晚的睡眠数据。昨晚他忘了戴手表,App 里没有昨晚的睡眠记录。他希望在 App 里手动补录一下昨晚大概睡了几个小时。

需求决策清单

把对话中已经确认的所有业务决策整理成表格:

序号 决策项 结论 备注
1 xxx xxx

如果有尚未确认的事项,在备注列标注「待确认」。

用户故事

列出与本次需求相关的用户故事,格式如下:

  1. 作为一名 <角色>,我想要 <功能>,以便 <收益>
  2. 作为一名 <角色>,当我 <某个情况> 时,我希望系统 <某个行为>,以便 <收益>

用户故事应覆盖本次需求的所有方面,包括正常流程和异常情况。

业务规则

列出本次需求涉及的业务规则,每条规则用一句话说清楚:

  • 规则 1:xxx
  • 规则 2:xxx

示例:

  • 用户只能选择今天及之前的日期,不能选择未来日期
  • 如果同一天已有记录,新保存的记录将覆盖旧记录
  • 质量评分为可选项,不填时系统不记录质量分数

页面与交互设计

入口说明

说明用户从哪里进入这个功能。如有需要,用简单的 ASCII 示意图标注入口位置。

页面布局

用 ASCII 框图画出页面/弹窗/卡片的布局,让 PM 能直观看到最终效果。

示例:

┌─────────────────────────────────────┐
│         Add Sleep              [X]  │
├─────────────────────────────────────┤
│                                     │
│  Date                               │
│  ┌─────────────────────────────┐    │
│  │ 2026-08-11                  │    │
│  └─────────────────────────────┘    │
│                                     │
│  Duration (hours)                   │
│  ┌─────────────────────────────┐    │
│  │ 7.5                         │    │
│  └─────────────────────────────┘    │
│                                     │
│  Quality (optional)                 │
│  ┌─────────┐ ┌─────────┐ ┌───────┐ │
│  │  😊 好   │ │  😐 中   │ │ 😫 差 │ │
│  └─────────┘ └─────────┘ └───────┘ │
│                                     │
│          [Cancel] [Save]            │
└─────────────────────────────────────┘

Read the full file on GitHub · 138 lines

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. 9d ago First seen · 138 lines · 54 tokens per session scan A 02a264c06d4d

Subscribe to this mod's changes

to-spec-for-pm is a skill published in the GitHub repository astordu/qoderharness (28 stars, last pushed 6d ago), licensed MIT. It adds 54 tokens to every session and 1,278 once invoked, about $0.0003 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

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 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