Developer Tools & Cloud Infra

React Dev Tools & Infrastructure Guardrails

Developer tools guardrails prevent running dangerous actions against production by mistake, accidental git force-pushes, unbounded database queries, and piped curl-to-bash terminal scripts.

Dev tools kit

Production by accident, force-pushes, unbounded SQL and piped installs.

pnpm dlx shadcn@4.21.0 add @bollard/devtools-pack

Components in Dev tools & infra (100)

React 19+ · Tailwind v4 · shadcn
Agent Action ApproveStyled

A review screen for an AI agent's tool call that spells out what it will delete, send or change and how far it reaches, before someone approves it.

Stops: Unreviewed agent tool calls
AI Paste GuardStyled

Holds a paste into an AI prompt box when it carries text the person could not see, so hidden prompt injections are noticed before they are sent.

Stops: Hidden prompt injection in a paste
MCP Tool ReviewStyled

When an MCP server changes a tool you approved, shows the word-by-word diff and highlights poisoned instructions before the agent uses it.

Stops: Helps catch an MCP server swapping in poisoned tools
Reset Hard ReadbackStyled

Lists exactly what git reset --hard, clean, checkout -- . or stash drop would destroy, and offers to stash first.

Stops: Uncommitted work wiped by git reset
Force Push ConfirmStyled

Lists every commit a force push would drop, marks other people's work and builds a safer lease command, so teammates' commits aren't erased.

Stops: Teammates' commits erased by force push
Infra Plan ReadbackStyled

Reads a Terraform or OpenTofu plan back with data-losing destroys and replacements first, so an apply doesn't quietly delete a production database.

Stops: Helps prevent terraform apply destroying a production database
Migration PreviewStyled

Reads a Postgres migration back step by step with what each step locks and what can't be undone, so it doesn't take production down or lose data.

Stops: Helps prevent a migration locking a production table for hours
Feature Flag RolloutStyled

Reads back exactly who gets a feature flag and asks again before production skips ramp steps, so a flag isn't released to everyone early.

Stops: Feature flag released to everyone early
Branch TargetStyled

Checks a merge or deploy target against your branch rules, so a feature branch doesn't land in the wrong base.

Stops: Feature branch merged into wrong base
Guarded SwitchStyled

Puts a lift-up cover over a critical switch like maintenance mode or a kill switch, so a stray click can't flip it.

Stops: Helps prevent a kill switch flipped by accident
Two-Person ApproveStyled

Review screen for the two-person rule: it shows the exact plan, hides Approve from the requester, and flags edits made after review.

Stops: Helps prevent a requester approving their own risky change
Rollback PreviewStyled

Shows what a rollback reverts, what it can't undo and which versions it skips, then confirms by typing the target's name.

Stops: Rollback skipped more versions than expected
DNS Record GuardStyled

Checks a DNS edit or delete against the whole zone before saving, so a removed MX or broken SPF doesn't quietly stop company email.

Stops: Deleted MX record stopped company email
Key RotateStyled

Keeps old and new API keys valid during a rotation and shows which clients have switched, so cutting off the old key doesn't take production down.

Stops: Helps prevent a key rotation taking production down
Retention ChangeStyled

Says exactly what a shorter data-retention period will delete and when, and suggests an export before it purges.

Stops: Shorter retention purged months of data
Bulk RunnerStyled

Runs a bulk job with live done, failed and remaining counts, so a stopped or failed job never ends in "some of it happened, probably".

Stops: Bulk job half done, nobody knows
Clean Paste InputStyled

Strips invisible characters from pasted codes and IDs, so values that look identical don't fail for hidden reasons.

Stops: Pasted code fails from hidden characters
Code InputStyled

A code field that turns off autocorrect and catches smart quotes, long dashes and hidden characters, so pasted commands and JSON don't fail invisibly.

Stops: Smart quotes break a pasted command
Homoglyph GuardStyled

Flags look-alike, mixed-script, styled and invisible characters in usernames and domains, such as pаypal.com with a Cyrillic а.

Stops: Helps catch a spoofed username with Cyrillic letters
Contrast PickerStyled

Shows the WCAG contrast ratio of a text and background pair, never rounded up, and offers the nearest passing colour, so unreadable text doesn't ship.

Stops: Unreadable text colour shipped
Shortcut RecorderStyled

Checks a newly recorded keyboard shortcut against browser and OS reserved keys and the app's own bindings before it's saved.

Stops: Shortcut clashes with Ctrl+W
Scope PickerStyled

Reads back what an API key will be able to do in plain words, flags risky scopes and suggests trimming to what was actually used.

Stops: API key with admin powers leaks
Brand Color InputStyled

A colour field that names the nearest brand token and offers a snap when a value is a hair off, so near-miss brand colours don't ship.

Stops: Brand colour off by a hex digit
Epoch InputStyled

Reads a timestamp back as a date in your zone and UTC and catches unit mix-ups, so a value isn't saved as year 57,754 or the wrong hour.

Stops: Timestamp saved as year 57754
Schedule ReadbackStyled

Reads a cron expression back in plain English with the next runs in your zone and the server's, catching classic cron traps.

Stops: Cron job fires at the wrong time
Replace PreviewStyled

Previews every find-and-replace match in context before applying, so "cat" → "dog" doesn't turn "category" into "dogegory".

Stops: Replace-all mangles other words
Version BumpStyled

Suggests the semver bump a set of changes needs and warns when the pick is too small, so breaking changes don't ship as minor or patch.

Stops: Breaking change shipped as a minor
K8s Resource InputStyled

Reads Kubernetes CPU and memory requests back in plain units, so 500 meaning 500 cores or 400m meaning 0.4 bytes is caught before deploy.

Stops: Pod asks for 500 CPU cores
Connection String InputStyled

Masks a database URL's password and reads back the host, user and TLS mode the driver will actually use, so it doesn't fail or connect insecurely.

Stops: Database URL leaks or skips TLS
Package Name CheckStyled

Reads an npm or pip install command package by package and flags typosquats, wrong import names and packages that don't exist yet.

Stops: Helps catch a typosquatted package before install
Cache Control InputStyled

Reads back who will store a response and for how long, so a per-user page isn't cached by the CDN and HTML isn't stuck for days.

Stops: Private page cached by the CDN
Curl Pipe GuardStyled

Shows where a curl | sh install script really comes from and offers download, inspect and verify steps instead, before an untrusted script runs.

Stops: Ran an untrusted install script
Port Expose GuardStyled

Reads docker run, compose ports or a Kubernetes Service back as who can reach each port, so a database isn't published to the internet by accident.

Stops: Helps prevent a database port being opened to the internet
SSH Key InputStyled

Catches a private SSH key pasted where a public key belongs, plus weak, truncated or malformed public keys, before they're saved.

Stops: Private SSH key pasted where a public key belongs
JWT InspectStyled

Decodes a JWT on the page, without sending it anywhere, and flags alg none, key confusion, expiry and readable secrets.

Stops: Helps keep live tokens out of online decoders
Cert Paste CheckStyled

Tells a certificate, key and CSR apart as they're pasted and catches chain, expiry, hostname and key-mismatch mistakes before a TLS install breaks.

Stops: Broken TLS chain in production
Chmod InputStyled

Reads a Unix file mode back in plain words and flags permissions that leak data or lock people out, like a world-readable key.

Stops: World-writable file or exposed key
Redirect URI InputStyled

Catches OAuth redirect URIs that are close to but not exactly the registered one, plus unsafe ones like localhost in production or wildcards.

Stops: OAuth redirect_uri_mismatch error
CSP InputStyled

Reads a Content-Security-Policy the way a browser does, so a policy that looks strict but blocks nothing doesn't ship.

Stops: CSP that blocks nothing
Public Env GuardStyled

Reads a .env the way the bundler does and flags secrets in public variables, so a secret key isn't shipped in the client bundle.

Stops: Helps catch a secret key shipped in the client bundle
Robots.txt GuardStyled

Catches robots.txt rules that would quietly de-index a site, like Disallow: / in production or blocked CSS and JS.

Stops: Site de-indexed by robots.txt
Image Tag InputStyled

Reads a container image reference back the way Docker resolves it, so :latest, moving tags or a typo'd registry don't deploy the wrong image.

Stops: Helps prevent a deploy pulling the wrong image
CORS Origin InputStyled

Checks a CORS allow-list for origins that never match or open the API to every site, and tests an origin against it.

Stops: CORS allow-list never matches
Webhook URL InputStyled

Judges a webhook URL for the environment it's saved to and warns when an edit only changed www or a trailing slash, which senders treat as a failed redirect.

Stops: Webhooks pointed at localhost
Env PasteStyled

Shows a pasted .env file as the loader will read it, so stray quotes, a ' #' that cuts a value short or duplicate keys don't slip through.

Stops: Env value silently cut short
JSON FieldStyled

Validates JSON as you type, points at the exact line and column, and repairs the usual hand-editing mistakes in one tap.

Stops: Broken JSON saved to config
Regex FieldStyled

Flags regexes that look right but match too much or hang: unescaped dots, missing anchors, greedy wildcards and catastrophic backtracking.

Stops: Regex matches more than intended
CIDR InputStyled

Reads a CIDR block back as its exact range and size, and warns before a firewall rule opens to the whole internet or overlaps an existing range.

Stops: Firewall opened to 0.0.0.0/0
Version Range InputStyled

Reads npm semver ranges back in plain English and shows which published versions match and which one installs.

Stops: Semver range installs the wrong version
Glob InputStyled

Runs a config glob live against your real file list, so a pattern that silently misses files, or matches everything, shows up while you type.

Stops: Config glob silently misses files
i18n String FieldStyled

Checks each translation against its source as it is typed, so dropped placeholders, broken tags or missing plural forms don't ship.

Stops: Translation drops a placeholder
SQL GuardStyled

Warns before running SQL that touches every row or drops data, like UPDATE/DELETE without WHERE, and asks for the table name first.

Stops: Helps catch a DELETE without WHERE before it runs
Markdown CheckStyled

Catches Markdown that will render differently from how it reads, like an unclosed ** or a link broken by a space, and previews each spot.

Stops: Markdown renders differently than written
YAML FieldStyled

Catches YAML that parses but means something else, like NO read as false or 1.10 read as 1.1, and shows what the parser will read.

Stops: YAML NO read as false
Webhook TestStyled

Checks a webhook URL the way the sender will before it's saved: reachability, https, redirects, slow replies and login pages.

Stops: Webhook saved to an unreachable URL
UTM CheckStyled

Catches campaign links that split analytics: inconsistent casing, swapped source and medium, misspelled keys and tags that land as Unassigned.

Stops: UTM links split analytics
Reorder ReadbackStyled

Reads back every reorder with its consequence and an Undo, so a slipped drag doesn't silently change priorities, fallbacks or steps.

Stops: Slipped drag reordered payment fallbacks
Dependency License CheckStyled

Reads each new dependency's SPDX license against your policy, so a GPL, unlicensed or relicensed package doesn't slip into your project.

Stops: GPL dependency shipped in closed source
Heading OutlineStyled

Shows the live heading outline of a Markdown draft or page region and flags skipped levels and fake headings that confuse screen reader users.

Stops: Skipped heading levels confuse screen readers
Link Text CheckStyled

Flags "click here", bare URLs and empty links that make no sense to screen reader users browsing a list of links, and suggests better text.

Stops: Click here links fail screen readers
Preflight ChecklistStyled

Locks a deploy or publish button until automatic and manual checks pass, and re-verifies right before it runs.

Stops: Shipped with checks skipped
Import PreviewStyled

Previews a CSV or spreadsheet import, finds the real heading row and maps columns, so a bad file doesn't create junk records.

Stops: Bad CSV import created junk records
LLM Cost EstimateStyled

Estimates an LLM batch's tokens and cost from your own dated price table before it runs, so a missing max_tokens or wrong model doesn't cause a surprise bill.

Stops: Surprise bill from an LLM batch
Kube Context GuardStyled

Shows the cluster, context and namespace a kubectl or helm command will really hit, before it runs, so production isn't changed by accident.

Stops: Helps prevent kubectl apply on the wrong cluster
Environment BadgeStyled

Marks the page, tab title and favicon with the environment, so nobody edits production thinking it is staging.

Stops: Edited production thinking it was staging
Update AvailableStyled

Tells people a new version is out without losing work: it never refreshes over unsaved changes and offers "Refresh after I save".

Stops: Deploy refresh wiped unsaved work
Presenter ModeStyled

Removes marked emails, amounts and keys from the page while presenting, so they don't leak on a screen share.

Stops: Leaked a key on a screen share
Progress HeartbeatStyled

Tells a working job from a stalled one using its heartbeat, so nobody waits on a dead job or kills a live one.

Stops: Killed a job that was still running
Clock SkewStyled

Detects when a device clock is off from server time, says what breaks and corrects countdowns, so OTP codes and timers don't fail mysteriously.

Stops: Wrong phone clock breaks OTP codes
Retry AfterStyled

Turns a 429/503 into a clear wait: which limit was hit, when it resets, a countdown, and one automatic retry instead of impatient re-clicks.

Stops: Retry spam extends the lockout
Sunset NoticeStyled

Turns Sunset and Deprecation response headers into a visible countdown, so an API shutdown isn't a surprise outage.

Stops: API shutdown arrives as an outage
Prompt Data GuardStyled

Before a message goes to an AI chat, says exactly what personal data, secrets or confidential documents are in it and where they'll go.

Stops: Helps keep a customer list out of an AI chat
Commit Secret GuardStyled

Scans the lines a diff adds for keys, passwords and high-entropy strings, so credentials are noticed before they go into a commit.

Stops: API key committed to git
Publish PreviewStyled

Previews what npm publish will ship from npm pack --dry-run and flags .env files, source maps, tests and missing build output before it goes out.

Stops: npm publish shipped .env
Secret Paste GuardStyled

Spots API keys, tokens and private keys as they're pasted or typed into a field and offers one-tap Redact before they're sent.

Stops: Helps catch an API key pasted into a chat
Fill Before CopyStyled

Turns placeholders like <YOUR_API_KEY> in a code sample into fields and holds Copy until they're filled, so broken commands aren't pasted.

Stops: Pasted a command with YOUR_API_KEY in it
CSV Export GuardStyled

Previews what each column turns into when the CSV opens in a spreadsheet, so leading zeros, long IDs and dates aren't silently corrupted.

Stops: Excel ate the leading zeros
Link Unfurl CheckStyled

Previews how a link will unfurl before you post it and catches localhost or staging links, tracking parameters and broken preview images.

Stops: Posted a localhost link preview
Export ScopeStyled

Reads back exactly what an export file will hold, so it doesn't go out as page 1 of 250, silently capped or full of personal data.

Stops: Export only had page 1 of 250
Embed CodeStyled

Reads back what an embed will show and track, and strips tokens from its URL, so an embed doesn't leak a private link or secret.

Stops: Embed leaked a private token
Dockerfile CheckStyled

Reads a Dockerfile the way BuildKit does and flags images that run as root, bake in secrets or rebuild slowly.

Stops: Docker image runs as root with secrets
Gitignore CheckStyled

Runs Git's real ignore rules against your files so a .gitignore that only looks right doesn't let secrets or node_modules into a commit.

Stops: node_modules committed despite .gitignore
Workflow YAML GuardStyled

Flags GitHub Actions workflow patterns that can expose secrets or the repo to pull requests, following GitHub's secure-use guidance.

Stops: Helps catch workflows that could leak repo secrets to a pull request
IAM Policy CheckStyled

Reads an AWS IAM or S3 bucket policy back in plain words and flags grants far wider than intended, such as a bucket made public.

Stops: Helps catch an S3 bucket made public by a policy
Hreflang CheckStyled

Checks hreflang tags or a sitemap against Google's rules, so missing return links or bad codes don't get the whole set ignored.

Stops: Helps catch hreflang tags Google would ignore
Redirect Rule InputStyled

Catches redirect rules that loop, chain, shadow each other, open-redirect, drop queries or switch POST to GET, modelled on how each platform matches.

Stops: Redirect loop broke the site
Set-Cookie CheckStyled

Reads back what the browser will really do with each Set-Cookie and flags attributes that get it rejected or exposed.

Stops: Login cookie silently rejected
Env DiffStyled

Compares two environments key by key and flags missing keys, localhost in production and reused secrets, masking secrets so the diff is safe to share.

Stops: Prod still pointing at localhost
Join PreviewStyled

Predicts a join's row count before it runs, so repeated keys that duplicate rows or keys that never match don't go unnoticed.

Stops: SQL join duplicated every row
Dedupe Key PickerStyled

Previews how many rows a dedupe would merge as you pick key columns, so it doesn't merge nothing or merge too much.

Stops: Dedupe merged the wrong rows
Dual Axis GuardStyled

Shows how much each series in a dual-axis chart really changed and offers to index both to 100, so the chart doesn't imply a correlation that isn't there.

Stops: Dual-axis chart faked a correlation
Secret FieldStyled

Shows an API key masked but recognisable, re-hides it on a timer or when the tab is hidden, and copies the real value instead of dots.

Stops: Masked API key pasted as dots
Text DiffStyled

Shows a word-level diff that makes changed numbers and invisible whitespace changes visible, so an edit can't slip through unseen.

Stops: Approved an edit I didn't see
Copy ConfirmStyled

Shows exactly what was copied and flags stray spaces or hidden characters, so the wrong thing isn't pasted somewhere important.

Stops: Pasted the wrong thing from the clipboard
Middle TruncateStyled

Truncates long names and IDs in the middle at the real rendered width, so the end that tells files or wallets apart stays visible.

Stops: Picked the wrong file by prefix
Honest BarStyled

A bar chart that admits when its axis doesn't start at zero and says how much that exaggerates, like "looks 3×, really 1.09×".

Stops: Bar chart made 9% look like 3×
Error ExplainerStyled

Turns a raw error code into what happened, the likely cause and one next step, and warns when a timed-out payment may already have gone through.

Stops: Paid twice after a payment timeout error
Partial PeriodStyled

Compares today so far with yesterday at the same minute by default, so a still-filling period doesn't read as a slump.

Stops: Today looks like a slump vs yesterday
Gap-Aware LineStyled

A line chart that shows missing readings as gaps instead of drawing them as zero or smoothing over them.

Stops: Missing readings drawn as zero
Palette GuardStyled

Simulates colour-blind vision for chart series and flags pairs that become hard to tell apart, with the smallest lightness fix.

Stops: Chart colours look identical to colour-blind readers

Frequently Asked Questions about Dev tools & infra Guardrails

How do I prevent executing dangerous database commands against production?

Environment Badge (`environment-badge`) displays prominent visual banners and confirmation steps for production environments. Install with `npx shadcn@4.21.0 add @bollard/environment-badge`. Limitation: cloud IAM permissions and read-only database replicas are required for security.

How do I stop accidental git force-pushes in web developer portals?

Force Push Confirm (`force-push-confirm`) requires explicit typing and reason entry before running force pushes. Install with `npx shadcn@4.21.0 add @bollard/force-push-confirm`. Limitation: Git branch protection rules must be configured in your Git provider.

How do I prevent runaway database queries in internal SQL runners?

Query Guard (`query-guard`) checks SQL statements for missing WHERE clauses and adds automatic LIMIT statements. Install with `npx shadcn@4.21.0 add @bollard/query-guard`. Limitation: database statement timeouts must be configured on the database engine.

How do I warn developers before pasting shell commands from untrusted sites?

Terminal Paste Guard (`terminal-paste-guard`) detects hidden newlines and carriage returns that execute immediately upon paste. Install with `npx shadcn@4.21.0 add @bollard/terminal-paste-guard`. Limitation: developers must review pasted script contents.