Consolidate repeated formatting code while adding a feature

Source checkedSoftware developmentSolo businessJapan

Across 132 trials, the author reports that an instruction assigning maintenance responsibility made both tested Claude models consolidate repeated formatting code in 6/6 trials each. Without it, neither did. Tests covered one small Node.js module; costs and review scope increased.

Source checked: the source link is valid and the automated fact check passed. The summary is AI-assisted. This is not human verification. Check the original source before relying on its claims.

For whom

Developers maintaining small JavaScript projects

Not for

Unreviewed refactoring of large or critical systems

Brain Score

5/10 brain cellsas of
Impact
1/2
Evidence
1/2
Reproducibility
1/2
Maturity
1/2
Reach
1/2

Five values from 0 to 2. The total has a minimum of 1. A reading aid based on the source, not an independently measured performance result. How the score works

Still current?

Current

Tested on 12 November 2026 with documented tool versions.

Augments or replaces?

Augments your skills

Developers review additional changes and check behavior with tests.

Original source

CLAUDE.md に「このコードはあなたのもの」と書くと、重複したコードをまとめてくれるのか。Claude Code・Codex・Gemini CLI で132回試したら、まとめたのは Claude だけだった 
Type
Blog
Published
Data as of

The data date records when this dataset was included in the collection. It is separate from the publication date of the source.

Tools

All use cases