Coding · Advanced
Rebuilding legacy libraries against test suites
Port legacy codebases to modern languages by iteratively running and passing existing test suites
- When you askStart library porting task
- ThenIterate code against test runner
- ResultReview passing test report
When maintaining outdated dependencies or migrating critical libraries to safer languages, an automated coding agent can systematically reimplement components while verifying behavior against existing test suites and conformance benchmarks.
Prompt to start with
BotBentoRecommended
Inspect the target specification and existing test suites in the local repository. Implement missing API functions module by module, executing the test runner in the terminal after each iteration. Refactor and fix failing tests until the entire test suite passes cleanly. Always ask for user approval before pushing branches, committing changes, or deleting legacy files.