Skip to content
Back to skills

Orc Discover

ASecurity

Codebase discovery for orc planning workflow. Analyzes patterns without user interaction.

  • 5 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 27, 2026
developmentbashtestinggitapi

Works with

  • api

Security analysis

A100/100

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

Scanned May 27, 2026

npx -y skills add qGolem/orc --skill orc-discover --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Orc Discover?

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

Security grade badge for Orc Discover
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qgolem-orc-discover/badge)](https://www.skillsdirectory.com/skills/qgolem-orc-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
---
description: Codebase discovery for orc planning workflow. Analyzes patterns without user interaction.
argument-hint: [slug]
allowed-tools:
  - Read
  - Write
  - Glob
  - Grep
  - Bash(ls:*)
  - Bash(find:*)
  - Bash(rg:*)
  - Bash(wc:*)
  - Bash(git:*)
model: inherit
context: fork
hooks: {}
user-invocable: false
---

# Orc Discover

Codebase exploration that runs forked (non-interactive).

## Input

- **$ARGUMENTS** — Plan slug

## Template

See [templates/STATE.md](templates/STATE.md) for output format.

## Process

### Step 0: Validate Slug

Tree the plans directory at depth 1 to see existing plan directories:
```bash
tree .claude/plans -L 1 -d
```

Compare the tree output against the provided `$ARGUMENTS` slug. If the slug matches a directory exactly, proceed with that directory. If it doesn't match exactly but a visible directory is clearly the right one (typo, case variation, truncation), use that directory instead. Use the matched directory path for all subsequent steps.

### Step 1: Load Vision
```
Read .claude/plans/$ARGUMENTS/PROJECT.md
```
Extract search targets from vision.

### Step 2: Pattern Discovery

Use Glob and Grep. **Find 2-3 examples of each** (emphasized: depth matters):
- Similar existing functionality
- File/test naming conventions
- API/route patterns
- Error handling patterns

### Step 3: Convention Analysis

For discovered files, document with file:line references:
- Code style (naming, organization)
- Error handling approach
- Testing patterns

### Step 4: Integration Mapping

For each file to modify:
- Current purpose
- What will change
- Dependencies (via `rg "import.*filename"`)
- Risk level (H/M/L)

### Step 5: Write STATE.md

Write `.claude/plans/$ARGUMENTS/STATE.md` using template.

Include these required sections:
- **Current Phase** — Track progress state
- **Decisions Made** — Audit trail for architectural choices
- **Blockers** — Surface impediments early

## Constraint

Cannot use AskUserQuestion — forked context is non-interactive.

## Completion Criteria

- [ ] Found 2-3 examples of similar patterns
- [ ] Documented all files to modify with risk levels
- [ ] Identified integration points
- [ ] Surfaced risks with mitigations

Files in this skill

  • SKILL.md2.2 KB
  • templates/STATE.md1.5 KB

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.

View all in development →

Comments

Loading comments…

Newsletter

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