What do you want to do?
4 use cases
-
Write the first test for uncovered code
Find one uncovered path in your suite and add a focused test that proves coverage improved.
View prompt
Use Supercov on the supercov repo's target project at <project path>. Choose one uncovered file from `npx supercov runs latest gaps --limit 5`, add one focused test in the test directory only, and rerun the full suite through `npx supercov -- <test command>`. Report the output of `npx supercov diff latest` and confirm the suite still passes.
-
Rank files by code smells before a review
Score a repository's code quality and see the weakest files and the smells that fired in each.
View prompt
In the supercov repo's target project at <project path>, run `npx supercov quality` with TYPESAFE_API_KEY set, then `npx supercov quality file <path>` for the weakest file. Report the score, the smells that fired, and confirm each smell against the lines of that file.
-
Check a branch for security risks before merging
Scan only what a change introduced for injection, secrets, and unsafe redirects or paths.
View prompt
In the repository at <project path> with TYPESAFE_API_KEY set, run `npx supercov security patch` and then `npx supercov quality patch`. Report each finding with its file and line, and state whether any finding is caused by the current change.
Quick start with Supercov
- Check you have what it needs: A project with a complete test command the repository already runs, such as npm test, pytest or cargo test; Node.js so npx can fetch Supercov, or one of the other install routes in the README; A TypeSafe AI API key from https://typesafe.ai, only for quality and security scoring; coverage needs no account.
- Open supercorp-ai/supercov on GitHub and read the README and license.
- Run
npx supercov -- npm testin the repository root to run the real suite under Supercov. - Run
npx supercov runs latest gaps --limit 5to list the files that still have unresolved coverage obligations. - Write one focused test for a single gap, changing only test files and not application code.
- Run
npx supercov -- npm testagain so the complete suite is measured with the new test.
These steps come from our top use case, Write the first test for uncovered code, which also has a copy-paste agent prompt.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for supercorp-ai/supercov
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeSupercov alternatives · Best AI repos for Software and DevOps
About this repo
- Who it is forSoftware developers and the coding agents they run, who want evidence of what their tests and code are missing.
- Why it is hot157 stars, launched 64 days ago
- LanguageRust
- Sourcegithub.com/supercorp-ai/supercov · Back to Hot repos
Requirements
- A project with a complete test command the repository already runs, such as npm test, pytest or cargo test
- Node.js so npx can fetch Supercov, or one of the other install routes in the README
- A TypeSafe AI API key from https://typesafe.ai, only for quality and security scoring; coverage needs no account
Add this badge to your README
Maintain Supercov? Show readers where to find these use cases.
Markdown
[](https://dedupedai.com/use-cases/supercorp-ai-supercov/?utm_source=github&utm_medium=badge&utm_campaign=supercorp-ai-supercov)
HTML
<a href="https://dedupedai.com/use-cases/supercorp-ai-supercov/?utm_source=github&utm_medium=badge&utm_campaign=supercorp-ai-supercov"><img src="https://dedupedai.com/badge/supercorp-ai/supercov.svg" alt="Use cases on Deduped" height="20"></a>
A static image, no tracking script. About the badge
Questions about Supercov
What is Supercov?
Supercov is a free, open source, local tool that measures test coverage, assertion strength, code quality and security so coding agents know what to fix and what to test. It is an open-source project on GitHub: https://github.com/supercorp-ai/supercov.
How do I use Supercov?
Run npx supercov -- npm test in the repository root to run the real suite under Supercov; then run npx supercov runs latest gaps --limit 5 to list the files that still have unresolved coverage obligations; write one focused test for a single gap, changing only test files and not application code. The use cases on this page give the full steps and a copy-paste agent prompt for each job.
Who is Supercov for?
Software developers and the coding agents they run, who want evidence of what their tests and code are missing.
What can I do with Supercov?
4 use cases so far, for example: Write the first test for uncovered code; Rank files by code smells before a review; Check a branch for security risks before merging. Each has steps and a copy-paste agent prompt.
What do I need to run Supercov?
A project with a complete test command the repository already runs, such as npm test, pytest or cargo test; Node.js so npx can fetch Supercov, or one of the other install routes in the README; A TypeSafe AI API key from https://typesafe.ai, only for quality and security scoring; coverage needs no account.
What are alternatives to Supercov?
Other hot AI repos in Software and DevOps: Deep Infer, Harness2, Orca, Opencode, Graphify.
Is Supercov safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.