testing
Skill7 starsChanged 6 months agoMITView on GitHub
Keep developer test commands identical to Jenkins, and raise real test coverage with tests that exercise actual behavior — because Jenkins and SonarQube gate on presence and a coverage number, not on whether a test is meaningful.
194 other projects use a version of this.
Adopted by
Most recently taken up by
- ishandutta2007/Awesome-Claude-Skillstheir own version, first seen Nov 8, 2026
- steerlabs/opensteertheir own version, first seen Nov 8, 2026
- timmo001/notestheir own version, first seen Nov 8, 2026
- codewithmukesh/dotnet-claude-kittheir own version, first seen Nov 8, 2026
- kortix-ai/sunatheir own version, first seen Nov 8, 2026
- microsoft/VSSDK-Analyzerstheir own version, first seen Nov 8, 2026
Used with
Projects with it also use bundle-dependency-prs, update-library-template and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
MicrosoftSkillbundle-dependency-prs
Fix broken dependency update PRs and aggregate the ones that work into one PR.
Also in 7 projects that use this
MicrosoftSkillupdate-library-template
Merges the latest Library.Template into this repo (at position of HEAD) and resolves conflicts.
Also in 7 projects that use this
zetaloopSkillassign-copilot
Assigns a GitHub issue to the Copilot coding agent, optionally specifying a custom agent. Use this when asked to assign an issue to Copilot or delegate an issue to CCA.
Also in 3 projects that use this
NVIDIA-NeMoSkillbuild-and-dependency
Dev environment setup for Megatron Bridge — container-based development, uv package management, lockfile regeneration, adding dependencies, Slurm container usage, and common build pitfalls.
Also in 3 projects that use this
timmo001Skillchangeset-scope
Keep all scoped code work contained to the user-defined changeset. Use for implementation, fixes, diagnosis, refactoring, cleanup, and review when explicit instructions, named files, diffs, branches, pull requests, or injected work scopes define the boundary.
Also in 3 projects that use this
JetBrainsSkillmodule-dependencies
Add or modify IntelliJ module dependencies in `.iml` files.
Also in 3 projects that use this
Other versions194 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 194
- modelcontextprotocol/servers★ 92ksame name
- lobehub/lobe-chat★ 84ksame name
- lobehub/lobehub★ 84ksame name
- penpot/penpot★ 62ksame name
- meteor/meteor★ 45ksame name
- iOfficeAI/AionUi★ 34ksame name
- garrytan/gbrain★ 32ksame name
- OpenZeppelin/openzeppelin-contracts★ 27ksame name
- tursodatabase/turso★ 25ksame name
- redis/go-redis★ 22ksame name
184 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository17 other files it gives its agents.
- AGENTS.mdAGENTS.md
- cavemanSkill
- code-qualitySkill
- composition-patternsSkill
- docker-expertSkill
- eea-design-systemSkill
- grill-meSkill
- handoffSkill
- jenkins-pipelineSkill
- plone-backend-developerSkill
- plone-frontend-developerSkill
- quality-fixesSkill
- react-best-practicesSkill
- react-native-skillsSkill
- react-view-transitionsSkill
- volto-cypress-writerSkill
- web-design-guidelinesSkill
The file
We split this skill into the rules it gives an agent
10 rules. 0 are common, 10 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 174 edited versions we read keep these.
10
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
Use this skill when a repository needs a test workflow developers and Jenkins run identically, or when coverage needs to go up for real …
- Distinctive: line 27
Use this skill when you need to:
- Distinctive: line 31
avoid relying on Make as the only entrypoint for running tests
- Distinctive: line 42
If the answer is no, fix that before touching test content — a coverage number from a stage you can't reproduce locally isn't one you can …
- Distinctive: line 63
When the goal is a real coverage increase (e.g.
- Distinctive: line 65
Run the same coverage command already established under the parity contract above — the number must come from the command Jenkins runs, or …
- Distinctive: line 66
Read the coverage report itself (HTML/LCOV, not just the summary line) to find which files and which branches are untested.
- Distinctive: line 68
Write tests with real assertions: concrete inputs, concrete expected outputs, mocking only at the boundary of the unit under test — never …
- Distinctive: line 73
When using this skill, provide:
- Distinctive: line 104
When generating or updating a Jenkinsfile, also generate the exact local developer command examples alongside it.
“Common” is measured: kept by at least 6 in 10 of the 174 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Testing
Use this skill when a repository needs a test workflow developers and Jenkins run identically, or when coverage needs to go up for real rather than by gaming the number.
Primary goal
Two goals, in order:
- Parity — the same test commands run identically for the developer, the agent, and Jenkins. Mostly mechanical; see "Parity contract" below, which defers detail to
docker-expertandjenkins-pipelinerather than restating it. - Quality — coverage increases come from tests that exercise real behavior, not from tests written to move a number. This is the harder, ongoing part, and where this skill should keep growing.
When to use
Use this skill when you need to:
- close a real coverage gap (e.g. moving from 60% to 80%) with tests that exercise actual behavior, not just whichever lines are easiest to hit
- audit whether existing tests are meaningful or just inflate the coverage number
- define canonical test commands for a repository and confirm Jenkins and local testing run them identically
- avoid relying on Make as the only entrypoint for running tests
Parity contract
The commands Jenkins runs must be the same commands a developer can run locally with Docker. Jenkins must never hide the real commands inside Groovy only, and Make — if the repository uses it — must never be the only usable interface; a developer without Make must still be able to run the equivalent command.
For every Jenkins quality/test stage, be able to answer:
- what exact Docker command does Jenkins run?
- what exact Docker command should a developer run locally?
- are these the same command, or an obviously equivalent wrapper?
If the answer is no, fix that before touching test content — a coverage number from a stage you can't reproduce locally isn't one you can trust.
For the Dockerfile.test contract (what the image must contain, dependency-install rules, mixed-language guidance), see docker-expert/EEA-OVERRIDES.md's "Dockerfile.test for Jenkins Pipelines" — that's the canonical source, not restated here. For the Jenkinsfile phases that build, preflight, and generate around it, see jenkins-pipeline's Required workflow.
Do not bind-mount the repository into the test container (-v "$PWD:/workspace" or similar) to satisfy parity — rely on COPY . . baked into the image instead. This isn't just a style preference: on EEA Jenkins docker-host agents, $WORKSPACE is a path inside the Jenkins agent, not a real path on the host the Docker daemon runs on, so a bind mount silently resolves to an empty directory there — see jenkins-pipeline/EEA-OVERRIDES.md's "EEA Docker-outside-of-Docker constraint". A bind-mounted command works on a developer's own machine (daemon and $PWD share a filesystem there) but is not the same command Jenkins can run; baked-in source from the start means the exact same command string works unmodified in both places.
Test quality over test presence
Jenkins and SonarQube only check two things: did the suite pass, and did coverage clear a threshold. Neither checks whether a test exercises real behavior. That gap means coverage can go up while the suite's actual value stays flat — a project can hit an 80% target with tests that would never catch a real regression.
Signs a test is padding the number rather than protecting the code:
- the only assertion is that a call didn't throw, or that a result
is not None - the test mocks the exact unit under test, so it verifies the mock, not the code
- a whole test — or the assertions inside it — is commented out, skipped, or wrapped in a bare
try/except: pass - the test hits a line without exercising the branch that makes that line interesting (e.g. always calls a function with only the happy-path input)
- a snapshot/golden-file test whose snapshot nobody has read since it was generated
None of these are visible to Jenkins. They pass, they count toward coverage, and they hide the real gap.
Closing a coverage gap
When the goal is a real coverage increase (e.g. 60% → 80%), work from the actual report, not the percentage alone:
- Run the same coverage command already established under the parity contract above — the number must come from the command Jenkins runs, or it isn't the number that matters.
- Read the coverage report itself (HTML/LCOV, not just the summary line) to find which files and which branches are untested. A file already at 90% can still be missing the one error-handling branch that matters most.
- Prioritize by risk, not by ease: business logic and conditionals/error-handling paths before boilerplate, generated code, or trivial getters/setters. The hardest-to-reach edge case is usually the one most worth testing.
- Write tests with real assertions: concrete inputs, concrete expected outputs, mocking only at the boundary of the unit under test — never the unit itself. Cover the branch, not just the line; a conditional needs a case for each side.
- Re-run the same coverage command locally and confirm the number moved for the intended reason before pushing. Jenkins should never be the first place a coverage regression — or a fake improvement — is discovered.
Output requirements
When using this skill, provide:
- the canonical Docker commands for lint, unit, and integration tests, and confirmation Jenkins uses the same ones
- for a coverage-improvement task: which files/branches were untested, which tests were added, and why they were prioritized over the alternatives
- any required Docker prerequisites for developers
<!-- BEGIN EEA-OVERRIDES -->EEA-Specific Overrides
<!-- EEA-Overrides-Version: 1.0 --><!-- Last-Sync: 2026-07-29 -->EEA parity policy
For EEA projects, the developer must be able to reproduce Jenkins locally without reading Jenkins internals.
The preferred model is:
- Docker installed locally
Dockerfile.testchecked into the repository- canonical Docker commands documented in README or helper scripts
- Jenkins calls those same commands
EEA guidance on wrappers
Wrappers such as Makefile, shell scripts, or package scripts are acceptable only if:
- the underlying Docker command is still obvious
- the developer can run an equivalent command without needing Make
- the wrapper does not hide environment assumptions unique to Jenkins
EEA recommendation
When generating or updating a Jenkinsfile, also generate the exact local developer command examples alongside it.
<!-- END EEA-OVERRIDES --><!-- Merged Build: upstream SKILL.md + EEA-OVERRIDES.md --><!-- Auto-generated by scripts/build.sh - DO NOT EDIT DIRECTLY --><!-- Source: https://github.com/eea/eea.agent.skills -->Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

