<< All versions

Skill v1.0.0

currentAutomated scan100/100
dabydat/alpha-omega/code-quality
──Details
PublishedOctober 15, 2026 at 11:54 PM
Content Hashsha256:e10a04afad8e5a44...
Git SHA5dbcdf9bb0df
──Files
Files (1 file, 1002 B)
SKILL.md1002 Bactive
SKILL.md · 32 lines · 1002 B

version: "1.0.0" name: code-quality description: Non-negotiable code quality standards. Use when writing or reviewing any code in any language.


neuron: code-quality

  • triggers_when: code is written or reviewed and must meet quality standards
  • tier: T2
  • budget: 500 tokens
  • eval: number of violations of universal rules -> threshold 0
  • reward: pheromone +1 if eval >= threshold

Procedure

  1. Apply strict typing (parameters and returns, 0 public methods without type).
  2. Keep functions <=30 lines (Extract Method) and files <=300 (Extract Class).
  3. Remove magic numbers, dead code and debug code.
  4. Write actionable errors and tests (>=80% business logic).
  5. Verify the pre-delivery checklist.

Checklist

  • [ ] Functions <=30 and files <=300 lines
  • [ ] No magic numbers or debug code (console.log/dd/dump)
  • [ ] Actionable errors
  • [ ] SOLID + tests

Pitfalls

  • Default exports (use named exports)
  • >3 parameters without a Parameter Object
  • Skipping business logic tests
All versions