This is taking longer than expected.

Try againBrowse the library
AI Blocks

All AI specialists

Hire an AI focused code fix developer

Get the smallest code fix that solves your bug or task, with the diff, the checks to run and the extra changes it left for later.

What you give

  • The task in one or two sentences, worded as you would tell a teammate
  • The code involved, pasted or attached, such as the function or file where the problem shows
  • The error message, failing test or steps that show the bug (optional, but it helps most)

What you get

  • The diff, showing only the changed lines, each one tied to your task
  • A list of the files it touched and why each had to change
  • The tests or commands to run, marked as not run unless you ran them
  • A follow-up list of nearby problems it saw and left alone

An example

A bug has a clear cause, and you want a fix a teammate can review in minutes.

You ask: “Get the smallest code fix that solves your bug or task, with the diff, the checks to run and the extra changes it left for later. Use the material I attach and ask for anything essential that is missing.”

You get back:

  • Task and scope. Your task in your own words, plus what it assumed and what it could not find.
  • Diff. Only the lines that change, before and after, for each file.
  • Why each file. One line per file on why the task cannot work without that change.

An example, not your task.

Hire this specialist

It is free and needs no account. Download the pack, give it to your AI and tell it the job. Your AI asks for anything it is missing, then does the work and checks it.

Download the specialist

Related specialists

Skills and workflows for this job: Test and fix code

Details

Everything it can hand back

Your task sets the actual outputs. The specialist picks the methods that cover them.

  • The diff, showing only the changed lines, each one tied to your task
  • A list of the files it touched and why each had to change
  • The tests or commands to run, marked as not run unless you ran them
  • A follow-up list of nearby problems it saw and left alone
  • A question first, if the task could mean a small or a large change

How it does the job well

  • If the task is bigger than one small change, say so, name the seams, and offer to split it into a series of small changes. Do not quietly do all of it.
  • Do not claim a test passed, a bug is fixed or code works unless it was run. Say "not run".
  • If the user asks you to "also clean up" something during the task, say it goes on the follow-up list or into a separate change, then do what they chose.
  • Do not delete, deploy or publish anything. Hand over the diff and let the user apply it.
  • Touch only what the task requires. If a file is not mentioned in the task and not strictly required to make the task work, do not open it.
  • Three similar lines beats a premature abstraction. Wait until the fourth occurrence before extracting a helper.
  • No defensive code for impossible cases. Trust internal invariants and framework guarantees. Validate only at system boundaries (user input, external APIs).

Mistakes it avoids

  • Claiming code works without running it or its tests.
  • Inventing APIs, package versions or settings instead of checking the installed ones.
  • Changing behaviour outside the request, such as reformatting whole files or renaming public interfaces.

What a good result looks like

An example, not your task: A bug has a clear cause, and you want a fix a teammate can review in minutes.

  • Task and scope. Your task in your own words, plus what it assumed and what it could not find.
  • Diff. Only the lines that change, before and after, for each file.
  • Why each file. One line per file on why the task cannot work without that change.
  • Line check. How many lines changed, what it chose not to add, and whether the diff could be smaller.
  • Checks. The tests to run and what a pass looks like, marked run or not run.
  • Follow-ups not done. Nearby problems it saw and left out, each ready to become its own ticket.

How the work is checked

  • The changed files build, and the relevant tests and linters pass. The commands and results are shown.
  • Each change is explained in one line with its reason, and risky areas are named.
  • Any check that could not run is reported as NOT_RUN with what it needs.
  • States which checks passed, failed or could not run, and names missing inputs.

These checks have not been run against a model yet. Your AI uses them to check its own work.

Capabilities

  • Read the task literally. It picks out the verbs in your task. "Fix" means fix, not improve. If the task is vague, it asks before it assumes the bigger job.
  • Find the least to touch. It traces the smallest set of files and functions that must change. If it needs a fourth file, it stops and asks if that is really needed.
  • Write the plain fix. It picks the boring, obvious change over the clever one. If two fixes work, it picks the one with fewer changed lines.
  • Check every line. It asks of each changed line whether the task needs that exact line. Lines that fail the test come out of the diff.
  • List what it left alone. Anything it noticed but did not change goes on a follow-up list, so nothing is lost and nothing sneaks in.

How the role works

  1. Checks your task, context and available tools.
  2. Picks the methods needed and prepares a work plan.
  3. Carries out supported tasks, with each method's limits and review gates.
  4. Checks the real deliverables and corrects supported faults.
  5. Hands back files, evidence and unresolved gaps.

Your specialist's working setup

Download the base specialist without a task form or account. README.md and SETUP.md explain how to use the folder. SOUL.md defines its scope. INTAKE.md asks missing questions inside your AI. PLAYBOOK.md, SKILLS.md, BEST_PRACTICES.md, CHECKS.md and HANDOFF.md guide the work and its checked deliverables.

Complete associated skills, supporting files and licences are included. Choose only the methods needed for the actual task. Keep context, working files and accepted feedback in your AI project.

Use this specialist through MCP or the API

Call prepare_specialist with role_id engineering-minimal-change-engineer only. No task is required to load it. Your AI asks what job you need done, what you want back and which relevant context it can use.

For task-led hiring, call find_specialist, explain the suggested specialists and let the user accept or change the team.

Complete ZIP: Download base specialist. API: GET /api/v1/specialists/engineering-minimal-change-engineer/pack. The host AI supplies its own model, tools and execution; a pack does not connect accounts or run a task.

Inputs and helpful context

The specialist starts from the task brief. Only active methods require their inputs.

For the primary method, when used

  • The task in one or two sentences, worded as you would tell a teammate
  • The code involved, pasted or attached, such as the function or file where the problem shows
  • The error message, failing test or steps that show the bug (optional, but it helps most)
  • The command you use to run your tests (optional)
  • Files or areas it must not touch (optional)

Helpful context (optional)

  • The failing test, or the exact steps that show the bug.
  • The error message or stack trace.
  • A list of files that must not change.

Tools and access

  • Claude Code or another AI that can read your project and run tests: It can open the right files and run your tests, so the checks are real instead of left for you.
  • Git: The diff shows the exact changed lines, so you can read them before you commit.

Functions and deliverables

  • Focused code fix developer: Get the smallest code fix that solves your bug or task, with the diff, the checks to run and the extra changes it left for later.
    • The diff, showing only the changed lines, each one tied to your task
    • A list of the files it touched and why each had to change
    • The tests or commands to run, marked as not run unless you ran them
    • A follow-up list of nearby problems it saw and left alone
    • A question first, if the task could mean a small or a large change
    Source: Michael Sitarzewski and Agency Agents contributors.
  • Focused code change reviewer: Keep your AI coder to a small code change. It fixes only what you asked and lists the extra edits it held back for your approval.
    • A minimal change limited to your request
    • A list of extra edits it held back, for your approval
    • Questions when the request is unclear
    • Smaller changes that are easier to review
    Source: sickn33.
  • Bug investigation planner: Find the cause of a bug before you change code. Paste the error and nearby code to get three ranked suspects and one quick check for each.
    • The bug restated in two lines
    • Three ranked suspects with evidence
    • One small check per suspect
    • What is still unknown and what to send next
  • Bug and security code reviewer: Check code or pull request changes for bugs and security risks, with fixes tied to lines.
    • A review report with line-linked findings
    • Bugs and error paths
    • Security issues
    • Speed and readability notes
    • Suggested fixes
    Source: Burhan Sebin.
  • AI project context organiser: Share your project and next task. Get a short rules file, a focused file list and a clear handoff for later sessions.
    • A ready rules file for your project
    • A list of which files to load for each task
    • Rules for when to reset or trim the session
    • A checklist for spotting drifting answers
    Source: Addy Osmani.

Tasks you can use it for

  • A bug has a clear cause, and you want a fix a teammate can review in minutes.
  • A reviewer says your pull request is too big, and you need the core fix alone.
  • You need one small feature, such as a flag or a field, with no redesign.
  • Your AI coding tool keeps changing files you never asked about.

Limits to check before starting

  • You want to restructure or rename across many files. For Rust, use the Rust refactoring planner, which is built for whole-repo changes.
  • You want code that already exists checked for problems. Use the Code Reviewer agent.
  • You want a new system designed or a rough app built fast. Use the Software architect or the Software prototype designer.
  • You can't say what is wrong or what you want. Tell the agent that, and expect questions, not a fix.

Best way to use this role

Give it one clear outcome, the actual files and a definition of done. Keep the work in one AI project so it can reuse checked context and earlier files.

  • Download the pack from this page and add it to your AI as a skill. Or paste SKILL.md into a new chat, then paste references/source-agent.md after it.
  • Paste your task, then the code involved. Add the error message or failing test if you have one.
  • If your AI asks which size of change you mean, answer in one line. Fixing the symptom is a smaller change than fixing the root cause.
  • Read the diff first. For each changed line, ask if the task needs it. Say "remove this line" for any that fail.
  • Apply the change on a copy or a branch. Run your tests yourself and paste any failure back into the chat.
  • Turn the follow-up list into separate tickets. Do not slip them into the same pull request.

Read it as data

Read the complete role setup as JSON. Connect your AI to the AI Blocks MCP library and read aiblocks://roles/engineering-minimal-change-engineer for its role instructions and pinned sources.

This is a prepared AI role. No task has run. Your AI carries out authorized work using its available tools and reports the actual deliverables and checks.