From ccfg-markdown
This skill should be used when creating or structuring documentation, writing READMEs, designing documentation architecture, or organizing project documentation.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ccfg-markdown:documentation-patternsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
This skill defines patterns for structuring documentation, organizing files, and maintaining
This skill defines patterns for structuring documentation, organizing files, and maintaining consistent documentation architecture across projects. Following these patterns ensures navigable, complete, and maintainable project documentation.
READMEs follow a standard structure ordered by reader need: what is this → how to use it → how to contribute.
# Project Name
[](link)
One-sentence description of what the project does and why it exists.
## Table of Contents
(for documents with > 4 sections)
## Prerequisites
## Installation
## Usage
## Configuration
## Development
## Testing
## Contributing
See [CONTRIBUTING.md](./CONTRIBUTING.md) for guidelines.
## License
[MIT](./LICENSE)
ADRs use MADR (Markdown Any Decision Records) format with sequential numbering and status tracking.
# ADR 0001: Decision Title
## Status
Proposed | Accepted | Deprecated | Superseded by ADR 000X
## Context
What is the issue we are facing? What is the background?
## Decision
What is the change that we are proposing and/or doing?
## Consequences
### Positive
- Benefit one
- Benefit two
### Negative
- Cost one
- Cost two
## Alternatives Considered
### Alternative A
- Pros: ...
- Cons: ...
0001-*, 0002-*)docs/adr/ directory (or existing ADR directory if present)docs/adr/README.md linking all decision records with status and datedocs/adr/
├── README.md (index of all ADRs)
├── 0001-use-postgresql.md
├── 0002-adopt-rest-api.md
└── template.md (blank ADR template)
Changelogs follow the Keep a Changelog format.
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project
adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
### Added
- New feature description
## [1.2.0] - 2026-01-15
### Added
- Feature description
### Changed
- Change description
### Fixed
- Bug fix description
[Unreleased]: https://github.com/org/repo/compare/v1.2.0...HEAD
[1.2.0]: https://github.com/org/repo/compare/v1.1.0...v1.2.0
## [1.2.0] - 2026-01-15)CHANGELOG.md at the repository rootAPI docs follow the endpoint → method → params → response → errors pattern.
docs/api/
├── README.md (API overview, base URL, versioning)
├── authentication.md (auth methods, tokens, examples)
└── endpoints.md (endpoint reference)
Each endpoint documents:
POST /api/v1/usersDocumentation follows a standard directory structure.
project/
├── README.md (project overview, quickstart)
├── CONTRIBUTING.md (how to contribute)
├── CHANGELOG.md (version history)
├── LICENSE (license text)
└── docs/
├── README.md (documentation index)
├── getting-started.md (setup and first steps)
├── architecture.md (system design overview)
├── configuration.md (all config options)
├── adr/
│ ├── README.md (ADR index)
│ └── template.md
└── api/
├── README.md (API overview)
└── endpoints.md
docs/ for project documentation (prefer over doc/ or documentation/)docs/adr/ for Architecture Decision Recordsdocs/api/ for API documentationCONTRIBUTING.md and CHANGELOG.md at the repository rootREADME.md at root and in significant subdirectoriesdocs/, doc/, documentation/ in order; use first matchdocs/ for new projectsThis comprehensive guide covers documentation patterns that ensure consistent, navigable, and complete project documentation.
npx claudepluginhub jsamuelsen11/claude-config --plugin ccfg-markdownProvides templates and structure guidelines for READMEs, API docs, code comments, changelogs, ADRs, and AI-friendly documentation.
Provides templates and patterns for READMEs, ADRs, OpenAPI 3.1 API docs, changelogs, and technical writing styles. Use for project documentation, architecture decisions, API specs, and release notes.
Provides Markdown templates and guidelines for READMEs, API docs, JSDoc/TSDoc comments, changelogs, ADRs, and AI-friendly formats like llms.txt. Use for structuring project documentation.