History hygiene

From cwoodruff/htmxRazor · View interactive version

History hygiene is an AI agent skill from the GitHub repository cwoodruff/htmxRazor. Record final outcomes to history.md, not intermediate requests or reversed decisions

How to use this skill

Skill file

Context

History files (.md files tracking decisions, spawns, outcomes) are read cold by future agents. Stale or incorrect entries poison decision-making downstream. The Kobayashi incident proved this: history said "Brady decided v0.6.0" when Brady had reversed that to v0.8.17. Future spawns read the wrong truth and repeated the mistake.

Patterns

Examples

✓ Correct:

✗ Incorrect:

Anti-Patterns

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.