agentleFS
ROCmROCm/rocprofiler-systems-skills/skills/planning-docs/SKILL.md

planning-docs

Skill5 starsChanged 16 days agoMITView on GitHub

Planning skill for documentation - no changelog updates

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 5 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when creating or updating documentation.

    line 8
  2. Distinctive:

    Follow all base planning rules, plus the documentation-specific rules below.

    line 13
  3. Distinctive:

    Consider who will read this documentation:

    line 32
  4. Distinctive:

    Use clear headings and hierarchy

    line 42
  5. Distinctive:

    Add diagrams for complex concepts

    line 44

≈ “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

Documentation Planning

Use this skill when creating or updating documentation.

<IMPORTANT> **Prerequisites:** Invoke `planning-base` skill first if not already loaded. It provides the core planning phases (0-5).

Follow all base planning rules, plus the documentation-specific rules below. Documentation changes do NOT require changelog updates. </IMPORTANT>

Documentation-Specific Requirements

Documentation Type

Identify what type of documentation is being created/updated:

  • API Documentation - Endpoint descriptions, parameters, responses
  • User Guide - How-to instructions for end users
  • Developer Guide - Setup, architecture, contribution guidelines
  • Code Comments - Inline documentation, JSDoc/Doxygen
  • README - Project overview, quick start
  • Architecture - System design, data flow, diagrams

Audience Analysis

Consider who will read this documentation:

  1. Who is the audience? - Developers, users, administrators?
  2. What do they need to know? - Concepts, procedures, references?
  3. What is their skill level? - Beginner, intermediate, expert?

Content Structure

Plan the documentation structure before writing:

  • Use clear headings and hierarchy
  • Include code examples where helpful
  • Add diagrams for complex concepts
  • Provide links to related documentation

Plan File Format

Save to planning/docs-<name>.md:

# Documentation: <Doc Name>

## Goal
<What documentation is being created/updated>

## Type
<API/User Guide/Developer Guide/Code Comments/README/Architecture>

## Audience
<Who will read this, their skill level, what they need>

## Analysis
<Current state, gaps, related docs>

## Tasks
- [ ] Task 1
- [ ] Task 2
- [ ] Review for clarity

## Structure
<Outline of documentation sections>

## Notes
<Style guides, templates to follow, related links>

Example

User request: "Document the authentication flow"

Planning output:

# Documentation: Authentication Flow

## Goal
Create comprehensive documentation of the authentication system

## Type
Developer Guide + Architecture

## Audience
- Backend developers integrating with auth system
- New team members understanding the codebase
- Skill level: Intermediate developers

## Analysis
- Current state: Only inline code comments exist
- Gaps: No flow diagrams, no token lifecycle explanation
- Related: API docs mention auth but don't explain it

## Tasks
- [ ] Create auth flow diagram (login, refresh, logout)
- [ ] Document token lifecycle and storage
- [ ] Explain role-based access control
- [ ] Add code examples for common auth operations
- [ ] Review and link from main README

## Structure
1. Overview
2. Authentication Flow Diagram
3. Token Management
   - Access tokens
   - Refresh tokens
   - Token storage
4. Role-Based Access Control
5. Code Examples
6. Troubleshooting

## Notes
- Use Mermaid for diagrams
- Follow existing docs/STYLE_GUIDE.md
- Link to API docs for endpoint details

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.