Agent skill

describe-laws-and-style

Distinction between laws (invariants) and style (conventions). Load when determining if a constraint is a law or style.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/describe-laws-and-style

SKILL.md

Laws vs Style

Laws (.ushabti/laws.md):

  • Non-negotiable invariants that must hold across all Phases, implementations, and refactors
  • Examples: architectural boundaries, security constraints, correctness guarantees
  • Laws are absolute — any violation fails a Phase
  • Only Lawgiver defines or modifies laws

Style (.ushabti/style.md):

  • Conventions that govern how the system is built
  • Examples: directory layout, naming conventions, testing strategy, error handling
  • Style may evolve over time; laws should not
  • Only Artisan defines or modifies style
  • Style must never contradict laws

Didn't find tool you were looking for?

Be as detailed as possible for better results