Top 200 ReposEXPLORER
Browse agents, categories and pages
Back to results
Planned, not doneThe source describes an intention, not a finished result.

Diagnose and Repair a Broken API Website With Cowork

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

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.

  1. Choose the agentSet up Claude Cowork.
  2. Connect the toolsConnect the tools this workflow relies on: Claude Cowork, Claude Desktop, Git.
  3. Check the prerequisitesA paid Claude plan with Cowork in the Claude Desktop app and a copy of the project under git.
  4. Gather your detailsCollect what the prompt asks for: Project, What you see going wrong, Test framework.
  5. Run the starter promptPaste the starter prompt below into Claude Cowork and adapt it to your case.
  6. 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].

Preview
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

  1. 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.
  2. 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.
Report a problem

More with Claude Cowork

Planned, not done

Maintain a Folder-Based Daily Task System

Keep tasks as plain files in one folder and have Claude Cowork draft a daily list with reminders from them, changing your task files only after you approve.

claude.com
Planned, not done

Prepare a Weekly Portfolio Data Brief

Schedule a weekly Claude Cowork task that pulls market data through the FMP connector for your own holdings and writes a short brief for you to verify.

claude.com
Planned, not done

Delegate Executive Assistant Work to Claude Cowork

Hand a batch of everyday assistant requests to Claude Cowork's Dispatch agent, from your desk or phone, and get back meeting briefs, filed documents and reply drafts to approve.

claude.com

View all: Claude Cowork