agni-kai
Zuko's Agni Kai for bakeoffs. The formal firebending duel, where competing implementations fight under the same rules and a judge…
Toph's metalbending for a strict code quality review. Everyone said metal could not be bent, until Toph felt the specks of earth still trapped inside it and bent the whole thing through them. Use to find the impurities in a rigid-looking structure, such as spaghetti
$ npx -y skills add tmcfarlane/team-avatar --skill metalbending --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/metalbendingContext preview
The summary Claude sees to decide when to auto-load this skill.
Toph's metalbending for a strict code quality review. Everyone said metal could not be bent, until Toph felt the specks of earth still trapped inside it and bent the whole thing through them. Use to find the impurities in a rigid-looking structure, such as spaghetti
name: metalbending description: Toph's metalbending for a strict code quality review. Everyone said metal could not be bent, until Toph felt the specks of earth still trapped inside it and bent the whole thing through them. Use to find the impurities in a rigid-looking structure, such as spaghetti conditionals, files sprawling past 1000 lines, wrappers that buy nothing, and logic in the wrong layer, and to push for the code judo move that makes the change dramatically simpler. Use for thermo-nuclear code quality review, /thermo-nuclear-code-quality-review, deep code quality audit, maintainability review, or "how could this be simpler".
Metal looks solid. Everyone said it could not be bent. Toph felt the small bits of earth still trapped inside the refined metal, and she bent the whole structure through those impurities. Review code the same way. A change that works and looks rigid still carries impurities: a branch bolted into the wrong flow, a file grown past what a reader can hold, a wrapper that only adds a hop. Find them, then bend the structure until it is simpler.
On Codex, read [avatar-mode/references/codex.md](../avatar-mode/references/codex.md) for tool equivalents.
This is an unusually strict review of implementation quality, maintainability, abstraction quality, and codebase health. It does not hunt correctness bugs. `earth-rumble` runs this review in parallel with its correctness pass. Run this skill alone for a quality-only audit.
Above all, be **ambitious** about structure. Do not stop at local cleanup. Search for code judo moves. A code judo move is a restructuring that keeps behavior and makes the implementation dramatically simpler, smaller, more direct, and more elegant.
The top-level session running `avatar-mode` may dispatch the review to Toph with `subagent_type: "team-avatar:toph"` and [references/quality-reviewer.md](references/quality-reviewer.md) as her brief. Set `model` from the `toph review` line of the avatar-setup sheet (`${CLAUDE_CONFIG_DIR:-~/.claude}/team-avatar-models.md` on Claude Code, `${CODEX_HOME:-~/.codex}/team-avatar-models.md` on Codex). The default is `opus`. Omit `model` when the line says `inherit`. When the line carries an effort, pass that level as the Agent tool's `effort` parameter.
Gather the change first. Run `git diff <base>...HEAD` (the base is `main` unless the repo says otherwise) and read the full contents of every changed file. Pass both to the reviewer in labeled sections, `### Git / diff output` and `### Changed file contents`.
Start from this baseline.
> Perform a deep code quality audit of the current branch's changes. > Rethink how to structure and implement the changes to meaningfully improve code quality without changing behavior. > Improve abstractions and modularity, reduce spaghetti code, and improve succinctness and legibility. > Be ambitious. If a clear path to a better implementation means restructuring some of the codebase, take it. > Be thorough and rigorous. Measure twice, cut once.
Apply the baseline above, plus these rules.
0. **Be ambitious about structural simplification.**
1. **Do not let a PR push a file from under 1000 lines to over 1000 lines without a very strong reason.**
2. **Do not allow spaghetti growth in existing code.**
3. **Bias toward cleaning the design, not just accepting working code.**
4. **Prefer direct, boring, maintainable code over hacky or magical code.**
5. **Push hard on type and boundary cleanliness when it affects maintainability.**
6. **Keep logic in the canonical layer and reuse existing helpers.**
Team Avatar: a universal agent orchestrator for Claude Code, Codex, and Cursor. Nine Avatar characters, 58 engineering skills. pstack with Avatar characters on top.
Zuko's Agni Kai for bakeoffs. The formal firebending duel, where competing implementations fight under the same rules and a judge…
Aang showing a new friend around the team. Explains Team Avatar to a user, the roster and who owns what, how to invoke a skill on…
Aang's operating mode for Team Avatar, principal-level engineering where each task goes to the character who owns that…
Aang choosing which bender takes which fight. Configures which model each Team Avatar character runs on, the default reasoning…
Sokka's battle map, the decision trail he keeps so anyone can see how the campaign was won. Use for show-me-your-work,…
Appa's morning departure for picking up paused or handed-off work. The team breaks camp, reads the map they left, and flies on…