llm-friendly-context
Skill39 starsChanged 10 days agoMITView on GitHub
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.
2 other projects use a version of this, 2 of them edited.
Adopted by
Most recently taken up by
- shinpr/ai-coding-project-boilerplateedited, first seen Nov 8, 2026
- shinpr/claude-code-workflowsedited, first seen Mar 23, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 2
- shinpr/claude-code-workflows★ 71231% same
- shinpr/ai-coding-project-boilerplate★ 23624% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository30 other files it gives its agents.
- ai-development-guideSkill
- coding-rulesSkill
- documentation-criteriaSkill
- external-resource-contextSkill
- implementation-approachSkill
- integration-e2e-testingSkill
- recipe-add-integration-testsSkill
- recipe-buildSkill
- recipe-designSkill
- recipe-diagnoseSkill
- recipe-front-adjustSkill
- recipe-front-buildSkill
- recipe-front-designSkill
- recipe-front-planSkill
- recipe-front-reviewSkill
- recipe-fullstack-buildSkill
- recipe-fullstack-implementSkill
- recipe-implementSkill
- recipe-outcome-watchSkill
- recipe-planSkill
- recipe-prepare-implementationSkill
- recipe-quality-profileSkill
- recipe-reverse-engineerSkill
- recipe-reviewSkill
- recipe-update-docSkill
- requirement-convergenceSkill
- reviewee-judgmentSkill
- subagent-delegationSkill
- subagents-orchestration-guideSkill
- testingSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 8 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Use this skill when writing or revising any content another agent will execute or judge: prompts, handoffs, planning artifacts, review …
- Distinctive: line 19
Keep a prohibition only when it protects an irreversible boundary or shipped contract.
- Distinctive: line 24
Leave local, reversible choices to the next agent when the stated outcome, constraints, and repository evidence are sufficient to choose.
- Distinctive: line 45
Add constraints that reduce ambiguity or preserve a real requirement.
- Distinctive: line 46
Keep simple downstream tasks lightweight when target action, context, and success criteria are already clear.
- Distinctive: line 50
Use these rewrites when an ambiguity materially changes the next action or its result.
- Distinctive: line 66
Before sending a prompt or artifact to another agent, verify:
- Distinctive: line 80
Before writing or finalizing a generated document:
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
LLM-Friendly Context
Purpose
Use this skill when writing or revising any content another agent will execute or judge: prompts, handoffs, planning artifacts, review findings, completion reports, generated instructions, test skeleton comments, work plans, and task files.
The goal is stable downstream execution. The next agent should know the target action, required inputs, accepted decisions, observable success criteria, and the condition that requires escalation.
Core Rules
- Use positive, executable instructions
- State the action the next agent should perform.
- Convert quality policies into observable acceptance criteria.
- Keep a prohibition only when it protects an irreversible boundary or shipped contract. Name the protected condition and the allowed action.
- Example:
Preserve existing public API behavior across the documented compatibility cases.
- Resolve outcome-relevant ambiguity
- Clarify an instruction when plausible interpretations would change correctness, requested scope, downstream usability, or verification. Use the least-restrictive sufficient condition, source, or example.
- Leave local, reversible choices to the next agent when the stated outcome, constraints, and repository evidence are sufficient to choose. A subjective word alone does not require another rule or decision.
- Specify output shape
- Define only the sections or fields the next consumer uses.
- For agent handoffs, name produced artifact paths and the result needed by the next action. Require exact serialization only when a program parses it.
- Provide the smallest sufficient context
- Self-contained means sufficient for the assigned action, not complete background.
- Include only context directly consumed by the target action or required result.
- Pass a governing source by its path or an unchanged excerpt. A governing artifact already supplies its own purpose, criteria, and decisions; a restatement adds an unreviewed second version of them.
- Extra context can anchor judgment, contaminate independent work, and create work.
- Decompose complex work into verifiable steps
- Expose dependency order when a later action relies on an earlier result.
- Reuse one execution plan to retain all required steps and final verification during multi-step work. Simple, single-action work proceeds directly.
- Permit uncertainty explicitly
- State missing, contradictory, or unverifiable source material and its effect on the current action.
- Return unresolved decisions to the orchestrator with the evidence needed to resolve them; the orchestrator decides whether user input is necessary.
- Keep constraints proportionate
- Add constraints that reduce ambiguity or preserve a real requirement.
- Keep simple downstream tasks lightweight when target action, context, and success criteria are already clear.
Rewrite Patterns
Use these rewrites when an ambiguity materially changes the next action or its result. Retain valid local choices within the stated boundaries.
| Ambiguous form | Rewrite as |
optional used as an unresolved choice | Required, omitted, or required only under a named condition |
| Alternatives with different scope or contract effects | The accepted decision, or the evidence boundary within which the agent may choose |
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 or behavior, allowed dependencies, and verification expectation |
TBD used for required information | A blocking unresolved item with owner, required input, or escalation condition |
appropriate / proper with materially different interpretations | The observable success criterion that distinguishes acceptable results |
Handoff Checklist
Before sending a prompt or artifact to another agent, verify:
- The target action is explicit.
- Every included context item is directly consumed by the target action or required result.
- User constraints are distinguished from revisable technical choices; include the necessity of selected means where the next decision depends on it.
- The next consumer can identify the artifact or result it needs.
- Success criteria are observable.
- Outcome-relevant ambiguities are resolved or identified with their effect; valid local choices remain available.
- Every retained prohibition names the protected condition and allowed alternative.
- Dependencies needed by the next action are visible.
- The next agent can complete its scope or return the unresolved decision with evidence.
Generated Artifact Checklist
Before writing or finalizing a generated document:
- Each requirement, claim, task, test skeleton, or review finding has enough source context to trace why it exists.
- Every executable instruction names the target, action, and expected result.
- Verification steps say what to run or observe and what result proves success.
- Every retained prohibition names the protected condition and allowed alternative.
- Derived artifacts preserve user-required outcomes and explicit constraints. When superseding a technical choice, identify and reconcile affected sources rather than copying an obsolete obligation.
- Blocking missing information records the missing input and escalation condition.
References
- Task File Contract — execution-carrier fields and filename routing for task decomposition, build recipes, and Small flows
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

