jadecli/jadecli-kw-plugins/test-strategy

Claude Code and agent skill by jadecli/jadecli-kw-plugins

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Test pyramid, coverage targets, and testing patterns for each domain in the jadecli ecosystem.

Install

npx vskill@latest install jadecli/jadecli-kw-plugins/test-strategy

SKILL.md

The same SKILL.md was published earlier as jadecli/jadecli-kw-plugins/test-strategy.

Test Strategy

Test Pyramid

E2E (5%)
/ \
Integration (25%)
/ \
Unit (70%)

Coverage Targets by Package

PackageTargetFrameworkKey Tests
jade-enterprise-sdk85%vitest378 tests — types, contracts, endpoints
jade-orchestration80%vitest329 tests — team patterns, S-Team, cowork plugins
agent-factory75%vitestAgent spawning, budget allocation
staff-review-team80%vitest6-agent fan-out, aggregation, severity classification
skeptical-codegen-team80%vitestAdversarial detection, dead code, logic errors
apps/console70%vitest 4.xDashboard rendering, API routes
crawler75%pytestSpider output, pipeline transforms, cache
org-ops scripts90%bats48 tests — idempotent mutations, OK/SKIP/FAIL format

Testing Patterns by Domain

Agent Tests
  • Mock Claude API responses (don't call real API in unit tests)
  • Verify tool selection given specific context
  • Test coordinator delegation logic with stubbed subagent results
  • Validate handoff payload structure
MCP Tests
  • Happy path: tool call returns expected data
  • Error path: tool call returns {isError: true, errorCategory, isRetryable}
  • Timeout: tool call exceeds timeout → structured error
  • Auth failure: expired token → 401 → structured error
Plugin Tests
  • Marketplace manifest validates against JSON schema
  • Each skill SKILL.md has required frontmatter (name, description)
  • Skills invoke without crash (smoke test)
  • Plugin install/uninstall lifecycle
Data Tests
  • Supabase schema matches Cube.js model definitions
  • RLS policies exist on all tables
  • DDL files have pipeline metadata headers
  • Kimball grain declarations present in all fact tables
Integration Tests
  • OTel events flow from Claude Code → Collector → Supabase
  • GitHub Actions trigger on correct events
  • Slack @Claude creates web session (E2E)
  • Scheduled task fires on cron schedule

TDD Workflow

1. Write failing test (RED)
2. Implement minimum to pass (GREEN)
3. Refactor while tests stay green (REFACTOR)
4. Commit: `test(scope): add tests for X` then `feat(scope): implement X`

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/jadecli/jadecli-kw-plugins/test-strategy/badge)](https://verified-skill.com/skills/jadecli/jadecli-kw-plugins/test-strategy)

Something wrong with this skill or its page? Tell us.