feat(guide): add Production Safety Rules (v3.9.11)

Add comprehensive production safety guide for teams deploying Claude Code in production environments with 6 critical rules:

- Port Stability: Prevent accidental port changes breaking configs
- Database Safety: Backup enforcement via PreToolUse hooks
- Feature Completeness: No TODOs for core functionality
- Infrastructure Lock: Protect docker-compose, Dockerfile, terraform
- Dependency Safety: Block unapproved npm packages
- Pattern Following: Enforce codebase conventions

Adapted from community "10 non-negotiable CLAUDE.md rules" (6/10 integrated, 4/10 already covered). Verified gaps using grepai searches. Target audience: 20% production teams.

Cross-references added in ultimate-guide.md (section 3.1) and adoption-approaches.md (Medium/Large teams).

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
Florian BRUNIAUX 2026-01-21 11:22:08 +01:00
parent 95eca423a2
commit 868d3513b2
8 changed files with 870 additions and 9 deletions

View file

@ -3,7 +3,7 @@
# Source: guide/ultimate-guide.md
# Purpose: Condensed index for LLMs to quickly answer user questions about Claude Code
version: "3.9.9"
version: "3.9.11"
updated: "2026-01-20"
# ════════════════════════════════════════════════════════════════
@ -470,7 +470,7 @@ ecosystem:
- "Cross-links modified → Update all 4 repos"
history:
- date: "2026-01-20"
event: "Code Landing sync v3.9.9, 66 templates, cross-links"
event: "Code Landing sync v3.9.11, 66 templates, cross-links"
commit: "5b5ce62"
- date: "2026-01-20"
event: "Cowork Landing fix (paths, README, UI badges)"
@ -562,3 +562,14 @@ onboarding_questions:
optimize: "goal → tone → level → time → style (if time >= 15min)"
build_agents: "goal → tone → level → time → style (if time >= 15min)"
learn_everything: "goal → tone → level → time → style"
deep_dive:
- file: "guide/production-safety.md"
lines: "1-550"
topics:
- "Port stability rules and implementation"
- "Database safety with backup enforcement"
- "Feature completeness (no TODOs for core functionality)"
- "Infrastructure lock patterns"
- "Dependency safety and npm install blocks"
- "Pattern following and CLAUDE.md conventions"