xiaohongshu
xiaohongshu
gemini-partner
Invoke Gemini CLI as a partner AI developer for tasks benefiting from its 1M token context window or a second opinion. Use when analyzing large codebases, generating documentation, getting alternative perspectives, researching topics with web search, or creating UI wireframes/components. Gemini h...
Full skill instructions
Invoke the Gemini CLI as a collaborative AI partner for development tasks. Gemini runs in headless mode with full filesystem access to the current project.
Use Gemini CLI when you need:
Large Context Analysis - Gemini has 1M token context (vs ~200k for Claude)
Second Opinion - Alternative AI perspective
Web Research - Gemini has built-in web search
UI Generation - Design wireframes and components
Basic syntax (Gemini 3 Pro):
gemini -y -o json -m gemini-3-pro-preview "<prompt>"
Flags:
-m gemini-3-pro-preview: ALWAYS use Gemini 3 Pro (latest and most capable model)-y or --yolo: Auto-approve all file operations-o json: Return structured JSON outputImportant:
-m gemini-3-pro-preview to use the latest modelGemini returns structured JSON with:
{
"response": "The AI's text response",
"stats": {
"models": { /* token usage */ },
"tools": { /* tool call stats */ },
"files": { "totalLinesAdded": 0, "totalLinesRemoved": 0 }
}
}
gemini -y -o json -m gemini-3-pro-preview "Analyze this entire codebase and provide:
1. Architecture overview
2. Key patterns used
3. Potential improvements
4. Security considerations
Focus on the src/ directory structure and how components interact."
gemini -y -o json -m gemini-3-pro-preview "I'm implementing [feature]. My current approach is [description].
Review my approach and provide:
1. Strengths of this approach
2. Potential issues or concerns
3. Alternative approaches to consider
4. Your recommendation"
gemini -y -o json -m gemini-3-pro-preview "Research the latest best practices for [topic] in 2025.
Include:
1. Current recommendations
2. Common pitfalls to avoid
3. Relevant libraries/tools
4. Code examples if applicable
Cite your sources."
gemini -y -o json -m gemini-3-pro-preview "Create a React TypeScript component for [description].
Requirements:
- Use Tailwind CSS for styling
- Include TypeScript types
- Make it accessible (ARIA labels, keyboard nav)
- Add JSDoc comments
Save to: src/components/[ComponentName].tsx"
gemini -y -o json -m gemini-3-pro-preview "Generate comprehensive documentation for this codebase.
Create:
1. README.md with project overview
2. API documentation for public functions
3. Architecture diagram description
4. Getting started guide
Save documentation to the docs/ directory."
gemini -y -o json -m gemini-3-pro-preview "Review the recent changes in this codebase for:
1. Code quality issues
2. Potential bugs
3. Security vulnerabilities
4. Performance concerns
5. Suggestions for improvement
Be specific with file paths and line numbers."
Gemini CLI has these capabilities (auto-approved with -y):
| Tool | Description |
|---|---|
read_file | Read file contents |
write_file | Create/overwrite files |
edit_file | Modify existing files |
shell | Execute shell commands |
web_search | Google Search grounding |
web_fetch | Fetch web content |
stats.tools.totalFail for tool errorsWhen working with Gemini as a partner:
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience