Refactor: centralize AI instructions and opencode config into common dotfiles

This commit is contained in:
Fabio Scotto di Santolo
2026-04-27 19:17:14 +02:00
parent c8f989bc05
commit e94c89ea53
25 changed files with 10 additions and 9 deletions

View File

@@ -0,0 +1,6 @@
# Ansible Rules
- Prefer modules over shell
- Keep tasks idempotent
- Use group_vars and host_vars properly
- Avoid duplication

View File

@@ -0,0 +1,5 @@
# Dotfiles Rules
- No system logic inside dotfiles
- Keep them portable
- Follow layering

View File

@@ -0,0 +1,12 @@
# Safety Rules
Never break an existing host.
- Identify host, layer, risk
- Always test with --limit
- Use dry-run (--check --diff)
- Avoid destructive changes
## Git Rules
- Never auto-commit; always ask the user before committing

View File

@@ -0,0 +1,5 @@
# Workflow Rules
- Small incremental changes
- Validate on one host
- Expand gradually