It checks the commit you are actually making
Swarm checks the changes you selected for commit. Edits you haven’t selected yet stay out of the scan.
Swarm checks the changes you’re about to commit for code quality and security problems. Use the same checks in your automated builds, with rules your team chooses.
npm install --save-dev zedbee
npx zedbee init
Swarm checks the version you staged for commit, including partially staged files. Later edits in your editor don't change the scan.
Swarm checks the changes you selected for commit. Edits you haven’t selected yet stay out of the scan.
Swarm can look across the project to understand a problem, then checks whether your changes introduced it or made it worse. Existing problems don’t have to stop unrelated work.
Twelve categories of checks, managed together and invoked with one command.
Swarm manages the versions and settings of the tools it runs. You choose your team's rules in one configuration file instead of setting up each tool separately.
Read results in your terminal, or pass them to your build system and coding agents. The formats differ; the decision stays the same.
If a required check cannot finish, Swarm says so. You can tell the difference between “no problems found” and “the check didn’t run.”
Swarm checks your changes before they become a commit and reports the problems those changes introduce or make worse. You can fix them while the work is still fresh, before a teammate reviews the code or CI runs.
Swarm brings checks for formatting, type errors, security issues, and more into one tool. You can see which checks are enabled, which files they cover, which tools run them, and what they can and cannot catch.
npx zedbee checksSwarm checks a separate copy of your code. It uses its own settings instead of running configuration scripts from your project. It verifies downloaded tools, checks staged files for exposed secrets, such as passwords and API keys, and tells you when a check needs network access.
zedbee fix previews supported fixes, requests approval, and writes only to working files. It never stages or commits on the developer’s behalf.
- const x = foo( a,b ) + const x = foo(a, b);
Apply 1 fix to src/util.ts?
[y]es / [n]o / [d]iffwrote src/util.ts
index unchanged$ git diff $ git add src/util.ts
Swarm uses the same rules whether you run it yourself, include it in an automated build, or have an AI agent run it. You get readable results in your terminal. Build systems and agents get structured results that show what went wrong, where it happened, and how to fix it.
BLOCKED 1
ZB-FMT-0012 · src/billing/usage.ts:42
introduced in staged change
id: ZB-FMT-0012 loc: usage.ts:42 fix: available attribution: staged
Set up Swarm with a guided preview. See which rules it recommends, when it needs an internet connection, and which project files it will change before you apply anything.
npm install --save-dev zedbee
npx zedbee init