llm-friendly-context
БесплатноБез исполняемых скриптовНе проверенClarifies inputs, outputs, success criteria, decisions, and unresolved conditions so downstream agents can execute without guessing. Use when writing or…
от shinpr★ 239 звёзд на GitHubОб этом скилле
LLM-Friendly Context
The goal is stable downstream execution: the next agent should know what to read, what to do, what counts as success, and which unresolved decisions can change the result.
This skill governs the clarity of LLM-facing output — prompts, handoffs, and generated artifacts. The caller supplies the artifact type and any artifact-specific template or input contract; include only the information its consumer uses to decide, act, or verify. Use a declared contract's field names and value meanings when the consumer branches on them.
Core Rules
Use positive, executable instructions
- State what the next agent should do
- Convert quality policies into positive criteria
- Example: "Preserve existing public API behavior across the documented compatibility cases."
- Keep a prohibition only when it protects an irreversible boundary or a shipped contract; then name the protected condition and the allowed action alongside it
Make vague instructions concrete
- Clarify wording when plausible interpretations would change the outcome, scope, authority, or proof. Replace such terms with observable conditions, paths, commands, schemas, or decision rules; for reversible choices, supply the purpose, evidence, and selection criteria instead of a fixed selection
- Terms that often need clarification when they leave a decision to the next agent:
appropriate,proper,related,existing behavior,optional,as needed,if needed,per convention, unresolved alternatives,TBD,placeholder
Specify output shape
- Define the sections, fields, table columns, JSON keys, or checklist items the consumer uses
- For handoffs, include produced artifact paths and status fields only when they control the next transition
Provide the smallest sufficient context
- Sufficient means sufficient for the assigned action, not complete background: every included item is consumed by that action or by the result it must produce
- Include the purpose, source artifacts, hard constraints, accepted decisions, and unresolved conditions that action consumes
- Prefer concrete file paths and section hints over broad module names
- Follow references while they can change an in-scope decision, action, or verification result; stop when the next link only confirms what is already decided
Decompose complex work into verifiable steps
- Expose real dependencies as ordered steps; let independent reversible work follow the route suited to the task
- Each step needs a checkpoint: what evidence proves it is complete
Permit uncertainty explicitly
- Resolve missing operational detail from governing artifacts and representative repository evidence before treating it as unresolved
- Record remaining uncertainty with its effect on the outcome or proof. Make reversible repository-local choices inside the value boundary and preserve the evidence used
- Route an unknown that blocks the next step as an exact evidence prerequisite. Ask the user only when a value-boundary choice belongs to the user, or when an irreversible external action requires authorization. When only proof is unavailable, complete unaffected work and report exactly what could not be verified and why
Keep constraints proportionate
- Add only constraints that reduce ambiguity or preserve a real requirement
- Keep simple downstream tasks lightweight when the target action, context, and success criteria are already clear
- Treat a stated size expectation —
minimal,a few lines, an explicit line or file estimate — as one budget over the whole completed diff, not per file or per step. When the work cannot fit it, report the overrun and the reason instead of silently exceeding it
Rewrite Patterns
Use these rewrites before treating a prompt, handoff, or artifact as complete.
| Ambiguous form | Rewrite as |
|---|---|
optional used as an unresolved choice |
Required, omitted, or required only under a named condition |
| Alternatives whose choice changes a protected outcome, contract, or authority | The governing constraint, the selected option, or the unresolved owner decision; for reversible choices, the purpose, evidence, and selection criteria |
as needed / if needed |
The triggering condition and required action |
per convention |
The file, function, test, or documented convention to follow |
related files |
Specific paths, globs, or search hints |
existing behavior |
The observable behavior, source file, test, API response, or UI state to preserve |
placeholder |
Exact temporary value/behavior, allowed dependencies, and verification expectation |
TBD used as a placeholder for required information |
The decision it can change and the exact evidence prerequisite; omit it when the item has no downstream effect |
appropriate / proper |
A measurable criterion or checklist |
Handoff Checklist
Before sending a prompt or art
Установить llm-friendly-context в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл llm-friendly-context?
Clarifies inputs, outputs, success criteria, decisions, and unresolved conditions so downstream agents can execute without guessing. Use when writing or revising LLM-facing prompts, handoffs, planning artifacts, reviews, reports, or generated instructions.
Как установить скилл llm-friendly-context?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл llm-friendly-context запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop 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…
от Anthropicinternal-comms
A 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…
от Anthropicskill-development
This 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…
от Anthropic