- Fix security-auditor.md color bare hex to quoted - Fix orchestrator.md duplicate devops-engineer key - Fix .kilo/kilo.jsonc: orchestrator + root model to kimi-k2.6:cloud - Update agent-frontmatter-validation.md with diagnostic guide - Update global.md with YAML frontmatter rules for all agents - Update agent-architect.md + workflow-architect.md with color checklist - Add scripts/validate-agents.cjs: zero-dependency, cross-platform, --fix flag, scans worktrees
1.8 KiB
1.8 KiB
Global Rules
- Always write clean code following project conventions
- Answer in the same language the question was asked
- Use clear, concise markdown formatting
- Keep responses short and actionable
- Never commit changes unless explicitly requested
Code Style
- Follow existing code patterns in the codebase
- Never add comments unless explicitly asked
- Use existing libraries and utilities
- Check package.json, cargo.toml, or equivalent before adding dependencies
- Follow security best practices - never expose secrets or keys
Prohibitions
- NEVER update git config
- NEVER run destructive git commands (--force, hard reset) unless explicitly requested
- NEVER skip git hooks (--no-verify, --no-gpg-sign)
- NEVER use interactive git commands (-i flag)
- NEVER write malicious code or explain malicious code behavior
Communication
- Be direct and to the point
- Minimize output tokens while maintaining accuracy
- One word answers are best when appropriate
- Avoid introductions, conclusions, and unnecessary explanations
- Output text to communicate with the user; use tools to complete tasks
YAML Frontmatter Rules (All Agents)
When generating or editing any .md file with YAML frontmatter (agents, commands, skills, rules):
- color must be double-quoted: always
"#RRGGBB", never bare#RRGGBB - mode must be valid: only
subagentorall, neverprimary - model must include provider:
ollama-cloud/..., never bare model ID - description must be non-empty
- all permission keys required: read, edit, write, bash, glob, grep, task
- task permission uses deny-by-default with explicit allow-list
Critical: Unquoted # starts a YAML comment and breaks the parser with:
Config file invalid: color: Invalid input
Always verify generated frontmatter with: node scripts/validate-agents.cjs