Agent skill · Documentation

authoring-prompts

Invoke this skill first when authoring any AI agent instructions. Foundational principles for writing LLM instructions (skills, CLAUDE.md, rules, commands). Covers token economics, imperative language, formatting for LLM parsing, emphasis modifiers, terminology consistency, and common anti-patterns.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill authoring-prompts --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 7 KB
Bundled scripts: none
Path: skills/ai-llm/authoring-prompts/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Instruction Authoring Foundations Core principles for writing instructions that LLMs execute efficiently and deterministically. Apply these principles across all instruction types: skills, CLAUDE.md files, rules, and slash commands. ## Token Economics The context window is a shared resource. Challenge each piece of information: "Does Claude already know this?" Only add context Claude lacks. Assume Claude is already very smart. Remove decorative language. No "please", "remember", "make sure", "it's important". Use examples over explanations. One concrete before/after example teaches more than three paragraphs of description. Prefer tables for structured data. Compress related information into scannable format. ## Determinism and Specificity ### Degrees of Freedom Match specificity to task requirements. **High freedom** (text instructions): Use when multiple approaches are valid. Medium freedom (pseudocode, parameterized scripts): Use when a preferred pattern exists. **Low freedom** (exact scripts, no parameters): Use when operations are fragile or consistency is critical. ### Zero Ambiguity Every instruction must have exactly one interpretation. Use explicit constraints, not sugge

What's inside
Steps it walks through
  1. Token Economics
  2. Determinism and Specificity
  3. Degrees of Freedom
  4. Zero Ambiguity
  5. Deterministic Commands
  6. Imperative Language Patterns
  7. Specificity in Constraints
  8. Formatting for LLM Parsing
  9. Tables vs Lists vs Prose
  10. Emphasis and Terminology
  11. Emphasis Modifiers
  12. Terminology Consistency
  13. Structural Optimization
  14. Common Anti-Patterns
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the authoring-prompts skill do?

Invoke this skill first when authoring any AI agent instructions. Foundational principles for writing LLM instructions (skills, CLAUDE.md, rules, commands). Covers token economics, imperative language, formatting for LLM parsing, emphasis modifiers, terminology consistency, and common anti-patterns.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill authoring-prompts --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going