返回资讯中心
外部精选
软件工程
#开发者实时流

I built a tool with Claude Code that makes the correction stick

Stop telling Claude Code the same thing twice.

Hacker News 最新bayarkhuu51552026/10/28 · 今天6 分钟阅读

以下正文同步自 Hacker News 最新,版权归原站所有,已转换为易读排版。

Stop telling Claude Code the same thing twice.

We read nearly 10,000 Claude Code GitHub issues about how the model behaves, and turned the most-reacted complaints into 20 ready CLAUDE.md rules. Install them in 10 seconds. Then let npx @globalmpc/nomore find the things you keep repeating.

curl -fsSL https://raw.githubusercontent.com/globalmpc/nomore/main/rules/CLAUDE.md -o nomore-rules.md

Then add one line to your CLAUDE.md: @nomore-rules.md (or put both in ~/.claude/ for every project). Every rule links to the issues behind it. Delete any you don't want; downloading again replaces the file.

How they were chosen: every anthropics/claude-code issue labelled area:model or data-loss, fetched 2026-10-24 (7,994 after dropping pull requests, duplicates and withdrawn reports). The 7,897 with words in their title were grouped by title similarity ≥ 0.5 and ranked by Σ(1 + reactions); 20 behaviours a CLAUDE.md rule can change were then picked by hand, from issues still open or closed as not planned. Each rule currently rests on one issue and its reactions. Reproduce with bash scripts/fetch-issues.sh && pnpm mine.

If a rule saved you a correction, star the repo so others find it. Know a rule that belongs here? Propose it.

Finds the instructions you keep repeating across your Claude Code sessions and suggests them as rules.

npx @globalmpc/nomore # what you keep telling Claude (sessions active in the last 30 days) npx @globalmpc/nomore --apply # pick suggestions one by one (yes / no / edit) and add them to CLAUDE.md npx @globalmpc/nomore --project . # only this project; --apply then writes this project's CLAUDE.md npx @globalmpc/nomore --card # a short summary to share: totals only

Preview, honestly: most things people repeat are tasks ("commit", "continue"), not lasting preferences. On our team's sessions about a third of the suggestions were real rules, so you choose what to keep; nothing is written without your yes; rules you already have (including @-imported files like the rule pack) are recognised. Filters are tuned for English, Korean and Indonesian. If nothing repeats yet, it points you to the rule pack above.

Runs locally on Node 20+. It reads your Claude Code transcripts (respects CLAUDE_CONFIG_DIR), sends nothing anywhere, and writes only the CLAUDE.md you choose plus a small log of adopted rules.

Rules, wrong suggestions and code are all welcome: see CONTRIBUTING.md.

正文由 探How 从来源站点 RSS 同步,内容未经改写;遇到排版缺失或需要图片、视频时请以原文为准。

打开原文
去社区讨论 →