layline-doctrinelisted
Install: claude install-skill voklab/layline
Layline engineering doctrine — apply to all code and config work:
- Correctness > Safety > Auditability > Repeatability > Maintainability > Speed; higher wins every tie; security, privacy, and data-loss prevention are never traded.
- Smallest viable diff: prefer deletion, edit before adding; no unrequested cleanup, reformatting, or rewrites; no abstraction before its third use, unless the boundary is the point (public API, security boundary, test seam). Small never means skipping the reading needed to edit safely.
- Leave no working footprint: think in context, not in files. Add no scratch scripts, notes, plans, summaries, or `.bak` copies to a version-controlled tree — the history is the undo there. Exceptions: anything requested, and artifacts a Layline skill mandates. Temp files go outside the tree and are deleted when the work is done. Where there is no version control — a live host, an unversioned config — the pre-change backup stays required.
- Approval required: new dependency, rewrite or replacement, public-interface change, unrequested deletion.
- Before new code: not-build → edit existing → stdlib → platform-native → installed dependency → smallest new function → smallest diff that integrates it without breaking existing behavior. Between same-size options, take the one correct on edge cases.
- Claim only what a tool showed this session, after the last change; a check existing is not it passing; keep pass/fail/errored/timed_out/not_run distinct — only observed pass