Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

project-docs

БесплатноБез исполняемых скриптовНе проверен

Project documentation lifecycle for PHP/Laravel and Node/TypeScript/React projects — bootstrapping essential docs, naming and folder conventions, freshness…

AsyrafHussinот AsyrafHussin★ 112 звёзд на GitHub

Об этом скилле

Project Documentation

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).

Metadata

  • Version: 1.0.1
  • Scope: PHP / Laravel + Node / TypeScript / React projects
  • Rule Count: 25 rules across 6 categories
  • License: MIT

How to Use This Skill — Three Modes

Mode 1: Bootstrap (new project / missing docs)

When the user asks "set up docs", "what docs does this project need", or starts a new project — walk through the bootstrap steps:

  1. Detect project type (Laravel? React? Both?) — composer.json, package.json, artisan binary
  2. Inventory existing docs — list every .md file with its location and last-modified date
  3. Identify gaps — compare against the Essential Files checklist; report what's missing
  4. Propose folder structure — docs/ with sub-folders (architecture/, adr/, guides/, runbooks/, archive/) based on project size
  5. Offer to scaffold templates — README, CHANGELOG, LICENSE, CONTRIBUTING, SECURITY, ADR-0001 — generate with user approval, do not auto-create
  6. Suggest CI gates — markdown-lint, broken-link checker (lychee), CHANGELOG-on-PR enforcement

Mode 2: Audit (existing project cleanup)

When the user asks "audit docs", "clean up markdown", or "what should I delete" — produce a classified ledger.

For each .md file in the repo:

  • KEEP — file is essential and current
  • UPDATE — file is essential but stale (e.g., README contradicts current setup)
  • ARCHIVE — superseded but historically useful — move to docs/archive/<year>/
  • DELETE — AI-generated plan files, empty stubs, duplicates, orphaned drafts
  • MOVE — wrong location or wrong name (e.g., 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.

Mode 3: Reference (conventions lookup)

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/.

When to Apply

Reference this skill when:

  • Starting a new Laravel or Node/React project and need a docs baseline
  • Onboarding a project with messy or AI-cluttered markdown files
  • Setting up docs/ folder structure
  • Naming a new doc file
  • Deciding whether to delete a PLAN.md / TODO.md / IMPLEMENTATION-SUMMARY.md
  • Adding CI checks for markdown quality
  • Reviewing a PR that adds or modifies documentation
  • Quarterly "docs hygiene" sweep

Step 1: Detect Project Type

Always 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.

Rule Categories by Priority

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-

Quick Reference

1. Structure (CRITICAL)

  • 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 files
  • structure-subfolders — Recommended docs/ layout: architecture/, adr/, guides/, runbooks/, archive/

2. Naming (CRITICAL)

  • naming-root-files — UPPERCASE.md for conventiona
Полный SKILL.md на GitHub

Установить project-docs в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

AGENTS.mdREADME.mdmetadata.jsonrules/_sections.mdrules/_template.mdrules/cleanup-ai-junk.mdrules/cleanup-duplicates.mdrules/cleanup-empty-stubs.mdrules/cleanup-orphans.mdrules/essential-changelog.mdrules/essential-contributing.mdrules/essential-license.mdrules/essential-readme.mdrules/essential-security.mdrules/lifecycle-adr-process.mdrules/lifecycle-archive.mdrules/lifecycle-changelog-discipline.mdrules/lifecycle-freshness.mdrules/naming-adr-files.mdrules/naming-anti-patterns.mdrules/naming-docs-files.mdrules/naming-root-files.mdrules/quality-ai-slop.mdrules/quality-code-blocks.mdrules/quality-conciseness.mdrules/quality-headings.mdrules/quality-links.mdrules/structure-docs-folder.mdrules/structure-root-files.mdrules/structure-subfolders.md

FAQ

Что делает скилл project-docs?

Project documentation lifecycle for PHP/Laravel and Node/TypeScript/React projects — bootstrapping essential docs, naming and folder conventions, freshness, and cleanup of AI-generated junk and stale files. Use when starting a new project, setting up docs/ structure, auditing markdown files, cleaning up the docs folder, or deciding which docs to keep, archive, or delete. Triggers on "set up docs", "audit docs", "clean up markdown", "what docs does this project need", "organize docs folder", "find stale docs".

Как установить скилл project-docs?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл project-docs запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить project-docs с