agentleFS
kv0906kv0906/pm-kit/.claude/skills/doc/SKILL.md

doc

Skill138 starsChanged 8 months agoMITView on GitHub

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

26 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use test, plan and 6 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • Microsoft AzureSkill

    test

    Also in 4 projects that use this

  • BlockSkill

    plan

    Draft a TDD, PRD, or lightweight plan in the conversation without committing it.

    Also in 4 projects that use this

  • GitHubSkill

    refactor

    Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements.

    Also in 3 projects that use this

  • VercelSkill

    deploy

    Deploy applications to Vercel. Use when the user says "deploy", "deploy to Vercel", "push to production", "deploy my app", or "go live".

    Also in 3 projects that use this

  • SentrySkill

    review

    Fixture review skill.

    Also in 4 projects that use this

  • AWSSkill

    improve-codebase-architecture

    Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 4 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 20 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

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

    line 10
  2. Very specific:

    Search docs/{project}/*.md for similar titles (or docs/general/*.md if no project)

    line 32
  3. Distinctive:

    If found: Offer to edit or create new

    line 33
  4. Distinctive:

    Search for related decisions/blockers

    line 36
  5. Very specific:

    If no project specified: write to docs/general/{slug}.md

    line 47
  6. Very specific:

    If project specified: write to docs/{project}/{slug}.md

    line 48
  7. Distinctive:

    Add to project index if exists

    line 54

“Common” is measured: kept by at least 6 in 10 of the 20 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

/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.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.