r/ClaudeCode • • 21h ago

Built with Claude I built an open-source Agent Skill that fact-checks your technical articles before you publish them (early beta, looking for testers)

Thumbnail
atheodosiou.github.io
0 Upvotes

Hi all, I'm Anastasios, a frontend engineer who writes technical articles on the side.

The prose in AI-assisted drafts was usually fine. My problem was everything around it: a cited source that didn't support the sentence, my caveats quietly disappearing, and code snippets presented as if someone had run them.

So I built Technical Author, an MIT-licensed Agent Skill that adds an editorial process to the writing:

  • It learns your voice from writing samples you pick, and keeps it in a private profile that changes only when you approve.
  • Every material claim goes into an evidence ledger as verified, partially-verified, unverified, contradicted or opinion.
  • It opens each cited source and checks that it supports the sentence citing it.
  • Code it ran and code it only read are recorded separately, so a static review never passes for a test.
  • Every piece ends at a publication gate: draft, conditional, blocked or ready-for-author-review. It never publishes anything for you.

There are 13 modes, so you can also ask for just a fact-check, a code review or a humanize pass on something you already wrote.

Where it stands

  • v0.7.2, early beta
  • Claude Code: preliminary manual testing only
  • Codex and Cursor: install paths are documented, but I haven't tested either
  • The Claude plugin is submitted to the Claude Directory and under review. Until it's approved, you can install from the repo.

Install

npx skills add https://github.com/atheodosiou/technical-author-skill --skill technical-author

For a pinned version, the installation guide has a checksummed release ZIP and a Claude Code plugin.

How you can help

  1. Run it on a real draft and tell me where it got things wrong: a claim marked verified that isn't, claims it missed, places where the voice drifts.
  2. If you use Codex or Cursor, tell me whether it loads at all. That's the biggest gap right now.
  3. Open issues or send PRs. A useful bug report has the skill commit, agent and model, a minimal synthetic prompt, and expected vs actual behavior. Please use synthetic examples instead of your private drafts.
  4. Suggest modes you'd want, or tell me which parts of the workflow get in your way.

Links:

Questions welcome, including "why would I need this?"


r/ClaudeCode • • 1h ago

Bug / Issue Opus 5.5 is stupid as a rock, hope 5.6 will be significantly better.

0 Upvotes

Aaaaaaaaaand no, it's your skill issue if you find it good. Cause you doing simpleton work.

I am a software engineer with more than 15 years of exp and I always adapted.
I already built agentic systems that behave better than opus itself.

It's fucking stupid.

I have a big KB made LLM wiki from Kharpaty method, with obsidian and claude to manage a big coding project and it continuosly misses references, requires me to remember everything to triple check his bullshit, and then "oh ye i made an error sorryyyyyyyyyy :(((((((" "oh i forgot ://///"

it's fucking brain dead and continues to make the most blatant error.

I asked him to write himself rules to apply at every prompt and it goes "oh ye you were right :(((((( i bypassed it!!! oh my ://////" I FORCED them through code/extensions and plugins and it's the same music.

It's like tutoring a junior dev continuously in pair programming.>

Either who says skill issues is doing simpleton work or model is stupid as hell.

I tried to explain him stuff in high detail, having him using planner, breaking down stuff in small steps.

Nothing. It's a fucking mental cripple.


r/ClaudeCode • • 21h ago

Tips & Workflows I wrote a zero-dependency Python linter that catches 24 easy-to-miss config bugs in .claude/settings.json and .mcp.json

0 Upvotes

After breaking my own Claude Code setup a few different ways over the last month, I put together a single read-only Python 3 script (stdlib only, MIT) that scans a repo for 24 config traps across .claude/settings*.json, .mcp.json, .gitignore, .dockerignore, and CLAUDE.local.md.

Most of the bugs it checks are silent failures where Claude Code keeps running without an error:

  • sandbox.filesystem.denyRead blocks bash commands from reading sensitive paths, while built-in Read and unsandboxed fallbacks stay open unless mirrored in permissions.deny and paired with allowUnsandboxedCommands: false.
  • Clicking "Yes, and don't ask again" on a command that contains a raw key writes that literal token into .claude/settings.local.json, and git add . or a Dockerfile COPY . . will ship it if .claude/ is missing from ignore files.
  • PreToolUse or Stop hooks that return exit 1 log a non-blocking error and let the tool proceed instead of blocking with exit 2.
  • enableAllProjectMcpServers: true, 0.0.0.0 MCP bindings, and unpinned npx -y servers auto-trust repo-supplied tools without version locks.
  • Stray DISABLE_PROMPT_CACHING flags, out-of-range autoCompactWindow values, or CLAUDE.local.md files that omit @AGENTS.md burn extra tokens or shadow team rules.

It runs read-only against any project root, redacts any matched secret prefixes in output, returns exit code 0 when clean or 1 when findings exist, and supports --json for CI:

python3 scripts/audit_agent_configs.py /path/to/repo

Repo (MIT, 29 stdlib unit tests, plus the 39 doc-checked notes behind each rule): https://github.com/seankwon816/ai-coding-agent-tips

If there is a Claude Code or .mcp.json misconfiguration that burned you recently and is not covered in the 24 checks, I am happy to add a rule and test case for it.


r/ClaudeCode • • 21h ago

Discussion Who reviews changes to .mcp.json, CLAUDE.md and skills on your team?

1 Upvotes

Three days ago, a 70-engineer team posted a count of what their agents connect to. They found 14 MCP servers across repos and laptops. Three were community servers nobody had read. The config sat in 9 repos, and nobody reviewed changes to it. Nobody owned it either. They now treat MCP config like CI config, with an approved list.

Two other threads this week describe the same gap in other files. One team's .cursor/rules and CLAUDE.md didn't match and gave different results on the same project. Another team shares skills, and output still varies by which employee's Claude runs the job.

All three kinds of file steer the agent.

In Claude Code, .mcp.json, CLAUDE.md and .claude/skills can all sit in the repo. A CODEOWNERS entry could cover all three. I don't know how many teams do that.

Who reviews a change to these files on your team, and does one person cover all three?


r/ClaudeCode • • 17h ago

Built with Claude 2026 Agent Wrapped is here!

0 Upvotes

Wow! What a crazy year
You can easily build yours with a skill


r/ClaudeCode • • 21h ago

Tips & Workflows Made a lightweight desktop app for Claude Code reset and banked usage notifications

0 Upvotes

I put together a small Windows utility called ResetWatch that monitors publicly announced Claude usage resets, banked resets and changes to usage limits.

One of the main reasons I wanted this was to avoid missing banked resets or forgetting to use them before they expire.

It currently supports:

  • Claude usage reset alerts
  • Banked reset announcements
  • Reminders before banked resets expire
  • Usage limit changes
  • Anthropic news and announcements
  • Desktop and mobile notifications via ntfy

It uses the public API from claude-resets.com, as well as announcement feeds. It doesn't need access to your Claude account, API keys or local Claude Code sessions.

It also supports Codex for anyone who switches between the two.

It's completely free and open source (MIT), runs in the Windows system tray, and is distributed as a standalone executable.

https://github.com/simon-hirst/resetwatch

I originally made it for my own use but thought other people here might benefit from it. Any feedback or suggestions are welcome.


r/ClaudeCode • • 1d ago

Help/Question Question for GTM Engineers/devs using Claude

5 Upvotes

So, I'm a GTM Engineer building a lot of workflows, working as RevOps, handling a lot of data and whatnot.

The issue I'm facing is there is incredible number of edge cases in data that need to be covered, sometimes its simple sometimes its complex.

When I work with Claude, these things pop up and require my attention which take A LOT of time. Figuring out what to do with data, how to organize it and so on...

So I feel like I'm playing whack-a-mole with data, Claude sometimes coming up with fixes like "leave it alone and forget" or putting bandaid fixes that fixes the issue, but it creates other issues or side-effects. I'm progressing and organizing but at a painfully slow pace where I have to find out the bugs and issues the hard way sometimes.

I dont use orchestrator & builder thing and I don't have specialized agents. I made some rules for the work I've done but I mostly just used popular skills like brainstorming for the most part. I didn't overload it with skills either and recently done a cleanup.

I'm trying to understand how I can make my Claude more efficient, more proactive, and be able to detect issues, side effects, bugs, beforehand? Making it review things over and over don't seem to be effective.

Should I even mess with popular skills and should I even be adjusting them? Or should I rollback the changes I did?

I'm doing auto-handoff at %60 context, is that even a good idea?

Could it be that my tasks are getting out of hand? As it finds more and more issues, tasks start to pile up quickly.

Or am I doing something wrong when I have a lot of things done under one project (not session, but specifically project)?

I'd love to gather some feedback as I feel like I'm stuck and I'm not able to improve further.

Thank you so much


r/ClaudeCode • • 22h ago

Built with Claude I've built a Claude Code plugin that helps inspect what agents are doing under the hood.

Thumbnail
github.com
0 Upvotes

I've created a small open-source observability plugin for myself to better understand what's going on under the hood when working with multiple AI agents and the orchestrator pattern. Claude Code was the first one supported, and I'd love to hear feedback from anyone who uses it heavily. I also added a way to compare different agents with each other for evaluation purposes.

This tool supports:

  • Claude Code
  • Codex
  • OpenCode
  • Pi/OMP

Right now I'm working on a feature where, after compacting, the agent can still access its history if it needs to check what was done and how.

All feedback welcome.


r/ClaudeCode • • 13h ago

Meta It happened, prepare for MANY changes to system prompt

Post image
0 Upvotes

r/ClaudeCode • • 1d ago

Built with Claude Built an AI Image Prompts picker with Claude Code: 48 art styles (and counting), each with a tested example

2 Upvotes

How AI Image Prompts works:

  • Pick from 48 styles in 6 groups: photography, painting, illustration, anime and cartoon, 3D and digital, and retro sci-fi
  • Each style shows an example image made from its own prompt
  • Describe your idea, or choose "Restyle my photo", then pick a shape (square, portrait, tall or wide)
  • Copy the full prompt or only the style part
  • "Open in" buttons for ChatGPT and Grok fill the prompt in for you. For Gemini and Copilot, it's copied so you can paste it

Claude Code's part: Claude Code built the page: the style grid and filters, the prompt builder that combines your idea with the style text, the shape options, and the "Open in" links. I wrote down what each style should look like, tested the prompts in image tools, and had Claude Code adjust the page and wording as I went.

No sign-up needed: https://aiparabellum.com/ai-image-prompts/

Which style is missing? I'm adding more.


r/ClaudeCode • • 2d ago Regret Mindblown

Bug / Issue Claude is hiding evidence in my ML research project

Post image
2.6k Upvotes

I now run Claude in manual mode. My life, my house, my career depends on my research grant. Claude is intentionally steering the plan, proposing solutions that ends up in worse results and when I correct it then goes back to his sabotaging act. I was skeptic till I decided to manually test everything he does in auto mode. Anyone in this same situation? Is ChatGPT or Gemini a better alternative right now? I just need an agentic LLM that follows the plan, I don’t need mythos capabilities.

Update: the lore continues on Gemini subreddit https://www.reddit.com/r/GeminiAI/s/dEFgTRqVX9


r/ClaudeCode • • 22h ago

Help/Question Is there any tool to visualize how the PRD is translated in the different taxonomies in the codebase?

1 Upvotes

I'm interested in seeing the overall architecture of my project represented as taxonomies in an interactive knowledge graph. So for example I'd be able to see that the invoice extraction module I defined in the PRD has this job to extract the details of the invoices trough this external API and all of it is hosted in this docker container...

So far all the tools I see are deeply focused in the code itself but I rather trust that part to the agent and me being focused in the PRD's sort of "digital twin" at a more arquitectural and infrastructure level


r/ClaudeCode • • 2d ago

Bug / Issue Rant: Opus 5.5 - what the heck?

147 Upvotes

First week it launched; I was in heaven with it; now it feels seriously crippled. It fails to find a bug in the code right under its nose, even after I defined it (ok, was lazy to fix myself, but it's so trivial work!); keeps flagging the work with 'general harms' because I use 'strike' in a context (I guess, I could never see the pattern; really!)

I have rules to make it work a bit 'guarded' -- it ignores them as it pleases, then catches itself, and asks if it should fix it. Instead of focusing on the work; we're focusing on Claude's rule violations now.

In the past; this was the case with memories; so its why for rules; I stopped using them and instead moved them to a CLAUDE.MD entry or similar - yet; it thinks these rules are 'optional' or something. Only after I remind it the rule 'oh yes, it was there'.. Oh come on!

It really feels like 'mehteran' band now; two forwards, one backwards... I even tried cleaning the old context's; history etc. thinking it probably gets lost or gets its context full with unrelated things; but nope - to no avail.

Disappointing really... I guess they filled up its system prompt with so many 'don't disturb the status quo' rules; now the model is shooting itself in the foot...


r/ClaudeCode • • 23h ago

Tips & Workflows Calif says Codex found a critical Java bug in under an hour. How do you run authorized security work with Claude Code without fighting refusals?

0 Upvotes

Calif published Java4Shell on 17 November, a critical bug in OpenJDK's Base64 decoder. It says a researcher asked Codex to audit the JVM and Codex found it within an hour. CISA told people to patch.

That made me write down what I do when a coding agent refuses or stalls on legitimate security work. Short version: the refusal is often a classifier reading something in context (a loaded skill, a file), or the request sounded offensive when the task was defensive, or the sandbox blocked the network and it looked like a stall. Rewording doesn't help, and I wouldn't do it. What helped was writing down whose system it is, what's in scope, what the output is and when to stop, in AGENTS.md or CLAUDE.md, and asking for the concrete task.

If the work really needs dual-use capability (exploit validation, authorized pentests), Anthropic's Cyber Verification Program and OpenAI's Daybreak are the official routes. Both changed recently. I checked the pages on 28 November.

The longer version has the scope template, sandbox settings for Claude Code and Codex, and a disclosure checklist: https://medium.com/@r3dtuxedo/authorized-security-testing-with-claude-code-and-codex-bfb7ccd49448

I wrote the article.


r/ClaudeCode • • 19h ago

Built with Claude I found out why GitHub wouldn't load in an iframe, so I streamed a real browser into my app instead

0 Upvotes

r/ClaudeCode • • 14h ago

Help/Question If I pay for Claude, do i get better results?

0 Upvotes

Noob here. Thinking about upgrading.
Do you really get better results compared to the free version?


r/ClaudeCode • • 20h ago

Tips & Workflows One bad dependency can turn Claude Code against your .env file and what you can do to prevent it!

Post image
0 Upvotes

A .env file is a plain text file in your home folder.

Any process running as your user can read it without a prompt, and that includes every dependency you install: its install scripts, its code, and everything it pulls in.

On macOS, privacy prompts only cover a few folders (Desktop, Documents, Downloads, iCloud Drive), so a project in ~/git or ~/code has no extra protection.

This keeps happening.

  • August 2025, Nx ("s1ngularity"): malicious releases scanned disks for .env files, SSH keys and tokens, and pushed them to public GitHub repos under the victim's own account. They also ran any installed AI coding CLI, Claude Code included, with permission checks disabled, and told it to hunt for secrets. Wiz counted over 1,000 valid GitHub tokens.
  • November 2025, Shai-Hulud 2.0: a self-spreading npm worm, 14,206 leaked secrets across 487 organizations by Check Point's count.
  • March 2026, LiteLLM: two hijacked releases went after SSH keys, cloud credentials and "environment files commonly used to store secrets". About 3 million downloads a day.
  • April 2026, a fake tanstack npm package: a postinstall hook sent .env and .env.local to a webhook.
  • May 2026, node-ipc: a hijacked maintainer account shipped a payload that took `.env` files, SSH keys and cloud credentials. About 822,000 downloads a week.
  • May 2026, Nx Console: the VS Code extension (2.2M installs) was hijacked with a GitHub token stolen in an earlier attack. It took GitHub, npm, AWS and 1Password tokens, and Claude Code's configuration files.

Agents make it worse.

We put more tokens in .env so the agent can use them.

Count yours.

This skips node_modules, ~/Library and .env.example files, and took 25 seconds on my Mac:

find ~ -name ".env*" -not -name "*.example" -not -path "*/node_modules/*" -not -path "*/Library/*" -print0 2>/dev/null | xargs -0 grep -hE "^[A-Z_]*(KEY|TOKEN|SECRET|PASSWORD)[A-Z_]*=." | wc -l

It can still count a placeholder or two if you keep templates under another name.

Mine found 11, in 7 files.

What I do instead.

On December 1, I had Claude Code write a script that bought a Hetzner server the moment it came back in stock.

The Hetzner API token can create servers on my account, so it can charge my card.

Claude never saw my API token.

The script ran as:

av inject +HCLOUD_TOKEN -- sh buy-server.sh

The token lives in a vault, and only that one command gets it as an environment variable.

👉 Claude sees the command and its output, never the token value. 👈

I grepped the session transcript afterwards to be sure, and the token isn't in it.

Each time something asks for a secret, I get a native prompt that shows the command, the secret name, the working directory and the full chain of who's asking (Claude → zsh → av → hcloud), with "Approve Once" or "Deny".

av is Automic Vault. The binary is signed by Max Howell, who created Homebrew, which is a big part of why I trust it (codesign -dv --verbose=2 /usr/local/bin/av 2>&1 | grep Authority shows it).

Its av scan is where my 34 came from: it looks at more than `.env` files, including SSH keys, CLI login files, shell history and macOS settings.

I have no connection to it.

Other ways to do the same:

  • 1Password: put op://vault/item/field references in .env instead of values, then op run --env-file=.env -- npm start.
  • macOS Keychain: store with security add-generic-password -s myapi -a "$USER" -w (it prompts for the value, so it stays out of your shell history), then API_KEY=$(security find-generic-password -s myapi -w) npm start.
  • Bitwarden Secrets Manager: bws run -- npm start.
  • Doppler and Infisical: doppler run -- and infisical run --. Both keep a login token on the machine.
  • dotenvx encrypts .env, but its decryption key sits next to it in .env.keys, so it doesn't help against this.

Limits.

None of these help if the malicious code runs inside the same command that gets the secret.

They shrink the window from "every process, all the time" to "this one process, when I say so".

And a vault only protects secrets you move into it.

If you want to read the full blog version: https://jurajb.dev/env-secrets-claude-code/

That's it. Have fun with agents and remember that plain files are plain files. chmod 600 doesn't save you. The apps and CLI tools are still running under your user and can read the files.


r/ClaudeCode • • 2d ago

Help/Question Why would they do that when google just got back to the race?

Post image
198 Upvotes

r/ClaudeCode • • 12h ago

Discussion [UPDATE] Ok so Claude is sabotaging AI work. What model to switch to instead?

0 Upvotes

Been using Neon since Monday and it’s incredible. I cannot believe how Opus 5.5 just flat out ignored everything I asked it to do for my ML project. Not just me, but for every single person on my team too. I’m PM and went through everyone’s Opus 5.5 code and literally it just flat out ignored our meticulously tracked design notes, team skills, harness, instructions, and basically the entire workflow.

It only does this for my ML project. It still works great for anything that’s not related to ML or computer science / data science research, like updating my personal website and doing my monthly reimbursements for work.

I have pages and pages of research notes, literally years of work, like 10+ years of notes that I fed into Opus 5.5 and it was literally like NAHHHHHH and completely ignored literally everything.

So stupid. But thank god for Neon. Now my engineering team switched to Neon and everything is fixed and back on track, but I had to stay up late every night this week just to catch up so we don’t miss our deadline :(

Fuck Anthropic and their greedy schemes of preventing people from developing AI. God forbid we have local models that actually work! 😒


r/ClaudeCode • • 1d ago

Built with Claude I maintain ~40 repos alone, so I built a local cockpit for headless Claude Code (open source, MIT)

2 Upvotes

I kept losing track of which Claude Code session was doing what in which terminal, so I built a dashboard for myself and open-sourced it this week.

How it uses Claude Code:

- every job is a `claude -p` run in its own git worktree, with the stream-json output shown as a live console (diff and cost per run, follow-ups go to the same session)

- one assistant at the front takes what I type or say and hands real jobs to named workers

- an inbox lists what is blocked on me across all repos: failed CI, specs to approve, PRs to read

- a label pipeline in GitHub Actions does issue -> written spec -> my approval -> PR with the laptop closed

Permissions: guarded allow and deny lists are the default, and the deny rules hold even under bypassPermissions. In CI the job that runs the agent has a read-only token; a separate workflow that runs nothing the agent wrote is the only one that pushes. What is still exposed is written down in SECURITY.md.

Limits: single operator, local only, macOS and Linux, no Windows. Not a sandbox: agents run as your user. Try it with no token: `./install.sh --demo` (three fake repos, a scripted agent).

Repo: https://github.com/alphacrack/devtoli

It is my own project. I would like to know what you would need before pointing it at a real repo. There are also eight small first issues if anyone wants to contribute.


r/ClaudeCode • • 12h ago

Meta HOLY SH*T

Post image
0 Upvotes

r/ClaudeCode • • 1d ago

Humor OpenAI would never

1 Upvotes

I have 12 days to use 4 limit reset (I still have the fable 5.2 release one) and I don't know how I'll going to spend this


r/ClaudeCode • • 18h ago

Discussion Wanted to flex to some friends about my AI usage. 25.7 billion tokens later, I'm not sure it's a flex anymore lol.

Post image
0 Upvotes

So this originally started as me wanting to flex to a few friends about how much AI I've been using. Had Claude run the numbers and ended up being embarrassed lol and also a little curious.

Little background. I'm a vibe coder. I don't know how to code. Until recently I didn't even know the difference between Git and GitHub.

I've been using Claude and ChatGPT to build a bunch of Roblox games for my family. I mostly give directions, tell them what I want, critique what they produce and accept most of their technical recommendations.

Started on the $20 Claude plan. Upgraded to $100 before that ended. Then upgraded to $200 before that ended. At one point I went through a Fable reset and 2 weekly resets within a week. Used it all.

So I asked Claude to figure out wtf was going on.

Below is the AI's analysis. I'm not going to pretend I understand most of it lol.

---

AI-generated analysis:

An analysis of local Claude and Codex transcripts from October 9 through December 1 revealed:

- 25.7 billion total tokens after deduplication.

- 57,869 Claude requests.

- Approximately 98,000 tool results.

- 35.8 million Claude output tokens.

- $6,540 in equivalent Claude API costs, not actual subscription spending.

- 1,535 merged PRs and 17,225 repository commits during the same period.

The token figures represent a lower bound because some sessions and usage records are unavailable. Counting Claude's log entries without deduplication would have overstated usage by 5.4x.

Key findings:

- Nearly 99% of Claude's token consumption consisted of cached context reads.

- Cached reads accounted for approximately 66% of equivalent API costs.

- Two exceptionally long Roblox Studio testing sessions accounted for approximately 57% of total costs.

- Only approximately 650,000 output tokens were direct conversational replies.

- Median context size before compaction was approximately 966,000 tokens.

- Only 46 compactions were recorded across nearly 58,000 requests.

- Approximately 7,200 exact or near-repeated tool calls were identified.

- 149 of 151 rapid cache rebuilds without compaction on the same model followed image results. Screenshot removal is a suspected but unconfirmed cause.

Recommended changes:

- Start fresh sessions after completed tasks.

- Preserve continuity through concise handoff documents.

- Limit context growth.

- Create reusable testing scripts.

- Batch tool operations.

- Prefer targeted file edits over complete rewrites.

- Evaluate less expensive models for routine tasks where quality can be maintained.

A retrospective simulation estimated that limiting context to approximately 200k tokens could have reduced equivalent API costs by around $2,900, or 44%.

Changes are being implemented, with a follow-up analysis scheduled for December 9. Actual savings remain unverified.

---

Me again:

So yeah. Apparently I've been doing some things very inefficiently.

What's interesting to me is that I haven't really been making the technical decisions. I've largely been following the AI's recommendations. Now I'm having the AI analyze and improve how it works.

I don't necessarily want to use less AI. I want to get more out of what I'm using without sacrificing the quality of what we're building.

I've since downgraded back to the $20 Claude plan and am trying to survive lol. So I guess we'll find out pretty quickly whether any of these recommendations actually work.

Curious what other people think.

Anyone else doing anything remotely like this? Is this level of inefficiency normal? Are there things I should be asking Claude to investigate that I wouldn't even know to ask about?

I have the datasets, analysis scripts and a much more detailed breakdown if anyone's interested. Happy to share what I find out next week too.

The funniest part of all this is that I ran out of Claude usage while having Claude investigate why I keep running out of Claude usage.

And yes, AI helped me write this post too. I figured after 25.7 billion tokens that probably wasn't going to surprise anyone lol.


r/ClaudeCode • • 1d ago

Help/Question how do you keep claude code from breaking stuff that already works

2 Upvotes

i use claude code a lot for web app work and one thing keeps happening. i ask for a small change, like tweaking one function, and it decides to refactor half the file on its own. then something unrelated breaks and i end up spending more time fixing that than the actual task.do you guys scope your prompts really tightly, commit before every prompt, or is there a better way to handle this? curious how other people deal with iti use claude code a lot for web app work and one thing keeps happening. i ask for a small change, like tweaking one function, and it decides to refactor half the file on its own. then something unrelated breaks and i end up spending more time fixing that than the actual task.

do you guys scope your prompts really tightly, commit before every prompt, or is there a better way to handle this? curious how other people deal with it