用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/vm0-ai/vm0 --skill project-principles命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | project-principles |
| description | Core architectural and code quality principles that guide all development decisions in the vm0 project |
This skill defines the fundamental design principles and coding standards for the vm0 project. These principles are MANDATORY for all code written in this project and should guide every development decision.
Don't add functionality until it's actually needed.
Quick rules:
When coding: Ask "Do we need this NOW?" If not, don't add it.
→ For detailed guidelines and examples, read yagni.md
Let exceptions propagate naturally. Don't wrap everything in try/catch.
Quick rules:
When coding: Only use try/catch when you have specific error recovery logic.
→ For detailed guidelines and examples, read no-defensive.md
Maintain type safety throughout the codebase. Never compromise on type checking.
Quick rules:
any typeWhen coding: If you see any, fix it. If types are missing, add them.
→ For detailed guidelines and examples, read type-safety.md
All code must pass linting without exceptions.
Quick rules:
When coding: If lint fails, fix the code, not the linter.
→ For detailed guidelines and examples, read zero-lint.md
Before writing any code, verify:
yagni.md firstno-defensive.mdtype-safety.mdzero-lint.mdThese principles should be applied:
These principles exist to:
They may feel restrictive at first, but they lead to cleaner, more maintainable code.
If principles seem to conflict:
Feature switch system guide for gating new user-facing features behind feature flags
Patterns and best practices for using ccstate state management in the vm0 platform
Database migrations and Drizzle ORM guidelines for the vm0 project