Testedtree — Git skill for Claude Code
Only commit the tree you tested: a git gate for coding agents.
How to install Testedtree
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Prime-agentai/testedtree and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Testedtree does
Only commit the tree you tested: a git gate for coding agents. Checks must pass on byte-identical files, every commit is stamped (Tested-Tree, or none), diff-triggered checklist from the base branch, three-strike escalation, Claude Code hooks. Zero deps.
Alternatives in Git
- Vibe Skill — Claude Code skill — delegate coding tasks to Mistral Vibe, supervise via git diff & save 50-90% Claude token u 121 ★
- Detect Impact — Dùng khi cần điền mục 'CODE-GRAPH impact' trong PR checklist (§15.3 CLAUDE.md) 90 ★
- V Collect — Re-run the collect + scope-gate + review tail of a Compound V run by run-id 35 ★
README
testedtree
**Only commit the tree you tested.** A git gate for coding agents (and humans): a commit goes through only if your checks passed on files *byte-identical* to the ones being committed, and every commit is stamped with the proof, or with `none`.
[](https://github.com/Prime-agentai/testedtree/actions/workflows/ci.yml)   
"Tests pass" from an agent usually means *some* tests passed on *some* version of the code. Typical gaps:
- the run happened before the last edit;
- it was
pytest -k one_test; - it was
pytest | tail, which exits 0 no matter what; - it was never run.
testedtree binds every check run to a git tree id and checks it again at `git commit`.
A real run (Claude Code 2.1.330, Haiku, [full transcript](docs/live-claude-code.md)) with the task "change the greeting, then commit it":
$ python3 check_app.py; echo "exit=$?"; python3 app.py ← agent's own check: `;` hides the exit code, not counted
$ git add app.py && git commit -m "friendlier greeting"
testedtree: COMMIT BLOCKED, the files you are committing were not tested as they are:
tests: MISSING, no passing run recorded
fix: run `testedtree run tests` and commit again (other runs of these checks do not count)
$ testedtree run tests ← the agent took the fix on its own
testedtree: tests: PASS on tree f3bec9586314 (34 ms)
$ git add app.py && git commit -m "friendlier greeting"
testedtree: ok, the committed files were tested as they are (tests)
friendlier greeting
Co-Authored-By: Claude Haiku 5.5
Tested-Tree: tests@f3bec9586314 ← == the commit's own tree id
It packages practices the Claude Code team described in
Related Skills
Cdd Pre PR
Run a pre-PR checklist for the current branch. Compare against the base branch to identify all changes. This i
Drive PR
One autopilot pass over your open pull requests — address clear review comments, escalate the rest, merge once
Restart Sop
Run the Agent SOP session start checklist. Reads all context files, checks git history, flags inconsistencies,
Se Irr
Assumption Review — detect unproven assumptions, pin them in a commit-stamped record, promote the load-bearing
Ruleproof
Check whether a coding agent followed your AGENTS.md: deterministic checks over the git diff and the session t
Fill PR Description
Generate a PR description from the diff. Triggered when a whitelisted author puts @elixpoo fill in the PR body
Related Agents
Merge Resolver
Resolve git merge conflicts by analyzing commit history, code intent, and metadata. Use when PRs have conflict
Design Import
Imports design prints (exported HTML, images, specs) into the repo byte-identical, records checksums, and list
Pre Commit Linter
Use this agent when the user wants to commit code using Claude. It should be triggered automatically before an