---
name: quick-search
description: Lightning-fast search to answer specific questions - optimized for speed
argument-hint: <question>
context: fork
agent: Explore
model: haiku
allowed-tools: Grep, Glob, Read
---

## Question
$ARGUMENTS

<objective>
Answer questions at maximum speed using direct search tools. No agents, no deep analysis - just fast answers with citations.

**Note:** This skill runs in an isolated context. Use Grep, Glob, and Read directly.
</objective>

<quick_start>
```bash
/quick-search where is LoginForm defined?
/quick-search find all API routes
/quick-search what config files exist?
```
</quick_start>

<workflow>

## 1. Identify

Parse the question:
- Extract key search terms
- Determine target file types or patterns
- **CRITICAL**: Be surgical - know exactly what to search

## 2. Search (Direct Tools Only)

Use direct tools - **NO AGENTS**:
- `Grep` for code content search with specific patterns
- `Glob` for file name/path patterns
- Launch searches **in parallel** when possible

**SPEED RULE**: Max 2-3 search iterations total

## 3. Read (Targeted)

- `Read` only the most relevant files found
- **CRITICAL**: Max 3-5 files - be selective
- Scan for the specific answer needed

## 4. Answer

Direct response:
- Immediate answer to the question
- Include file references with line numbers (`file.ts:42`)
- **NO**: Long explanations or architectural context
- **YES**: Concise answer with evidence

</workflow>

<search_patterns>

**Finding implementations:**
```
Grep: pattern="class FooBar" or "function fooBar"
```

**Finding configs:**
```
Glob: pattern="**/config.{js,ts,json}"
```

**Finding imports/usage:**
```
Grep: pattern="from ['\"].*moduleName['\"]"
```

</search_patterns>

<execution_rules>

- **SPEED FIRST**: Answer in under 30 seconds
- **NO AGENTS**: Use direct tools only (Grep, Glob, Read)
- **PARALLEL SEARCH**: Run independent searches simultaneously
- **MINIMAL READING**: Read only what's absolutely necessary
- **NO DEEP ANALYSIS**: Surface-level answers with citations
- **STOP EARLY**: Once you have the answer, respond immediately

</execution_rules>

<priority>
Speed > Completeness. Fast answers beat perfect answers.
</priority>

<success_criteria>
- Question answered with file path and line number citations
- Response delivered within 2-3 search iterations
</success_criteria>
