The night I asked Claude to rewrite an app description in English, three answers in a row came back over the character limit. Google Play's short description allows 80 characters, and I was fairly sure this used to fit on the first try. My hands stopped on the keyboard.
That same week, a long report titled along the lines of "it feels worse than other coding agents now" showed up in the official repository (Issue #112930). The replies split almost perfectly in two: some people agreed, others said nothing had changed for them.
I was halfway to agreeing myself. Then I tried to actually compare, and realized something embarrassing: I had no "before" to compare against. The earlier answers I remembered so fondly were not saved anywhere.
"It got worse" usually mixes three different yardsticks
For the first few days I flailed. I added sentences to my prompt, switched models, tried again. None of it told me anything, because I couldn't say whether a given answer was better or worse.
Looking back, I was comparing a blend of three things:
| Yardstick | What it really is | What goes wrong |
|---|---|---|
| The answer in my memory | Only the best run survives | You compare against your best day, not your average |
| Today's prompt | Slowly edited, conditions drifted | A different request gets a different answer |
| Settings state | Styles, memory, project files, selected model | Same words, different premises |
The third one is easy to miss. You added a personal preference or a style, dropped a file into a project, or the model picker now shows something else — each of these changes the output. I wrote about which layer actually keeps an instruction alive in Where to Put an Instruction That Keeps Coming Back: Chat, Style, Settings File, or Hook.
I suspect that's also why the issue thread split the way it did. Everyone was measuring with a different ruler, so of course the conclusions didn't line up.
Compare saved prompts and mechanical checks, not memories. That's the line I hold now.
Pick five requests you actually make
To pin the yardstick down, I chose five requests I make almost every week and saved each prompt verbatim in a text file. As an indie developer running wallpaper apps, I keep asking for the same kinds of things: store listing copy, review replies, file-name cleanup. The five come from there.
I used three criteria:
- Something I really ask for repeatedly. A prompt invented for testing can score well and still have nothing to do with my actual work
- Something where part of the answer can be checked by a machine: length, words that must appear, words that must not, or format
- Short enough that re-running all five takes about ten minutes
| id | Request | What a machine can check |
|---|---|---|
| subtitle-ja | One Japanese App Store subtitle | 30 characters max, includes 壁紙, no hype words |
| short-desc-en | One English Google Play short description | 80 characters max, includes wallpaper, no best or #1 |
| review-reply | Reply to a two-star review | 350 characters max, includes thanks, no refund promises |
| id-regex | A regex matching wallpaper file IDs | Tests for strings that must and must not match |
| category-json | Return a category as JSON from an image description | Parses as JSON, required keys present |
A machine can't tell you whether the writing is good. It can tell you that the limit was exceeded, a banned word slipped in, or the JSON broke. And honestly, almost everything I was annoyed about that night fell into that second group.
I also spell out the output shape in each prompt. For the regex, "return only the regex on a single line" keeps the check from wobbling.
Let a script do the judging, not your eyes
When I eyeballed five answers each time, my verdict changed with my mood. The script below takes answers pasted into text files, prints OK / NG per check, and appends one line per case to a history file with the date and a label. It only uses the Python standard library.
Here's the folder layout:
yardstick/
├── cases.json # checks for the five requests
├── check_answers.py # scoring script
├── prompts/ # the prompts (paste these as-is every time)
└── answers/2026-12-03/ # that day's answers, named by id (subtitle-ja.txt, ...)The checks live in cases.json. Each id matches a file name under answers/.
[
{"id": "subtitle-ja", "checks": {"max_chars": 30, "must_include": ["壁紙"], "must_not_include": ["最高", "No.1"]}},
{"id": "short-desc-en", "checks": {"max_chars": 80, "must_include": ["wallpaper"], "must_not_include": ["best", "#1"]}},
{"id": "review-reply", "checks": {"max_chars": 350, "must_include": ["ありがとうございます"], "must_not_include": ["返金", "必ず"]}},
{"id": "id-regex", "checks": {"regex_cases": {"match": ["BW-000123", "UE-004567"], "no_match": ["BW-12345", "bw-000123", "XX-000123"]}}},
{"id": "category-json", "checks": {"json_keys": ["category", "reason"]}}
]And check_answers.py (the messages are in Japanese because that's how I read them; change them freely):
#!/usr/bin/env python3
"""保存した回答を、cases.json の判定で採点して history.csv に1行ずつ足す。"""
import csv, json, re, sys, datetime
from pathlib import Path
def load_answer(path):
text = path.read_text(encoding="utf-8").strip()
# 回答がコードブロックで返ってきたときは中身だけを採点する
fence = "`" * 3 # 記事に貼っても崩れないよう、バッククォート3つを文字列で組み立てる
m = re.search(fence + r"[a-zA-Z]*\n(.*?)" + fence, text, re.S)
return m.group(1).strip() if m else text
def judge(answer, checks):
fails = []
if "max_chars" in checks and len(answer) > checks["max_chars"]:
fails.append(f"{len(answer)}字 > {checks['max_chars']}字")
for word in checks.get("must_include", []):
if word not in answer:
fails.append(f"「{word}」がない")
for word in checks.get("must_not_include", []):
if word in answer:
fails.append(f"「{word}」が入っている")
if "regex_cases" in checks:
try:
pattern = re.compile(answer.splitlines()[0].strip("`"))
except (re.error, IndexError) as e:
return [f"正規表現として読めない: {e}"]
for s in checks["regex_cases"].get("match", []):
if not pattern.fullmatch(s):
fails.append(f"{s} に一致しない")
for s in checks["regex_cases"].get("no_match", []):
if pattern.fullmatch(s):
fails.append(f"{s} に一致してしまう")
if "json_keys" in checks:
try:
data = json.loads(answer)
missing = [k for k in checks["json_keys"] if k not in data]
if missing:
fails.append(f"キー不足: {', '.join(missing)}")
except (json.JSONDecodeError, TypeError) as e:
fails.append(f"JSON として読めない: {e.msg if hasattr(e, 'msg') else e}")
return fails
def main():
if len(sys.argv) < 3:
sys.exit("使い方: python3 check_answers.py answers/2026-12-03 'ラベル(ツール・モデル名)'")
answer_dir, label = Path(sys.argv[1]), sys.argv[2]
cases = json.loads(Path("cases.json").read_text(encoding="utf-8"))
passed, rows = 0, []
for case in cases:
path = answer_dir / f"{case['id']}.txt"
if not path.exists():
print(f"- {case['id']:<16} 回答ファイルなし")
continue
fails = judge(load_answer(path), case["checks"])
passed += not fails
print(f"{'OK' if not fails else 'NG'} {case['id']:<16} {' / '.join(fails)}")
rows.append([datetime.date.today().isoformat(), label, case["id"], "OK" if not fails else "NG", " / ".join(fails)])
with open("history.csv", "a", newline="", encoding="utf-8") as f:
csv.writer(f).writerows(rows)
print(f"\n{label}: {passed}/{len(rows)} 本が判定を通過(history.csv に追記)")
if __name__ == "__main__":
main()I tested it by planting answers that break the rules on purpose. A subtitle two characters over the limit and an overly loose regex like ^[A-Z]{2}-\d+$ were both flagged:
NG subtitle-ja 32字 > 30字 / 「最高」が入っている
NG id-regex BW-12345 に一致してしまう / XX-000123 に一致してしまう
NG category-json キー不足: reasonA few choices worth explaining:
- If the answer arrives inside a code block, only the contents are scored. Otherwise a formatting difference shows up as NG and you can't tell it apart from a model change.
- I kept the checks to five kinds: limit, required words, banned words, regex, JSON. Every check you add is another place where the checker itself can be wrong.
- History goes into CSV so I can open it in a spreadsheet and line it up by date. No charts needed; I just want to see whether NG rows are piling up.
- Word checks are case-sensitive. If you also want to avoid "Best", list both spellings.
Re-run day, and how to treat noise
On a day when things feel worse, I go in this order:
- Open a fresh conversation and confirm which model is selected
- Check whether styles, personal preferences, or project files changed since last time. If they did, put that in the label too
- Paste the prompt from prompts/ without adding a single character
- Save each answer to answers/date/ under its id
- Run
python3 check_answers.py answers/2026-12-03 "claude.ai / default model"
Here's where I tripped myself. The first time one case came back NG, I nearly declared the whole thing worse. But the same prompt gives a slightly different answer every time. One NG may simply be noise.
Now I re-run only the failing case twice more in fresh conversations. If it fails two out of three times, I log it as a trend. If it fails once, I note it and wait for next week.
Since drawing that line, I've almost stopped rewriting prompts in a panic. I only rewrite after a trend holds for two weeks, and even then the new prompt gets a new id while the original stays put — I don't want to delete the very thing I'm comparing against.
Comparing against other tools
Sometimes, like in that issue thread, you'll want to compare with another tool. Same rule: run the same five prompts word for word and score them with the same script. Change only the label, and the results sit side by side in the history.
In my experience, one tool rarely wins all five. One respects character limits better, the other writes the cleaner regex. Splits like that are the norm.
So I stopped trying to crown a single winner. For each request, I lean toward whichever tool passes more often. A tool's overall reputation comes after my own five results.
If you eventually want the checks to run automatically through the API, Stop Claude API Prompt Regressions with Golden-Dataset Testing is the natural next step. The five hand-pasted requests make a perfectly good rough draft before that.
Start by saving just one
You don't need all five on day one. Take the request you made most often this week and save both the prompt and the answer. The next time something feels worse, you'll already have something to compare against.
What I lacked that night wasn't information about the model. It was a record of what I'd actually asked the day before. Keeping that record is the one habit I intend to hold onto.