Skip to main content

Writing

Notes on prompt engineering, evaluation and routing

2026-09-19Debug With Evidence: A Claude Skill for Root CausesA free Claude skill that stops trial-and-error debugging: raw logs first, competing hypotheses, read-only probes, and a root-cause contract before any edit.2026-09-19How to Defend Against Prompt Injection: A Claude SkillA free Claude skill that maps the input boundary, classifies injection attempts, scores severity, and applies a response plus four layers of defense.2026-09-18Why Agents Fail: A Claude Skill for Agent Prompt DesignAgents fail on tool mis-selection, context rot, and missing stop conditions. A free Claude skill applies a seven-stage protocol to design and review agent prompts.2026-09-18Stop Agent Context Bloat: The Context Cartographer SkillA free XML-structured Claude Code skill that makes the agent write a task contract and gather minimum sufficient context before it edits any file.2026-09-18Right-Sizing Prompt Edits: A Claude Skill for TriageAsked to clean up a prompt, models either rewrite everything or nothing. A free Claude skill scores the prompt first and allows only the edits its tier permits.2026-09-18How to Evaluate a Prompt: A Claude Skill for TestingA free Claude skill that turns a prompt into a behavior contract and tests it with a matrix, deterministic checks first, and preserved evidence.2026-09-18Claude Prompt Optimizer Skill: Optimize Without Breaking ItA free Claude skill that classifies a prompt's context, judges its sophistication, and rewrites only what helps, keeping code, flags, and model IDs verbatim.2026-09-18Self-Improving Prompt Loops Fail When Nothing Reads the OutputMy repair loop generated, scored, and committed better prompts for six weeks, but nothing read the result. Every state transition needs a reader.2026-09-18Should an Agent Spawn a Subagent? A Four-Question TestA free Claude skill runs a four-question delegation test before an agent forks or spawns a subagent, then picks the shape, scopes the prompt, and sizes the wave.2026-09-18In Prompt Engineering, the System Around the Prompt Is the PromptPrompts are artifacts with histories, versions, and repairs. Five audits show whether the system around them works for a real user, not just in CI.
showing 10 of 30