Write meaningful tests that would fail if behaviour broke - no coverage targets, never touching the user's real state, and real-terminal tests for CLIs and TUIs. Use whenever adding or changing behaviour, fixing a bug, or setting up a test suite.
Ships in brain. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Before following a step, check the project's CLAUDE.md and AGENTS.md, and the files they link to, for rules on the same step. Where they conflict with this skill, follow the project. Where they add to it, do both.
HOME) and removes it.go test -v): the output floods the context. A failure prints without it; narrow it down with a filter.tui-test library (load the tui-test skill) to run the binary in a headless emulator, through tmux if the tool lives in tmux. Each test gets its own directory under a short /tmp path (socket paths max out at 108 bytes), its own server and environment, and a clean PATH that starts with the binary under test. Keep these tests behind a build tag, and run them in CI and against released binaries.
trace.md: expected and found) alongside a replayable recording. Upload traces as a CI artifact.-update, so the snapshot diff is what gets reviewed.tmux -S <sock>) after unset TMUX, so it can't reach the user's server.-demo FILE), not by hand, so it can be re-recorded when the look changes. It's the one test allowed to sleep, to pace the story.What SKILL.md sets; muted values are Claude Code's defaults
/brain:write-testsfrom brain
npx claudepluginhub medilies/brain --plugin brain10 skills in this plugin
/commit-changesCommit with Conventional Commits v1.0.0, one logical change per commit, under the user's own git identity and with no AI attribution. Use whenever making a commit or writing a PR description./document-changesKeep docs true in the same commit as the code they describe - one home per fact, docs laid out by reader, ADRs as records, diagrams over walls of text. Use whenever a change touches behaviour, names, commands, config or architecture, and when writing or reorganizing docs./go-stackGo project preferences (versions, layer boundaries, database, OpenAPI, tools, CLIs and TUIs). Use whenever working in or bootstrapping a Go project.Other plugins' skills for the same job