claude-code-plugin-ref…
Explain plugin, skill, command, agent, and hook mechanics used here. Use when authoring or debugging plugins. Do not use for ops;…
Defines testing quality metrics, coverage thresholds, and anti-patterns. Use when establishing test gates or validating a test suite's coverage targets.
Claude Code
$ npx -y skills add athola/claude-night-market --skill testing-quality-standards --agent claude-code
Codex
$ npx skills add athola/claude-night-market --skill testing-quality-standards -a codex -y
Cursor
$ npx skills add athola/claude-night-market --skill testing-quality-standards -a cursor -y
Gemini CLI
$ npx skills add athola/claude-night-market --skill testing-quality-standards -a gemini-cli -y
GitHub Copilot
$ npx skills add athola/claude-night-market --skill testing-quality-standards -a github-copilot -y
OpenCode
$ npx skills add athola/claude-night-market --skill testing-quality-standards -a opencode -y
Windsurf
$ npx skills add athola/claude-night-market --skill testing-quality-standards -a windsurf -y
name: testing-quality-standards description: Defines testing quality metrics, coverage thresholds, and anti-patterns. Use when establishing test gates or validating a test suite's coverage targets. globs: "**/test_*.py" alwaysApply: false category: infrastructure tags: - testing - quality - standards - metrics dependencies: [] estimated_tokens: 400 provides: patterns: - coverage-thresholds - quality-metrics - anti-patterns - content-assertion-levels modules: - modules/anti-patterns.md - modules/best-practices.md - modules/content-assertion-levels.md
Shared quality standards and metrics for testing across all plugins in the Claude Night Market ecosystem.
| Level | Coverage | Use Case | |-------|----------|----------| | Minimum | 60% | Legacy code | | Standard | 80% | Normal development | | High | 90% | Critical systems | | detailed | 95%+ | Safety-critical |
For implementation patterns and examples:
This skill provides foundational standards referenced by:
Reference in your skill's frontmatter:
dependencies: [leyline:testing-quality-standards]
**Verification:** Run `pytest -v` to verify tests pass.
**Tests not discovered** Ensure test files match pattern `test_*.py` or `*_test.py`. Run `pytest --collect-only` to verify.
**Import errors** Check that the module being tested is in `PYTHONPATH` or install with `pip install -e .`
**Async tests failing** Install pytest-asyncio and decorate test functions with `@pytest.mark.asyncio`
legacy code, 80% for normal development, 90% for critical systems, 95%+ for safety-critical; measured with `pytest --cov` and threshold enforced in `pyproject.toml`
organization, meaningful names, setup/teardown, isolation), Coverage (critical paths, edge cases, error conditions, integration points), Maintainability (DRY fixtures, clear assertions, minimal mocking), Reliability (no flaky tests, deterministic execution, no order dependencies)
confirmed by `pytest --collect-only` returning no errors
maps, timestamps, UUIDs); any found flagged as anti-patterns per `modules/anti-patterns.md`
A plugin marketplace for Claude Code. Install only the plugins you need to run git workflows, code review, spec-driven development, and autonomous agents from inside your Claude Code session.
Explain plugin, skill, command, agent, and hook mechanics used here. Use when authoring or debugging plugins. Do not use for ops;…
States load-bearing decisions, invariants, and weak points. Use when judging a design change. Do not use for gating; use…
Rebuild the dev environment: uv, Python tiers, pins, traps. Use when onboarding or toolchain breaks. Do not use for daily…
Classify, gate, and review changes. Use when landing a PR, releasing, or amending rules. Do not use for failure triage; use…
Search and record project memory (Discussions, journal, ADRs). Use before re-investigating anything. Do not use for settled…
Bind loop 'done' to unfakeable gates. Use to harden egregore/herald loops or promote completion_integrity. Not for QA gates; use…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.