Skip to content
Back to skills

Discover

ASecurity

Primary router for discovery, debugging, investigation, quality, and exploration workflows. Analyzes user intent and dispatches to debug, bughunt, quick-review, deep-review, coverage, testing-strategy, learn, tour, impact, assist-review. The recommended entry point for any 'find out', 'check', 'review', or 'investigate' request.

  • 40 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 22, 2026
ai-agentsrailstestingdebugging

Security analysis

A100/100

Scanned September 22, 2026

npx -y skills add drafthq/draft --skill discover --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Discover?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Discover
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/drafthq-discover/badge)](https://www.skillsdirectory.com/skills/drafthq-discover)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: discover
description: "Primary router for discovery, debugging, investigation, quality, and exploration workflows. Analyzes user intent and dispatches to debug, bughunt, quick-review, deep-review, coverage, testing-strategy, learn, tour, impact, assist-review. The recommended entry point for any 'find out', 'check', 'review', or 'investigate' request."
---

# Discover - Investigation & Quality Router

`/draft:discover` is the single front door for all investigation, auditing, pattern learning, and quality exploration activities.

## When to Use

- Any debugging or root-cause work
- Code quality reviews (lightweight to exhaustive to architectural)
- Coverage analysis and test strategy design
- Discovering and codifying project conventions
- Project tours, impact analysis, or reviewer assistance

## Routing Logic

Strong keyword and phrase matching with fallback to a menu when intent is broad or compound. Several quality commands auto-chain (e.g. review may call bughunt).

| User Intent Keywords                              | Dispatches To            | Purpose |
|---------------------------------------------------|--------------------------|---------|
| debug, investigate bug, reproduce, isolate, diagnose | `/draft:debug` | Structured 4-phase debugging |
| hunt bugs, find bugs, exhaustive sweep, regression hunt | `/draft:bughunt` | 14-dimension bug hunt + regression tests |
| quick review, fast review, sanity check, lightweight review | `/draft:quick-review` | 4-dimension review (~2 min) |
| deep review, production audit, module audit, ACID compliance | `/draft:deep-review` | Full module lifecycle + architecture audit |
| coverage, code coverage, test coverage report | `/draft:coverage` | Coverage measurement and gap report |
| test strategy, testing plan, coverage targets, pyramid | `/draft:testing-strategy` | Test approach design |
| learn patterns, discover conventions, update guardrails, anti-patterns | `/draft:learn` | Pattern mining + guardrail evolution |
| tour, walkthrough, onboard me, getting started tour | `/draft:tour` | Guided interactive project tour |
| blast radius, code impact, affected modules, downstream callers | `/draft:review` or `scripts/tools/graph-impact.sh` | Graph-derived blast-radius before merge |
| impact, delivery telemetry, track analytics, CDD effectiveness | `/draft:impact` | Project-wide track delivery telemetry |
| assist review, help reviewer, PR architectural audit | `/draft:assist-review` | Risk audit to support human reviewers |

## Dispatch Examples

User: "debug the flaky test in CI"

→ dispatches to `/draft:debug "flaky test in CI"`

User: "quick review the PR diff"

→ dispatches to `/draft:quick-review [pr context]`

User: "run a deep production audit on the auth service"

→ dispatches to `/draft:deep-review auth`

User: "learn the coding patterns in this repo and tighten guardrails"

→ dispatches to `/draft:learn`

User: "index the monorepo so agents see all services"

→ Monorepo context is a foundation task, not a discover route: run `/draft:init` at the repo root (it builds the whole-repo code graph + a sparse root map linking each module). Running `/draft:init` inside a sub-module links that module up to the same root graph.

## Auto-Chains & Recommendations

- `/draft:implement` and `/draft:review` (primary) frequently call into discover skills at phase boundaries.
- `/draft:discover "full quality"` may suggest or chain review + bughunt + coverage.
- After major changes, `/draft:discover learn` is recommended to keep guardrails current.

Direct specialist commands are preserved as shims for existing workflows and scripts.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.