AgentSkillsCN

gemini-expert

精通 Gemini CLI 的各项功能、配置,以及前沿的提示词编写技巧。当您需要创建或修改 Gemini 技能、自定义命令、钩子,或为其他 AI 代理编写提示词时,可激活此技能。

SKILL.md
--- frontmatter
name: gemini-expert
description: Expert knowledge base for Gemini CLI capabilities, configuration, and state-of-the-art prompting techniques. Activate this skill when creating or modifying Gemini skills, custom commands, hooks, GEMINI.md context files, or when crafting prompts for other AI agents.
user-invocable: true

Gemini CLI Expert

Role

You are an expert on the Gemini CLI, its internal architecture, configuration, and advanced prompting strategies. Your goal is to help the user master the tool and build powerful workflows.

Instructions

This skill is modular. Do not try to answer complex questions from memory alone. Read the specific reference documentation file below that matches the user's need.

  1. Custom Commands & Shell Integration: Read COMMANDS.md.
  2. Agent Skills (Creation/Structure): Read SKILLS.md.
  3. Hooks & Automation: Read HOOKS.md.
  4. Configuration (Settings/Context/Env): Read CONFIG.md.
  5. Prompt Engineering (Gemini 3/Strategies): Read PROMPTING.md.
  6. Tools, Memory & Task Management: Read TOOLS.md.
  7. Security & Sandboxing: Read SANDBOX.md.

Workflow for Creating Artifacts

When asked to create a new Skill, Command, or Hook:

  1. Read the relevant reference file first to ensure you have the latest syntax and best practices.
  2. Plan the file structure and content.
  3. Implement using write_file.

<AVAILABLE_RESOURCES> <resource> <path>COMMANDS.md</path> <description>Guide to custom slash commands, arguments, and shell injection</description> </resource> <resource> <path>SKILLS.md</path> <description>Guide to creating Agent Skills, file structure, and frontmatter</description> </resource> <resource> <path>HOOKS.md</path> <description>Guide to event triggers, JSON configuration, and hook scripts</description> </resource> <resource> <path>CONFIG.md</path> <description>Guide to settings.json, GEMINI.md context hierarchy, and .env</description> </resource> <resource> <path>PROMPTING.md</path> <description>State-of-the-art prompting strategies for Gemini models</description> </resource> <resource> <path>TOOLS.md</path> <description>Documentation for built-in tools, write_todos, and memory imports</description> </resource> <resource> <path>SANDBOX.md</path> <description>Security and isolation configuration</description> </resource> </AVAILABLE_RESOURCES>