Location: gemini-extension/
This directory contains the Gemini CLI-specific integration. It handles the "Hook" logic that intercepts prompts before they reach the Gemini model.
- refine_hook.ts: The primary hook for prompt interception.
- gemini-extension.json: Extension manifest and configuration.
- SKILL.md: Definition of the "Prompt Refiner" skill for Gemini CLI.
- Hook Performance: Ensure hooks are lightweight and do not block the CLI indefinitely.
- Seamless Fallback: If the universal-refiner server is down, the hook should fail gracefully and allow the original prompt to pass.
- Skill Alignment: The
SKILL.mdmust be kept in sync with the tools available in theuniversal-refiner.