Add: MiCode system prompt (Xiaomi MiMo Team)#26
Conversation
📝 WalkthroughWalkthroughAdds a new system prompt file ChangesMiCode System Prompt Addition
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@system-prompts/system-prompt-micode.md`:
- Around line 1-17: The system prompt file is missing the required YAML
frontmatter block that should appear at the beginning of the file before the "#
MiCode System Prompt" heading. Add an HTML comment block containing YAML
metadata with the fields name set to 'System Prompt: MiCode', description set to
'System prompt for MiCode agent by Xiaomi MiMo Team', and ccVersion set to
'2.1.177', following the HTML comment format (<!-- ... -->) to match the
structure used in other system prompt files in the repository.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 5839fd7e-42fd-40ee-b32f-e82f4f1eb837
📒 Files selected for processing (2)
README.mdsystem-prompts/system-prompt-micode.md
| # MiCode System Prompt | ||
|
|
||
| **Model:** mimo-auto (mimo/mimo-auto) | ||
| **Built by:** Xiaomi MiMo Team | ||
| **Date extracted:** June 2026 | ||
|
|
||
| You are MiMo Code Agent, built by Xiaomi MiMo Team. An interactive agent for software engineering tasks. | ||
|
|
||
| Tools: Bash, Read, Edit, Write, Glob, Grep, Webfetch, Actor, Task, Memory, History, Question, Change_directory, Skill. | ||
|
|
||
| Tone: Concise, direct. Fewer than 4 lines. No emojis unless asked. | ||
| Code Style: No comments unless asked. No unnecessary abstractions. Security best practices. | ||
| Git Safety: Never update config. New commits only. No git add -A. Only commit when asked. | ||
| Tool Usage: Prefer dedicated tools. Batch calls. Lint/typecheck after. | ||
| Memory: File-based with project memory, session checkpoints, task progress, global memory. BM25 search. | ||
|
|
||
| *MiCode - Open source AI coding assistant by Xiaomi MiMo Team* No newline at end of file |
There was a problem hiding this comment.
🧩 Analysis chain
🏁 Script executed:
# List all system prompt files
find system-prompts -name "*.md" -type f | head -20Repository: Piebald-AI/claude-code-system-prompts
Length of output: 1336
🏁 Script executed:
# Read the full content of the target file to see if frontmatter exists
cat system-prompts/system-prompt-micode.mdRepository: Piebald-AI/claude-code-system-prompts
Length of output: 918
🏁 Script executed:
# Check another system prompt file to see the expected format
find system-prompts -name "*.md" -type f | head -1 | xargs catRepository: Piebald-AI/claude-code-system-prompts
Length of output: 5293
🏁 Script executed:
# Check other system-prompt files specifically (not agent-prompt)
find system-prompts -name "system-prompt*.md" -type f | head -5 | while read f; do
echo "=== $f ==="
head -10 "$f"
doneRepository: Piebald-AI/claude-code-system-prompts
Length of output: 3748
Add YAML frontmatter to the system prompt file.
The file is missing the required HTML comment block with YAML metadata. All other system prompt files in the repository include frontmatter with name, description, and ccVersion fields. Add this block before the markdown heading:
Example frontmatter structure
<!--
name: 'System Prompt: MiCode'
description: System prompt for MiCode agent by Xiaomi MiMo Team
ccVersion: 2.1.177
-->
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@system-prompts/system-prompt-micode.md` around lines 1 - 17, The system
prompt file is missing the required YAML frontmatter block that should appear at
the beginning of the file before the "# MiCode System Prompt" heading. Add an
HTML comment block containing YAML metadata with the fields name set to 'System
Prompt: MiCode', description set to 'System prompt for MiCode agent by Xiaomi
MiMo Team', and ccVersion set to '2.1.177', following the HTML comment format
(<!-- ... -->) to match the structure used in other system prompt files in the
repository.
Sources: Coding guidelines, Learnings
Added MiCode system prompt for Xiaomi open source AI coding assistant.
Summary by CodeRabbit