Agent skill · Frontend

claude-prompt-guide

Anthropic official XML tag patterns and prompt engineering best practices. Document behavior control tags, system prompt internals, and the 10-Component Framework for effective Claude prompts.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill claude-prompt-guide --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/claude-prompt-guide/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

# SKILL: Claude Prompt Guide > **Purpose**: Document Anthropic XML tag patterns and prompt engineering best practices > **Target**: All agents creating or modifying system prompts, commands, and skills --- ## Quick Start ### When to Use This Skill - Creating new system prompts or agent instructions - Modifying existing command or skill behavior - Debugging prompt-related issues ### Quick Reference ```xml <do_not_act_before_instructions>Defer action until conditions met</do_not_act_before_instructions> <default_to_action>Prefer tool use over chat responses</default_to_action> <use_parallel_tool_calls>Execute independent tools simultaneously</use_parallel_tool_calls> <investigate_before_answering>Research before responding</investigate_before_answering> <avoid_excessive_markdown_and_bullet_points>Prefer prose over lists</avoid_excessive_markdown_and_bullet_points> ``` ## What This Skill Covers ### In Scope - Anthropic official behavior control XML patterns - System prompt internal tag structure - 10-Component Framework for effective prompts - Best practices (DO/DON'T) ### Out of Scope - Model-specific tuning → @.claude/skills/coding-standards/SKILL.md - Agent role definitions → @.cla

What's inside
Steps it walks through
  1. Quick Start
  2. When to Use This Skill
  3. Quick Reference
  4. What This Skill Covers
  5. In Scope
  6. Out of Scope
  7. Core Concepts
  8. CRITICAL: Tag Names Are Customizable
  9. Official Behavior Control Tags
  10. <donotactbeforeinstructions> - Control When to Defer Action
  11. <defaulttoaction> - Encourage Proactive Tool Use
  12. <useparalleltoolcalls> - Optimize for Parallel Execution
  13. <investigatebeforeanswering> - Research Before Responding
  14. <avoidexcessivemarkdownandbulletpoints> - Control Output Format
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the claude-prompt-guide skill do?

Anthropic official XML tag patterns and prompt engineering best practices. Document behavior control tags, system prompt internals, and the 10-Component Framework for effective Claude prompts.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill claude-prompt-guide --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