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; use night-market-operations.
Test skills via TDD in fresh subagents. Use when validating behavior or preventing bias.
$ npx -y skills add athola/claude-night-market --skill subagent-testing --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/subagent-testingContext preview
The summary Claude sees to decide when to auto-load this skill.
Test skills via TDD in fresh subagents. Use when validating behavior or preventing bias.
name: subagent-testing description: 'Test skills via TDD in fresh subagents. Use when validating behavior or preventing bias.' alwaysApply: false category: testing tags: - testing - validation - TDD - subagents - fresh-instances token_budget: 30 progressive_loading: true modules: - modules/testing-patterns.md model_hint: standard
Test skills with fresh subagent instances to prevent priming bias and validate effectiveness.
1. [Overview](#overview) 2. [Why Fresh Instances Matter](#why-fresh-instances-matter) 3. [Testing Methodology](#testing-methodology) 4. [Quick Start](#quick-start) 5. [Detailed Testing Guide](#detailed-testing-guide) 6. [Success Criteria](#success-criteria)
**Fresh instances prevent priming:** Each test uses a new Claude conversation to verify the skill's impact is measured, not conversation history effects.
Running tests in the same conversation creates bias:
Three-phase TDD-style approach:
Test without skill to establish baseline behavior.
Test with skill loaded to measure improvements.
Test skill's anti-rationalization guardrails.
# 1. Create baseline tests (without skill) # Use 5 diverse scenarios # Document full responses # 2. Create with-skill tests (fresh instances) # Load skill explicitly # Use identical prompts # Compare to baseline # 3. Create rationalization tests # Test anti-rationalization patterns # Verify guardrails work
For complete testing patterns, examples, and templates:
without the skill active, with full response text recorded.
of the baseline conversation) and shows >= 50% improvement on skill-related metrics.
attempts tested across at least 3 pressure scenarios.
outcomes, confirming the effect is not conversation-history priming.
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; use night-market-operations.
States load-bearing decisions, invariants, and weak points. Use when judging a design change. Do not use for gating; use night-market-change-control.
Rebuild the dev environment: uv, Python tiers, pins, traps. Use when onboarding or toolchain breaks. Do not use for daily commands; use night-market-operations.
Classify, gate, and review changes. Use when landing a PR, releasing, or amending rules. Do not use for failure triage; use night-market-debugging-playbook.
Search and record project memory (Discussions, journal, ADRs). Use before re-investigating anything. Do not use for settled battles; see failure-archaeology.
Bind loop 'done' to unfakeable gates. Use to harden egregore/herald loops or promote completion_integrity. Not for QA gates; use night-market-validation-and-qa.