Skip to content
Back to skills

Discovery

ASecurity

Two-mode discovery skill. External mode researches libraries / docs / prior art via WebSearch + context7. Internal mode greps the codebase to map relevant files, flows, and dependencies. Writes findings to discovery.md.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 19, 2026
developmentgo

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned October 19, 2026

npx -y skills add petruseugene/full-development-cycle --skill discovery --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Discovery?

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

Security grade badge for Discovery
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/petruseugene-discovery/badge)](https://www.skillsdirectory.com/skills/petruseugene-discovery)

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: discovery
description: Two-mode discovery skill. External mode researches libraries / docs / prior art via WebSearch + context7. Internal mode greps the codebase to map relevant files, flows, and dependencies. Writes findings to discovery.md.
disable-model-invocation: true
---

# Discovery

## When to use

- Before spec-writer, to ground the spec in real options and real code
- Before bugfix implementation, to reproduce + locate root cause

## Required reading

1. Read `${CLAUDE_PLUGIN_ROOT}/skills/playbook/SKILL.md` (the playbook core) before anything else; `${CLAUDE_PLUGIN_ROOT}` is the plugin root stated in your dispatch prompt.
2. `references/search-recipes.md`
3. `references/library-lookup.md`

## The job

1. Read the orchestrator's prompt to determine **mode**:
   - **External**: research libraries, patterns, prior art (use WebSearch, context7, WebFetch)
   - **Internal**: explore the codebase (use Glob, Grep, Read)
   - **Both**: do both, separated under H2 sections

2. Produce `discovery.md` in the feature folder. Sections:
   - `## Goal` — restate what we're trying to learn
   - `## Findings — External` (if applicable) — bulleted, with sources
   - `## Findings — Internal` (if applicable) — file paths, function names, key line ranges
   - `## Open questions` — anything the spec writer or implementer needs to resolve
   - `## Recommended approach` — one paragraph

3. Keep `discovery.md` under ~300 lines. If the answer is huge, link out instead of inlining.

## Output contract

```yaml
---
status: DONE | DONE_WITH_CONCERNS | NEEDS_CONTEXT | BLOCKED
output_file: docs/features/<folder>/discovery.md
summary: <one sentence on the recommended approach>
tokens_used: ~<N>k
duration: <Xm Ys>
---
```

Final message: the YAML block above plus at most 5 lines of prose (playbook core §6).

Files in this skill

  • SKILL.md1.8 KB
  • references/library-lookup.md708 B
  • references/search-recipes.md751 B

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.