grep-plan
Installation
SKILL.md
GREP Plan — Research Before You Build
Run deep research on a topic with your codebase as context, so the subsequent plan is informed by real documentation, best practices, and known gotchas — not just what the model remembers from training.
When to use this
Use /grep-plan instead of jumping straight into /plan when:
- Integrating an unfamiliar API or SDK
- Adopting a new library or framework
- Designing auth flows, payment systems, or security-sensitive features
- Working with protocols you haven't used recently (WebSockets, gRPC, OAuth2, etc.)
- Any task where guessing wrong means hours of debugging
Resolve the script path
SCRIPTS_DIR="$(dirname "$(dirname "$(dirname "$(readlink -f "${CLAUDE_SKILL_DIR}/SKILL.md")")")")/scripts"