Command Palette

Search for a command to run...

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

ln-112-project-core-creator

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

Creates 4 core project docs (requirements.md, architecture.md, tech_stack.md, patterns_catalog.md). ALWAYS created.

tensologyот tensology★ 17 звёзд на GitHub

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

Paths: File paths (shared/, references/, ../ln-*) are relative to skills repo root. If not found at CWD, locate this SKILL.md directory and go up one level for repo root.

Project Core Documentation Creator

L3 Worker that creates 4 core project documentation files. These are ALWAYS created regardless of project type.

Purpose & Scope

  • Creates 4 core project documentation files (required for all projects)
  • Receives Context Store from ln-110-project-docs-coordinator
  • Heavy use of auto-discovery (architecture needs full project scan)
  • Replaces placeholders with project-specific data
  • Self-validates structure and content (16+ questions)
  • Never gathers context itself; uses coordinator input

Invocation (who/when)

  • ln-110-project-docs-coordinator: ALWAYS invoked as second worker (after ln-111)
  • Never called directly by users

Inputs

From coordinator:

  • contextStore: Full Context Store with all discovered data
    • PROJECT_NAME, PROJECT_DESCRIPTION
    • TECH_STACK (full object: frontend, backend, database, etc.)
    • DEPENDENCIES (from package.json)
    • SRC_STRUCTURE (folder analysis)
    • EXTERNAL_SYSTEMS (from .env.example)
    • CODE_CONVENTIONS (from eslint, prettier)
    • ADR_LIST (from docs/reference/adrs/)
    • LEGACY_CONTENT (optional, from ln-100 Phase 0 migration):
      • legacy_architecture: { layers[], components[], diagrams[], data_flow }
      • legacy_requirements: { functional[], non_functional[], user_stories[] }
      • legacy_tech_stack: { frontend, backend, database, versions }
  • targetDir: Project root directory

LEGACY_CONTENT is used as base content when creating documents. Priority: Legacy > Auto-discovery > Template defaults.

Documents Created (4)

File Target Sections Questions Auto-Discovery
docs/project/requirements.md Functional Requirements (FR-XXX-NNN format) Q23 Low
docs/project/architecture.md 11 arc42 sections with C4 diagrams Q24-Q34 High
docs/project/tech_stack.md Frontend, Backend, Database, Additional Q35-Q38 High
docs/architecture/patterns_catalog.md Pattern summary, 4-score model, trend tracking — High

Workflow

Phase 1: Receive Context

  1. Parse full Context Store from coordinator
  2. Validate required keys (PROJECT_NAME, TECH_STACK)
  3. Extract architecture-specific data (SRC_STRUCTURE, DEPENDENCIES)

Phase 2: Create Documents

For each document (requirements.md, architecture.md, tech_stack.md, patterns_catalog.md):

  1. Check if file exists (idempotent)
  2. If exists: skip with log
  3. If not exists:
    • Copy template from references/templates/
    • Check LEGACY_CONTENT for this document type:
      • For architecture.md: If LEGACY_CONTENT.legacy_architecture exists:
        • Use legacy_architecture.layers[] for "## Building Block View" (Section 5)
        • Use legacy_architecture.components[] for component descriptions
        • Use legacy_architecture.diagrams[] for existing diagrams (preserve mermaid/images)
        • Use legacy_architecture.data_flow for "## Runtime View" (Section 6)
        • Merge with auto-discovered SRC_STRUCTURE (legacy takes priority)
        • Mark: <!-- Migrated from legacy documentation --> at top of merged sections
      • For requirements.md: If LEGACY_CONTENT.legacy_requirements exists:
        • Use legacy_requirements.functional[] as base for FR-XXX requirements
        • Use legacy_requirements.user_stories[] if FR format not found
        • Augment with template structure (add MoSCoW labels if missing)
      • For tech_stack.md: If LEGACY_CONTENT.legacy_tech_stack exists:
        • Use legacy_tech_stack.versions as base for technology versions
        • Merge with auto-discovered TECH_STACK (legacy versions take priority)
        • Use legacy_tech_stack.rationale for decision explanations
      • For patterns_catalog.md:
        • Copy template from shared/templates/patterns_template.md
        • Auto-detect patterns in codebase:
          • Grep("Queue|Worker|Job|Bull") → Job Processing
          • Grep("EventEmitter|publish|subscribe") → Event-Driven
          • Grep("Cache|Redis|Memcached") → Caching
          • Grep("CircuitBreaker|Retry") → Resilience
        • Add detected patterns as "Status: Detected" (not yet audited)
        • Link to existing ADRs if pattern names match
        • Mark: <!-- Auto-detected by ln-112, audit with ln-640 -->
    • Replace {{PLACEHOLDER}} with Context Store values
    • Generate C4 diagrams from SRC_STRUCTURE (for architecture.md, if no legacy diagrams)
    • Insert ADR links (for architecture.md Section 8)
    • Mark [TBD: X] for missing data

Phase 3: Self-Validate

For each created document:

  1. Check SCOPE tag in first 10 lines
  2. Check required sections (from questions_core.md)
  3. Validate specific format requirements:
    • requirements.md: FR-XXX identifiers, MoSCoW labels
    • architecture.md: 11 sections, C4
Полный SKILL.md на GitHub

Установить ln-112-project-core-creator в Claude Code и Claude Desktop

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

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

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

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

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

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

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

references/architecture_template.mdreferences/questions_core.mdreferences/requirements_template.mdreferences/tech_stack_template.md

FAQ

Что делает скилл ln-112-project-core-creator?

Creates 4 core project docs (requirements.md, architecture.md, tech_stack.md, patterns_catalog.md). ALWAYS created.

Как установить скилл ln-112-project-core-creator?

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

Скилл ln-112-project-core-creator запускает скрипты?

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

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

Сравнить ln-112-project-core-creator с