mutation-bar
Gate a change on its Mutation Testing Bar: read a Stryker mutation-testing-elements JSON (or a generic killed/survived summary), compute the mutation score…
Skill by ALTEN-group
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/alten-group-mutation-bar
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: testing, devops, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Node.js package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/mutation-bar
What's inside
- Skill name
mutation-bar- Description
- Gate a change on its Mutation Testing Bar: read a Stryker mutation-testing-elements JSON (or a generic killed/survived summary), compute the mutation score, optionally score only the changed files and per-file minimums, list surviving mutants, and fail below the bar (default 80, raise-only). Use when the agent loop or CI (Prove stage) must prove that the tests catch real defects.
- License
- MIT
- Instructions
- 39 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (5)
- SKILL.md
- mutation-bar-contract.md · references/
- mutation-bar.mjs · scripts/
- mutation-bar.test.mjs · scripts/
- mutation-fixture.mjs · scripts/
SKILL.md (first lines)
# Mutation Bar
Deterministic Mutation Testing Bar gate. It proves the tests themselves: mutants injected into the code must be caught by the test suite. It reads a mutation report and never runs a mutation tool.
## When to Use This Skill
- The agent has written or changed tests and must know whether they actually catch defects.
- CI (Prove) must block a pull request whose mutation score is below the bar, and hand the survivors to auto-remediation.
- A reviewer wants the surviving mutants listed as `file:line mutator`.
## Path resolution
Resolve `references/` and `scripts/` relative to **this skill's install directory** (the folder that contains this `SKILL.md`), not the consumer repository root or the current shell cwd. If the skill was installed under `.agents/skills/mutation-bar/` or `.claude/skills/mutation-bar/`, use that base path. Run the script from the repository root, where `mutation-bar.json` lives, and write `<skill-dir>` as that install path.
## Workflow
1. **Read `references/mutation-bar-contract.md` now.** It is the authoritative source for statuses, the score formula, thresholds, and exit codes.
2. Run the project's mutation tool so that it writes a Stryker JSON report (for example `reports/mutation/mutation.json`). A generic summary `{ "killed", "survived", "timeout", "noCoverage" }` is accepted for tools such as Mutmut.
3. Run the gate from the repository root:
```bash
# Whole report, using mutation-bar.json when present
node <skill-dir>/scripts/mutation-bar.mjs --report reports/mutation/mutation.json
# Only the files this change touched, with a per-file floor
git diff --name-only origin/main... > changed.txt
node <skill-dir>/scripts/mutation-bar.mjs --report reports/mutation/mutation.json --changed changed.txt --per-file-min 60
```
4. Treat a nonzero exit as a failed gate. Add or strengthen tests to kill each listed survivor. Never lower the bar, exclude mutants, or shrink the mutated scope. The command line can only raise the minimum above `mutation-bar.json` (default 80).
5. Read the `Ignored: N mutants` line and any `Warning: no mutants for <file>: not proven` line. A growing ignored count means a survivor may be hidden by a `Stryker disable` comment; a warned file is not proven by this gate. Neither changes the exit code.
## Done When
- The script exits 0: the score meets the minimum and no scored file is below the per-file minimum.
- Every survivor was killed by a test, not excluded.
- `mutation-bar.json` was not lowered by the agent.From ALTEN-group/coding-pal, MIT.
More from ALTEN-group/coding-pal
- 0.624score
angular-admin-examples
ALTEN-group
Scaffold or match Angular admin CRUD entity slices (model/conf/service, thin feature component, protected routes, resolvers).
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
hypothesis-ledger
ALTEN-group
Maintain and validate the Learn hypothesis ledger (specs/learn/hypotheses.md): add Open hypotheses, list reviews and feature deletions that are due, compute a…
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
incident-record
ALTEN-group
Author and validate incident records (docs/incidents/<date>-<slug>.md): detect, mitigate first, diagnose with correlated evidence, repair with a failing test…
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
learn-signals
ALTEN-group
Close the Learn loop: turn validated incident records, invalidated hypotheses, and high severity telemetry findings into Triage backlog issue bodies (labels…
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
meeting-pack
ALTEN-group
Structure, validate, and hand off persistent Meeting Packs from client meeting transcripts: normalize a plain-text transcript, build a pack (summary…
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
migration-docs
ALTEN-group
Structure, author, and validate the migration documentation set (assessment.md, migration-plan.md, runbook.md) for moving an application from one…
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
code-loop
ALTEN-group
Drive the Code stage one plan step at a time with persistent progress, enforce the fix-loop limit, and guard agent branches.
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
context-health
ALTEN-group
Check the health of Persistent Context and prepare the weekly Persistent Context & Controls review: lint instruction files (missing description, broad…
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
contract-compat
ALTEN-group
Classify the differences between two OpenAPI 3.x JSON documents (or two JSON Schemas, with local $ref resolved) as BREAKING or compatible, and fail on any…
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
control-guard
ALTEN-group
Fail a change that weakens a deterministic control (deleted or skipped tests, lowered thresholds, disabled workflow steps, edited control files, added…
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
criteria-verify
ALTEN-group
Prove that every acceptance criterion (AC-<n>) in a plan.md has at least one passing test and that no test mapped to a criterion failed, by reading JUnit XML…
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
decision-record
ALTEN-group
Structure, draft, validate, and track the Architect's decision records (docs/decisions/NNNN-slug.md) and escalations with a default date.
SkillAFreshness: A★ 5Claude Code +9
Signals
- Stars
- 5
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 13, 2026 (16 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/ALTEN-group/coding-pal
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from ALTEN-group
- 0.624score
angular-admin-examples
ALTEN-group
Scaffold or match Angular admin CRUD entity slices (model/conf/service, thin feature component, protected routes, resolvers).
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
control-guard
ALTEN-group
Fail a change that weakens a deterministic control (deleted or skipped tests, lowered thresholds, disabled workflow steps, edited control files, added…
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
context-health
ALTEN-group
Check the health of Persistent Context and prepare the weekly Persistent Context & Controls review: lint instruction files (missing description, broad…
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
contract-compat
ALTEN-group
Classify the differences between two OpenAPI 3.x JSON documents (or two JSON Schemas, with local $ref resolved) as BREAKING or compatible, and fail on any…
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
code-loop
ALTEN-group
Drive the Code stage one plan step at a time with persistent progress, enforce the fix-loop limit, and guard agent branches.
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
criteria-verify
ALTEN-group
Prove that every acceptance criterion (AC-<n>) in a plan.md has at least one passing test and that no test mapped to a criterion failed, by reading JUnit XML…
SkillAFreshness: A★ 5Claude Code +9
Cite this page
mutation-bar skill. Agent Mart. https://agentmart.dev/skills/alten-group-mutation-bar (last updated 2026-10-24)