Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Core architectural and code quality principles that guide all development decisions in the vm0 project
.claude/skills/vm0-ai-project-principles/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-02 | ✗→✓ | ▲ Improved | -42% | 0% |
| case-05 | ✗→✓ | ▲ Improved | -12% | 0% |
| case-06 | ✗→✓ | ▲ Improved | -58% | 0% |
| case-08 | ✗→✓ | ▲ Improved | 8% | 0% |
| case-19 | ✗→✓ | ▲ Improved | -21% | 0% |
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:
Other measured skills in the registry, with their headline benchmark lift.