/architecture:testing-guidelinesfrom architecture
Provides language-agnostic rules for deciding when to add, retain, or delete tests. Focuses on protecting project-owned behavior with meaningful sans-I/O evidence rather than coverage rituals.
Ships in architecture. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
This skill treats tests as protection for project-owned behavior, not as a coverage ritual. It favors cheap sans-I/O tests and rejects tests that merely restate test-double configuration, third-party libraries, or transparent wiring.
A meaningful test protects an exact project-owned invariant with an independently derived oracle at a level capable of observing a realistic defect. When the available infrastructure cannot provide that evidence, add no test and record the coverage gap when protection is still required.
Test behavior that the project owns. Assume third-party libraries are correct and already tested.
Add a test only when wrong project-owned behavior can make it fail.
Before adding or retaining a test, require all of the following:
Project-owned behavior includes:
Do not add a test when the implementation only forwards values to a dependency and returns its result unchanged.
Delete a test when it only:
Do not preserve a useless test for coverage. Coverage is evidence of execution, not evidence of meaningful verification.
Follow the guidelines below. Read each linked reference that applies before writing, approving, or retaining tests.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
test-admission, test-review, testing-strategy, sans-io-testing
4 skills in this plugin
/bulletproof-functionsLanguage-agnostic rules for honest, testable function boundaries. Always use when planning, writing, reviewing, or critiquing functions and abstractions./code-styleLanguage-agnostic code-design rules for explicit state, failure, ownership, and I/O boundaries. Use when planning, implementing, refactoring, debugging, or reviewing code./vertically-sliced-feature-modulesFeature-first module architecture for cohesive ownership, recursive import closures, operational entries, and promotion boundaries. Use when designing, moving, refactoring, or reviewing feature and package structure.npx claudepluginhub bastidood/skills --plugin architectureOther plugins' skills for the same job