document-feature
БесплатноБез исполняемых скриптовНе проверенDocument reusable skills and patterns from a completed feature. Usage: /document-feature [feature-name]
от ArmaOverthrow★ 95 звёзд на GitHubОб этом скилле
/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
$ARGUMENTSas the feature name - Proceed to step 2 to load feature docs
If NO feature name is provided:
- Assume user has already run
/continue-featurein 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 leastimplementation.md - Read these files to understand what was built:
docs/features/$ARGUMENTS/implementation.mddocs/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.mdor 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 file; the description is what drives
native skill loading.
---
name: <skill-name>
description: Specific, trigger-style summary of what this skill covers and when to use it
version: 1.0.0
---
# <Skill Name>
Quick reference for [topic]. For detailed patterns, see resource files below.
---
## When to Use This Skill
Use this skill when:
- [
Установить 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), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic