Doc

From kv0906/pm-kit · View interactive version

Doc is an AI agent skill from the GitHub repository kv0906/pm-kit. Draft or edit a document — PRD, spec, design doc, technical brief. Use for "/doc project title" to create a new doc or edit existing.

How to use this skill

Skill file

/doc — Document Drafting

Create or edit documents (specs, PRDs, design docs, etc.).

Context

Today's date: !date +%Y-%m-%d

Existing docs: !ls docs/*/*.md 2>/dev/null | tail -10

Reference template: @_templates/doc.md

Config: @_core/config.yaml

Processing logic: @_core/PROCESSING.md

Product judgment: @_core/judgment.md

Knowledge and evidence: @_core/knowledge.md

Input

User input: $ARGUMENTS

Processing Steps

  1. Parse Input
  1. Check Existing
  1. Gather Context
  1. Interactive Drafting
  1. Create Doc Note
  1. Update References
  1. Append to Vault Log

Output

Created: docs/{project}/{slug}.md
Status: draft
Sections: {filled}/{total}

Highlight important evidence gaps and the next validation step. Creating a local draft does not authorize publishing it or creating external tickets.

Export (Optional)

Supports --docx, --pdf flags. See .claude/rules/export-formats.md for layout specs and workflow. Complete normal processing first, then generate the formatted file.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.