GM-CMD-002: Gemini Command Description Missing, Multi-Line or Truncated
Summary
- Rule ID:
GM-CMD-002 - Severity:
LOW - Category:
Gemini CLI - Normative Level:
SHOULD - Auto-Fix:
No - Verified On:
2026-10-17
Applicability
- Tool:
gemini-cli - Version Range:
unspecified - Spec Revision:
unspecified
Evidence Sources
- https://geminicli.com/docs/cli/custom-commands
- https://raw.githubusercontent.com/google-gemini/gemini-cli/main/packages/cli/src/services/FileCommandLoader.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
prompt = "Refactor the code in the current context into a pure function."
Valid
description = "Asks the model to refactor the current context into a pure function."
prompt = "Refactor the code in the current context into a pure function."