Command Palette

Search for a command to run...

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

document-feature

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

Document reusable skills and patterns from a completed feature. Usage: /document-feature [feature-name]

ArmaOverthrowот ArmaOverthrow★ 95 звёзд на GitHub

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

Arguments on this harness. This harness does not substitute $ARGUMENTS. Read the text that follows /document-feature in the same user message, and use that text wherever this skill writes $ARGUMENTS. When another skill loads this skill, use the arguments that the caller states. When no such text exists, treat $ARGUMENTS as empty.

/document-feature - Extract Reusable Knowledge from Features

You have been asked to document reusable skills and patterns from a completed feature.

Feature name: $ARGUMENTS

Harness

This command runs on any agent harness. Read .beast-mode/harness.md first. It maps the neutral terms in this command to the tools of this harness. Terms include: ask the user to choose, delegate to an agent, search the web, and the harness skills directory. Use the mapped tool. Do not use a tool name from another harness.

Epic awareness

This command is epic-aware. Before resolving $ARGUMENTS to a feature path, read .beast-mode/epic-resolution.md and apply its rules: detect epics by epic-overview.md, resolve <epic>/<feature> references, and fuzzy-fall-back into epic folders for bare names. If $ARGUMENTS is a bare epic name, this command documents one feature at a time — list the epic's child features and ask which to document. If no epics exist in docs/features/, behave exactly as before.

.beast-mode/epic-resolution.md is the single source of truth for epic detection and resolution. When the feature lives inside an epic, every docs/features/$ARGUMENTS/... path below is the resolved nested docs/features/<epic>/<feature>/... location. This command's body is the document-feature workflow; it does not re-specify those rules.

Purpose

This command extracts reusable knowledge from a feature and adds it to the project's skill system in the harness skills directory. This builds a knowledge base that helps future agents work more effectively.

Process

1. Determine Feature Context

If feature name is provided ($ARGUMENTS is not empty):

  • Use $ARGUMENTS as the feature name
  • Proceed to step 2 to load feature docs

If NO feature name is provided:

  • Assume user has already run /continue-feature in this chat session
  • You should already have context from the current conversation about what feature was worked on
  • Identify the feature name from your conversation context
  • If you cannot determine the feature, ask the user which feature to document

2. Load Feature Context (if not already loaded)

If you already have context from /continue-feature:

  • Skip loading - you already have the feature docs in context
  • Use your existing knowledge of the feature from this chat session

If feature name was provided (and you don't have context):

  • Verify docs/features/$ARGUMENTS/ exists with at least implementation.md
  • Read these files to understand what was built:
    • docs/features/$ARGUMENTS/implementation.md
    • docs/features/$ARGUMENTS/context.md (if exists)
    • docs/features/$ARGUMENTS/tasks.md (if exists)

If feature not found:

  • List available features in docs/features/
  • Ask user to specify which feature to document

3. Analyze for Reusable Patterns

Review the feature for knowledge worth sharing. Look for:

DOCUMENT these:

  • Systems or frameworks that future features may need to use
  • Gotchas discovered during development that would help future agents
  • Concise example code for using systems developed by this feature
  • Updates to existing patterns/systems that are already documented
  • New component patterns, API patterns, state management approaches
  • Integration patterns with existing systems

DO NOT document:

  • Elements specific and unique to this feature only
  • Patterns that won't be needed by other features
  • Implementation details that don't generalize
  • Obvious patterns already well-documented

4. Check Existing Skills

List the directories in the harness skills directory to see what's already documented.

Skip a skill whose SKILL.md carries a ## Harness block. That block marks a Beast Mode command skill, not project knowledge. Never read, scan, or trim it.

Read relevant SKILL.md files to understand existing content.

Determine if you need to:

  • Create new skill directory with SKILL.md + resource files
  • Update existing skill's SKILL.md or resource files
  • Remove outdated patterns from existing files

5. Create/Update Skill Files

Create directory structure if needed:

mkdir -p <harness skills directory>/<skill-name>

For NEW Skills:

Create <skill-name>/SKILL.md in the harness skills directory (MUST be uppercase).

The frontmatter description is load-bearing: the harness reads it to decide when to surface the skill, so write it as a clear, specific trigger — what the skill covers and when to reach for it (e.g. "React 19 + TypeScript component, hook, and state-management patterns for this app"). There is no separate keyword/rules fi

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

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

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

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

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

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

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

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

FAQ

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

Document reusable skills and patterns from a completed feature. Usage: /document-feature [feature-name]

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

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

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

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

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

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