One-click install
npx skills add https://github.com/anilcancakir/claude-code --skill prompt-writer-anilcancakir
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prompt-writer
Source: https://github.com/anilcancakir/claude-code/tree/main/plugins/ac/skills/prompt-writer
Command: npx skills add https://github.com/anilcancakir/claude-code --skill prompt-writer-anilcancakir

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Producing reliable prompts that other Claude agents can execute without guesswork, drift, or under-specification—especially when authoring or auditing skill/command/agent instructions.

Core Features & Use Cases

  • Grounded prompt authoring: Reads the actual target prompt content and verifies version-sensitive facts against fresh sources before stating behavior.
  • High-signal structure: Enforces an XML-delimited architecture (system vs user split, clear tags, examples, reminders, and output shape locking).
  • Aggressive routing for writing/editing: Triggers on writing or editing SKILL.md bodies, system prompts, slash-command bodies, subagent briefings, CLAUDE.md/rules files, and audit requests, reducing undertriggering.
  • Quality and anti-pattern auditing: Use-cases include improving existing prompts by checking common prompt-writing failure modes (negative-only instructions, vague scope, prefill patterns, unsafe formatting, and output-shape ambiguity).

Quick Start

Use the prompt-writer skill to author or audit the instruction text whenever you are writing or editing a SKILL.md body, a command body, a subagent briefing, or a CLAUDE.md/rules file content that another Claude will execute.

Frequently Asked Questions about prompt-writer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write system prompts that Claude executes reliably without drift?

To write reliable system prompts, ground instructions in verified target content and assemble XML-delimited message architecture with explicit scope, diverse examples, and locked output shapes to eliminate guesswork and drift.

What is the best way to audit existing prompts for common failure modes?

Auditing existing prompts requires an anti-pattern-first flow that checks for negative-only instructions, vague scope, prefill patterns, unsafe formatting, and output-shape ambiguity to identify and resolve common prompt-writing failures.

How do I structure XML tags in a system prompt for Claude?

Structure XML tags by splitting system versus user messages into consistent tag-wrapped blocks, adding clear scope definitions, recency reminders, and output shape locking to create high-signal structured prompts for Claude execution.

Can I use this approach to author instructions for CLAUDE.md and rules files?

Yes, this approach applies to authoring and editing CLAUDE.md content, .claude/rules files, SKILL.md bodies, slash-command bodies, and subagent briefings that require structured instruction formatting for other Claude agents to execute.

Why does my prompt produce inconsistent output across different Claude sessions?

Inconsistent output often stems from under-specification, vague scope, or output-shape ambiguity in the prompt, which can be resolved by grounding instructions in actual content and enforcing XML-delimited architecture with locked output shapes.

When should I not use XML-structured prompts for Claude?

XML-structured prompts are unnecessary for simple, single-turn tasks that do not require strict output shape locking, explicit scope enforcement, or anti-pattern auditing to achieve reliable Claude execution.