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;…
Updates, generates, and validates tests using git-workspace context and TDD/BDD methodology. Use when code changes require new or updated test coverage.
Claude Code
$ npx -y skills add athola/claude-night-market --skill test-updates --agent claude-code
Codex
$ npx skills add athola/claude-night-market --skill test-updates -a codex -y
Cursor
$ npx skills add athola/claude-night-market --skill test-updates -a cursor -y
Gemini CLI
$ npx skills add athola/claude-night-market --skill test-updates -a gemini-cli -y
GitHub Copilot
$ npx skills add athola/claude-night-market --skill test-updates -a github-copilot -y
OpenCode
$ npx skills add athola/claude-night-market --skill test-updates -a opencode -y
Windsurf
$ npx skills add athola/claude-night-market --skill test-updates -a windsurf -y
name: test-updates description: Updates, generates, and validates tests using git-workspace context and TDD/BDD methodology. Use when code changes require new or updated test coverage. alwaysApply: false category: testing-automation tags: - tdd - bdd - testing - quality-assurance - test-generation - pytest dependencies: - superpowers:test-driven-development - git-workspace-review tools: [] usage_patterns: - test-maintenance - test-generation - test-enhancement - quality-validation complexity: intermediate estimated_tokens: 1500 modules: - modules/bdd-patterns.md - modules/content-test-discovery.md - modules/quality-validation.md - modules/structure-mapping.md - modules/tdd-workflow.md - modules/test-discovery.md - modules/test-enhancement.md - modules/test-generation.md
detailed test management system that applies TDD/BDD principles to maintain, generate, and enhance tests across codebases. This skill practices what it preaches - it uses TDD principles for its own development and serves as a living example of best practices.
A modular test management system that:
# Run full test update workflow Skill(test-updates)
**Verification:** Run `pytest -v` to verify tests pass.
# Update tests for specific paths Skill(test-updates) --target src/sanctum/agents Skill(test-updates) --target tests/test_commit_messages.py
**Verification:** Run `pytest -v` to verify tests pass.
# Apply TDD to new code Skill(test-updates) --tdd-only --target new_feature.py
**Verification:** Run `pytest -v` to verify tests pass.
**Human-Readable Output:**
# Analyze test coverage gaps
python plugins/sanctum/scripts/test_analyzer.py --scan src/
# Generate test scaffolding
python plugins/sanctum/scripts/test_generator.py \
--source src/my_module.py --style pytest_bdd
# Check test quality
python plugins/sanctum/scripts/quality_checker.py \
--validate tests/test_my_module.py**Verification:** Run `pytest -v` to verify tests pass.
**Programmatic Output (for Claude Code):**
# Get JSON output for programmatic parsing - test_analyzer
python plugins/sanctum/scripts/test_analyzer.py \
--scan src/ --output-json
# Returns:
# {
# "success": true,
# "data": {
# "source_files": ["src/module.py", ...],
# "test_files": ["tests/test_module.py", ...],
# "uncovered_files": ["module_without_tests", ...],
# "coverage_gaps": [{"file": "...", "reason": "..."}]
# }
# }
# Get JSON output - test_generator
python plugins/sanctum/scripts/test_generator.py \
--source src/my_module.py --output-json
# Returns:
# {
# "success": true,
# "data": {
# "test_file": "path/to/test_my_module.py",
# "source_file": "src/my_module.py",
# "style": "pytest_bdd",
# "fixtures_included": true,
# "edge_cases_included": true,
# "error_cases_included": true
# }
# }
# Get JSON output - quality_checker
python plugins/sanctum/scripts/quality_checker.py \
--validate tests/test_my_module.py --output-json
# Returns:
# {
# "success": true,
# "data": {
# "static_analysis": {...},
# "dynamic_validation": {...},
# "metrics": {...},
# "quality_score": 85,
# "quality_level": "QualityLevel.GOOD",
# "recommendations": [...]
# }
# }**Verification:** Run `pytest -v` to verify tests pass.
**Use this skill when you need to:**
**Perfect for:**
test suites - use pensive:test-review
test suites - use pensive:test-review
1. Scan codebase for test gaps 2. Analyze recent changes 3. Identify broken or outdated tests
See `modules/test-discovery.md` for detection patterns.
1. Choose appropriate BDD style (see `modules/bdd-patterns.md`) 2. Plan test structure 3. Define quality criteria 4. Identify design invariants to encode as tests
Before writing behavioral tests, identify the design invariants that the code relies on and write tests that would break if those invariants were violated.
**What to encode:**
never the reverse)
without versioning)
test the properties that justify that choice)
zo
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.