llm-friendly-context

Featured

Clarifies inputs, outputs, success criteria, decisions, and unresolved conditions so downstream consumers can execute without guessing. Use when writing or revising LLM-facing prompts, handoffs, planning artifacts, reviews, reports, or generated instructions.

AI & Automation 670 stars 102 forks Updated 2 weeks ago MIT

Install

View on GitHub

Quality Score: 91/100

Stars 20%
94
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# LLM-Friendly Context The goal is stable downstream execution: the next consumer should know what to read, what to do, what counts as success, and which unresolved decisions can change the result. ## Core Rules 1. **Use positive, executable instructions** - State what the next consumer should do. - Convert quality policies into positive 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." 2. **Make vague instructions concrete** - Replace subjective terms with observable conditions, paths, commands, schemas, examples, or decision rules. - Terms that often need clarification when they leave a decision to the next consumer: `appropriate`, `proper`, `related`, `existing behavior`, `optional`, `as needed`, `if needed`, `per convention`, unresolved alternatives, `TBD`, `placeholder`. 3. **Specify output shape** - Use the sections, fields, table columns, JSON keys, or checklist items the consumer uses. - For handoffs, include only produced artifact paths and status fields that control the next transition. 4. **Provide necessary context** - Include the purpose, source artifacts, hard constraints, accepted decisions, and unresolved conditions. - Prefer concrete file paths and section hints over broad module names. - Follow references while they can change ...

Details

Author
shinpr
Repository
shinpr/claude-code-workflows
Created
11 months ago
Last Updated
2 weeks ago
Language
JavaScript
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category