---
name: harness:test-advisor
description: Graph-based test selection — answers "what tests should I run?"
argument-hint: '[--path <path>] [--files <files>]'
allowed-tools:
  - Bash
  - Read
  - Glob
  - Grep
---

<!-- Generated by harness generate-slash-commands. Do not edit. -->

<context>
Cognitive mode: advisory-guide
Type: flexible
</context>

<objective>
Graph-based test selection — answers "what tests should I run?"

Phases:

- parse: Identify changed files from diff or input
- discover: Find related tests via graph traversal
- prioritize: Rank tests by relevance and generate commands
  </objective>

<execution_context>
@agents/skills/claude-code/harness-test-advisor/SKILL.md
@agents/skills/claude-code/harness-test-advisor/skill.yaml
</execution_context>

<process>
1. Try: invoke mcp__harness__run_skill with skill: "harness-test-advisor"
2. If MCP unavailable: read SKILL.md and follow its workflow directly
3. Pass through any arguments provided by the user
</process>
