New to Claude Skills? Learn how to install them →

sickn33 on GitHub

Agent Documentation Maintainer

Free

Streamline your agent documentation process.

Get this skill

Free · Opens the source repo

What Agent Documentation Maintainer does

The Agent Documentation Maintainer skill is designed to assist developers and teams in creating and maintaining concise, high-signal documentation for their agents. This skill specifically focuses on generating AGENTS.md and CLAUDE.md files, which serve as the canonical reference for agent-facing instructions. By enforcing best practices for minimal documentation, it ensures that agents can effectively follow instructions without unnecessary verbosity, targeting a document length of under 60 lines and never exceeding 100 lines.

This skill is particularly useful when existing agent documentation is either too lengthy, duplicated, or not aligned with the actual project conventions. It guides users through the process of analyzing their project structure to determine what content should be included in the documentation. This includes checking for package managers, linter configurations, CI commands, and existing conventions, ensuring that the generated documentation is relevant and practical.

The writing rules provided by this skill emphasize a clear and structured format, utilizing headers and bullet points instead of paragraphs, and encouraging the use of code blocks for commands and templates. This approach not only improves readability but also enhances the usability of the documentation for agents. The skill also includes specific sections that must be present in the documentation, such as package manager commands and file-scoped commands, which are vital for efficient agent operation.

In summary, the Agent Documentation Maintainer skill is an essential tool for developers looking to streamline their agent documentation process while adhering to best practices for clarity and conciseness. It is ideal for teams that prioritize maintaining high-quality documentation that is both accessible and actionable for their agents.

When to use it

Use this skill when you need to create, update, or audit `AGENTS.md` or `CLAUDE.md` files for your project.

When not to use it

This skill is not suitable for generating extensive documentation or when detailed explanations are required, as it focuses on brevity and high signal-to-noise ratio.

What you can build with it

Creating AGENTS.md from Scratch

When starting a new project, use this skill to generate a concise AGENTS.md file that outlines essential commands and conventions.

Updating Existing Agent Documentation

If your project has outdated or lengthy agent documentation, this skill helps you streamline and update it to meet current standards.

Auditing Agent Instructions

Use this skill to review and audit existing AGENTS.md files, ensuring they remain relevant and concise.

How to install Agent Documentation Maintainer

View source

1. Install with the skills CLI

npx skills add sickn33/agentic-awesome-skills/agents-md --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by sickn33

Maintaining AGENTS.md

AGENTS.md is the canonical agent-facing documentation. Keep it minimal—agents are capable and don't need hand-holding. Target under 60 lines; never exceed 100. Instruction-following quality degrades as document length increases.

When to Use

  • The user asks to create, update, or audit AGENTS.md or CLAUDE.md.
  • The project needs concise, high-signal agent instructions derived from the actual toolchain and repo layout.
  • Existing agent documentation is too long, duplicated, or drifting away from real project conventions.

File Setup

  1. Create AGENTS.md at project root
  2. Create symlink: ln -s AGENTS.md CLAUDE.md

Before Writing

Analyze the project to understand what belongs in the file:

  1. Package manager — Check for lock files (pnpm-lock.yaml, yarn.lock, package-lock.json, uv.lock, poetry.lock)
  2. Linter/formatter configs — Look for .eslintrc, biome.json, ruff.toml, .prettierrc, etc. (don't duplicate these in AGENTS.md)
  3. CI/build commands — Check Makefile, package.json scripts, CI configs for canonical commands
  4. Monorepo indicators — Check for pnpm-workspace.yaml, nx.json, Cargo workspace, or subdirectory package.json files
  5. Existing conventions — Check for existing CONTRIBUTING.md, docs/, or README patterns

Writing Rules

  • Headers + bullets — No paragraphs
  • Code blocks — For commands and templates
  • Reference, don't embed — Point to existing docs: "See CONTRIBUTING.md for setup" or "Follow patterns in src/api/routes/"
  • No filler — No intros, conclusions, or pleasantries
  • Trust capabilities — Omit obvious context
  • Prefer file-scoped commands — Per-file test/lint/typecheck commands over project-wide builds
  • Don't duplicate linters — Code style lives in linter configs, not AGENTS.md

Required Sections

Package Manager

Which tool and key commands only:

## Package Manager
Use **pnpm**: `pnpm install`, `pnpm dev`, `pnpm test`

File-Scoped Commands

Per-file commands are faster and cheaper than full project builds. Always include when available:

## File-Scoped Commands
| Task | Command |
|------|---------|
| Typecheck | `pnpm tsc --noEmit path/to/file.ts` |
| Lint | `pnpm eslint path/to/file.ts` |
| Test | `pnpm jest path/to/file.test.ts` |

Commit Attribution

Always include this section. Agents should use their own identity:

## Commit Attribution
AI commits MUST include:

Co-Authored-By: (the agent model's name and attribution byline)

Example: `Co-Authored-By: Claude Sonnet 4 <noreply@example.com>`

Key Conventions

Project-specific patterns agents must follow. Keep brief.

Optional Sections

Add only if truly needed:

  • API route patterns (show template, not explanation)
  • CLI commands (table format)
  • File naming conventions
  • Project structure hints (point to critical files, flag legacy code to avoid)
  • Monorepo overrides (subdirectory AGENTS.md files override root)

Anti-Patterns

Omit these:

  • "Welcome to..." or "This document explains..."
  • "You should..." or "Remember to..."
  • Linter/formatter rules already in config files (.eslintrc, biome.json, ruff.toml)
  • Listing installed skills or plugins (agents discover these automatically)
  • Full project-wide build commands when file-scoped alternatives exist
  • Obvious instructions ("run tests", "write clean code")
  • Explanations of why (just say what)
  • Long prose paragraphs

Example Structure

# Agent Instructions

## Package Manager
Use **pnpm**: `pnpm install`, `pnpm dev`

## Commit Attribution
AI commits MUST include:

Co-Authored-By: (the agent model's name and attribution byline)


## File-Scoped Commands
| Task | Command |
|------|---------|
| Typecheck | `pnpm tsc --noEmit path/to/file.ts` |
| Lint | `pnpm eslint path/to/file.ts` |
| Test | `pnpm jest path/to/file.test.ts` |

## API Routes
[Template code block]

## CLI
| Command | Description |
|---------|-------------|
| `pnpm cli sync` | Sync data |

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.

Frequently asked questions about Agent Documentation Maintainer

Similar skills