Overview
Give Claude Cowork a copy of a small API-backed website that a series of earlier edits left broken, have it explain what is wrong, reproduce the failures with tests and repair them one at a time for your review.
Problem or Objective
- Which agents turn an issue report into a fix?
- Which agents write or run tests against an application?
More in Coding and Code Review
AI Agents and Models
Tools and Integrations
- Tools
- Claude Cowork · Claude Desktop · Git
- Prerequisites
- A paid Claude plan with Cowork in the Claude Desktop app and a copy of the project under git.
How It Works
Put a copy of the project under git, commit its current state, and connect only that folder to Cowork in the Claude desktop app. Describe the symptoms you see, such as endpoints returning errors or pages that no longer load data. First ask Cowork to read the code and the recent changes and write a plain-language explanation of how the site is meant to work and where it breaks, without changing anything. Then have it write a small test for each broken endpoint that fails today, run the tests, and fix the problems one by one, rerunning all tests after each fix and noting what it changed. Read the explanation and the diff, run the site yourself, and only then copy the fixes back to the real project and deploy through your usual process.
Implementation Workflow
Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.
- Choose the agentSet up Claude Cowork.
- Connect the toolsConnect the tools this workflow relies on: Claude Cowork, Claude Desktop, Git.
- Check the prerequisitesA paid Claude plan with Cowork in the Claude Desktop app and a copy of the project under git.
- Gather your detailsCollect what the prompt asks for: Project, What you see going wrong, Test framework.
- Run the starter promptPaste the starter prompt below into Claude Cowork and adapt it to your case.
- Check against the documentationCompare what you get with the documentation at support.claude.com before you rely on it.
Practical Starter Prompt: Explain, test and repair a broken site
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
The connected folder holds [Project], a website backed by an API, and it is committed in git. Symptoms: [What you see going wrong]. First read the code and the recent history and explain how it is meant to work and where it breaks; do not change anything yet. Then write a failing test for each broken endpoint using [Test framework], run them, and fix the problems one at a time, rerunning all tests after each fix. Commit each fix separately with a clear message. Do not deploy, push or call production services.Read the explanation and approve the plan before Cowork edits files. You review each commit, run the site yourself and deploy the fixes through your usual process.
Expected Results and Benefits
This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.
This is a suggested workflow, not a reported outcome. The Claude Desktop help page says Cowork brings Claude Code's agentic capabilities to a visual interface, runs code in an isolated virtual machine on your computer and limits file reads and writes to folders you connect. The Cowork overview says it reads and writes local files and takes on multi-step tasks autonomously. Neither page reports how well Cowork repairs broken projects, so the tests and your review are the check.
Limitations and Considerations
Cowork needs a paid Claude plan and the Claude Desktop app. Its network access follows your egress settings, so check those if the site calls outside APIs during tests, and keep production keys out of the copied folder. Working on a committed copy means you can discard any change you do not want. Results depend on your setup and were not independently reproduced by Top 200 Repos.
Sources
- Install Claude Desktop | Claude Help Center (opens in a new tab)
Project documentation · support.claude.com · Undated · Source checked 26 Nov 2026, 17:27 UTC
What this source supports
- Cowork brings Claude Code's agentic capabilities to a visual interface, allowing you to hand off complex, multi-step tasks without using a terminal.
- Cowork runs code in an isolated virtual machine on your computer; file reads and writes are limited to folders you connect, and network access follows your egress settings.
- Claude Cowork is available for all paid plans (Pro, Max, Ultra, Team, Enterprise) using the Claude Desktop app.
- Overview - Claude.ai Documentation (opens in a new tab)
Project documentation · claude.com · Undated · Source checked 25 Nov 2026, 11:58 UTC
What this source supports
- Claude reads and writes local files without requiring manual uploads or downloads.
- Rather than responding to prompts sequentially, Claude tackles intricate, multi-step tasks autonomously.