adaptive-testing
Skill1 starsChanged 53 days agoMITView on GitHub
Select, implement, and execute the smallest sufficient test scope for a change based on affected layer, risk, Contracts, security, and performance. Use after code changes, for test planning, or when existing evidence must be refreshed.
In this repository21 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- architecture-decisionSkill
- artifact-validationSkill
- change-impactSkill
- clarification-gateSkill
- code-reviewSkill
- component-planningSkill
- failure-diagnosisSkill
- failure-escalationSkill
- framework-checkpointSkill
- framework-resumeSkill
- gap-analysisSkill
- implement-componentSkill
- integration-gateSkill
- minimum-pathSkill
- project-intakeSkill
- quality-gateSkill
- reverse-engineeringSkill
- stage-gateSkill
- traceabilitySkill
- workflow-assessmentSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 6 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
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 14
Run for any code change, when a Gate requires test evidence, after integration, after upstream behavior changes, or when prior test …
- Distinctive: line 42
Add or update tests without weakening expectations to fit the implementation.
- Distinctive: line 57
Test scope/strategy and selection rationale.
- Distinctive: line 67
Test cost exceeds Process Budget but risk still demands evidence.
- Distinctive: line 71
Use Clarification Gate for ambiguous outcomes, Failure Diagnosis for unknown/repeated failures, and Workflow Assessment when risk requires …
- Distinctive: line 75
Stop when sufficient current evidence exists, when a failure requires repair/diagnosis, or when environment/intent blocks reliable testing.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Adaptive Testing
Purpose
Produce revision-specific behavioral evidence without mechanically running every test layer for every change.
Trigger
Run for any code change, when a Gate requires test evidence, after integration, after upstream behavior changes, or when prior test evidence becomes stale.
Inputs
- Changed paths/revision, change type, affected Components, and blast radius.
- Requirement/acceptance IDs, Contracts, risk, Workflow Level, supported environments, and DoD.
- Existing tests, test data, prior failures, and regression history.
Prerequisites
- Expected behavior is sufficiently defined.
- Confirm the test environment and exact revision under test.
- Distinguish missing product behavior from missing test coverage.
Procedure
- Classify the change: Pure Function, Module, API/Contract, Data, Multiple Components, Architecture, Security-sensitive, or Performance-sensitive.
- Map affected Requirements, Contracts, failure modes, and regression surface.
- Reuse valid tests and identify genuine coverage gaps.
- Select the minimum sufficient layers:
- Pure Function: unit plus focused regression.
- Module: unit, module, and relevant regression.
- API: unit, consumer/provider Contract, integration, and regression.
- Data/schema/migration: validation, migration/rollback, compatibility, integrity, and regression.
- Multiple Components: Component evidence, Contract, integration, and regression.
- Architecture: unit, Contract, integration, subsystem/system, and regression.
- Security-sensitive: threat-relevant negative/abuse, authorization, data handling, and security regression.
- Performance-sensitive: representative load/baseline, resource/latency thresholds, and performance regression.
- Add or update tests without weakening expectations to fit the implementation.
- Execute prerequisites and selected tests; record commands, environment, versions, results, skips, flakes, and coverage limits.
- Trace results to Requirements, Contracts, risks, and acceptance criteria.
- Classify failures as known product, test, environment, or unknown; preserve evidence.
Decision Rules
- Risk and impact determine depth; project size alone does not.
- API compatibility requires both consumer and provider evidence where applicable.
- Skipped, unavailable, quarantined, or flaky tests do not count as PASS.
- Any code change invalidates affected prior evidence.
- User Acceptance cannot be inferred from automated tests.
Outputs
- Test scope/strategy and selection rationale.
- New or updated tests and fixtures when required.
- Revision/environment-specific Test Report.
- Traceability links, uncovered scope, failures, and recommended next action.
Failure Cases
- Expected behavior or Contract is ambiguous.
- Environment/data/dependency is unavailable.
- Results are nondeterministic or cannot be tied to the revision.
- Test cost exceeds Process Budget but risk still demands evidence.
Escalation
Use Clarification Gate for ambiguous outcomes, Failure Diagnosis for unknown/repeated failures, and Workflow Assessment when risk requires deeper evidence. Never delete or weaken a test merely to obtain PASS.
Stop Conditions
Stop when sufficient current evidence exists, when a failure requires repair/diagnosis, or when environment/intent blocks reliable testing. Do not issue code-quality or Stage approval.
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.

