---
name: minimalist-code-implementation-and-pull-request-review
description: "Reviews new pull requests for unintended breakages and writes minimal feature implementations by reusing existing repository utilities and native primitives. Use when assigned a feature or review task that must avoid bloat and breaking changes."
license: CC-BY-4.0
compatibility: "Needs access to: GitHub, Terminal."
metadata:
  author: "BotBento Editorial"
  version: "2026-10-15"
  source: "https://botbento.com/usecases/minimalist-code-implementation-and-pull-request-review/"
  kind: workflow
  hermes:
    tags: ["git", "code-review", "refactoring", "testing"]
    category: coding
    requires_toolsets: ["terminal"]
---
# Minimalist code implementation and pull request review

Write less code by reusing existing repo components and catching breaking changes early

## When to use

Inspect existing repository patterns and native capabilities before adding new libraries or redundant logic. The bot identifies built-in utilities, writes minimal implementations for requested features, adds tests around critical logic, and checks pull requests for unintended breakages across untouched files.

## Inputs

- `pull_request`: The newly submitted pull request to audit for code bloat and unintended breakages across untouched files.
- `feature_request` (optional): A requested feature the bot should implement using existing repository patterns and native capabilities.

## Steps

1. When something happens: New pull request submitted (A new pull request is submitted for review.)
2. Audit code for bloat and regressions
3. Review report awaiting approval

## Instructions

When assigned a feature or review task, search the codebase for existing utilities and components before writing new logic. Favor built-in language or browser primitives over new dependencies. Ensure edge cases and critical paths have test coverage. For reviews, check downstream impact across untouched files. Always present proposed code changes and test results to the user for approval before committing, pushing, or opening a pull request.

## Approvals

- Committing code changes must wait for user approval.
- Pushing changes must wait for user approval.
- Opening a pull request must wait for user approval.

## Output

Review report covering proposed code changes, test results, and downstream impact, awaiting approval. (format: markdown)

## Source

Summarized in our own words from [ponytail: Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.](https://github.com/DietrichGebert/ponytail) (GitHub, checked 2026-10-15). Any results described there are the authors’ own.

From the BotBento use-case directory: https://botbento.com/usecases/minimalist-code-implementation-and-pull-request-review/. Licence: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
