/wellmade:backend-correctnessfrom wellmade
Guards against concurrency bugs, race conditions, idempotency failures, and production-only defects in backend code. Covers locking, retries, outbox patterns, and schema migration safety.
Ships in wellmade. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
These are the bugs that look fine in a diff and in a demo, then fail in production under load, across a clock, or after a schema change. They are the most common serious findings in real review. Build against them by default.
Two requests will run at the same time. Assume it.
update ... where stock >= $1 returning id) and check the row count. A plain transaction is not enough: at PostgreSQL's default Read Committed level, a read-then-write inside a transaction still races. At Repeatable Read or Serializable, retry the whole transaction on a serialization failure (SQLSTATE 40001).select ... for update) or use optimistic concurrency with a version column. Do not read, think, then blindly write.BEGIN and COMMIT sent as separate calls through a pooled helper; each call can land on a different connection. Use one statement, or a transaction object bound to a single connection.for update skip locked and a status column, so two workers never take the same row.Network retries, double clicks, and at-least-once queues are normal. Every write a client or a queue can repeat must be safe to repeat.
Time bugs are silent and data-destroying.
Date holds milliseconds, a PostgreSQL timestamptz holds microseconds. A value read into JavaScript and sent back is truncated, so created_at <= $1 can miss the row it came from.now() and CURRENT_TIMESTAMP always return the transaction start, and clock_timestamp() returns the wall clock. In MySQL, NOW() returns the statement start, and SYSDATE() returns the wall clock.order by created_at, id.id > last_seen_id. A sequence value is taken before commit, so a lower id can commit after a higher one, and the reader skips it forever. Claim work with a status column, or read a commit-ordered source.>= start and < end).numeric type. Never as a float.where (created_at, id) > ($1, $2) order by created_at, id limit 50). A large OFFSET reads and throws away every skipped row.shipping-to-production.if not exists, guarded updates), because a failed deploy often runs it again.lock_timeout so a blocked migration fails fast instead of queueing every query behind it, build indexes with CREATE INDEX CONCURRENTLY, and backfill in batches.where id = $1 and org_id = $2. Return the same 404 for "not found" and "not yours".role, owner_id, or price.Retry-After. Say in the code where the limit lives if it is not in the handler.If the system decides something about a user or request (fraud, abuse, ranking, a score):
id > last_seen as a watermark.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
15 skills in this plugin
/collage-reelsMake or edit a 9:16 scrapbook collage reel for Instagram Reels, TikTok, or Shorts. The look is die-cut photo stickers with a white edge on paper textures, big chunky words, serif lines, handwritten notes, sticky notes, polaroids, stamps, app windows, and whip transitions, all landing on the words of a voiceover. Includes a starter Remotion project that turns photos, clips, and a script into the reel. Load when someone wants a creator intro, a "this is me" or "meet the team" reel, a portfolio reel, a product or feature intro in a playful style, a recap or event reel, wants their photos or footage cut out as stickers, wants to "edit this like that reel", or shares a scrapbook, collage, or sticker-style video and says "make one like this"./design-systemsDefine and apply a real design system so an interface looks intentional, not templated. Load before designing or restyling any UI, choosing fonts or colors, building a landing page, dashboard, or marketing site, adding a dark theme, or when a draft looks generic, "AI-made", or "vibe-coded". Covers type scale, color and contrast, spacing, shape, interaction states, texture, motion, and the taste rules that separate crafted work from defaults./driving-coding-agentsGet better results from a coding agent with less back-and-forth. Load when briefing an agent on a task, when writing a prompt for a subagent or delegating part of a task, when a session keeps producing the wrong thing, or when setting up how you work with an agent day to day. Covers how to write a brief with a finish line, how to keep scope tight, plans and subagents, how to review agent output, and the habits that cause the most rework. Written for the human directing the agent, and for the agent reading its own instructions.npx claudepluginhub arjanchaudharyy/wellmade --plugin wellmadeOther plugins' skills for the same job