Codebase discovery for orc planning workflow. Analyzes patterns without user interaction.
Scanned 5/27/2026
Install via CLI
openskills install qGolem/orc---
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
No comments yet. Be the first to comment!
Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates.
SEO optimization with keyword analysis, readability assessment, technical validation, content quality. Use for search rankings, blog posts, content audits, or encountering keyword density, readability scores, meta tags, schema markup errors.
Python backend development expertise for FastAPI, security patterns, database operations, Upstash integrations, and code quality. Use when: (1) Building REST APIs with FastAPI, (2) Implementing JWT/OAuth2 authentication, (3) Setting up SQLAlchemy/async databases, (4) Integrating Redis/Upstash caching, (5) Refactoring AI-generated Python code (deslopification), (6) Designing API patterns, or (7) Optimizing backend performance.
Drive the full internationalization journey for a project — detect the stack, recommend a library, set up the chosen library, wrap existing strings, and optionally connect a translation platform. Use when the user asks to add or configure i18n, internationalization, localization, multi-language support, or translations — including when they explicitly mention LinguiJS, Lingui, next-intl, "wrap strings", "find hardcoded text", "make my app translatable", or "set up translations". Triggers on g...
PTES-aligned adversarial security audit for backend, frontend, and mobile applications. Produces a CVSS-scored Hacker Report with verified PoCs and phased remediation.