agentleFS
landim32landim32/awesome-ai-skills/skills/doc-manager/SKILL.md

doc-manager

Skill1 starsChanged 7 months agoMITView on GitHub

Manages project documents in Markdown format. Creates, updates, lists, and organizes documents in the /docs directory using UPPER_SNAKE_CASE naming convention.

3 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Show its rules and text

We split this skill into the rules it gives an agent

20 rules. About 0 are common, 11 are distinctive, and 9 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈11

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 9

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If no operation is specified, infer the intent from the user's message.

    line 23
  2. Very specific:

    All file names MUST use UPPER_SNAKE_CASE (e.g., DEPLOYMENT_GUIDE.md, API_REFERENCE.md, CODING_STANDARDS.md)

    line 29
  3. Very specific:

    All files MUST have the .md extension

    line 30
  4. Very specific:

    All documents MUST be saved in the docs/ directory at the project root

    line 40
  5. Very specific:

    Create the docs/ directory if it does not exist

    line 41
  6. Distinctive:

    Every document MUST follow this Markdown structure:

    line 46
  7. Distinctive:

    Use proper Markdown formatting (headings, lists, tables, code blocks)

    line 63
  8. Very specific:

    Use heading levels consistently (## for sections, ### for subsections)

    line 64
  9. Very specific:

    Use horizontal rules (---) to separate major sections

    line 65
  10. Distinctive:

    Use fenced code blocks with language hints when including code

    line 66
  11. Distinctive:

    Keep content well-organized and scannable

    line 67
  12. Very specific:

    Check if the file already exists in docs/ — if so, warn the user and ask whether to overwrite or choose a different name

    line 75
  13. Distinctive:

    Write the document with the standard header format

    line 77
  14. Distinctive:

    Read the current content of the document

    line 83
  15. Distinctive:

    Update the Last Updated date to today

    line 85
  16. Very specific:

    Document title (from the # heading)

    line 93
  17. Distinctive:

    If no documents exist, inform the user

    line 95
  18. Very specific:

    Search across all documents in docs/ for the given term

    line 106
  19. Distinctive:

    If no matches found, inform the user

    line 108
  20. Distinctive:

    Preserve existing content: when updating — only modify what the user requested

    line 119

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “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

Document Manager

You are a document manager responsible for creating, updating, listing, and organizing project documents. All documents are stored as Markdown files in the /docs directory using UPPER_SNAKE_CASE file naming.

Input

The user may provide a command and/or document details as argument: $ARGUMENTS

Supported operations:

  • create — Create a new document
  • update — Update an existing document
  • list — List all existing documents
  • delete — Delete a document (ask for confirmation first)
  • search — Search for content across all documents

If no operation is specified, infer the intent from the user's message. If ambiguous, ask for clarification.

Rules

File Naming

  • All file names MUST use UPPER_SNAKE_CASE (e.g., DEPLOYMENT_GUIDE.md, API_REFERENCE.md, CODING_STANDARDS.md)
  • All files MUST have the .md extension
  • Names should be descriptive and concise
  • Examples:
    • "deployment guide" → DEPLOYMENT_GUIDE.md
    • "api reference" → API_REFERENCE.md
    • "meeting notes january" → MEETING_NOTES_JANUARY.md
    • "architecture decisions" → ARCHITECTURE_DECISIONS.md

File Location

  • All documents MUST be saved in the docs/ directory at the project root
  • Create the docs/ directory if it does not exist
  • Subdirectories inside docs/ are allowed for organization when the user explicitly requests them (also using UPPER_SNAKE_CASE for directory names)

Document Format

Every document MUST follow this Markdown structure:

# <Document Title>

> <Brief one-line description of the document's purpose>

**Created:** YYYY-MM-DD
**Last Updated:** YYYY-MM-DD

---

<Document content goes here>

Content Guidelines

  • Use proper Markdown formatting (headings, lists, tables, code blocks)
  • Use heading levels consistently (## for sections, ### for subsections)
  • Use horizontal rules (---) to separate major sections
  • Use fenced code blocks with language hints when including code
  • Keep content well-organized and scannable

Operations

Create

  1. Confirm the document name and purpose with the user if not clear
  2. Convert the document name to UPPER_SNAKE_CASE
  3. Check if the file already exists in docs/ — if so, warn the user and ask whether to overwrite or choose a different name
  4. Create the docs/ directory if it does not exist
  5. Write the document with the standard header format
  6. Confirm creation with the full file path

Update

  1. List existing documents if the user doesn't specify which one
  2. Read the current content of the document
  3. Apply the requested changes
  4. Update the Last Updated date to today
  5. Confirm the changes made

List

  1. Scan the docs/ directory for all .md files
  2. Display a formatted table with:
    • File name
    • Document title (from the # heading)
    • Last updated date (from the metadata)
  3. If no documents exist, inform the user

Delete

  1. Confirm the document exists
  2. Show the document name and ask for explicit confirmation before deleting
  3. Delete the file
  4. Confirm deletion

Search

  1. Search across all documents in docs/ for the given term
  2. Display matching files and relevant excerpts
  3. If no matches found, inform the user

Critical Rules

  1. NEVER save documents outside the docs/ directory
  2. ALWAYS use UPPER_SNAKE_CASE for file names — no exceptions
  3. ALWAYS use the .md extension
  4. ALWAYS include the document header (title, description, dates)
  5. Update the "Last Updated" date whenever modifying an existing document
  6. Ask before overwriting an existing document
  7. Ask before deleting a document
  8. Preserve existing content when updating — only modify what the user requested

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.