---
description: Run comprehensive plugin validation test suite
argument-hint: "[--dev]"
context: fork
---

# Test Plugin

Comprehensive test of all Bluera Knowledge plugin functionality covering the **full API surface**.

## API Coverage

| Category | Tests |
|----------|-------|
| MCP execute commands | help, commands, stores, store:create, store:info, store:index, store:delete, stores:health, stores:check-models, stores:sync, stores:pull, jobs, job:status, job:cancel |
| MCP tools | search, get_full_context |
| Slash commands | stores, search, suggest, check-status, skill-activation, index, add-folder, health, sync |
| Web crawling | crawl (start job, verify status, cancel) |
| Hooks | PostToolUse, UserPromptSubmit, SessionStart |

## Mode Detection

Check if `--dev` flag is present in: $ARGUMENTS

| Scenario | Command | Tests |
|----------|---------|-------|
| Plugin loaded (default) | `/test-plugin` | 38/38 (full suite) |
| Development (`--dev`) | `/test-plugin --dev` | 29/38 (no slash cmds) |

## Context

!`echo "=== BK Plugin Test ===" && ls -la .bluera/bluera-knowledge/ 2>/dev/null || echo "No BK data dir yet (will be created)"`

## Test Procedures

Detailed test steps for each mode: [references/test-procedures.md](references/test-procedures.md)

## Output Format

Detailed output format and error recovery: [references/output-format.md](references/output-format.md)
