gskaro-v1/.skaro/templates/constitution-template.md

956 B

Constitution:

Stack

  • Language:
  • Framework:
  • Database:
  • Infrastructure: <Docker/K8s/cloud>

Coding Standards

  • Linter: with config
  • Formatter:
  • Naming:
  • Max function length:
  • Max nesting depth:

Testing

  • Minimum coverage: <N%>
  • Required: unit tests for business logic
  • Required: integration tests for API contracts
  • Framework:

Constraints

Security

  • Authorization:
  • Input validation:
  • Secrets:

LLM Rules

  • Do not leave stubs without explicit TODO with justification
  • Do not duplicate code: prefer reuse and clear abstractions
  • Do not make hidden assumptions — if unsure, ask
  • Always generate AI_NOTES.md per template
  • Follow the coding style described above