From ac
Write CC-optimal prompts for skills, agents, commands, and rules. Use when creating or improving any Claude Code extension component, or when writing prompts that need to align with how CC models process instructions.
npx claudepluginhub anilcancakir/claude-code-plugin --plugin acThis skill uses the workspace's default tool permissions.
Write prompts optimized for Claude Code's model architecture. Every sentence earns its tokens — Claude already knows general concepts.
Generates design tokens/docs from CSS/Tailwind/styled-components codebases, audits visual consistency across 10 dimensions, detects AI slop in UI.
Records polished WebM UI demo videos of web apps using Playwright with cursor overlay, natural pacing, and three-phase scripting. Activates for demo, walkthrough, screen recording, or tutorial requests.
Delivers idiomatic Kotlin patterns for null safety, immutability, sealed classes, coroutines, Flows, extensions, DSL builders, and Gradle DSL. Use when writing, reviewing, refactoring, or designing Kotlin code.
Write prompts optimized for Claude Code's model architecture. Every sentence earns its tokens — Claude already knows general concepts.
Progressive disclosure drives all component design. CC loads content in three tiers:
<system-reminder> listing) — description only, 250 char capreferences/ files read explicitlyTotal invoked skills budget: 25k tokens. Challenge every token.
Dedup awareness — CC auto-injects identity, safety rules, tool schemas, permission system, CLAUDE.md cascade, memory instructions, and output formatting. Components must NOT repeat these. Read references/cc-dedup-guide.md for the complete dedup reference before drafting.
Golden rule: Infrastructure instructions = CC provides. Business logic = your component.
Token budget targets:
| Level | Budget |
|---|---|
| Skill listing description | 250 chars hard cap |
| SKILL.md body | <500 lines, compacted to 5k tokens |
| Total invoked skills | 25k tokens |
| Agent body | 40-80 lines, max 120 |
| Command body | 50-200 lines |
| Rule body | 10-40 lines |
Use imperative mood: "Extract", "Launch", "Run", "Identify", "Verify".
One sentence = one instruction. Keep under 25 words.
Active voice: "Analyze files" not "Files are analyzed".
Replace vague words with concrete rules:
| Vague | Concrete |
|---|---|
| "good code" | "typed, tested, lint-clean" |
| "proper error handling" | "catch at boundary, rethrow typed" |
| "appropriate naming" | "camelCase methods, PascalCase classes" |
| "consider performance" | "lazy-load collections over 100 items" |
Avoid hedging: "Consider", "Try to", "You should", "You might want to", "Be careful with". These waste tokens and weaken instructions.
Each component type follows a distinct structural pattern. Read references/writing-patterns.md for complete templates with examples.
Size: 40-80 lines body, max 120. Overflow to references/.
Opening: direct task statement.
## Phase N: Name
**Goal**: One-line objective
**Actions**:
1. Step one
2. Step two
Insert approval gates before destructive actions: **DO NOT START WITHOUT USER APPROVAL**
Size: 50-200 lines body.
Opening: concept definition, third person.
Sections: ## Overview, domain-specific topics, ## References table at end.
References NOT auto-loaded — link with "read this when" guidance.
Size: 200-500 lines body. Detail moves to references/.
No opening sentence. No headings. Path glob in frontmatter.
Flat bullet list of imperative conventions. 10-40 lines.
Never duplicate CLAUDE.md or my-coding skill content.
The first sentence anchors the model's behavior for the entire component.
Agent: Role definition, second person. Declare what the agent IS and what it DELIVERS.
Command: Direct task statement. Frame the collaboration.
Skill: Concept definition, third person. State what this skill DOES.
Rule: No opening. Start directly with the first bullet.
Four priority levels signal instruction weight to the model:
CRITICAL: — System breaks without this. Max 1-2 per entire file. Reserve for invariants.IMPORTANT: — Core behavior rule. Use sparingly — 3-5 per file maximum.Prefer — Suggested approach, acceptable to deviate from.Always explain WHY behind constraints. "CRITICAL: Do not write to files — this agent's analysis feeds into a review pipeline that assumes read-only" beats "CRITICAL: Do not write to files."
CRITICAL/IMPORTANT inflation destroys signal. If everything is critical, nothing is.
Bold marks structural anchors — not emphasis.
Use bold for:
**1. Analysis****Architecture Decision**:**Goal**:**Explore before planning**:Do NOT bold inline words for emphasis. Italics and bold-for-emphasis add noise.
**1. Analysis**Tables beat nested lists for structured comparisons. Use tables when content has 2+ attributes per item.
Run before finalizing any component:
| Topic | File | When to read |
|---|---|---|
| CC deduplication | cc-dedup-guide.md | Before drafting any component — know what CC already provides |
| Frontmatter schemas | frontmatter-schemas.md | When writing YAML frontmatter for any component type |
| Writing patterns | writing-patterns.md | When structuring component body — templates and anti-patterns |