prompt-update
Classify new content (rule, pattern, workflow step) and write it to the correct documentation layer. Use when user wants to add prompt documentation or…
от rakovi4★ 54 звезды на GitHub
Установить prompt-update в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
/prompt-update - Classify & Place Documentation Content
Classify a piece of new content and write it to the correct file(s) in the project's documentation layers.
Usage
/prompt-update "always use eq() not any() in Mockito"
/prompt-update "test-review should catch Fake storage assertions"
/prompt-update # Interactive — asks what to add
Workflow
- Parse input. If no content provided, ask the user what to add.
- Understand the content. What does it mean? Is it a principle, a detection pattern, a code example, a workflow step?
- Classify targets using
.claude/templates/documentation/prompt-update-classification.md. Check every category: principle → rules/guidelines; technology-specific detail → tech binding; detection/workflow → agent; example → template; layer-specific context → skill or template. Update every applicable owner; one file is enough when no other layer needs a change. Briefly report the chosen targets and why. - Check for duplication — grep key terms across
.claude/rules/,.claude/tech/,.claude/agents/,.claude/skills/,.claude/templates/. If a duplicate exists, report it and ask: skip, merge, or replace? - Make the smallest sufficient edit. Prefer revising an existing sentence or bullet over adding a section. Add examples, exceptions, or checklists only when needed to resolve ambiguity. Match the file's existing style.
- Tech-agnostic gate — for every write targeting a universal file (
.claude/rules/,.claude/templates/), scan the content you just wrote for tech leaks. See "Tech-Agnostic Verification" in the classification template. If a leak is found, rephrase in universal terms first — only relocate to tech binding when the content is inherently tech-specific. - Product-agnostic gate — after writing, re-read every edit you made (all layers, not just universal) and scrub product-specific information: product/company name, business-domain terms, external vendor/integration names, concrete domain entity names, and story/feature names or numbers. Replace each with the generic concept it represents. See "Product-Agnostic Verification" in the classification template. The prompt library must be reusable across products; product instances belong only in
ProductSpecification/. - Review and report. Remove repetition and text that adds no distinct instruction, then briefly report what changed and where.
- Verify with
/skill-creator— see Impact Assessment in classification template.
Constraints
- Never create new rules files — content fits existing files
- Never place fenced code blocks in agents or skills — extract to templates
- Never edit skill files directly — delegate to
/skill-creator - Always check for duplication before writing
- Preserve existing formatting and section structure of target files
- When the principle already exists in a higher layer, don't re-state it — add only the enforcement mechanism
Templates
.claude/templates/documentation/prompt-update-classification.md— classification guide, decision process, examples, impact assessment
Next Steps
/prompt-refactor {target-file}— verify the file is still structurally clean./skill-creator— verify affected skills respect the new content (when Impact Assessment says to run it).
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл prompt-update?
Classify new content (rule, pattern, workflow step) and write it to the correct documentation layer. Use when user wants to add prompt documentation or mentions /prompt-update command.
Как установить скилл prompt-update?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл prompt-update запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…