iTranslated by AI

The content below is an AI-generated translation. This is an experimental feature, and may contain errors. View original article
🧪

One Week with Claude Code: Tasks That Get Faster and Tasks That Get Slower

に公開1件

Introduction

When you first install an AI coding tool, you're usually pretty excited at the start.
However, after using it seriously for about a week, you start to clearly see the tasks that "get faster" and those that "actually get slower."
In this article, I will summarize the differences observed from operating Claude Code in a personal development environment, based on real-world usage.

Conclusion Up Front

Verification Conditions

To ensure consistent comparison, I standardized the conditions as follows:

  • Duration: 7 days
  • Subject: Refactoring a personal web application
  • Scope: Bug fixes, UI improvements, and minor feature additions
  • Comparison groups
    • A: Manual-centered
    • B: Combined with Claude Code (final review performed manually)

Changes in Numbers

Metric A Manual-centered B Claude-combined
Time until starting 1 task 18 min 6 min
Average time to complete 1 task 42 min 24 min
Number of reworks (7 days) 11 times 6 times
Review time (per 1 PR equivalent) 19 min 14 min
Time spent on "root cause analysis" 98 min 121 min

As you can see, the implementation process itself became faster.
However, the time spent on root cause analysis actually increased. This was the trap.

Tasks That Get Faster

Increasing Initial Implementation Speed

The speed at which you create an initial draft almost certainly increases.

# Limit the target for the request
claude "Update only src/components/ProfileCard.tsx.
Requirements: Fix layout breakages, add accessibility attributes"

By explicitly stating "which files" to change and "for what purpose," you reduce unnecessary modifications.

Handling Routine Work in Batches

  • Minor refactoring
  • Cleaning up duplicate code
  • Creating test boilerplate

These are faster to handle via AI than by a human touching them one by one.

Tasks That Get Slower

Implementation with Ambiguous Specifications

If you provide input to the AI when specifications are unclear, the work may look like it's progressing, but it will fall apart later.
As a result, rework increases, and the total time taken becomes longer.

Making Merge Decisions Without Defined Review Criteria

If you proceed with the mindset of "it works, so it's OK," the cost of fixing bugs the next day will skyrocket.

# Fix minimum review criteria
pnpm lint
pnpm test
git diff --name-only

Just by performing these three steps every time, the accident rate dropped noticeably.

Rules Fixed to Ensure Smooth Operation

Rule 1: One Task, One Purpose per Request

  • Bad example: "Fix everything all at once"
  • Good example: "Fix only the validation on the login screen"

Rule 2: Limit the Scope of Changes in Advance

If you send requests without specifying files, irrelevant diffs tend to increase.
Decide the "target files" and the "range that can be touched" beforehand.

Rule 3: Humans Hold the Final Decision

AI is strong as an implementation assistant.
However, final quality was more stable when the human held the decision on "whether to go with this specification."

Pitfalls and Workarounds

Pitfall What happened Workaround
Ambiguous requirements Implementation that looks correct but is off-target Define the purpose in one sentence
Wide range of changes Diffs became bloated Limit the target files
Lack of review Bugs found the next day Fix lint/test/diff verification

Summary

Using Claude Code significantly increases implementation speed.
However, without operational rules, it can also lead to "breaking things faster."
Personally, I found the most stable division of labor to be:

  • Specification decisions: Human
  • Implementation support: AI
  • Final review: Human

I hope this is helpful for those adopting it similarly.

GitHubで編集を提案

Discussion

babydaemonsbabydaemons

Claudeがやらかす度に

CLAUDE.mdに加筆しろ命令していますが、そこそこうまくいってます。再発防止策を命じられるなんて人間みたいですが、AIだから心折れないでしょw