# Site1 — WordPress project ## Primary agent - @site1 — dedicated WordPress agent (auto-activated, see `.opencode/AGENTS.md`) ## Quick rules - PHP: PSR-12, type declarations, Composer - JS: TypeScript strict, ESM, async/await - Commits: conventional commits (`feat:`, `fix:`, `chore:`, etc.) ## Security - NEVER modify wp-config.php without explicit confirmation - NEVER delete files in uploads/ or wp-content/ without confirmation - ALWAYS ask before destructive actions (rm, overwrite, DB write, git push) ## Commands - PHP test: `vendor/bin/phpunit` - PHP lint: `vendor/bin/phpstan analyse` - JS build: `npm run build` - JS test: `npm test` - JS lint: `npm run lint` ## All details See `.opencode/AGENTS.md` for full architecture, skills, agents list, and directory structure.