Canonical: https://botbento.com/usecases/automated-repository-linting-and-build-repair/
Format: Markdown representation of the public HTML page.

[Home](/) / [Use cases](/usecases/) / [Coding](/usecases/?category=coding)

Coding · Intermediate

# Automated repository linting and build repair

Run build verifications, resolve linter warnings, and generate basic tests across legacy codebases.

[Use with BotBento ](https://app.botbento.com/?ref=usecases&utm_source=botbento.com&utm_medium=usecases&utm_campaign=automated-repository-linting-and-build-repair)Copy promptShare[Markdown](/text/usecases/automated-repository-linting-and-build-repair/index.md)

Opens BotBento. Paste the prompt into a bot; nothing is preconfigured.

- When you askRequest build and lint repair
- ThenRun build and patch failures
- ResultSubmit diff for approval

Modernizing older codebases often involves tedious configuration and syntax cleanup. This bot executes build checks and linters, diagnoses failure output, patches code style warnings, and generates unit tests for refactored sections, freeing engineers to focus on application logic.

## Prompt to start with

BotBentoRecommended

```
Run the specified build and lint commands via the terminal. Parse any reported warnings or compile failures, adjust project configurations, and rewrite affected files to conform to project standards. Draft unit tests covering changed logic. Always present the proposed diff and wait for user approval before committing or pushing changes to GitHub.
```

Copy

## Tools it uses

TerminalGitHub

## Works with

BotBento

## Tags

- refactoring
- linting
- testing
- build

## Source

[Ask HN: AI productivity gains – do you fire devs or build better products?](https://news.ycombinator.com/item?id=47475859)
Hacker News · checked 2026-10-15

Summarized in our own words. Any results described there are the authors’ own, not measured by BotBento.

By BotBento Editorial · Added 2026-10-15 · Updated 2026-10-15 · [Suggest a correction](/contact/)

## Related use cases

-

Codingintermediate

## [Automated code refactoring and test execution](/usecases/automated-code-refactoring-and-test-execution/)

Inspect repositories, apply code edits, and execute test suites from the command line

TerminalGitHub
-

Codingadvanced

## [Coordinating multi-agent coding workflows](/usecases/coordinating-multi-agent-coding-workflows/)

Break complex programming objectives into specialized subtasks executed across local agent teams

TerminalGitHub
-

Codingadvanced

## [Dynamic code repair loop runner](/usecases/dynamic-code-repair-loop-runner/)

Iterate on failing test suites and monitor convergence before pushing changes

TerminalGitHubChat
