Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Code quality patterns and guidelines for ToolUniverse tool development. Apply when writing, fixing, or refactoring tool Python code in the ToolUniverse project. Encodes lessons from 80+ debug rounds. Use alongside devtu-fix-tool and devtu-self-evolve. Triggers: implementing tool fixes, writing new tool classes, reviewing tool code quality, checking schema correctness, looking up API-specific bug fixes.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-02 | ✗→✓ | ▲ Improved | 19% | 0% |
| case-03 | ✗→✓ | ▲ Improved | -2% | 0% |
| case-07 | ✗→✓ | ▲ Improved | -18% | 0% |
| case-08 | ✗→✓ | ▲ Improved | -9% | 0% |
| case-09 | ✗→✓ | ▲ Improved | -47% | 0% |
Always run Skill(skill="simplify") after writing or modifying code.
return_schema has oneOf: [{data+metadata}, {error}]try: has except: at exact same indentation levelpython3 -c "import json; json.load(open('f.json'))")_lazy_registry_static.py and default_config.pyruff check src/tooluniverse/<file>.py passespython -c "from tooluniverse.<module> import <Class>" passespython -m tooluniverse.cli run <Tool> '<real_args_json>' returns expected dataSkill(skill="simplify") on all modified files| Category | Signal | Reference | |---|---|---| | Silent param ignored | API accepts but drops filter | code-patterns.md — Client-Side Filter | | Wrong API field/endpoint | 0 results or 404 | api-fixes.md — Quick Lookup Table | | Schema invalid | null type, missing oneOf | code-patterns.md — Schema Patterns | | Undisclosed normalization | Auto-transform hidden from user | code-patterns.md — Normalization Disclosure | | try/except indent | SyntaxError at runtime | code-patterns.md — try/except section | | Truncation buried | Data count hidden in notes | code-patterns.md — Truncation | | Hosted model API (NIM) | async 404 on poll, JSON-wrapped output, 200+inner-failure, "not found for account" | code-patterns.md — Hosted Model-API Tools | | R subprocess tool | '\.' unrecognized escape from Rscript -e | code-patterns.md — R-subprocess Tools |
bashgit fetch origin && git stash && git rebase origin/main && git stash pop git push --force-with-lease origin fix/round-XX-bugs gh pr view <N> --json mergeable # must be MERGEABLE before done
main directlymims-harvard/ToolUniverse — verify with git remote -vOther measured skills in the registry, with their headline benchmark lift.