prompt-writing
Creates effective prompts for AI coding agents and subagent delegation. Use PROACTIVELY when writing prompts for Task tool delegation, creating agent instructions, or designing multi-step workflows. MUST BE USED when delegating complex tasks to subagents or writing system prompts.
npx skills add majiayu000/claude-skill-registry --skill prompt-writing-danik911-thesis-project-2 --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Prompt Writing Skill ## Overview **Core Principle:** Context completeness over brevity. Agents cannot infer what you don't provide. **Target Users:** - Claude Code delegating to subagents via Task tool - UI agents that need to generate prompts - Engineers writing system prompts or agent instructions --- ## The CLEAR Framework Use this mnemonic for every prompt you write: | Letter | Component | Purpose | Key Question | |--------|-----------|---------|--------------| | **C** | Context | Background information | What does the agent need to know? | | **L** | Limitations | Constraints, prohibitions | What should NOT be done? | | **E** | Expectations | Output format, success criteria | What exactly should be returned? | | **A** | Actions | Step-by-step instructions | What steps to follow? | | **R** | Resources | Files, tools, references | What materials are available? | ### C - Context Complete background: project state, environment, history. Include file paths, versions, prior decisions. ### L - Limitations Explicit boundaries: DO NOT modify X, use only Y, forbidden patterns, compliance requirements. ### E - Expectations Exact output format: markdown structure, JSON schema, where to s
- Overview
- The CLEAR Framework
- C - Context
- L - Limitations
- E - Expectations
- A - Actions
- R - Resources
- Context Patterns
- Critical Insight
- Three Strategies
- State Transfer Pattern
- Output Format Quick Reference
- Delivery Patterns
- Quality Checklist
What does the prompt-writing skill do?
Creates effective prompts for AI coding agents and subagent delegation. Use PROACTIVELY when writing prompts for Task tool delegation, creating agent instructions, or designing multi-step workflows. MUST BE USED when delegating complex tasks to subagents or writing system prompts.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill prompt-writing-danik911-thesis-project-2 --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.
