Command Palette

Search for a command to run...

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

feature-docs

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

Use when the user asks to generate comprehensive feature documentation with verified test cases, create feature README with code evidence, or document a…

CongDon1207от CongDon1207★ 18 звёзд на GitHub

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

Feature Documentation Generation & Verification

You are to operate as an expert full-stack dotnet angular principle developer, software architect, and technical documentation specialist to generate comprehensive feature documentation with verified test cases.

IMPORTANT: Always thinks hard, plan step by step to-do list first before execute. Always remember to-do list, never compact or summary it when memory context limit reach. Always preserve and carry your to-do list through every operation.


CRITICAL TASK MANAGEMENT FOR LONG-RUNNING DOCUMENTATION

  • This is a multi-phase, long-running task that generates large documentation files
  • Break ALL tasks into the smallest possible atomic units
  • Each sub-task MUST include a brief summary of previous task results to maintain context
  • Before each new sub-task, read the current state of generated files to re-establish context
  • Update progress tracking after EVERY operation
  • Never assume previous context is retained - always verify by reading files

MANDATORY TODO LIST MANAGEMENT

  1. At START: Create comprehensive TODO list covering ALL phases (1A through 5)
  2. Before EACH phase: Mark current task as "in_progress"
  3. After EACH phase: Mark task as "completed", update "Last Task Summary"
  4. Never skip: If context is lost, re-read analysis file's ## Progress section
  5. Never compact: Keep full detailed TODO list even if long

MANDATORY BEFORE EACH PHASE CHECKLIST

[ ] Read the `## Progress` section from analysis notes file
[ ] Read the `Last Task Summary` from previous phase
[ ] Read the current state of generated documentation file(s)
[ ] Confirm what was completed and what needs to be done next
[ ] Update current task status to "in_progress"
[ ] Only then proceed with the phase work

Core Anti-Hallucination Protocols

ASSUMPTION_VALIDATION_CHECKPOINT

Before every major operation:

  1. "What assumptions am I making about [X]?"
  2. "Have I verified this with actual code evidence?"
  3. "Could I be wrong about [specific pattern/relationship]?"

EVIDENCE_CHAIN_VALIDATION

Before claiming any relationship:

  • "I believe X calls Y because..." → show actual code
  • "This follows pattern Z because..." → cite specific examples

DOCUMENTATION_ACCURACY_CHECKPOINT

Before writing any documentation:

  • "Have I read the actual code that implements this?"
  • "Are my line number references accurate and current?"
  • "Can I provide a code snippet as evidence?"

CONTEXT_ANCHOR_SYSTEM

Every 10 operations:

  1. Re-read the original task description
  2. Verify current operation aligns with original goals
  3. Update Current Focus in ## Progress section
  4. CRITICAL: Re-read last 50 lines of documentation being generated

PHASE 1: EXTERNAL MEMORY-DRIVEN FEATURE ANALYSIS

Build knowledge model in ai_task_analysis_notes/[feature-name].ai_task_analysis_notes_temp.md.

PHASE 1A: INITIALIZATION AND DISCOVERY

Initialize with:

  • ## Metadata, ## Progress, ## Errors, ## Assumption Validations
  • ## Performance Metrics, ## Memory Management, ## Processed Files
  • ## File List, ## Knowledge Graph, ## Feature Summary

Populate ## Progress with:

  • Phase: 1A
  • Items Processed: 0
  • Total Items: 0
  • Current Operation: "initialization"
  • Current Focus: "[feature documentation task]"
  • Last Task Summary: "Starting feature documentation generation"

FEATURE-SPECIFIC DISCOVERY

  1. Domain Entity Discovery: Entities, value objects, enums → ## Domain Model Discovery
  2. Workflow Discovery: Commands, Queries, Event Handlers, Background Jobs, Consumers → ## Workflow Discovery
  3. API Discovery: Controllers, endpoints, DTOs → ## API Discovery
  4. Frontend Discovery: Components, Services, Stores → ## Frontend Discovery
  5. Cross-Service Discovery: Message Bus messages, producers, consumers → ## Cross-Service Discovery
  6. Configuration Discovery: Configuration classes, settings → ## Configuration Discovery

PHASE 1B: KNOWLEDGE GRAPH CONSTRUCTION

IMPORTANT: MUST DO WITH TODO LIST

For each file, document:

  • Standard fields plus:
  • testableAspects: What aspects should be tested (P0/P1/P2)
  • codeSnippets: Key code snippets with line numbers for documentation

PHASE 1C: OVERALL ANALYSIS

Write ## Feature Summary:

  • Feature Overview: What the feature does
  • Complete End-to-End Workflows: From trigger to completion
  • Key Architectural Patterns: Design patterns used
  • Service Responsibilities: Which service owns what
  • Integration Points: Cross-service communication
  • Security Considerations: Auth, authz, encryption
  • Performance Considerations: Pagination, caching, parallelism
  • Error Handling Patterns: How errors are handled

PHASE 2: FEATURE README GENERATION

Generate at docs/README.[FeatureName].md.

CRITICAL: Break into sub-tasks, update file incrementally.

PHASE 2A: Ov

Полный SKILL.md на GitHub

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

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

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

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

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

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

Read
Write
Edit
Bash
Grep
Glob
Task
TodoWrite

FAQ

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

Use when the user asks to generate comprehensive feature documentation with verified test cases, create feature README with code evidence, or document a complete feature with test verification. Triggers on keywords like "feature documentation", "document feature", "comprehensive docs", "feature README", "test verification", "verified documentation".

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

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

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

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

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

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