Exclude Prompt Data
БесплатноБез исполняемых скриптовНе проверенEnsures AI output contains only the result, not the prompt. Use when writing code, documentation, or content where prompt instructions, rationale, or…
от jhauga922 установки в других каталогахОб этом скилле
Exclude Prompt Data
When a prompt contains instructional or contextual data used to guide a change, that data must not appear in the file being updated. The output must reflect only the result of the instruction — not the instruction itself, the reasoning behind it, or any acknowledgment that it was applied.
When to Use This Skill
- Writing code, documentation, or any file content from a prompt
- Generating output that should appear production-ready and self-contained
- Any situation where prompt leakage would compromise output quality
Core Rule
Never echo prompt content into the file being changed.
Only write the outcome. Strip any meta-commentary, rationale, or framing that originated in the prompt.
What Counts as Prompt Data
Prompt data is any content the user provides as instruction or context rather than as intended file content:
- Descriptions of what to add or change (
"add a --verbose flag that...") - Inline rationale or motivation (
"because the old behavior caused...") - References to the prompt itself (
"as requested","per the prompt","the new feature has been added as") - Meta-commentary about the update
(
"This section has been updated to reflect...") - Code comments that narrate a change rather than describe the code
(
"// Added email validation as requested","// Now validates the input per the new requirement") - Structural scaffold labels used as section markers or template slots
(the word
thisin## this Titleis scaffolding, not heading text)
What Belongs in the Output
The output file should contain only:
- The feature, fix, or content the prompt requested — written as if it always belonged there
- Documentation or code that a reader would find useful independent of how the change was requested
- Generic, cliche placeholder data in examples (e.g.,
Jane Doe,[email protected],Acme Corp,example.com) — never real names, emails, domains, or organization identifiers pulled from the prompt or local configuration - Language formatting applied to terms in the prompt carries through to the output — if the prompt wraps a term in backticks or uses a specific syntax convention, follow that same convention in the output
Output Quality
The prompt's writing quality does not set the bar for the output. Regardless of how a prompt is phrased, the result must be polished and production-ready:
- Correct grammar, capitalization, and punctuation throughout
- No draft-quality prose or casually written sections
- Informal or sloppy phrasing in the prompt must not carry into the output
Use Cases
Adding a Feature Flag to Documentation
Prompt
Update file.ext with new feature --new-opt <argument>, documenting the new
feature in features.md
Acceptable result — features.md
### --new-opt
Enables extended output. Requires a value argument. Example:
```bash
file --new-opt foo
```
Unacceptable result — features.md
### --new-opt
The new feature `--new-opt` requiring an argument has now been added as
requested. The feature is documented as such.
Enables extended output. Requires a value argument. Example:
```bash
file --new-opt foo
```
The unacceptable version echoes the prompt's framing
("has now been added as requested", "The feature is documented as such").
That language belongs in the prompt, not the file.
Updating a Code File
Prompt
Add input validation to the createUser function — email must be a valid format.
Acceptable result
function createUser(name, email) {
// Rejects addresses missing a local part, @ sign, or domain
if (!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(email)) {
throw new Error('Invalid email address.');
}
// ...
}
Unacceptable result
// Added email validation as requested in the prompt
function createUser(name, email) {
// Per the instruction, we now validate that email must be a valid format
if (!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(email)) {
throw new Error('Invalid email address.');
}
// ...
}
The unacceptable version leaks prompt phrasing into code comments. Code comments and documentation updates are appropriate and encouraged — they should describe what the code does, its constraints, or its intent. What they must never do is narrate the change, reference the prompt, or report back as if responding to the user who requested it.
Exceptions
A small number of cases legitimately require prompt content to appear in the file. Treat these as exceptions, not loopholes:
- Verbatim transcription requested. The user explicitly asks for prompt
text to be inserted as-is (e.g., "paste this block into the README under
## Notice"). Insert exactly what was requested and nothing more. - The file is a prompt or instruction artifact. When editing prompt files, skill definitions, or instruction files, instructional content
Установить Exclude Prompt Data в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Exclude Prompt Data?
Ensures AI output contains only the result, not the prompt. Use when writing code, documentation, or content where prompt instructions, rationale, or meta-commentary must not leak into the output. Applies to all file types to prevent phrases like "as requested", "per the prompt", or change announcements from appearing in generated content.
Как установить скилл Exclude Prompt Data?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Exclude Prompt Data запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic