Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
mims-harvard avatar

Devtu Code Optimization

  • 224 installs
  • 1.6k repo stars
  • Updated August 4, 2026
  • mims-harvard/tooluniverse

Optimize ToolUniverse tool and binder implementation code for clarity, performance, and maintainability while preserving agent-callable interfaces and behavioral contracts.

About

devtu-code-optimization applies structured review and refactoring to code inside the ToolUniverse developer toolchain. It targets tool definitions, binder logic, and supporting modules so agent-callable surfaces stay stable while internals become faster, clearer, and easier to extend across the Harvard MIMS tool ecosystem.

  • Refactors tool implementation code
  • Preserves agent-facing contracts
  • Improves runtime efficiency
  • Reduces technical debt in binders
  • Applies ToolUniverse devtu patterns

Devtu Code Optimization by the numbers

  • 224 all-time installs (skills.sh)
  • +6 installs in the week ending Aug 4, 2026 (Skillselion tracking)
  • Ranked #320 of 1,352 Code Review & Quality skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/mims-harvard/tooluniverse --skill devtu-code-optimization

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs224
repo stars1.6k
Last updatedAugust 4, 2026
Repositorymims-harvard/tooluniverse

What it does

Optimize ToolUniverse tool and binder implementation code for clarity, performance, and maintainability while preserving agent-callable interfaces and behavioral contracts.

Files

SKILL.mdMarkdownGitHub ↗

ToolUniverse Code Optimization

Always run Skill(skill="simplify") after writing or modifying code.

Pre-Commit Checklist

  • [ ] return_schema has oneOf: [{data+metadata}, {error}]
  • [ ] Test examples use real IDs (no DUMMY/PLACEHOLDER)
  • [ ] try: has except: at exact same indentation level
  • [ ] No trailing commas in JSON (python3 -c "import json; json.load(open('f.json'))")
  • [ ] New tool class registered in _lazy_registry_static.py and default_config.py
  • [ ] ruff check src/tooluniverse/<file>.py passes
  • [ ] python -c "from tooluniverse.<module> import <Class>" passes
  • [ ] python -m tooluniverse.cli run <Tool> '<real_args_json>' returns expected data
  • [ ] Ran Skill(skill="simplify") on all modified files

Key Fix Categories

CategorySignalReference
Silent param ignoredAPI accepts but drops filtercode-patterns.md — Client-Side Filter
Wrong API field/endpoint0 results or 404api-fixes.md — Quick Lookup Table
Schema invalidnull type, missing oneOfcode-patterns.md — Schema Patterns
Undisclosed normalizationAuto-transform hidden from usercode-patterns.md — Normalization Disclosure
try/except indentSyntaxError at runtimecode-patterns.md — try/except section
Truncation buriedData count hidden in notescode-patterns.md — Truncation

References

  • [references/api-fixes.md](references/api-fixes.md) — Per-API bug fixes (GtoPdb, CIViC, GTEx, ENCODE, CPIC, etc.)
  • [references/code-patterns.md](references/code-patterns.md) — Reusable Python patterns (schema, filtering, pagination, normalization)

Git & PR Workflow

git 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
  • Never push to main directly
  • Never have multiple open fix PRs
  • Commit messages: "Feature" or "Fix" — never "Bug"
  • No AI attribution in commits
  • Repo: mims-harvard/ToolUniverse — verify with git remote -v

Related skills

Code Review & Qualityagentsautomation

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.