Agent skill

LLM Friendly Context

by shinpr in shinpr/ai-coding-project-boilerplate

Clarifies inputs, outputs, success criteria, decisions, and unresolved conditions so downstream agents can execute without guessing.

MITAuto-check passedAgent Workflows

Install LLM Friendly Context

skills CLI
$ npx skills add shinpr/ai-coding-project-boilerplate --skill llm-friendly-context -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install shinpr/ai-coding-project-boilerplate llm-friendly-context --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/shinpr/ai-coding-project-boilerplate.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills-en/llm-friendly-context .claude/skills/llm-friendly-context && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
llm-friendly-context
GitHub stars
232
Token cost
~1.7k tokens
SKILL.md length
871 words
Files
1
Skills in repo
42
Repo updated
First seen
Licence
MIT

At a glance

Clarifies inputs, outputs, success criteria, decisions, and unresolved conditions so downstream agents can execute without guessing.

  • Works in 7 steps: Use positive, executable instructions → Make vague instructions concrete → Specify output shape → …
  • Revising LLM-facing prompts
  • SKILL.md covers Core Rules, Rewrite Patterns, Handoff Checklist and Generated Artifact Checklist
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

LLM Friendly Context is an agent skill from shinpr/ai-coding-project-boilerplate. 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.

Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows. The repository describes itself as: Agentic coding TypeScript boilerplate for Claude Code: sub-agent workflows with built-in quality checks and context engineering. The licence is MIT.

When your agent uses it

  • Revising LLM-facing prompts
  • Planning artifacts
  • Generated instructions

Example prompts

  • “Use the llm-friendly-context skill to clarify inputs, outputs, success criteria, decisions, and unresolved conditions so downstream agents can…”
  • “/llm-friendly-context”

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Use positive, executable instructions
  2. Make vague instructions concrete
  3. Specify output shape
  4. Provide the smallest sufficient context
  5. Decompose complex work into verifiable steps
  6. Permit uncertainty explicitly
  7. Keep constraints proportionate

What it can do on your machine

Read from SKILL.md and the folder at commit 56913a2. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

LLM Friendly Context loads about 1.7k tokens when it runs. Until then it costs about 69 tokens; SKILL.md has 871 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~69
When it runs · the whole SKILL.md, loaded when a task matches
~1.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from shinpr/ai-coding-project-boilerplate at commit 56913a2, republished under its MIT licence (© shinpr). 871 words, ~1,657 tokens.

Download SKILL.mdSave it as .claude/skills/llm-friendly-context/SKILL.md (or your agent's skills folder).
name
llm-friendly-context
description
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

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

  1. 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
  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 agent: appropriate, proper, related, existing behavior, optional, as needed, if needed, per convention, unresolved alternatives, TBD, placeholder
  3. 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
  4. 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
  5. Decompose complex work into verifiable steps

    • Split work with 3+ objectives or sequential dependencies into ordered steps
    • Each step needs a checkpoint: what evidence proves it is complete
  6. 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 confirmed boundary and preserve the evidence used
    • Route an unknown that blocks the next step as an exact evidence prerequisite. Ask the user only when confirmed outcome, desired-future requirements, and non-goals cannot all remain true without a user choice, 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
  7. 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
Show full SKILL.md (360 more words)Show less

Rewrite Patterns

Use these rewrites before treating a prompt, handoff, or artifact as complete.

Ambiguous formRewrite as
optional used as an unresolved choiceRequired, omitted, or required only under a named condition
Multiple alternatives that the next agent must choose betweenThe selected option, or a deterministic decision rule
as needed / if neededThe triggering condition and required action
per conventionThe file, function, test, or documented convention to follow
related filesSpecific paths, globs, or search hints
existing behaviorThe observable behavior, source file, test, API response, or UI state to preserve
placeholderExact temporary value/behavior, allowed dependencies, and verification expectation
TBD used as a placeholder for required informationThe decision it can change and the exact evidence prerequisite; omit it when the item has no downstream effect
appropriate / properA measurable criterion or checklist

Handoff Checklist

Before sending a prompt or artifact to another agent, verify:

  • The target action is explicit
  • Required input paths, source artifacts, and decision-relevant facts are named
  • Every included context item is consumed by the target action or its required result
  • Accepted decisions and constraints are stated once, without alternate wording
  • Output format or expected status fields are specified
  • Success criteria are observable
  • Ambiguous expressions have been rewritten or marked as unresolved
  • Any stated size expectation is expressed as one budget over the completed diff, with the overrun-reporting condition named
  • The next agent can complete its scope from the supplied purpose, sources, criteria, and evidence, or return one exact evidence prerequisite or authoritative workflow stop

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
  • If an artifact is derived from another artifact, copied decisions stay consistent in wording and meaning
  • Any stated size expectation is expressed as one budget over the completed artifact, with the overrun-reporting condition named
  • Missing information records the decision or proof it affects; only a confirmed value-boundary choice or irreversible external action authorization is a blocking escalation

© shinpr, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills-en/llm-friendly-context of shinpr/ai-coding-project-boilerplate.

Open the folder on GitHubat commit 56913a2

Compare with similar skills

LLM Friendly Context next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

LLM Friendly Context compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
LLM Friendly Context this skillshinpr/ai-coding-project-boilerplate232—~1.7kAutomated safety check: PassMIT
MCP Server Builderanthropics/skills180k64 repos~2.3kAutomated safety check: PassApache-2.0
Hook Development for Claude Code Pluginsanthropics/claude-plugins-official38k11 repos~4.1kAutomated safety check: NotesApache-2.0
Using Superpowersfarm-fe/farm5.6k35 repos~1.4kAutomated safety check: PassMIT
Executing Plans Inlineobra/superpowers296k2 repos~5.1kAutomated safety check: PassMIT
Claude Code Agent Developmentanthropics/claude-plugins-official38k8 repos~2.8kAutomated safety check: PassApache-2.0

Similar skills

  • MCP Server Builder

    anthropics/skills

    Official

    Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.

    180k GitHub starsUsed in 64 repos~2.3k tokens
    Agent WorkflowsAuto-check passed
  • Hook Development for Claude Code Plugins

    anthropics/claude-plugins-official

    Official

    Explains how to write Claude Code plugin hooks, both prompt-based checks and bash commands, for events such as PreToolUse, Stop and SessionStart.

    38k GitHub starsUsed in 11 repos~4.1k tokens
    Agent WorkflowsAuto-check: notes
  • Using Superpowers

    farm-fe/farm

    A skill your agent uses when starting any conversation - establishes how to find and use skills, requiring Skill tool invocation before ANY response including clarifying questions

    5.6k GitHub starsUsed in 35 repos~1.4k tokens
    Agent WorkflowsAuto-check passed
  • Executing Plans Inline

    obra/superpowers

    Has the agent carry out an implementation plan itself, task by task in the current session, keeping a ledger, proving each step with a test and ending with one whole-branch review.

    296k GitHub starsUsed in 2 repos~5.1k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Agent Development

    anthropics/claude-plugins-official

    Official

    Explains how to write agents for Claude Code plugins: the markdown file with YAML frontmatter, trigger descriptions, model and color settings, and system prompt design.

    38k GitHub starsUsed in 8 repos~2.8k tokens
    Agent WorkflowsAuto-check passed
  • Skill Creator

    Azure/azqr

    Official

    Create new skills, modify and improve existing skills, and measure skill performance.

    795 GitHub starsUsed in 89 repos~8.2k tokens
    Agent WorkflowsAuto-check passed

More from shinpr/ai-coding-project-boilerplate

All 42 skills in this repo
  • Integration E2E Testing

    shinpr/ai-coding-project-boilerplate

    Selects and designs the smallest integration/E2E test set that proves accepted behavior at an observable boundary.

    232 GitHub stars~2.8k tokensUpdated 4 days ago
    Auto-check passed
  • Skill Optimization

    shinpr/ai-coding-project-boilerplate

    Evaluates and optimizes skill file quality using 9 content patterns and 10 editing principles.

    232 GitHub stars~3.5k tokensUpdated 4 days ago
    Auto-check passed
  • Frontend Technical Spec

    shinpr/ai-coding-project-boilerplate

    Defines React environment, component architecture, state/data flow, build verification, and frontend non-functional criteria from repository evidence.

    232 GitHub stars~1.9k tokensUpdated 4 days ago
    Auto-check: notes
  • Frontend Typescript Rules

    shinpr/ai-coding-project-boilerplate

    Applies React/TypeScript type safety, component design, and state management rules.

    232 GitHub stars~1.7k tokensUpdated 4 days ago
    Auto-check passed
  • Implementation Approach

    shinpr/ai-coding-project-boilerplate

    Selects implementation strategy (vertical slice, horizontal, or hybrid) with risk assessment.

    232 GitHub stars~3.2k tokensUpdated 4 days ago
    Auto-check passed
  • Subagents Orchestration Guide

    shinpr/ai-coding-project-boilerplate

    Coordinates subagents through scale-based planning, approval, implementation, verification, and escalation flows.

    232 GitHub stars~8k tokensUpdated 4 days ago
    Auto-check passed

Categories

Questions about LLM Friendly Context

What does LLM Friendly Context do?

Clarifies inputs, outputs, success criteria, decisions, and unresolved conditions so downstream agents can execute without guessing. LLM Friendly Context is an agent skill from shinpr/ai-coding-project-boilerplate. Clarifies inputs, outputs, success criteria, decisions, and unresolved conditions so downstream agents can execute without guessing.

When should I use LLM Friendly Context?

LLM Friendly Context fits situations like: revising LLM-facing prompts; planning artifacts; generated instructions.

How do I install LLM Friendly Context in Claude Code?

Run `npx skills add shinpr/ai-coding-project-boilerplate --skill llm-friendly-context -a claude-code`. Or copy the skill folder (.claude/skills-en/llm-friendly-context in shinpr/ai-coding-project-boilerplate) into .claude/skills/llm-friendly-context in your project. Claude Code loads it when a task matches its description.

How do I install LLM Friendly Context in Codex?

Run `npx skills add shinpr/ai-coding-project-boilerplate --skill llm-friendly-context -a codex`. Or copy the skill folder (.claude/skills-en/llm-friendly-context in shinpr/ai-coding-project-boilerplate) into .agents/skills/llm-friendly-context in your project. Codex loads it when a task matches its description.

Can I use LLM Friendly Context in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add shinpr/ai-coding-project-boilerplate --skill llm-friendly-context -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/llm-friendly-context, .gemini/skills/llm-friendly-context, .github/skills/llm-friendly-context and .opencode/skills/llm-friendly-context in your project.

What does LLM Friendly Context need to run?

SKILL.md names no scripts, command-line tools or credentials: LLM Friendly Context is instructions for the agent only.

Does LLM Friendly Context access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is LLM Friendly Context safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does LLM Friendly Context use?

LLM Friendly Context is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does LLM Friendly Context use?

About 1.7k tokens (SKILL.md is roughly 6.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to LLM Friendly Context?

Skills that share tags, products or a category with LLM Friendly Context: MCP Server Builder (anthropics/skills, 180k stars), Hook Development for Claude Code Plugins (anthropics/claude-plugins-official, 38k stars), Using Superpowers (farm-fe/farm, 5.6k stars) and Executing Plans Inline (obra/superpowers, 296k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains LLM Friendly Context?

shinpr (a GitHub user) maintains it in shinpr/ai-coding-project-boilerplate, which has 232 GitHub stars. The repository holds 42 skills in this directory. The repository was last updated on October 4, 2026.

Source: shinpr/ai-coding-project-boilerplate on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.