Agent skill · Documentation

to-design

Generate a design document (design proposal) from a PRD, in the style of Go's official design proposals — Abstract / Background / Design / Rationale / Compatibility / Implementation, heavy on the 'why' and tradeoffs. Triggers on: to-design, prd-to-design, prd转设计文档, 生成设计文档, 写设计文档, design doc, design proposal, 设计提案, 技术设计文档.

smallnestgithub.com/smallnestGitHub ↗
claude-codecodexMIT
Install
npx skills add smallnest/goal-workflow --skill to-design --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 9 KB
Bundled scripts: none
Path: skills/to-design/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 199
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# to-design — PRD to Design Document Turn a PRD (or a rough idea) into a **design document** written in the style of Go's official design proposals: plain language, concrete examples, and—above all—an honest account of *why this approach and not the alternatives*. This is **not** the same as `prd-to-spec`. A SPEC is an implementation contract (tables, endpoints, schemas) for an engineer to build against. A design document is a **decision artifact**: it argues for an approach, surfaces the tradeoffs, and lets a team agree on the same facts before anyone writes code. When the question is "*how should we build this and why*", produce a design doc; when the question is "*give me the exact contract to implement*", produce a SPEC. > 设计哲学源自对 5 篇 Go 官方 proposal(泛型 / 错误包装 / loopvar / slog / try)的分析。核心信念:**文档的价值不取决于方案是否通过,而取决于它是否让讨论建立在同一套事实和取舍之上。** --- ## When to Use - A PRD exists and you need to decide *how* to build it before committing to implementation - The approach has real tradeoffs and you want them documented and debated - The change is risky, breaking, or hard to reverse (a design doc forces the compatibility conversation early) - Multiple people need to agree on a direction befor

What's inside
Steps it walks through
  1. When to Use
  2. The Job
  3. Step 1: Locate Input
  4. Step 2: Analyze Context (Optional)
  5. Step 3: Surface the Decisions
  6. Step 4: Design Document Structure
  7. Writing Style (照搬 Go 文档的文风)
  8. Voice / 主语
  9. Sentences / 句子
  10. Paragraphs / 段落
  11. Tone / 语气
  12. Step 5: Review & Iteration
  13. Step 6: Save
  14. Mapping: PRD → Design Doc
More from goal-workflow
All skills →
About this skill
What does the to-design skill do?

Generate a design document (design proposal) from a PRD, in the style of Go's official design proposals — Abstract / Background / Design / Rationale / Compatibility / Implementation, heavy on the 'why' and tradeoffs. Triggers on: to-design, prd-to-design, prd转设计文档, 生成设计文档, 写设计文档, design doc, design proposal, 设计提案, 技术设计文档.

How do I install it?

Run `npx skills add smallnest/goal-workflow --skill to-design --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From smallnest/goal-workflow, a repository with 199 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going