You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Composer scripts work in **any environment** (local, Docker, CI)
599
+
- Taskfile provides **convenience wrappers** and **Docker orchestration**
600
+
- Clear separation prevents bloated composer.json
601
+
- Taskfile can call Composer scripts for code quality
602
+
603
+
## Development Taskfile
604
+
605
+
This module uses **Taskfile** (taskfile.dev) for development automation. When suggesting development commands, **prefer Taskfile for infrastructure operations** and **Composer scripts for code quality**.
- ✅ Database operations (import, export, queries via Docker)
690
+
- ✅ Module management (cleanup, table inspection)
691
+
- ✅ Complex workflows with prompts (destructive operations)
692
+
- ✅ Infrastructure commands that don't run in all environments
693
+
694
+
**Composer scripts are for:**
695
+
- ✅ Code quality checks (phpcs, phpstan, rector)
696
+
- ✅ PHP operations that work in any environment
697
+
- ✅ CI/CD pipeline tasks
698
+
- ✅ Commands that don't require Docker context
699
+
700
+
**Why This Separation?**
701
+
- Composer scripts work **everywhere** (local, Docker, CI, production)
702
+
- Taskfile provides **convenience wrappers** and **orchestration**
703
+
- Clear separation prevents tool bloat in composer.json
704
+
- Taskfile can call Composer scripts (but not vice versa)
705
+
706
+
### Development Taskfile
707
+
708
+
#### Overview
709
+
710
+
This module uses **Taskfile** for development automation. When users ask for common development tasks, suggest using the Taskfile instead of raw Docker commands.
0 commit comments