Every change must leave the repository more organized than before. No dead code, no stale comments, no orphaned files, no "temporary" workarounds that persist. If something is no longer needed, remove it in the same commit.
Read @.ai/code-quality.md
Every shell script must be safe to re-run. Guard destructive operations with
existence checks, use --dry-run flags where applicable, and never assume the
target system is in a clean state.
GitLab is never exposed directly to the internet. All access flows through Cloudflare Tunnel with Zero Trust policies. R2 handles object storage. A Workers CDN proxy caches assets. Design decisions must preserve this model.
Read @.ai/cloudflare.md
When working with git, commits, or branches: Read @.ai/git.md
Read @.ai/ci.md
Read @.ai/shell.md
Read @.ai/scripts.md
Read @.ai/testing.md
Read @.ai/code-quality.md
Read @.ai/cloudflare.md