Agent skill

Doc

by kv0906 in kv0906/pm-kit

Draft or edit a document — PRD, spec, design doc, technical brief.

MITAuto-check: notesProduct & Project Management

Install Doc

skills CLI
$ npx skills add kv0906/pm-kit --skill doc -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install kv0906/pm-kit doc --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/kv0906/pm-kit.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/doc .claude/skills/doc && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
doc
GitHub stars
138
Token cost
~472 tokens
SKILL.md length
173 words
Files
1
Skills in repo
26
Repo updated
First seen
Licence
MIT

At a glance

Draft or edit a document — PRD, spec, design doc, technical brief.

  • Works in 7 steps: Parse Input → Check Existing → Gather Context → …
  • /doc project title to create a new doc
  • SKILL.md covers Context, Input, Processing Steps and Output, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Doc is an agent skill from 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.

Its SKILL.md is about 470 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Product & Project Management, covering Architecture decision records and PRD writing. The repository describes itself as: AI-augmented PM workspace for Coding Agents — daily standups, decisions, blockers, docs, and sprint reviews as markdown skills. The licence is MIT.

When your agent uses it

  • /doc project title to create a new doc
  • Tasks that involve Architecture decision records
  • Tasks that involve PRD writing

Example prompts

  • “/doc project title”
  • “/doc”

Requirements

  • Pre-approved tools (allowed-tools): Read, Write, Edit, Bash, Glob, Grep, TaskCreate, TaskUpdate, TaskList, TaskGet

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Parse Input
  2. Check Existing
  3. Gather Context
  4. Interactive Drafting
  5. Create Doc Note
  6. Update References
  7. Append to Vault Log

What it can do on your machine

Read from SKILL.md and the folder at commit 2cb5d9f. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Write
    • Edit
    • Bash
    • Glob
    • Grep
    • TaskCreate
    • TaskUpdate
    • TaskList
    • TaskGet

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Doc loads about 472 tokens when it runs. Until then it costs about 34 tokens; SKILL.md has 173 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~34
When it runs · the whole SKILL.md, loaded when a task matches
~472

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Write, Edit, Bash, Glob, Grep, TaskCreate, TaskUpdate, TaskList, TaskGet

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from kv0906/pm-kit at commit 2cb5d9f, republished under its MIT licence (© kv0906). 173 words, ~472 tokens.

Download SKILL.mdSave it as .claude/skills/doc/SKILL.md (or your agent's skills folder).
name
doc
description
Draft or edit a document — PRD, spec, design doc, technical brief. Use for "/doc project title" to create a new doc or edit existing.
allowed-tools
Read, Write, Edit, Bash, Glob, Grep, TaskCreate, TaskUpdate, TaskList, TaskGet
user-invocable
true

/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

Input

User input: $ARGUMENTS

Processing Steps

  1. Parse Input

    • Extract project
    • Extract title/feature name
  2. Check Existing

    • Search docs/{project}/*.md for similar titles (or docs/general/*.md if no project)
    • If found: Offer to edit or create new
  3. Gather Context

    • Search for related decisions/blockers
  4. Interactive Drafting

    • Prompt for each major section:
      • Problem statement
      • Goals / Non-goals
      • Requirements (P0/P1/P2)
      • Technical approach
    • Or accept full content at once
  5. Create Doc Note

    • If no project specified: write to docs/general/{slug}.md
    • If project specified: write to docs/{project}/{slug}.md
    • Apply template with gathered data
    • Status: draft
    • Add ## Links section
  6. Update References

    • Add to project index if exists
  7. Append to Vault Log

    • Append entry to 01-index/_vault-log.md (see .claude/rules/vault-log.md)
    • Action: doc
    • Details: doc title and status

Output

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

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.

© kv0906, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/doc of kv0906/pm-kit.

Open the folder on GitHubat commit 2cb5d9f

Compare with similar skills

Doc next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Doc compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Doc this skillkv0906/pm-kit138—~472Automated safety check: NotesMIT
Schematicblader/schematic239—~2.2kAutomated safety check: PassMIT
Shep Workstreamsshep-ai/shep264—~2.5kAutomated safety check: PassMIT
Write Update Tidb Docspingcap/docs616—~2.3kAutomated safety check: PassCustom licence
App Spec Packagerinstructa/agent-skills139—~1.5kAutomated safety check: PassNone
Bmad Helpaj-geddes/claude-code-bmad-skills487—~1.7kAutomated safety check: NotesCustom licence

Similar skills

  • Schematic

    blader/schematic

    Reverse engineer a detailed product and technical specification document from a git branch's implementation.

    239 GitHub stars~2.2k tokensUpdated 7 mo ago
    Product & Project ManagementAuto-check passed
  • Shep Workstreams

    shep-ai/shep

    A skill your agent uses when a large body of work (a version milestone, an epic, a roadmap, a set of PRDs/design docs) needs to be broken into parallel workstreams and executed with the shep CLI.

    264 GitHub stars~2.5k tokensUpdated 2 days ago
    Product & Project ManagementAuto-check passed
  • Write new TiDB documentation or update existing TiDB documentation from code changes, PRs, issues, design docs, product specs, rough drafts, existing docs, or short feature descriptions.

    616 GitHub stars~2.3k tokensUpdated today
    Product & Project ManagementAuto-check passed
  • App Spec Packager

    instructa/agent-skills

    A skill your agent uses when the user wants to turn an application, product, startup idea, SaaS, mobile app, web app, API, AI product, or internal tool into a production-ready Markdown specification…

    139 GitHub stars~1.5k tokensUpdated 9 days ago
    Product & Project ManagementAuto-check passed
  • Bmad Help

    aj-geddes/claude-code-bmad-skills

    Orchestration spine and "what do I do next?" router for the BMAD Planning & Orchestrator plugin.

    487 GitHub stars~1.7k tokensUpdated 3 mo ago
    Product & Project ManagementAuto-check: notes
  • Bmad Init

    aj-geddes/claude-code-bmad-skills

    Initialize a BMAD planning workspace: pick a scale-adaptive TRACK (Quick Flow / BMad Method / Enterprise) interactively, then scaffold the output folder, a config file, an empty decision-log.md, and…

    487 GitHub stars~1.4k tokensUpdated 3 mo ago
    Product & Project ManagementAuto-check: notes

More from kv0906/pm-kit

All 26 skills in this repo
  • Mermaid Visualizer

    kv0906/pm-kit

    Transform text content into professional Mermaid diagrams for presentations and documentation.

    138 GitHub starsUsed in 2 repos~2.2k tokens
    Auto-check passed
  • Gws

    kv0906/pm-kit

    This skill should be used when the user asks to "set up gws", "install Google Workspace CLI", "connect Gmail to Claude", "manage Google Drive from terminal", "send email from CLI", "check my…

    138 GitHub stars~1.6k tokensUpdated 3 mo ago
    Auto-check passed
  • Jira

    kv0906/pm-kit

    Jira integration via acli CLI. An agent skill from kv0906/pm-kit.

    138 GitHub stars~4.2k tokensUpdated 3 mo ago
    Auto-check: notes
  • Professional Excalidraw diagram generation expert that creates complete, valid .excalidraw.json files based on user descriptions.

    138 GitHub stars~3k tokensUpdated 3 mo ago
    Auto-check passed
  • Ask

    kv0906/pm-kit

    Fast vault Q&A — quick lookups, decision history, blocker status, doc search.

    138 GitHub stars~781 tokensUpdated 3 mo ago
    Auto-check passed
  • Block

    kv0906/pm-kit

    Flag a blocker with severity, owner, and due date. An agent skill from kv0906/pm-kit.

    138 GitHub stars~466 tokensUpdated 3 mo ago
    Auto-check: notes

Questions about Doc

What does Doc do?

Draft or edit a document — PRD, spec, design doc, technical brief. Doc is an agent skill from kv0906/pm-kit. Draft or edit a document — PRD, spec, design doc, technical brief.

When should I use Doc?

Doc fits situations like: /doc project title to create a new doc; tasks that involve Architecture decision records; tasks that involve PRD writing.

How do I install Doc in Claude Code?

Run `npx skills add kv0906/pm-kit --skill doc -a claude-code`. Or copy the skill folder (.claude/skills/doc in kv0906/pm-kit) into .claude/skills/doc in your project. Claude Code loads it when a task matches its description.

How do I install Doc in Codex?

Run `npx skills add kv0906/pm-kit --skill doc -a codex`. Or copy the skill folder (.claude/skills/doc in kv0906/pm-kit) into .agents/skills/doc in your project. Codex loads it when a task matches its description.

Can I use Doc in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add kv0906/pm-kit --skill doc -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/doc, .gemini/skills/doc, .github/skills/doc and .opencode/skills/doc in your project.

What does Doc need to run?

SKILL.md names no scripts, command-line tools or credentials: Doc is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Write, Edit, Bash, Glob, Grep, TaskCreate, TaskUpdate, TaskList, TaskGet.

Does Doc access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Doc safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Doc use?

Doc is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Doc use?

About 472 tokens (SKILL.md is roughly 1.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Doc?

Skills that share tags, products or a category with Doc: Schematic (blader/schematic, 239 stars), Shep Workstreams (shep-ai/shep, 264 stars), Write Update Tidb Docs (pingcap/docs, 616 stars) and App Spec Packager (instructa/agent-skills, 139 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Doc?

kv0906 (a GitHub user) maintains it in kv0906/pm-kit, which has 138 GitHub stars. The repository holds 26 skills in this directory. The repository was last updated on June 29, 2026.

Source: kv0906/pm-kit on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.