From saurun
Use when CLAUDE.md is bloated or ineffective. Use when Claude ignores instructions, file exceeds 150 lines, response formatting rules aren't working, or user asks to optimize/restructure their Claude Code configuration.
npx claudepluginhub fiatkongen/saurun-marketplace --plugin saurunThis skill uses the workspace's default tool permissions.
Claude Code has a **priority hierarchy** for instructions. Most optimization failures come from putting rules in the wrong tier.
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Guides building MCP servers enabling LLMs to interact with external services via tools. Covers best practices, TypeScript/Node (MCP SDK), Python (FastMCP).
Generates original PNG/PDF visual art via design philosophy manifestos for posters, graphics, and static designs on user request.
Claude Code has a priority hierarchy for instructions. Most optimization failures come from putting rules in the wrong tier.
| Tier | Mechanism | Priority | Purpose |
|---|---|---|---|
| 1. Output styles | ~/.claude/output-styles/ | System prompt (highest) | Response format, tone, word limits |
| 2. CLAUDE.md | Project root | User message (medium) | Project rules, safety guardrails |
| 3. .claude/rules/ | .claude/rules/*.md | Same as CLAUDE.md, auto-loaded | Topic-specific reference material |
| 4. Auto memory | ~/.claude/projects/*/memory/ | First 200 lines | Claude's own scratchpad — not for your instructions |
The #1 mistake: Putting response formatting rules in CLAUDE.md. They belong in an output style (system prompt level). CLAUDE.md formatting rules get ignored under pressure.
Auto memory note: Don't put instructions in MEMORY.md — it's Claude's scratchpad. During optimization, ignore it unless your instructions leaked into it.
Global vs project: Project CLAUDE.md rules take precedence over ~/.claude/CLAUDE.md. Put personal preferences in global, project rules in project. Don't duplicate between them.
For each section, ask in order:
.claude/rules/ or cut. Yes: keep..claude/rules/LLMs follow ~150-200 instructions reliably. System prompt uses ~50. Every CLAUDE.md line competes for the rest. If everything is CRITICAL, nothing is.
~/.claude/output-styles/<name>.md. Activate with /output-style <name>.
---
name: Concise
description: Minimal responses with hard word limits
keep-coding-instructions: true
---
Max 150 words per response. Bullet points over paragraphs. No preamble before actions.
.claude/rules/ — Auto-loads at same priority. Scope to paths with paths: frontmatter when topic-specific. Never use custom dirs (_docs/, references/) — Claude won't auto-load them. Caveat: Path-scoped rules only load for matching files — never put safety rules in path-scoped files.**When adding to this file:** Be terse. Show commands, not prose.| Content type | Destination |
|---|---|
| Word limits, banned phrases, tone | Output style |
| Data-loss prevention rules | CLAUDE.md (top) |
| Path handling gotchas | CLAUDE.md (top) |
| Tech stack, project structure | CLAUDE.md (middle) |
| Architecture patterns | CLAUDE.md (middle) |
| Dev commands, build scripts | .claude/rules/dev-commands.md |
| Testing examples, philosophy | .claude/rules/testing.md |
| Agent workflows, slash commands | .claude/rules/agent-os.md |
| Framework-specific setup | .claude/rules/ with paths: frontmatter |
| Code style enforcement | Linter config, not CLAUDE.md |
| Mistake | Fix |
|---|---|
| "Be concise" in CLAUDE.md | Quantified limits in output style: "max 150 words" |
| Everything marked CRITICAL | Reserve for data-loss prevention only |
| Inline test examples (60+ lines) | Move to .claude/rules/testing.md |
| Content moved to custom dirs | Use .claude/rules/ (official, auto-loaded) |
| Deleting anti-bloat instruction | Keep it — file will grow back without it |
| Over-compressing copyable commands | Keep exact commands; compress prose around them |
| Skipping output styles | Create output style first, then restructure CLAUDE.md |
| Dumping everything into one rules file | Split by topic: dev-commands.md, testing.md, etc. Same decision framework applies to rules files. |