Manages project documentation lifecycle for PHP/Laravel and Node/TypeScript/React projects — bootstrapping essential docs, auditing for stale or AI-generated junk, and enforcing naming/folder conventions.
Ships in asyrafhussin-agent-skills-1. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
End-to-end documentation lifecycle for PHP/Laravel and Node/TypeScript/React projects. Contains 25 rules across 6 categories covering folder structure, naming conventions, essential files, content quality (including AI-slop detection), cleanup of accumulated junk, and lifecycle. Supports bootstrap mode (set up docs in a new project), audit mode (find what's missing, stale, bloated, or junk), and reference mode (conventions lookup).
When the user asks "set up docs", "what docs does this project need", or starts a new project — walk through the bootstrap steps:
composer.json, package.json, artisan binary.md file with its location and last-modified datedocs/ with sub-folders (architecture/, adr/, guides/, runbooks/, archive/) based on project sizeWhen the user asks "audit docs", "clean up markdown", or "what should I delete" — produce a classified ledger.
For each .md file in the repo:
docs/archive/<year>/MyArchitectureNotes.md at root → docs/architecture/overview.md)Output format:
## Documentation Audit Ledger
| File | Last modified | Verdict | Reason | Action |
|------|---------------|---------|--------|--------|
| PLAN.md | 2026-02-14 | DELETE | AI-generated plan, no longer referenced | rm PLAN.md |
| README.md | 2024-08-01 | UPDATE | Setup steps reference removed Vite v3 | Update install section |
| docs/old-architecture.md | 2024-11 | ARCHIVE | Superseded by docs/architecture/overview.md | mv to docs/archive/2024/ |
| MyNotes.md | 2025-09 | DELETE | Personal notes; not project docs | rm MyNotes.md |
## Summary
- KEEP: X files
- UPDATE: Y files (top priority: ...)
- ARCHIVE: Z files
- DELETE: N files
- MOVE: M files
Never auto-delete. Always surface for user approval first.
When the user asks "how should I name this", "where should this go", or references the skill in a code-review context — look up the relevant rule(s) in rules/.
Reference this skill when:
docs/ folder structurePLAN.md / TODO.md / IMPLEMENTATION-SUMMARY.mdAlways check the project stack before recommending specifics. Bootstrap and naming guidance differ slightly per stack.
| Signal | Project Type | Notes |
|---|---|---|
composer.json + artisan | Laravel (PHP) | README should cover composer install, php artisan migrate, .env.example |
package.json (only) | Node / TypeScript / React | README should cover npm install, .nvmrc, build scripts |
| Both present | Laravel + Inertia + React | README covers both PHP and Node setup paths |
The rules themselves are mostly stack-agnostic — README format, ADR structure, naming conventions apply to any project.
| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Structure | CRITICAL | structure- |
| 2 | Naming | CRITICAL | naming- |
| 3 | Essential Files | HIGH | essential- |
| 4 | Quality | HIGH | quality- |
| 5 | Cleanup | HIGH | cleanup- |
| 6 | Lifecycle | MEDIUM | lifecycle- |
structure-root-files — Which files belong at the repo root (README, CHANGELOG, LICENSE, etc.)structure-docs-folder — docs/ as the home for everything beyond root filesstructure-subfolders — Recommended docs/ layout: architecture/, adr/, guides/, runbooks/, archive/naming-root-files — UPPERCASE.md for conventional root filesnaming-docs-files — kebab-case.md for files under docs/naming-adr-files — Numbered prefix: 0001-record-architecture-decisions.mdnaming-anti-patterns — No dates, no MyNotes.md, no tmp/draft/final markersessential-readme — Every project needs a README with purpose, install, usage, licenseessential-changelog — Keep-a-Changelog format; one entry per releaseessential-license — LICENSE file (or LICENSE.md) at repo rootessential-contributing — CONTRIBUTING.md when accepting external contributorsessential-security — SECURITY.md with vulnerability reporting policyquality-conciseness — Cut bloat; length is a cost, not a virtuequality-ai-slop — Detect AI-generated content patterns (filler, sign-offs, generic praise)quality-headings — One H1, no skipped levels, descriptive heading textquality-code-blocks — Language tags, copy-pasteable commands, no untagged blocksquality-links — Descriptive link text (not "click here"), relative paths, no broken linkscleanup-ai-junk — Detect and remove AI-generated plan/summary filescleanup-duplicates — Same content in multiple files; consolidate or delete copiescleanup-orphans — .md files not linked from anywhere; archive or deletecleanup-empty-stubs — Files with TBD / TODO / placeholder content onlylifecycle-freshness — "Last verified" dates on architecture docslifecycle-archive — Superseded docs go to docs/archive/<year>/lifecycle-adr-process — ADR creation triggers and lifecycle (proposed → accepted → superseded)lifecycle-changelog-discipline — Add a CHANGELOG entry in the same PR as the change.
├── README.md # required
├── CHANGELOG.md # required from first release
├── LICENSE # required
├── CONTRIBUTING.md # if external contributors
├── SECURITY.md # if internet-facing
├── CODE_OF_CONDUCT.md # if open source community
├── .github/
│ └── CODEOWNERS # team ownership
└── docs/
├── architecture/
│ ├── overview.md
│ └── data-model.md
├── adr/
│ ├── 0001-record-architecture-decisions.md
│ ├── 0002-choose-mysql-over-postgres.md
│ └── 0003-adopt-inertia-for-spa.md
├── guides/
│ ├── getting-started.md
│ ├── deployment.md
│ └── local-development.md
├── runbooks/
│ ├── deploy-production.md
│ └── incident-response.md
└── archive/
└── 2024/
└── old-architecture-notes.md
✓ README.md, CHANGELOG.md, LICENSE, CONTRIBUTING.md, SECURITY.md
✓ docs/architecture/overview.md
✓ docs/adr/0007-cache-strategy.md
✓ docs/guides/deployment.md
✓ docs/archive/2024/q3-launch-plan.md
✗ Readme.md, Changelog.md (use UPPERCASE for conventional root files)
✗ docs/Architecture/Overview.md (use kebab-case in docs/)
✗ docs/Notes-2025-09-14.md (no dates in filenames)
✗ MyArchitectureThoughts.md (no first-person, no PascalCase)
✗ PLAN.md, TODO.md, TEMP.md (use issue tracker for transient state)
✗ FINAL-deployment-guide-v2.md (no draft/final/v2 markers)
# .github/workflows/docs.yml
- name: Lint markdown
uses: DavidAnson/markdownlint-cli2-action@v23
- name: Check links
uses: lycheeverse/lychee-action@v2
with:
args: --no-progress --exclude-mail './**/*.md'
Read individual rule files for detailed conventions and examples:
rules/structure-root-files.md
rules/naming-adr-files.md
rules/essential-readme.md
rules/cleanup-ai-junk.md
rules/lifecycle-archive.md
Each rule file contains:
For the complete guide with all rules expanded: AGENTS.md
AGENTS.md (opens in a new tab)README.md (opens in a new tab)metadata.json (opens in a new tab)rules/_sections.md (opens in a new tab)rules/_template.md (opens in a new tab)rules/cleanup-ai-junk.md (opens in a new tab)rules/cleanup-duplicates.md (opens in a new tab)rules/cleanup-empty-stubs.md (opens in a new tab)rules/cleanup-orphans.md (opens in a new tab)rules/essential-changelog.md (opens in a new tab)rules/essential-contributing.md (opens in a new tab)rules/essential-license.md (opens in a new tab)rules/essential-readme.md (opens in a new tab)rules/essential-security.md (opens in a new tab)rules/lifecycle-adr-process.md (opens in a new tab)rules/lifecycle-archive.md (opens in a new tab)rules/lifecycle-changelog-discipline.md (opens in a new tab)rules/lifecycle-freshness.md (opens in a new tab)rules/naming-adr-files.md (opens in a new tab)rules/naming-anti-patterns.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
PHP, Laravel, Node, TypeScript, React
24 skills in this plugin
/api-design-patternsRESTful API design, error handling, versioning, and best practices. Use when designing APIs, reviewing endpoints, implementing error responses, or setting up API structure. Triggers on "design API", "review API", "REST best practices", or "API patterns"./clean-code-principlesSOLID principles, design patterns, DRY, KISS, and clean code fundamentals. Use when reviewing architecture, checking code quality, refactoring, or discussing design decisions. Triggers on "review architecture", "check code quality", "SOLID principles", "design patterns", or "clean code"./code-slopDetect AI-generated code patterns ("slop") in PHP/Laravel and TypeScript/React source — comment narration, generic naming, premature interfaces, defensive overdose, mock-everything tests, and the absence of human "scars". Use when reviewing AI-assisted PRs, auditing code for taste/quality (not metrics — that's technical-debt), or hardening a code-review checklist. Triggers on "review for AI slop", "find AI patterns", "check code feels human", "audit code-quality taste"./asyrafhussin-agent-skills-1:project-docsfrom asyrafhussin-agent-skills-1
asyrafhussin-agent-skills-1@cascade-code-languages-misc-1 is listed by joshuarweaver/cascade-code-languages-misc-1 — review the source before installing
npx claudepluginhub joshuarweaver/cascade-code-languages-misc-1 --plugin asyrafhussin-agent-skills-1Other plugins' skills for the same job