AgentStack
SKILL verified MIT Self-run

Doc

skill-kv0906-pm-kit-doc · by kv0906

Draft or edit a document — PRD, spec, design doc, technical brief. Use for "/doc project title" to create a new doc or edit existing.

No reviews yet
0 installs
13 views
0.0% view→install

Install

$ agentstack add skill-kv0906-pm-kit-doc

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Doc? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

/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
  1. Check Existing
  • Search docs/{project}/*.md for similar titles (or docs/general/*.md if no project)
  • If found: Offer to edit or create new
  1. Gather Context
  • Search for related decisions/blockers
  1. Interactive Drafting
  • Prompt for each major section:
  • Problem statement
  • Goals / Non-goals
  • Requirements (P0/P1/P2)
  • Technical approach
  • Or accept full content at once
  1. 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
  1. Update References
  • Add to project index if exists
  1. 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.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.