run-tests-on-the-unmodified-codebase-before-starting-to-establis skill
run-tests-on-the-unmodified-codebase-before-starting-to-establis is a Claude Code skill that requires running tests on untouched code before edits, recording failures to distinguish them from new regressions.
MIT ★ 539 updated 2026-10-29
npx skills add ZaxbyHub/opencode-swarm --skill run-tests-on-the-unmodified-codebase-before-starting-to-establis -a claude-codeWhat run-tests-on-the-unmodified-codebase-before-starting-to-establis does
This skill enforces a baseline protocol before any code modification begins. The agent must execute the project test runner on untouched files and record broken tests. This log serves as the reference point for the entire session.
The prompt explicitly forbids labeling failures after a patch as pre-existing unless an initial run confirmed them. Reviewer steps inside the rule direct inspectors to verify that baseline runs actually occurred in the diff history.
What it helps with
- capture test suite failures on clean code before editing
- prevent agents from mislabeling new breakages as pre-existing
- verify baseline execution during code review checks
Example prompts for the agent
- Run the existing test suite before modifying the database layer
- Establish a failure baseline on clean code before starting
How to install run-tests-on-the-unmodified-codebase-before-starting-to-establis
1Skills CLI (Vercel)
npx skills add ZaxbyHub/opencode-swarm --skill run-tests-on-the-unmodified-codebase-before-starting-to-establis -a claude-code2Manually: put the files in place
~/.claude/skills/run-tests-on-the-unmodified-codebase-before-starting-to-establis/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/run-tests-on-the-unmodified-codebase-before-starting-to-establis/
1Skills CLI (Vercel)
npx skills add ZaxbyHub/opencode-swarm --skill run-tests-on-the-unmodified-codebase-before-starting-to-establis -a codex2Manually: put the files in place
.agents/skills/run-tests-on-the-unmodified-codebase-before-starting-to-establis/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add ZaxbyHub/opencode-swarm --skill run-tests-on-the-unmodified-codebase-before-starting-to-establis -a cursor2Manually: put the files in place
.cursor/skills/run-tests-on-the-unmodified-codebase-before-starting-to-establis/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install ZaxbyHub/opencode-swarm .opencode/skills/generated/run-tests-on-the-unmodified-codebase-before-starting-to-establis2Manually: put the files in place
.github/skills/run-tests-on-the-unmodified-codebase-before-starting-to-establis/SKILL.md1Skills CLI (Vercel)
npx skills add ZaxbyHub/opencode-swarm --skill run-tests-on-the-unmodified-codebase-before-starting-to-establis -a gemini-cli2Platform CLI
gemini skills install https://github.com/ZaxbyHub/opencode-swarm --path .opencode/skills/generated/run-tests-on-the-unmodified-codebase-before-starting-to-establisManually: put the files in place
.devin/skills/run-tests-on-the-unmodified-codebase-before-starting-to-establis/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add ZaxbyHub/opencode-swarm --skill run-tests-on-the-unmodified-codebase-before-starting-to-establis -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about run-tests-on-the-unmodified-codebase-before-starting-to-establis
How to install this skill in Claude Code?
Run npx skills add ZaxbyHub/opencode-swarm --skill run-tests-on-the-unmodified-codebase-before-starting-to-establis -a claude-code. The file will be placed in ~/.claude/skills/.
What does this skill do?
It forces coding agents to run tests on untouched code first. That prevents confusion over whether failures predated the session.
What shortcut does this skill prohibit?
It bars the model from excusing post-change failures as pre-existing issues without having run an initial test baseline.
Source text
SKILL.md · MIT
--- name: run-tests-on-the-unmodified-codebase-before-starting-to-establis description: run tests on the unmodified codebase before starting to establish a failure baseline metadata: triggers: '["pre-existing test failures","baseline before change"]' generated_from_knowledge: '[]' source_knowledge_ids: '[]' generated_at: "2026-07-02T02:35:49.911Z" confidence: "0.60" status: active version: "2" skill_origin: generated --- <!-- generated by opencode-swarm skill-generator. Do not edit by hand; edits will be preserved on regeneration only with controlled update mode. --> # run tests on the unmodified codebase before starting to establish a failure baseline ## Trigger - pre-existing test failures - baseline before change ## Required Procedure - run tests on the unmodified codebase before starting to establish a failure baseline ## Forbidden Shortcuts - label post-change test failures as 'pre-existing' without running tests before the change ## Delegation Template When delegating a task affected by this skill, include: ``` SKILLS: file:.opencode/skills/generated/run-tests-on-the-unmodified-codebase-before-starting-to-establis/SKILL.md ``` ## Reviewer Checks - Verify each required action above appears in the diff. ## Test Engineer Checks - Add or update tests covering the trigger condition and the forbidden shortcut.
© ZaxbyHub · MIT · ZaxbyHub/opencode-swarm