GM-AG-002: Invalid Gemini Agent Frontmatter - Gemini Agents
Summary
- Rule ID:
GM-AG-002 - Severity:
HIGH - Category:
Gemini Agents - Normative Level:
MUST - Auto-Fix:
No - Verified On:
2026-10-17
Applicability
- Tool:
gemini-cli - Version Range:
unspecified - Spec Revision:
unspecified
Evidence Sources
- https://geminicli.com/docs/core/subagents
- https://geminicli.com/docs/core/remote-agents
- https://raw.githubusercontent.com/google-gemini/gemini-cli/main/packages/core/src/agents/agentLoader.ts
Test Coverage Metadata
- Unit tests:
true - Fixture tests:
true - E2E tests:
false
Examples
The following examples demonstrate what triggers this rule and how to fix it.
Invalid
---
name: Security Auditor
tools:
- read_file
---
You are a ruthless Security Auditor.
Valid
---
name: security-auditor
description: Specialized in finding security vulnerabilities in code.
tools:
- read_file
- grep_search
---
You are a ruthless Security Auditor.