test-consult
Consult the test-architecture agent for strategy decisions. Use when asking about coverage gaps, test pyramid, framework selection, flaky-test remediation, or how to test X.
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 60
- Forks
- 6
01 前言 Front Matter
- args
- <topic> [--context <path>]
- name
- test-consult
- created
- 1765843200000
- modified
- 1778284800000
- reviewed
- 1777075200000
- description
- Consult the test-architecture agent for strategy decisions. Use when asking about coverage gaps, test pyramid, framework selection, flaky-test remediation, or how to test X.
- allowed-tools
- Task, Read, Glob, Grep
- argument-hint
- <topic> [--context <path>]
03 SKILL.md 正文
When to Use This Skill
| Use this skill when... | Use test-tier-selection instead when... |
|---|---|
| Asking strategic "how should we test X?" questions | Mechanically picking unit vs integration vs E2E for a change |
| Designing the test approach for a new feature | Running the actual tests (use test-run, test-quick, test-full) |
| Diagnosing flaky-test root causes | Setting up a fresh project's test infrastructure (use test-setup) |
| Reviewing pyramid balance or coverage gaps | Triaging concrete failing-test output (use test-analyze) |
Context
Explicit command to consult the test-architecture agent for strategic testing decisions.
Use when:
- Creating tests for NEW features
- Test strategy needs adjustment
- Coverage gaps identified
- Flaky tests detected
- Framework selection questions
Topics
| Topic | What it covers |
|---|---|
coverage |
Analyze gaps, recommend high-value tests to write |
strategy |
Review overall test architecture and pyramid |
framework |
Recommend testing tools for tech stack |
flaky |
Diagnose and remediate flaky tests |
pyramid |
Analyze test tier distribution |
new-feature |
Design test approach for new functionality |
| (free text) | Custom question about testing |
Parameters
$1: Topic keyword or natural language question--context <path>: Focus analysis on specific directory
Behavior
-
Gather Project Context:
- Find test directories and structure
- Detect frameworks in use (pytest, vitest, playwright, etc.)
- Read coverage reports if available
- Check recent test failures
-
Delegate to test-architecture Agent:
- Provide gathered context
- Include specified topic
- Request actionable recommendations
-
Present Recommendations:
- Strategic advice
- Specific action items
- Offer to create issues/tasks
Examples
# Coverage analysis
/test:consult coverage
# New feature testing strategy
/test:consult new-feature --context src/auth/
# Framework decision
/test:consult "Should we add property-based testing?"
# Flaky test investigation
/test:consult flaky
# Custom question
/test:consult "How should we structure tests for our API endpoints?"
Agent Delegation
This command delegates to the test-architecture agent with:
- Project test structure analysis
- Coverage data (if available)
- Specified topic/question
- Context path (if provided)
The agent will provide:
- Strategic recommendations
- Specific actionable items
- Trade-off analysis
- Implementation guidance
04 同仓库更多 Skills
kitty-show-image
Show the user an image with a note on what to judge, via a file send or a labelled kitty tab. Use when the user must see an image, or icat fails with no /dev/tty.
kitty-session-persistence
Snapshot and restore kitty terminal sessions on macOS. Use when surviving WindowServer hangs without losing tabs, configuring snapshots, or restoring after a force-reboot.
kitty-remote-control
Safe kitty remote control from an agent — read panes with kitty @ ls/get-text, notify, and never mutate the live terminal unasked. Use when running inside kitty.
docs-reference-check
Dangling doc-reference gate: flag markdown naming repo paths or relative links that no longer exist. Use when docs cite moved/deleted files, or wiring a doc-drift lint.
youtube-upload
Upload a video to YouTube via the Data API v3 and edit its title, description, tags or thumbnail afterwards. Use when publishing or retitling a YouTube video.
youtube-studio-share
Share a private YouTube video with a whole Google Workspace organization by scripting YouTube Studio in the browser. Use when a video must be org-only.