secondsky/claude-skills / plugins/gemini-cli/skills/gemini-cli
gemini-cli
VerifiedGoogle Gemini CLI for second opinions, architectural advice, code reviews, security audits. Leverage 1M+ context for comprehensive codebase analysis via command-line tool.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 11.0 KB |
| references/gemini-experiments.md | markdown | 12.7 KB |
| references/helper-functions.md | markdown | 1000 B |
| references/models-guide.md | markdown | 3.9 KB |
| references/prompting-strategies.md | markdown | 1.7 KB |
| scripts/install-gemini-coach.shexecutable | script | 4.1 KB |
| scripts/setup-slash-command.shexecutable | script | 3.8 KB |
| scripts/test-connection.shexecutable | script | 3.1 KB |
references/prompting-strategies.md
View on GitHub# AI-to-AI Prompting Best Practices
All gemini-coach commands use AI-to-AI prompting format (based on systematic testing)
---
## Format Structure
```
[Claude Code consulting Gemini for peer review]
Task: [Specific task description]
Provide direct analysis with file:line references. I will synthesize your
findings with mine before presenting to the developer.
```
---
## Why This Format Works
1. **Prevents Role Confusion**: Gemini knows it's advising Claude, not the human developer
2. **Reduces Chattiness**: More direct, less "helpful assistant" framing
3. **Better Output**: File:line references, concrete suggestions
4. **Peer Review Dynamic**: Two AI systems collaborating
---
## Comparison
**❌ Old Format** (less effective):
```
You're an expert security researcher. Review this code for vulnerabilities...
```
- More verbose
- "Helpful assistant" tone
- Chattier responses
**✅ New Format** (recommended):
```
[Claude Code consulting Gemini for peer review]
Task: Security review - identify vulnerabilities...
Provide direct analysis. I will synthesize findings.
```
- Clear AI-to-AI context
- Direct task description
- Concise output
---
## Custom Prompt Template
```bash
gemini "[Claude Code consulting Gemini for peer review]
Task: [Your specific task here - be concrete]
Provide direct analysis with [file:line | code examples | recommendations].
I will synthesize your findings before presenting to developer." \
--yolo -m gemini-2.5-flash
```
**Key Elements**:
1. `[Claude Code consulting Gemini for peer review]` - AI-to-AI context
2. `Task:` - Specific task
3. `Provide direct analysis...` - Output format
4. `I will synthesize...` - Workflow explanation
---
**Source**: Testing documented in `gemini-experiments.md` (Experiment 1)
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |