---
description: Build tool/engine dari scratch atau extend existing — scaffold, implement, test
---

# Build Tool

## Pre-Read Skills
```
view_file: ~/.gemini/skills/predator/SKILL.md
view_file: ~/.gemini/skills/knowledge/SKILL.md
view_file: ~/.gemini/skills/get-competitor-skill-and-method/SKILL.md
view_file: ~/.gemini/skills/kitab-suci/SKILL.md
```

## Steps

1. **Define Requirements**
   Ask Ketua (or infer):
   - What does this tool do?
   - Target type (web, API, cloud, network)
   - Language preference (Python async / Rust / Go)
   - Scale (single target vs mass)

2. **Architecture Plan**
   Following `predator` architecture patterns:
   - Producer-Consumer pipeline
   - Async I/O with rate limiting
   - Stealth verification (no echo)
   - Confidence scoring
   Apply `knowledge` skill for modernization strategies.

3. **Scaffold**
   Based on language (follow language standards from GEMINI.md):
   - **Python**: asyncio + httpx + pydantic
   - **Rust**: tokio + reqwest + serde + clap
   - **Go**: goroutines + errgroup + zerolog

4. **Implement**
   Use `get-competitor-skill-and-method` for:
   - CMS detection signatures
   - Secret detection patterns
   - Cloud key regex patterns

5. **Test**
   Run against controlled test targets. Verify output format.

6. **Report**
   Demo to Ketua with example output.
