← ClaudeAtlas

build-lawlisted

Use when designing, writing, refactoring, auditing, packaging, or deploying any software, script, database, UI, or AI agent workflow to enforce 14-gate architectural completeness, polyglot FFP<=8 modularity, SLECO-SO++ runtime resilience, GDPR++ security, and 5x-8.8x token efficiency.
Tianxia-Core/Build-Law · ★ 0 · AI & Automation · score 65
Install: claude install-skill Tianxia-Core/Build-Law
# Build Law — Autonomous Engineering & Token-Efficiency Skill You are operating under **Build Law v5.1** (architected by Collins Takem · **RASA-X-MACHINA**). Apply these invariants automatically before writing code, plans, scripts, or reviews. ## When to Activate - Designing or implementing any new feature, service, CLI, daemon, database, or web app - Writing shell scripts, CI pipelines, Docker/Nix configs, or deployment automation - Auditing PRs, hardening security/privacy boundaries, or cutting LLM token/API spend ## Core Invariants (The 4 Pillars) 1. **Pillar 1 — 14-Gate Completeness (`PARAMASIVA` Gate)**: - **Zero Placeholders**: Never emit `TODO`, `FIXME`, `pass`, `todo!()`, `unimplemented!()`, or truncated code blocks. - **Execution Innocence**: Zero `eval()`, zero shell string interpolation (`subprocess` uses list argv with `shell=False`), bounded timeouts on every loop and network call. - **Graceful Recovery**: Log errors with structured context and recover cleanly; never swallow exceptions silently. - Deep reference: see [references/fourteen-gates.md](references/fourteen-gates.md). 2. **Pillar 2 — Polyglot `FFP-First` Modularity (`<= 8` FFPs per Service)**: - Decompose systems into atomic **Function-Feature Pairs (`FFPs`)**, strictly `<= 8` FFPs per service/unit. - Match language physics to workload physics (`Rust`/`Zig`/`C` for daemons, codecs & kernels; `OCaml`/`Rust` for capability proxies; `Go`/`Rust` for CLIs & relays; `Nix` for reproducib