AGENT SKILL

testing-strategy

Design comprehensive testing strategies and optimize test coverage

License 许可
MIT
所属仓库
0xRayAI/xray
最近更新
2026-11-13
Stars
★ 2
Forks
3

01 前言 Front Matter

mcp
{ "testing-strategy": { "args": [ "node_modules/0xray/dist/mcps/knowledge-skills/testing-strategy.server.js" ], "command": "node" } }
name
testing-strategy
tags
[ "testing", "strategy", "coverage", "quality" ]
author
Xray Framework
source
framework
version
1.0.0
description
Design comprehensive testing strategies and optimize test coverage
capabilities
[ "design_strategy", "optimize_coverage", "ensure_quality" ]
dependencies
[]
schema_version
1.0

03 SKILL.md 正文

Testing Strategy Skill

Provides intelligent testing strategy and coverage optimization capabilities.

Tools Available

  • analyze_test_coverage: Analyze current test coverage and identify gaps
  • design_test_strategy: Design comprehensive testing strategy for projects
  • identify_test_gaps: Identify untested code and recommend test cases
  • optimize_test_coverage: Analyze and optimize test coverage patterns

Usage

This skill helps design and optimize testing strategies for:

  • Unit testing coverage analysis
  • Integration testing planning
  • End-to-end testing strategies
  • Test coverage optimization
  • Testing best practices implementation

Per-suite triage (autonomy-command rule 3)

After major changes, do not run the full test suite first.

1. Identify affected test file(s) from the diff
2. Run ONE suite: npm test -- path/to/focused.test.ts
3. Read ALL failure output — triage root cause
4. Fix → rerun that suite until green
5. Repeat for each affected suite
6. Only then: npm test (full suite gate)

Lead dev owns every failure. No "pre-existing" deferrals.

04 同仓库更多 Skills