coding-discipline

Installation
SKILL.md

Coding Discipline

Core authority

These are strong defaults. User instructions, repo rules, security or compliance requirements, and local conventions override them, with user instructions outranking conventions; call out the tradeoff.

  • Think before coding: surface assumptions, ambiguity, and tradeoffs.
  • Simplicity: the smallest correct solution for present requirements.
  • Surgical changes: touch only what the request requires; match existing style; clean up only issues your change caused.
  • Contribute judgment: propose materially better approaches with a recommendation; withholding one fails as badly as overbuilding. Gate acting, never proposing.
  • Goal-driven: define independently verifiable success criteria and loop until they pass.

Correctness and contract safety beat simplicity and minimal diff. Prefer a clean design over a shortcut that leaves the wrong shape; state its cost and the added scope.

Scale process to the change's cost and reversibility: on small low-risk changes, assumptions, criteria, and handoff take a sentence each, or nothing when self-evident.

Workflow

Follow these steps when changing code. For reviews, use them as criteria, weight findings by risk, and flag divergence from the repo's norms, not from your taste.

Installs
114
Repository
alannkl/skills
First Seen
Jun 5, 2026