mirror of
https://github.com/fscotto/infra.git
synced 2026-05-30 23:49:56 +00:00
Refactor: centralize AI instructions and opencode config into common dotfiles
This commit is contained in:
5
dotfiles/common/.config/ai/patterns/ansible_role.md
Normal file
5
dotfiles/common/.config/ai/patterns/ansible_role.md
Normal file
@@ -0,0 +1,5 @@
|
||||
# Ansible Role Pattern
|
||||
|
||||
- Create roles for reusable logic
|
||||
- Keep structure clean
|
||||
- Use handlers for services
|
||||
5
dotfiles/common/.config/ai/patterns/dotfiles_layering.md
Normal file
5
dotfiles/common/.config/ai/patterns/dotfiles_layering.md
Normal file
@@ -0,0 +1,5 @@
|
||||
# Dotfiles Layering Pattern
|
||||
|
||||
common → profile → host
|
||||
|
||||
Avoid duplication and keep overrides minimal
|
||||
8
dotfiles/common/.config/ai/patterns/project_structure.md
Normal file
8
dotfiles/common/.config/ai/patterns/project_structure.md
Normal file
@@ -0,0 +1,8 @@
|
||||
# Project Structure Pattern
|
||||
|
||||
infra/
|
||||
ansible/
|
||||
dotfiles/
|
||||
scripts/
|
||||
|
||||
Keep structure predictable
|
||||
5
dotfiles/common/.config/ai/patterns/service_setup.md
Normal file
5
dotfiles/common/.config/ai/patterns/service_setup.md
Normal file
@@ -0,0 +1,5 @@
|
||||
# Service Setup Pattern
|
||||
|
||||
- Define service
|
||||
- Enable via init system
|
||||
- Use handler for restart
|
||||
Reference in New Issue
Block a user