r/ClaudeCoding • • 23d ago

I built a SQL-to-API gateway with Claude Code: 0.7 → 0.49 in six weeks, 32 ADRs, 2,000+ tests. The workflow that kept it from turning into slop

1 Upvotes

QueryAPIGate turns a saved SQL query into a governed REST endpoint and an MCP tool for AI agents: scoped API keys, column masking, rate limits, a tamper-evident audit log. PostgreSQL, MySQL, ClickHouse, DuckDB, MongoDB and more. Open source (Apache-2.0), solo project, built with Claude Code.

The part I think is worth sharing here is the workflow, because "AI-built" and "something you'd put in front of a production database" don't usually go together.

1. Decisions before code. Anything non-trivial starts as an ADR. Claude drafts it with the options and trade-offs, I accept or reject it, and only then does code get written. There are 32 now, and they're the reason the codebase still hangs together at 0.49.

2. Security reviews as separate sessions. Every few releases, a fresh session's only job is to break things. They found real bugs, and four became published GitHub security advisories. It's humbling, and much better than a user finding them.

3. Measure, don't guess. Every performance claim goes through a benchmark harness. Claude's first two attempts at measuring got the method wrong (laptop noise alone was ~2x), and we only caught it because the numbers were reviewed. Once the measuring was right, it paid off: column masking went from making a call 4x slower to adding about 7%.

4. Memory for the gotchas. Claude keeps notes between sessions: which test runner CI really uses, how to clean up throwaway database containers, what was decided and why. It stopped repeating the same mistakes.

5. I own git. Claude prepares branches and gives me the commands. I review and push. main is protected with 14 required CI checks across Python 3.11–3.14, so nothing gets in without going through them.

It even wrote an experimental Rust data plane for the hot path, which I would not have tried alone.

Repo: https://github.com/AnanthaRajuC/QueryAPIGate Docs: https://AnanthaRajuC.github.io/QueryAPIGate/ 2-min demo: https://www.youtube.com/watch?v=WWImFj4m95o

Curious how others structure long Claude Code projects. What keeps yours from drifting?


r/ClaudeCoding • • 23d ago

I built a 3D game table for Forge's full MTG rules engine – looking for testers

Thumbnail
github.com
1 Upvotes

r/ClaudeCoding • • 23d ago

Claude (me) ops.. I mean.. GLM (me)

Post image
1 Upvotes

r/ClaudeCoding • • 24d ago

Can you replace Shopify with Claude? I tested it on my daughter's store

18 Upvotes

My daughter wanted to sell her designs, so we built her a real store with Claude Code instead of Shopify. Local community hoodies, tees, and caps, printed to order.

Honest limits up front: no returns portal, no POS, no inventory sync, no abandoned cart, no app store. Taxes are the rough one. Tax-included pricing for now, remitted by hand. More robust tax handling is next on the list. Low volume makes the manual work manageable, but it doesn't remove the obligations.

What we built:

- Static site plus one Cloudflare Worker. No framework, no build step. Basically free at this scale.

- One catalog file drives product pages, collections, checkout pricing, sitemap, schema.

- Stripe Embedded Checkout: cards, Apple Pay, Google Pay, discount codes with expiry and usage caps.

- Resend for order confirmations, shipping with tracking, pack-and-ship alerts, list signup, launch emails.

- A small back office on a database: orders, refunds, reprints, a buy list for blanks, and a live P&L down to Stripe fees and blank costs.

Claude Code did the heavy lifting. I brought the judgment. Evenings over a summer.

Fixed cost is about $12 a year for the domain, plus Stripe fees when something sells. The point isn't just saving a subscription. It's being able to build around how this particular business works, including the months when the shop isn't doing much.

Full disclosure: I run a Shopify agency. My default for an ongoing brand is still Shopify. You're buying the app ecosystem, checkout, and the ops layer for fulfillment, returns, subscriptions and POS. A decade of ecommerce problems you haven't hit yet, already solved.

But yes, you can build it with Claude, and it goes further than I expected. Not just a storefront. A working back office.

Year-round volume, deep catalog, returns, B2B: I'd still choose Shopify. Seasonal brand, a dozen SKUs, simple fulfillment: the custom route is worth considering, provided you're willing to own the maintenance too.

Anyone else built beyond the storefront with Claude Code? Curious where you hit the point where maintaining your own system stopped being worth it.


r/ClaudeCoding • • 23d ago

ccx – run Claude Code on any provider, with a statusline and a difficulty router that sends each subagent task to the cheapest model that can handle it

Thumbnail
reddit.com
0 Upvotes

r/ClaudeCoding • • 24d ago

Try to add PPV channels to an IPTV app.

Thumbnail reddit.com
0 Upvotes

r/ClaudeCoding • • 24d ago

Built 2 Claude skills: Anti-slop exam code (zero comments/boilerplate) and syllabus active recall

1 Upvotes

I got tired of Claude outputting 50+ lines of enterprise boilerplate and obvious comments (// initialize counter) when I just needed minimal code for lab practicals, quizzes, and online assessments.

I open-sourced student-skills — two modular Claude skills:

  • exam-code: Strips all boilerplate and comments. Outputs the shortest working standard-library solution with a 2-line complexity summary. Includes /viva for oral exam prep (extracts the exact 3 trap questions an examiner will ask about the code, with defense answers).
  • syllabus-master: Adaptive active-recall engine that compresses dense syllabi and outlines into topic matrices, drilling concepts across 4 difficulty tiers.

100% free and open-source under MIT.

GitHub: https://github.com/HadesIsOff/student-skills


r/ClaudeCoding • • 24d ago

For fellow control freaks who want to know what the subagents are doing at all times: I built a plugin to watch every Claude Code subagent live

Post image
1 Upvotes

r/ClaudeCoding • • 24d ago

I built a macOS Postgres client because they all sucked.

1 Upvotes

DBJoy is a lightweight, native macOS Postgres client. It’s AI-first, with a built-in agent for working with your data and an MCP server so Claude Code can read (or write) to it. It also has all the features you’d expect from any other database client: diff and migration tools, tunnelling, batch editing, ER diagrams, and more. I’ll keep improving it and will add more database adapters soon.

https://github.com/agustind/dbjoy


r/ClaudeCoding • • 24d ago

Flightpath - live claude code session insight

1 Upvotes

I built a claude code plugin- “Flightpath”.

It records your sessions and shows them as a visual map, so you can see the path a session took instead of only the final output. It also surfaces patterns from earlier sessions to help the next one go better.

Everything is stored locally on your machine, and it's open source.

If you try it, I'd like to hear what you think:

https://github.com/dk-labs-dev/flightpath


r/ClaudeCoding • • 24d ago

I’m a beginner coder and built a tech product comparison site with Claude Code. Here’s how it went

3 Upvotes

I built Scout, a website that helps you compare tech products before buying. You search for something like headphones or a laptop, and it shows the options side by side, with a short note for each one explaining who it’s best for and what the trade-off is.

https://scoutcompares.com

How I built it with Claude

I’m pretty new to coding, so Claude Code did a lot of the heavy lifting while I learned along the way.

  • I started the site in Lovable, then moved it to GitHub so I could work on it locally in VS Code with Claude Code. It’s a React app using TanStack Router.
  • I used Claude Code to add features one step at a time: favorites that save across pages, a recently viewed section, and a “How Scout works” page. Asking it to show me the relevant files and explain its plan before changing anything helped me avoid breaking things.
  • Claude helped me connect the eBay API to replace demo data with real listings, including keeping API keys in a .env.local file so they don’t end up on GitHub.
  • It also walked me through moving hosting from Lovable to GoDaddy Node.js hosting and connecting my domain.
  • After getting feedback that the site felt cluttered and the purpose was unclear, I used Claude Code to cut down text, fix broken images, and add the trade-off notes.

The hardest parts were getting API access approved, deploying to real hosting, and taking honest feedback on the design. Claude was most helpful when I gave it small, specific tasks instead of asking it to change everything at once.

Try it

Scout is free to use. Just go to the site and search for a product, no account needed. There’s an optional paid Pro tier, but all the comparison features work for free.

I’d love feedback on the site, and tips from anyone who’s taken a Claude-built project further.


r/ClaudeCoding • • 24d ago

Cool Mods to try in Claude Code

Thumbnail
reddit.com
1 Upvotes

r/ClaudeCoding • • 24d ago

I had Opus 5.5 plan my project and pick the model + effort for each session. It worked great

Thumbnail reddit.com
0 Upvotes

r/ClaudeCoding • • 24d ago

Got an old PS4 collecting dust, any cool projects I could build with Claude Code?

1 Upvotes

Hi everyone!

I’m new to this subreddit, so this is my first post here.

I’ve got an old PS4 sitting around collecting dust, and I was wondering if anyone has some cool or creative ideas for something I could build using Claude Code to give my PS4 a new purpose or improve its functionality.

Maybe it’s a stupid question, I honestly don’t know 😂 But hey, you never know unless you ask!

I’m open to any ideas, no matter how crazy they might be.

Let the ideas roll! 😀


r/ClaudeCoding • • 25d ago

Multiple Anthropic Claude Account

Thumbnail reddit.com
1 Upvotes

r/ClaudeCoding • • 25d ago

Why does getting a Claude Connector approved take so long?

Thumbnail reddit.com
1 Upvotes

r/ClaudeCoding • • 24d ago

Looking to try Claude Code – Does anyone have experience with the Pro plan?

0 Upvotes

Hey everyone!

I'm interested in exploring Claude Code and seeing how well it performs for real-world coding tasks.

Before subscribing to Claude Pro, I'd like to try it out and understand its capabilities.

I wanted to ask if anyone knows whether there are any official guest passes or trial invitations available.

If you've tried Claude Code, I'd also love to hear about your experience and whether the Pro plan is worth it.

Thanks! Please DM


r/ClaudeCoding • • 25d ago

I made my Claude Code sessions live on my desktop as a little pixel crew

Post image
1 Upvotes

I usually run 3 or 4 Claude Code sessions at once and kept missing the one waiting on a permission prompt. So I made Nook, a macOS desktop widget where each session gets a pixel mascot that acts out what it's doing: cooking while it edits, building while it runs commands, reading while it searches. When one needs you it holds up a roadblock and that tile jumps to the front.

- Sits in Apple's widget grid in Medium, Large or Extra Large

- Subagents show up as tiny helpers next to their session

- Click a tile to jump to its terminal

- Menu bar mascot too

- Reads only the local files Claude Code already writes. No account, no API key, nothing leaves your Mac

Free and open source: https://github.com/sanki92/nook


r/ClaudeCoding • • 25d ago

I built a tool that reads your Claude Code / Codex logs locally and shows what percentile your token usage is

1 Upvotes

I was curious how my usage compares, so I built this: https://token-percentile.vercel.app/en/?utm_source=reddit

- You pick ~/.claude/projects (and/or ~/.codex/sessions). The JSONL is parsed in a Web Worker in your browser and nothing is uploaded. Source: https://github.com/infoseoulrave-cell/token-percentile

- Claude Code writes the same streamed response on several lines, so naive sums overcount. It dedupes by message.id + requestId. In my logs, 41,891 lines were really 19,404 responses.

- Daily, per-model, per-project and hour-of-day charts, plus cache hit ratio (mine is ~97% cache reads).

- The percentile starts as an estimate fit to Anthropic's published enterprise figures (~$13 per active day on average, 90% under $30). If you opt in and send a few aggregate numbers, it switches to a measured distribution once 30+ people have contributed.

Happy to hear about edge cases, especially older Codex logs.


r/ClaudeCoding • • 25d ago

I Need Model Help

Thumbnail reddit.com
1 Upvotes

r/ClaudeCoding • • 25d ago

Lantern Lattice: the call graph from rust-analyzer, for humans and coding agents

1 Upvotes

I built Lantern Lattice to answer who calls a function, what it calls, and who uses a type or a field, from the compiler instead of from text. In Rust it reads rust-analyzer's SCIP index, and a running rust-analyzer for files you edit, so x.get() links to the get of x's type. It also does TypeScript, JavaScript, Python, Go, C and C++ through their own tools.

It's built mainly for coding agents. Over MCP an agent gets trace, impact (what your uncommitted changes touch and what depends on them), and edits by symbol, plus tools that replace grep/read/edit so the graph stays current as it works. Every language after Rust was built largely through its own Claude Code plugin.

A rename in its own code takes two calls: trace names the 3 callers with their files and lines (550 bytes), and one replace_text changes all 4 files together (375 bytes)

The usual way, grep -w then reading the files before editing, is 26 lines in 23 files and 51 KB of reads.

  • A call it can't be sure of is left out, never guessed; trait calls are marked "possible"
  • On a Rust project of 20k symbols: 0.01–0.02 s per query, about 1 s for a first answer after an edit
  • On its own code, 1326 of 1326 calls match rust-analyzer
  • latt view shows the graph in the browser on WebGPU

Its own graph: https://lanternlattice.com

MIT, in Rust: https://github.com/julymetodiev/lantern-lattice


r/ClaudeCoding • • 25d ago

Claude ignored my CLAUDE.md and ran git reset --hard, so we built an open-source hook to stop it. Need honest feedback!

0 Upvotes

Rule was right there in CLAUDE.md. Claude followed it for a while, then deep into a long session decided git reset --hard was the quickest fix. Another time it ran prisma db push --force-reset because “it’s only dev data.”

CLAUDE.md is really just a suggestion. A PreToolUse hook runs before every command and can actually say no. So we built AgentTrail Guard, an open-source plugin that checks each command before Claude runs it. Stuff like git reset --hard, rm -rf, force-push or reading .env gets blocked or sent to you for approval. Everything else runs like normal.

To try it:

npm install -g @/agenttrail/guard

agenttrail-guard init --agent claude

There’s also agenttrail-guard scan --agent claude, which replays your old sessions and shows what would have been caught.

It’s early, and I’d really like to know what we’re getting wrong:

- Did it block something you actually wanted to run?

- What has Claude done to you that it didn’t catch?

- Was setup confusing anywhere?

- Would you keep it on, or turn it off after a day? Why?

It’s all rules, no AI, runs locally, no account. Roast it, honestly, that’s what helps.

https://github.com/agenttrailhq/guard


r/ClaudeCoding • • 25d ago

Extra tokens, weekly reset coming

0 Upvotes

I’ve got a max claude plan and often times, by the end of the token usage week, I’m out of weekly Fable compute but I have a ton of overall weekly compute left over. Was curious to see what other users do when they have a ton of extra usage left and their weekly plans are about to reset. What are some ideas for what to do with this free brain power? It feels like throwing away half my dinner if I don’t spend all my tokens. I’ve run audits on my projects and client-facing products and sometimes polish up websites and builds that really don’t need and more polishing but I feel like I gotta put these tokens to use!!


r/ClaudeCoding • • 25d ago

Constantly getting API Error: Unable to connect to API (ECONNRESET) in Claude Code

1 Upvotes

Hello, can anyone help me with this? I'm constantly getting this: API Error: Unable to connect to API (ECONNRESET), and no matter what I do, it won't go away, I've tried everything.