Command Palette

Search for a command to run...

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

documentation-creation

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

Create comprehensive project documentation from scratch. Use when setting up INITIAL documentation for a new project or building a complete documentation…

VilnaCRM-Orgот VilnaCRM-Org★ 16 звёзд на GitHub16 установок в других каталогах

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

Documentation Creation Skill

Overview

This skill guides the creation of comprehensive project documentation from scratch by analyzing the project codebase and applying established VilnaCRM documentation patterns. It ensures documentation accurately reflects the actual project implementation.

Use this skill for: Initial documentation creation from scratch Use documentation-sync for: Updating existing documentation when code changes

Context (Input)

  • Need to create documentation for a project from scratch
  • Want consistent style following VilnaCRM patterns
  • Need to ensure documentation accuracy against actual codebase
  • Project has no existing comprehensive documentation

Task (Function)

Create comprehensive, accurate project documentation by:

  1. Analyzing the project codebase thoroughly
  2. Creating documentation using established templates
  3. Verifying all references against actual codebase
  4. Ensuring consistent style and cross-linking

Success Criteria:

  • All documentation files created with consistent structure
  • All code references verified against actual project structure
  • All directory paths and file mentions exist in codebase
  • All links between documentation files work correctly
  • Technology stack accurately reflected (no false claims)

Quick Start: Documentation Creation Workflow

Step 1: Analyze Project Structure

Before creating any documentation, thoroughly understand the project:

# Check project structure
ls -la src/

# Identify technology stack
cat composer.json | grep -A5 "require"
cat Dockerfile
cat docker-compose.yml

# Identify bounded contexts
ls -la src/Core/ 2>/dev/null
ls -la src/User/ 2>/dev/null
ls -la src/Shared/ 2>/dev/null
ls -la src/Internal/ 2>/dev/null

# Check for entities
find src -path "*/Entity/*.php"

# Check for commands and handlers
find src -name "*Command.php" | head -20
find src -name "*Handler.php" | head -20

Key items to document:

  • Technology stack (PHP version, framework, database, runtime)
  • Architecture style (DDD, hexagonal, CQRS)
  • Bounded contexts and their purposes
  • Main entities and their relationships
  • Available commands and testing tools

Step 2: Create Technology Stack Summary

Document the verified technology stack:

# PHP version
grep -i "php:" Dockerfile

# Framework
grep -i "symfony" composer.json

# Database
grep -i "mysql\|postgres\|mongo" docker-compose.yml

# Available make commands
grep -E "^[a-zA-Z][a-zA-Z0-9_-]*:" Makefile | head -30

Create a technology summary table:

Component Technology Version
Language PHP X.Y
Runtime {Runtime} -
Framework Symfony X.Y
Database {Database} X.Y
Web Server {Server} -

Step 3: Create Documentation Files

Create each documentation file following this order:

  1. main.md - Project overview and design principles
  2. getting-started.md - Installation and quick start
  3. design-and-architecture.md - Architectural decisions and patterns
  4. developer-guide.md - Code structure and development workflow
  5. api-endpoints.md - REST and GraphQL API documentation
  6. testing.md - Testing strategy and commands
  7. glossary.md - Domain terminology and naming conventions
  8. user-guide.md - API usage examples
  9. advanced-configuration.md - Environment and configuration
  10. performance.md - Benchmarks and optimization
  11. security.md - Security measures and practices
  12. operational.md - Operational considerations
  13. onboarding.md - New contributor guide
  14. community-and-support.md - Support channels
  15. legal-and-licensing.md - License and dependencies
  16. release-notes.md - Release process
  17. versioning.md - Versioning policy

Add project-specific docs as needed (e.g., performance-frankenphp.md for FrankenPHP projects)

Step 4: Write Each Documentation File

For each documentation file:

  1. Use the appropriate template from reference/doc-templates.md

  2. Fill in project-specific content:

    • Project name and description
    • Entity names from codebase
    • Bounded context names
    • URLs and repository links
  3. Verify all references:

    • Directory paths exist
    • Commands exist in Makefile
    • Entity names match codebase
  4. Add cross-links to related documentation

Step 5: Verify Accuracy

Run comprehensive verification using reference/verification-checklist.md:

  1. Technology Stack Verification:

    grep -i "php" Dockerfile
    grep -i "symfony" composer.json
    grep -i "mysql\|mongo\|postgres" docker-compose.yml
    
  2. Directory Structure Verification:

    # Verify all mentioned src directories exist
    for dir in $(ls src/); do
      ls -la src/$dir/ 2>/dev/null || echo "Check: src/$dir"
    d
    
Полный SKILL.md на GitHub

Установить documentation-creation в Claude Code и Claude Desktop

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

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

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

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

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

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

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

examples/README.mdexamples/user-service-example.mdreference/doc-templates.mdreference/verification-checklist.md

FAQ

Что делает скилл documentation-creation?

Create comprehensive project documentation from scratch. Use when setting up INITIAL documentation for a new project or building a complete documentation suite. NOT for updating existing docs (use documentation-sync instead). Covers project analysis, documentation structure, templates, and verification.

Как установить скилл documentation-creation?

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

Скилл documentation-creation запускает скрипты?

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

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

Сравнить documentation-creation с