agentleFS
drafthqdrafthq/draft/skills/discover/SKILL.md

discover

Skill40 starsChanged 4 months agoMITView on GitHub

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.

27 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use refine, execute and 6 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • vltingSkill

    refine

    Iterative refinement loop for modules/components. Research best practices, council-deliberate a spec, collect issues, implement in worktree, review — one target at a time, approval-gated. Auto mode for fully autonomous operation.

    Also in 3 projects that use this

  • sahinSkill

    execute

    Also in 3 projects that use this

  • raven-souravSkill

    ingest

    Also in 4 projects that use this

  • SentrySkill

    spec

    Produce a verified spec — problem, desired outcome, and acceptance criteria — before building. Use when given a GitHub/Linear issue link, when starting from a fuzzy in-conversation idea, or asked to "figure out what to do" / "scope this" / "what should I build" — whenever the *what* isn't yet pinned down. Grills the ambiguities, checks the premise against the code, and produces acceptance criteria you sign off on — then hands to design-first.

    Also in 5 projects that use this

  • AGMO-IncSkill

    benchmark

    Use to run benchmarks, save results to Obsidian vault, and detect regressions against a baseline. Triggers on "벤치마크", "benchmark", "성능 측정".

    Also in 3 projects that use this

  • blas0Skill

    orchestrate

    Also in 4 projects that use this

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 24 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    After major changes, /draft:discover learn is recommended to keep guardrails current.

    line 62

“Common” is measured: kept by at least 6 in 10 of the 24 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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 KeywordsDispatches ToPurpose
debug, investigate bug, reproduce, isolate, diagnose/draft:debugStructured 4-phase debugging
hunt bugs, find bugs, exhaustive sweep, regression hunt/draft:bughunt14-dimension bug hunt + regression tests
quick review, fast review, sanity check, lightweight review/draft:quick-review4-dimension review (~2 min)
deep review, production audit, module audit, ACID compliance/draft:deep-reviewFull module lifecycle + architecture audit
coverage, code coverage, test coverage report/draft:coverageCoverage measurement and gap report
test strategy, testing plan, coverage targets, pyramid/draft:testing-strategyTest approach design
learn patterns, discover conventions, update guardrails, anti-patterns/draft:learnPattern mining + guardrail evolution
tour, walkthrough, onboard me, getting started tour/draft:tourGuided interactive project tour
blast radius, code impact, affected modules, downstream callers/draft:review or scripts/tools/graph-impact.shGraph-derived blast-radius before merge
impact, delivery telemetry, track analytics, CDD effectiveness/draft:impactProject-wide track delivery telemetry
assist review, help reviewer, PR architectural audit/draft:assist-reviewRisk 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.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.