Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计通过

docs-writer文档编写者

Agent Skill

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

总安装

1,909

周安装

78

GitHub Stars

5

下载量

618
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:docs-writer(文档编写者)
来源仓库:https://github.com/adeonir/agent-skills
仓库路径:skills/docs-writer
安装命令:
npx skills add https://github.com/adeonir/agent-skills --skill docs-writer
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/adeonir/agent-skills --skill docs-writer

简介

用于辅助文档、README 和内容稿件的整理与改写,提升结构清晰度与可读性。

  • 支持在 Codex、Claude、Cursor、Gemini CLI 中运行,适用于 PRD、设计文档等多种类型。
  • 通过 GitHub 安装,需保留项目已有事实与路径,避免将未确认信息写成确定结论。
  • 涉及对外文案时应控制语气,防止过度营销或夸大能力,确保内容客观准确。
  • 建议结合 ultrathink 进行验证,尤其在产品需求与设计文档等关键产出上。

SKILL.md

Docs Writer

Recommended effort: high for PRD, Design Doc, and TDD (multi-phase discovery).

Generate structured documents through guided discovery. 4 document types, each with its own workflow depth. Use ultrathink for PRD validation and Design Doc trade-off analysis.

Workflow

trigger --> detect type --> load reference --> discovery --> drafting

Detect document type from the trigger. If ambiguous, ask the user which type they want.

Context Loading Strategy

Load the reference and template matching the detected document type. For types that require discovery, also load discovery.md/docs-writer/references/discovery.md).

Never simultaneous:

  • Multiple document type references
  • Templates for different document types

Triggers

Trigger PatternTypeReference
Create PRD, define product, product requirements, write PRDPRDprd.md/docs-writer/references/prd.md)
Create design doc, design systemDesign Docdesign.md/docs-writer/references/design.md)
Create TDD, technical design document, technical designTDDtdd.md/docs-writer/references/tdd.md)
Create document, write docAsk user--

Cross-References

PRD -------------> Design Doc     (PRD feeds requirements, context into Design Doc)
PRD -------------> TDD            (PRD feeds requirements into TDD)
PRD -------------> epic-tracker   (PRD milestones and FRs inform epic definition)
PRD -------------> design-builder (PRD + Brief inform copy and design extraction)
PRD -------------> spec-driven    (PRD milestones feed spec initialization)

Notes:

  • PRD: Product requirements only -- problem, users, scope, journeys, business rules, success metrics. Never includes implementation, architecture, tech stack, UI components, or API specs. Those belong to Design Doc, TDD, or design-builder.
  • Brief: 1-page executive summary of the PRD. Generated automatically during PRD drafting from data already collected; never has its own trigger or discovery phase.
  • Design Doc: When PRD exists, the Design Doc focuses on technical strategy; without PRD, it covers both product context and technical design. Use Design Doc for informal trade-off discussion.
  • TDD: Prescriptive technical planning for specific components. A project can have both a Design Doc (system-level decisions) and TDDs (component-level technical plans).
  • epic-tracker: PRD milestones and functional requirements feed epic planning -- epics, stories, and bugs are managed by epic-tracker
  • design-builder: PRD sections 1, 3-4 (problem, personas, scope) and Brief (value prop, market) inform copy extraction and design extraction
  • spec-driven: PRD milestones feed feature initialization -- each milestone can generate a spec with its own tasks

Document Types

TypeWorkflowReferenceTemplate
PRDdiscovery -> validation -> synthesis -> draftingprd.md/docs-writer/references/prd.md)prd.md/docs-writer/templates/prd.md)
Briefgenerated with PRD (no separate trigger)brief.md/docs-writer/references/brief.md)brief.md/docs-writer/templates/brief.md)
Design Docdiscovery -> analysis -> draftingdesign.md/docs-writer/references/design.md)design.md/docs-writer/templates/design.md)
TDDdiscovery -> analysis -> draftingtdd.md/docs-writer/references/tdd.md)tdd.md/docs-writer/templates/tdd.md)

Shared Discovery Patterns

LOAD: discovery.md/docs-writer/references/discovery.md) before starting any type that requires discovery.

Discovery applies to: PRD, Design Doc, TDD. Brief is generated as part of the PRD workflow (no standalone trigger).

Quality Standards

Requirements must be concrete and measurable across all document types.

BadGood
"Search should be fast""Search returns results within 200ms"
"Easy to use""New users complete onboarding in under 2 minutes"
"Intuitive interface""Task completion rate above 90% without help text"

Guidelines

DO:

  • Always complete discovery before drafting (for types that require it)
  • Review the artifact before presenting to user (see Review Checklist below)
  • Present draft for user feedback before saving
  • Mark unknowns as TBD rather than inventing constraints
  • Use concrete, measurable requirements
  • Use fixed filenames per type

DON'T:

  • Skip discovery for types that require it
  • Assume document type -- detect from trigger or ask
  • Include visual/design direction (that belongs in design-builder)
  • Use vague adjectives as requirements ("fast", "easy", "intuitive")
  • Mix document types in a single file

Review Checklist

Before presenting any document to the user, verify:

  • No contradictions between sections
  • No unresolved TBDs that block the document's purpose
  • Scope is focused (one document, one purpose)
  • Cross-references to other docs are valid
  • Requirements are concrete and measurable (no vague adjectives)

If issues found: fix inline before presenting. Don't deliver a flawed artifact.

Output

All documents save to .artifacts/docs/. Create the directory if it doesn't exist.

TypeFilename
PRDprd.md
Briefbrief.md
Design Docdesign.md
TDDtdd.md

Error Handling

  • No .artifacts/docs/: Create the directory
  • Ambiguous trigger: Ask user which document type
  • Missing context for discovery: Ask questions, never assume

Compact Instructions

Preserve:

  • Document type being written, current phase (discovery/validation/synthesis/drafting)
  • All discovery topic answers collected so far
  • Agreed scope, priorities, and open TBDs
  • User confirmations received

Drop:

  • Raw question-and-answer transcript
  • Intermediate analysis scratch work

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

39.8%
按下载量换算246

Claude

28.49%
按下载量换算176

Cursor

19.91%
按下载量换算123

Gemini CLI

9.01%
按下载量换算56

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills