@the-bearded-bear/claude-craft 9.2.0 → 9.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Dev/i18n/base/Angular/rules/00-project-context.md.template +1 -1
- package/Dev/i18n/base/Angular/rules/03-coding-standards.md +17 -16
- package/Dev/i18n/base/Angular/rules/06-tooling.md +2 -2
- package/Dev/i18n/base/CSharp/rules/06-tooling.md +8 -6
- package/Dev/i18n/base/Common/hooks/scripts/block-dangerous-commands.sh +93 -48
- package/Dev/i18n/base/Common/hooks/scripts/guard-network.sh +58 -0
- package/Dev/i18n/base/Common/hooks/scripts/lib/hook-io.sh +181 -0
- package/Dev/i18n/base/Common/hooks/scripts/notify-slack.sh +21 -32
- package/Dev/i18n/base/Common/hooks/scripts/output-filter.sh +23 -0
- package/Dev/i18n/base/Common/hooks/scripts/output-size-hint.sh +19 -0
- package/Dev/i18n/base/Common/hooks/scripts/post-edit-lint.sh +29 -53
- package/Dev/i18n/base/Common/hooks/scripts/post-tool-failure.sh +50 -0
- package/Dev/i18n/base/Common/hooks/scripts/pre-commit-check.sh +59 -63
- package/Dev/i18n/base/Common/hooks/scripts/pre-compact.sh +52 -0
- package/Dev/i18n/base/Common/hooks/scripts/protect-sensitive-files.sh +16 -0
- package/Dev/i18n/base/Common/hooks/scripts/quality-gate.sh +49 -92
- package/Dev/i18n/base/Common/hooks/scripts/session-end.sh +51 -0
- package/Dev/i18n/base/Common/hooks/scripts/session-init.sh +45 -69
- package/Dev/i18n/base/Common/hooks/templates/examples/README.md +59 -0
- package/Dev/i18n/base/Common/hooks/templates/examples/auto-format.json +18 -0
- package/Dev/i18n/base/Common/hooks/templates/examples/block-dangerous-commands.json +18 -0
- package/Dev/i18n/base/Common/hooks/templates/examples/context-reinject.json +28 -0
- package/Dev/i18n/base/Common/hooks/templates/examples/output-filter.json +18 -0
- package/Dev/i18n/base/Common/hooks/templates/examples/pre-compact.json +18 -0
- package/Dev/i18n/base/Common/hooks/templates/examples/protect-files.json +18 -0
- package/Dev/i18n/base/Common/hooks/templates/examples/security-block.json +18 -0
- package/Dev/i18n/base/Common/hooks/templates/examples/stop-hook.json +16 -0
- package/Dev/i18n/base/Common/hooks/templates/examples/user-prompt-submit.json +16 -0
- package/Dev/i18n/base/Common/hooks/templates/hooks.default.json +72 -0
- package/Dev/i18n/base/Common/hooks/templates/{settings-hooks.json → hooks.full.json} +22 -23
- package/Dev/i18n/base/Common/hooks/templates/hooks.memory.json +62 -0
- package/Dev/i18n/base/Common/templates/AGENTS.md.template +1 -1
- package/Dev/i18n/base/Common/templates/settings.json.template +46 -0
- package/Dev/i18n/base/Flutter/rules/00-project-context.md.template +9 -9
- package/Dev/i18n/base/Laravel/checks/code-quality.md +1 -1
- package/Dev/i18n/base/Laravel/rules/00-project-context.md.template +2 -2
- package/Dev/i18n/base/Laravel/rules/06-tooling.md +10 -8
- package/Dev/i18n/base/Laravel/rules/07-testing-laravel.md +2 -0
- package/Dev/i18n/base/Laravel/rules/08-quality-tools.md +2 -2
- package/Dev/i18n/base/PHP/rules/00-project-context.md.template +2 -2
- package/Dev/i18n/base/Tauri/rules/02-architecture-tauri.md +1 -0
- package/Dev/i18n/base/Vercel/checks/all.md +1 -1
- package/Dev/i18n/base/Vercel/checks/architecture.md +1 -1
- package/Dev/i18n/base/Vercel/rules/02-architecture-vercel.md +4 -2
- package/Dev/i18n/base/Vercel/rules/06-tooling.md +7 -5
- package/Dev/i18n/base/Vercel/rules/11-security-vercel.md +1 -1
- package/Dev/i18n/base/Vite/rules/06-tooling.md +2 -1
- package/Dev/i18n/base/Vite/rules/08-quality-tools.md +1 -1
- package/Dev/i18n/base/VueJS/rules/06-tooling.md +3 -3
- package/Dev/i18n/base/VueJS/rules/07-testing-vuejs.md +9 -8
- package/Dev/i18n/base/VueJS/rules/08-quality-tools.md +1 -1
- package/Dev/i18n/base/WordPress/checklists/new-feature.md +59 -0
- package/Dev/i18n/base/WordPress/checklists/pre-commit.md +125 -0
- package/Dev/i18n/base/WordPress/checks/all.md +257 -0
- package/Dev/i18n/base/WordPress/checks/architecture.md +157 -0
- package/Dev/i18n/base/WordPress/checks/code-quality.md +158 -0
- package/Dev/i18n/base/WordPress/checks/security.md +158 -0
- package/Dev/i18n/base/WordPress/checks/testing.md +157 -0
- package/Dev/i18n/base/WordPress/commands/check.md +28 -0
- package/Dev/i18n/base/WordPress/rules/00-project-context.md.template +169 -0
- package/Dev/i18n/base/WordPress/rules/02-architecture-wordpress.md +174 -0
- package/Dev/i18n/base/WordPress/rules/03-coding-standards.md +98 -0
- package/Dev/i18n/base/WordPress/rules/06-tooling.md +146 -0
- package/Dev/i18n/base/WordPress/rules/07-testing-wordpress.md +150 -0
- package/Dev/i18n/base/WordPress/rules/08-quality-tools.md +161 -0
- package/Dev/i18n/base/WordPress/rules/11-security-wordpress.md +175 -0
- package/Dev/i18n/base/WordPress/skills/woocommerce/REFERENCE.md +214 -0
- package/Dev/i18n/base/WordPress/skills/woocommerce/SKILL.md +40 -0
- package/Dev/i18n/base/WordPress/skills/woocommerce/checklist.md +66 -0
- package/Dev/i18n/base/WordPress/templates/block.md +235 -0
- package/Dev/i18n/base/WordPress/templates/plugin-bootstrap.md +215 -0
- package/Dev/i18n/base/WordPress/templates/rest-endpoint.md +246 -0
- package/Dev/i18n/de/Angular/CLAUDE.md.template +2 -1
- package/Dev/i18n/de/Angular/agents/angular-reviewer.md +23 -7
- package/Dev/i18n/de/Common/agents/devops-engineer.md +1 -1
- package/Dev/i18n/de/Common/agents/migration-specialist.md +1 -1
- package/Dev/i18n/de/Common/commands/ralph-run.md +3 -3
- package/Dev/i18n/de/Common/commands/setup-rtk.md +2 -9
- package/Dev/i18n/de/Common/hooks/HOOKS-QUICKSTART.md +33 -45
- package/Dev/i18n/de/Common/rules/04-solid-principles.md +2 -2
- package/Dev/i18n/de/Common/rules/09-git-workflow.md +7 -1
- package/Dev/i18n/de/Common/rules/10-documentation.md +2 -2
- package/Dev/i18n/de/Common/rules/11-security.md +12 -12
- package/Dev/i18n/de/Common/rules/12-context-management.md +5 -3
- package/Dev/i18n/de/Flutter/commands/analyze-performance.md +1 -1
- package/Dev/i18n/de/Flutter/rules/06-tooling.md +6 -2
- package/Dev/i18n/de/Flutter/rules/11-security-flutter.md +1 -1
- package/Dev/i18n/de/PHP/rules/03-coding-standards.md +10 -0
- package/Dev/i18n/de/PHP/rules/06-tooling.md +7 -3
- package/Dev/i18n/de/Paperclip/CLAUDE.md.template +2 -2
- package/Dev/i18n/de/Paperclip/README.md +1 -1
- package/Dev/i18n/de/Paperclip/checks/security.md +1 -0
- package/Dev/i18n/de/Paperclip/rules/11-security-paperclip.md +3 -1
- package/Dev/i18n/de/Python/agents/python-reviewer.md +1 -1
- package/Dev/i18n/de/Python/checks/code-quality.md +4 -4
- package/Dev/i18n/de/Python/checks/security.md +2 -2
- package/Dev/i18n/de/Python/checks/testing.md +2 -2
- package/Dev/i18n/de/Python/rules/02-architecture.md +1 -8
- package/Dev/i18n/de/Python/rules/03-coding-standards.md +16 -5
- package/Dev/i18n/de/Python/templates/repository.md +2 -2
- package/Dev/i18n/de/React/rules/02-architecture.md +17 -20
- package/Dev/i18n/de/React/rules/03-coding-standards.md +15 -16
- package/Dev/i18n/de/React/templates/component.md +11 -9
- package/Dev/i18n/de/ReactNative/agents/reactnative-reviewer.md +4 -4
- package/Dev/i18n/de/ReactNative/rules/06-tooling.md +15 -14
- package/Dev/i18n/de/ReactNative/rules/14-navigation.md +2 -0
- package/Dev/i18n/de/Ruby/agents/ruby-reviewer.md +1 -1
- package/Dev/i18n/de/Ruby/rules/06-tooling.md +2 -2
- package/Dev/i18n/de/Ruby/rules/11-security-ruby.md +13 -1
- package/Dev/i18n/de/Rust/rules/03-coding-standards.md +1 -1
- package/Dev/i18n/de/Rust/rules/11-security-rust.md +1 -1
- package/Dev/i18n/de/Symfony/adr/README.md +1 -1
- package/Dev/i18n/de/Symfony/checks/code-quality.md +2 -2
- package/Dev/i18n/de/Symfony/rules/03-coding-standards.md +15 -0
- package/Dev/i18n/de/Symfony/rules/06-docker-hadolint.md +1 -1
- package/Dev/i18n/de/Symfony/rules/08-quality-tools.md +1 -3
- package/Dev/i18n/de/Symfony/rules/15-doctrine-extensions.md +5 -5
- package/Dev/i18n/de/Symfony/rules/16-i18n.md +1 -1
- package/Dev/i18n/de/Symfony/templates/README.md +1 -1
- package/Dev/i18n/de/Tauri/agents/tauri-reviewer.md +3 -0
- package/Dev/i18n/de/Vercel/agents/vercel-reviewer.md +1 -0
- package/Dev/i18n/de/Vercel/checks/all.md +1 -1
- package/Dev/i18n/de/Vite/agents/vite-reviewer.md +11 -11
- package/Dev/i18n/de/WordPress/CLAUDE.md.template +100 -0
- package/Dev/i18n/de/WordPress/agents/wordpress-reviewer.md +350 -0
- package/Dev/i18n/de/WordPress/checks/all.md +242 -0
- package/Dev/i18n/de/WordPress/commands/check.md +28 -0
- package/Dev/i18n/en/Angular/CLAUDE.md.template +3 -2
- package/Dev/i18n/en/Angular/agents/angular-reviewer.md +23 -7
- package/Dev/i18n/en/Common/agents/devops-engineer.md +1 -1
- package/Dev/i18n/en/Common/agents/migration-specialist.md +1 -1
- package/Dev/i18n/en/Common/commands/ralph-run.md +3 -3
- package/Dev/i18n/en/Common/commands/setup-rtk.md +2 -9
- package/Dev/i18n/en/Common/hooks/HOOKS-QUICKSTART.md +31 -43
- package/Dev/i18n/en/Common/rules/04-solid-principles.md +2 -2
- package/Dev/i18n/en/Common/rules/09-git-workflow.md +7 -1
- package/Dev/i18n/en/Common/rules/10-documentation.md +2 -2
- package/Dev/i18n/en/Common/rules/11-security.md +12 -12
- package/Dev/i18n/en/Common/rules/12-context-management.md +5 -3
- package/Dev/i18n/en/Flutter/commands/analyze-performance.md +1 -1
- package/Dev/i18n/en/Flutter/rules/06-tooling.md +6 -2
- package/Dev/i18n/en/Flutter/rules/11-security-flutter.md +1 -1
- package/Dev/i18n/en/Laravel/CLAUDE.md.template +1 -1
- package/Dev/i18n/en/Laravel/agents/laravel-reviewer.md +3 -3
- package/Dev/i18n/en/PHP/rules/03-coding-standards.md +10 -0
- package/Dev/i18n/en/PHP/rules/06-tooling.md +7 -3
- package/Dev/i18n/en/Paperclip/CLAUDE.md.template +2 -2
- package/Dev/i18n/en/Paperclip/README.md +1 -1
- package/Dev/i18n/en/Paperclip/checks/security.md +1 -0
- package/Dev/i18n/en/Paperclip/rules/11-security-paperclip.md +3 -1
- package/Dev/i18n/en/Python/agents/python-reviewer.md +1 -1
- package/Dev/i18n/en/Python/checks/code-quality.md +4 -4
- package/Dev/i18n/en/Python/checks/security.md +2 -2
- package/Dev/i18n/en/Python/checks/testing.md +2 -2
- package/Dev/i18n/en/Python/rules/02-architecture.md +1 -8
- package/Dev/i18n/en/Python/rules/03-coding-standards.md +16 -5
- package/Dev/i18n/en/Python/templates/repository.md +2 -2
- package/Dev/i18n/en/React/rules/02-architecture.md +17 -20
- package/Dev/i18n/en/React/rules/03-coding-standards.md +15 -16
- package/Dev/i18n/en/React/templates/component.md +11 -9
- package/Dev/i18n/en/ReactNative/agents/reactnative-reviewer.md +4 -4
- package/Dev/i18n/en/ReactNative/rules/02-architecture.md +4 -4
- package/Dev/i18n/en/ReactNative/rules/06-tooling.md +15 -14
- package/Dev/i18n/en/ReactNative/rules/07-testing-reactnative.md +1 -1
- package/Dev/i18n/en/ReactNative/rules/14-navigation.md +2 -0
- package/Dev/i18n/en/Ruby/agents/ruby-reviewer.md +1 -1
- package/Dev/i18n/en/Ruby/rules/06-tooling.md +2 -2
- package/Dev/i18n/en/Ruby/rules/11-security-ruby.md +13 -1
- package/Dev/i18n/en/Rust/rules/03-coding-standards.md +1 -1
- package/Dev/i18n/en/Rust/rules/11-security-rust.md +1 -1
- package/Dev/i18n/en/Symfony/adr/README.md +1 -1
- package/Dev/i18n/en/Symfony/checks/code-quality.md +2 -2
- package/Dev/i18n/en/Symfony/rules/03-coding-standards.md +15 -0
- package/Dev/i18n/en/Symfony/rules/06-docker-hadolint.md +1 -1
- package/Dev/i18n/en/Symfony/rules/08-quality-tools.md +1 -3
- package/Dev/i18n/en/Symfony/rules/15-doctrine-extensions.md +5 -5
- package/Dev/i18n/en/Symfony/rules/16-i18n.md +1 -1
- package/Dev/i18n/en/Symfony/templates/README.md +1 -1
- package/Dev/i18n/en/Tauri/agents/tauri-reviewer.md +3 -0
- package/Dev/i18n/en/Vercel/agents/vercel-reviewer.md +1 -0
- package/Dev/i18n/en/Vercel/checks/all.md +1 -1
- package/Dev/i18n/en/Vite/agents/vite-reviewer.md +11 -11
- package/Dev/i18n/en/WordPress/CLAUDE.md.template +100 -0
- package/Dev/i18n/en/WordPress/agents/wordpress-reviewer.md +350 -0
- package/Dev/i18n/en/WordPress/checks/all.md +241 -0
- package/Dev/i18n/en/WordPress/commands/check.md +28 -0
- package/Dev/i18n/es/Angular/CLAUDE.md.template +3 -2
- package/Dev/i18n/es/Angular/agents/angular-reviewer.md +23 -7
- package/Dev/i18n/es/Common/agents/devops-engineer.md +1 -1
- package/Dev/i18n/es/Common/agents/migration-specialist.md +1 -1
- package/Dev/i18n/es/Common/commands/ralph-run.md +3 -3
- package/Dev/i18n/es/Common/commands/setup-rtk.md +2 -9
- package/Dev/i18n/es/Common/hooks/HOOKS-QUICKSTART.md +33 -45
- package/Dev/i18n/es/Common/rules/04-solid-principles.md +2 -2
- package/Dev/i18n/es/Common/rules/09-git-workflow.md +7 -1
- package/Dev/i18n/es/Common/rules/10-documentation.md +2 -2
- package/Dev/i18n/es/Common/rules/11-security.md +12 -12
- package/Dev/i18n/es/Common/rules/12-context-management.md +5 -3
- package/Dev/i18n/es/Flutter/commands/analyze-performance.md +1 -1
- package/Dev/i18n/es/Flutter/rules/06-tooling.md +6 -2
- package/Dev/i18n/es/Flutter/rules/11-security-flutter.md +1 -1
- package/Dev/i18n/es/Laravel/agents/laravel-reviewer.md +2 -2
- package/Dev/i18n/es/PHP/rules/03-coding-standards.md +10 -0
- package/Dev/i18n/es/PHP/rules/06-tooling.md +7 -3
- package/Dev/i18n/es/Paperclip/CLAUDE.md.template +2 -2
- package/Dev/i18n/es/Paperclip/README.md +1 -1
- package/Dev/i18n/es/Paperclip/checks/security.md +1 -0
- package/Dev/i18n/es/Paperclip/rules/11-security-paperclip.md +3 -1
- package/Dev/i18n/es/Python/agents/python-reviewer.md +1 -1
- package/Dev/i18n/es/Python/checks/code-quality.md +4 -4
- package/Dev/i18n/es/Python/checks/security.md +2 -2
- package/Dev/i18n/es/Python/checks/testing.md +2 -2
- package/Dev/i18n/es/Python/rules/02-architecture.md +1 -8
- package/Dev/i18n/es/Python/rules/03-coding-standards.md +16 -5
- package/Dev/i18n/es/Python/templates/repository.md +2 -2
- package/Dev/i18n/es/React/rules/03-coding-standards.md +15 -16
- package/Dev/i18n/es/React/templates/component.md +11 -9
- package/Dev/i18n/es/ReactNative/agents/reactnative-reviewer.md +4 -4
- package/Dev/i18n/es/ReactNative/rules/06-tooling.md +15 -14
- package/Dev/i18n/es/ReactNative/rules/14-navigation.md +2 -0
- package/Dev/i18n/es/Ruby/agents/ruby-reviewer.md +1 -1
- package/Dev/i18n/es/Ruby/rules/06-tooling.md +2 -2
- package/Dev/i18n/es/Ruby/rules/11-security-ruby.md +13 -1
- package/Dev/i18n/es/Rust/rules/03-coding-standards.md +1 -1
- package/Dev/i18n/es/Rust/rules/11-security-rust.md +1 -1
- package/Dev/i18n/es/Symfony/adr/README.md +1 -1
- package/Dev/i18n/es/Symfony/checks/code-quality.md +2 -2
- package/Dev/i18n/es/Symfony/rules/03-coding-standards.md +15 -0
- package/Dev/i18n/es/Symfony/rules/06-docker-hadolint.md +1 -1
- package/Dev/i18n/es/Symfony/rules/08-quality-tools.md +1 -3
- package/Dev/i18n/es/Symfony/rules/15-doctrine-extensions.md +5 -5
- package/Dev/i18n/es/Symfony/rules/16-i18n.md +1 -1
- package/Dev/i18n/es/Symfony/templates/README.md +1 -1
- package/Dev/i18n/es/Tauri/agents/tauri-reviewer.md +3 -0
- package/Dev/i18n/es/Vercel/agents/vercel-reviewer.md +2 -1
- package/Dev/i18n/es/Vercel/checks/all.md +1 -1
- package/Dev/i18n/es/Vite/agents/vite-reviewer.md +11 -11
- package/Dev/i18n/es/WordPress/CLAUDE.md.template +100 -0
- package/Dev/i18n/es/WordPress/agents/wordpress-reviewer.md +350 -0
- package/Dev/i18n/es/WordPress/checks/all.md +241 -0
- package/Dev/i18n/es/WordPress/commands/check.md +28 -0
- package/Dev/i18n/fr/Angular/CLAUDE.md.template +3 -2
- package/Dev/i18n/fr/Angular/agents/angular-reviewer.md +23 -7
- package/Dev/i18n/fr/Common/agents/devops-engineer.md +1 -1
- package/Dev/i18n/fr/Common/agents/migration-specialist.md +1 -1
- package/Dev/i18n/fr/Common/commands/ralph-run.md +3 -3
- package/Dev/i18n/fr/Common/commands/setup-rtk.md +2 -9
- package/Dev/i18n/fr/Common/hooks/HOOKS-QUICKSTART.md +32 -44
- package/Dev/i18n/fr/Common/rules/04-solid-principles.md +2 -2
- package/Dev/i18n/fr/Common/rules/09-git-workflow.md +7 -1
- package/Dev/i18n/fr/Common/rules/10-documentation.md +2 -2
- package/Dev/i18n/fr/Common/rules/11-security.md +12 -12
- package/Dev/i18n/fr/Common/rules/12-context-management.md +5 -3
- package/Dev/i18n/fr/Flutter/commands/analyze-performance.md +1 -1
- package/Dev/i18n/fr/Flutter/rules/02-architecture.md +4 -4
- package/Dev/i18n/fr/Flutter/rules/06-tooling.md +6 -2
- package/Dev/i18n/fr/Flutter/rules/11-security-flutter.md +1 -1
- package/Dev/i18n/fr/Laravel/CLAUDE.md.template +1 -1
- package/Dev/i18n/fr/Laravel/agents/laravel-reviewer.md +3 -3
- package/Dev/i18n/fr/PHP/rules/03-coding-standards.md +10 -0
- package/Dev/i18n/fr/PHP/rules/06-tooling.md +7 -3
- package/Dev/i18n/fr/Paperclip/CLAUDE.md.template +2 -2
- package/Dev/i18n/fr/Paperclip/README.md +1 -1
- package/Dev/i18n/fr/Paperclip/checks/security.md +1 -0
- package/Dev/i18n/fr/Paperclip/rules/11-security-paperclip.md +3 -1
- package/Dev/i18n/fr/Python/agents/python-reviewer.md +1 -1
- package/Dev/i18n/fr/Python/checks/code-quality.md +4 -4
- package/Dev/i18n/fr/Python/checks/security.md +2 -2
- package/Dev/i18n/fr/Python/checks/testing.md +2 -2
- package/Dev/i18n/fr/Python/commands/dependency-audit.md +1 -2
- package/Dev/i18n/fr/Python/commands/generate-endpoint.md +7 -11
- package/Dev/i18n/fr/Python/commands/generate-model.md +6 -6
- package/Dev/i18n/fr/Python/rules/02-architecture.md +9 -24
- package/Dev/i18n/fr/Python/rules/03-coding-standards.md +19 -7
- package/Dev/i18n/fr/Python/templates/repository.md +9 -10
- package/Dev/i18n/fr/React/commands/generate-component.md +52 -51
- package/Dev/i18n/fr/React/rules/02-architecture.md +17 -20
- package/Dev/i18n/fr/React/rules/03-coding-standards.md +15 -16
- package/Dev/i18n/fr/React/templates/component.md +11 -9
- package/Dev/i18n/fr/ReactNative/agents/reactnative-reviewer.md +4 -4
- package/Dev/i18n/fr/ReactNative/rules/06-tooling.md +15 -14
- package/Dev/i18n/fr/ReactNative/rules/14-navigation.md +2 -0
- package/Dev/i18n/fr/Ruby/agents/ruby-reviewer.md +1 -1
- package/Dev/i18n/fr/Ruby/rules/06-tooling.md +2 -2
- package/Dev/i18n/fr/Ruby/rules/11-security-ruby.md +13 -1
- package/Dev/i18n/fr/Rust/rules/03-coding-standards.md +1 -1
- package/Dev/i18n/fr/Rust/rules/11-security-rust.md +1 -1
- package/Dev/i18n/fr/Symfony/adr/README.md +1 -1
- package/Dev/i18n/fr/Symfony/checks/code-quality.md +2 -2
- package/Dev/i18n/fr/Symfony/rules/03-coding-standards.md +15 -0
- package/Dev/i18n/fr/Symfony/rules/06-docker-hadolint.md +1 -1
- package/Dev/i18n/fr/Symfony/rules/08-quality-tools.md +1 -3
- package/Dev/i18n/fr/Symfony/rules/15-doctrine-extensions.md +5 -5
- package/Dev/i18n/fr/Symfony/rules/16-i18n.md +1 -1
- package/Dev/i18n/fr/Symfony/templates/README.md +1 -1
- package/Dev/i18n/fr/Tauri/agents/tauri-reviewer.md +3 -0
- package/Dev/i18n/fr/Vercel/agents/vercel-reviewer.md +1 -0
- package/Dev/i18n/fr/Vercel/checks/all.md +1 -1
- package/Dev/i18n/fr/Vite/agents/vite-reviewer.md +11 -11
- package/Dev/i18n/fr/WordPress/CLAUDE.md.template +100 -0
- package/Dev/i18n/fr/WordPress/agents/wordpress-reviewer.md +350 -0
- package/Dev/i18n/fr/WordPress/checks/all.md +242 -0
- package/Dev/i18n/fr/WordPress/commands/check.md +28 -0
- package/Dev/i18n/pt/Angular/CLAUDE.md.template +3 -2
- package/Dev/i18n/pt/Angular/agents/angular-reviewer.md +23 -7
- package/Dev/i18n/pt/Common/agents/devops-engineer.md +1 -1
- package/Dev/i18n/pt/Common/agents/migration-specialist.md +1 -1
- package/Dev/i18n/pt/Common/commands/ralph-run.md +3 -3
- package/Dev/i18n/pt/Common/commands/setup-rtk.md +2 -9
- package/Dev/i18n/pt/Common/hooks/HOOKS-QUICKSTART.md +33 -45
- package/Dev/i18n/pt/Common/rules/04-solid-principles.md +2 -2
- package/Dev/i18n/pt/Common/rules/09-git-workflow.md +7 -1
- package/Dev/i18n/pt/Common/rules/10-documentation.md +2 -2
- package/Dev/i18n/pt/Common/rules/11-security.md +12 -12
- package/Dev/i18n/pt/Common/rules/12-context-management.md +5 -3
- package/Dev/i18n/pt/Flutter/commands/analyze-performance.md +1 -1
- package/Dev/i18n/pt/Flutter/rules/06-tooling.md +6 -2
- package/Dev/i18n/pt/Flutter/rules/11-security-flutter.md +1 -1
- package/Dev/i18n/pt/Laravel/agents/laravel-reviewer.md +2 -2
- package/Dev/i18n/pt/PHP/rules/03-coding-standards.md +10 -0
- package/Dev/i18n/pt/PHP/rules/06-tooling.md +7 -3
- package/Dev/i18n/pt/Paperclip/CLAUDE.md.template +2 -2
- package/Dev/i18n/pt/Paperclip/README.md +1 -1
- package/Dev/i18n/pt/Paperclip/checks/security.md +1 -0
- package/Dev/i18n/pt/Paperclip/rules/11-security-paperclip.md +3 -1
- package/Dev/i18n/pt/Python/agents/python-reviewer.md +1 -1
- package/Dev/i18n/pt/Python/checks/code-quality.md +4 -4
- package/Dev/i18n/pt/Python/checks/security.md +2 -2
- package/Dev/i18n/pt/Python/checks/testing.md +2 -2
- package/Dev/i18n/pt/Python/rules/02-architecture.md +1 -8
- package/Dev/i18n/pt/Python/rules/03-coding-standards.md +16 -5
- package/Dev/i18n/pt/Python/templates/repository.md +2 -2
- package/Dev/i18n/pt/React/rules/02-architecture.md +17 -20
- package/Dev/i18n/pt/React/rules/03-coding-standards.md +15 -16
- package/Dev/i18n/pt/React/templates/component.md +12 -10
- package/Dev/i18n/pt/ReactNative/agents/reactnative-reviewer.md +4 -4
- package/Dev/i18n/pt/ReactNative/rules/06-tooling.md +15 -14
- package/Dev/i18n/pt/ReactNative/rules/14-navigation.md +2 -0
- package/Dev/i18n/pt/Ruby/agents/ruby-reviewer.md +1 -1
- package/Dev/i18n/pt/Ruby/rules/06-tooling.md +2 -2
- package/Dev/i18n/pt/Ruby/rules/11-security-ruby.md +13 -1
- package/Dev/i18n/pt/Rust/rules/03-coding-standards.md +1 -1
- package/Dev/i18n/pt/Rust/rules/11-security-rust.md +1 -1
- package/Dev/i18n/pt/Symfony/adr/README.md +1 -1
- package/Dev/i18n/pt/Symfony/checks/code-quality.md +2 -2
- package/Dev/i18n/pt/Symfony/rules/03-coding-standards.md +15 -0
- package/Dev/i18n/pt/Symfony/rules/06-docker-hadolint.md +1 -1
- package/Dev/i18n/pt/Symfony/rules/08-quality-tools.md +1 -3
- package/Dev/i18n/pt/Symfony/rules/15-doctrine-extensions.md +5 -5
- package/Dev/i18n/pt/Symfony/rules/16-i18n.md +1 -1
- package/Dev/i18n/pt/Symfony/templates/README.md +1 -1
- package/Dev/i18n/pt/Tauri/agents/tauri-reviewer.md +3 -0
- package/Dev/i18n/pt/Vercel/agents/vercel-reviewer.md +1 -0
- package/Dev/i18n/pt/Vercel/checks/all.md +1 -1
- package/Dev/i18n/pt/Vite/agents/vite-reviewer.md +11 -11
- package/Dev/i18n/pt/WordPress/CLAUDE.md.template +100 -0
- package/Dev/i18n/pt/WordPress/agents/wordpress-reviewer.md +350 -0
- package/Dev/i18n/pt/WordPress/checks/all.md +241 -0
- package/Dev/i18n/pt/WordPress/commands/check.md +28 -0
- package/Dev/scripts/check-config.sh +1 -1
- package/Dev/scripts/install-common-rules.sh +65 -0
- package/Dev/scripts/install-from-config.sh +3 -0
- package/Dev/scripts/install-paperclip-rules.sh +1 -1
- package/Dev/scripts/install-wordpress-rules.sh +153 -0
- package/Dev/scripts/lib/merge-hooks.mjs +110 -0
- package/Dev/scripts/memory-lifecycle/README.md +10 -9
- package/Dev/scripts/memory-lifecycle/_db.sh +1 -1
- package/Dev/scripts/memory-lifecycle/post-tool.sh +1 -1
- package/Dev/scripts/memory-lifecycle/pre-compact.sh +5 -5
- package/Dev/scripts/memory-lifecycle/prompt-submit.sh +1 -1
- package/Dev/scripts/memory-lifecycle/session-end.sh +1 -1
- package/Dev/scripts/memory-lifecycle/session-start.sh +5 -4
- package/Dev/stack-profiles/wordpress/permissions.txt +10 -0
- package/Dev/stack-profiles/wordpress/quality.md +4 -0
- package/Dev/stack-profiles/wordpress/stack.txt +2 -0
- package/Infra/i18n/de/Ansible/agents/ansible-architect.md +3 -1
- package/Infra/i18n/de/Ansible/agents/ansible-debug.md +1 -0
- package/Infra/i18n/de/Ansible/agents/ansible-deployment.md +3 -0
- package/Infra/i18n/de/Ansible/agents/ansible-security.md +2 -0
- package/Infra/i18n/de/Ansible/commands/security-audit.md +1 -1
- package/Infra/i18n/de/Coolify/agents/coolify-debug.md +1 -0
- package/Infra/i18n/de/Coolify/agents/coolify-deployment.md +5 -1
- package/Infra/i18n/de/Coolify/commands/coolify-debug.md +1 -0
- package/Infra/i18n/de/Coolify/commands/coolify-deploy.md +1 -0
- package/Infra/i18n/de/FrankenPHP/agents/frankenphp-architect.md +4 -2
- package/Infra/i18n/de/FrankenPHP/agents/frankenphp-deployment.md +2 -2
- package/Infra/i18n/de/FrankenPHP/agents/frankenphp-security.md +1 -1
- package/Infra/i18n/de/FrankenPHP/commands/deploy-setup.md +1 -1
- package/Infra/i18n/de/Hcloud/agents/hcloud-architect.md +16 -14
- package/Infra/i18n/de/Hcloud/agents/hcloud-cost.md +11 -9
- package/Infra/i18n/de/Hcloud/agents/hcloud-deployment.md +1 -1
- package/Infra/i18n/de/Hcloud/agents/hcloud-security.md +1 -1
- package/Infra/i18n/de/Hcloud/commands/architecture.md +2 -2
- package/Infra/i18n/de/Hcloud/commands/debug.md +3 -3
- package/Infra/i18n/de/Kubernetes/agents/kubernetes-architect.md +4 -0
- package/Infra/i18n/de/Kubernetes/agents/kubernetes-deployment.md +31 -0
- package/Infra/i18n/de/Kubernetes/agents/kubernetes-security.md +5 -1
- package/Infra/i18n/de/OpenTofu/agents/opentofu-architect.md +3 -1
- package/Infra/i18n/de/OpenTofu/agents/opentofu-deployment.md +2 -2
- package/Infra/i18n/de/OpenTofu/agents/opentofu-security.md +5 -5
- package/Infra/i18n/de/OpenTofu/commands/security-audit.md +1 -1
- package/Infra/i18n/de/PgBouncer/agents/pgbouncer-architect.md +1 -0
- package/Infra/i18n/de/PgBouncer/agents/pgbouncer-deployment.md +3 -3
- package/Infra/i18n/de/PgBouncer/agents/pgbouncer-monitoring.md +1 -1
- package/Infra/i18n/de/PgBouncer/commands/deploy-setup.md +1 -1
- package/Infra/i18n/en/Ansible/agents/ansible-architect.md +3 -1
- package/Infra/i18n/en/Ansible/agents/ansible-debug.md +1 -0
- package/Infra/i18n/en/Ansible/agents/ansible-deployment.md +3 -0
- package/Infra/i18n/en/Ansible/agents/ansible-security.md +2 -0
- package/Infra/i18n/en/Ansible/commands/security-audit.md +1 -1
- package/Infra/i18n/en/Coolify/agents/coolify-debug.md +1 -0
- package/Infra/i18n/en/Coolify/agents/coolify-deployment.md +5 -1
- package/Infra/i18n/en/Coolify/commands/coolify-debug.md +1 -0
- package/Infra/i18n/en/Coolify/commands/coolify-deploy.md +1 -0
- package/Infra/i18n/en/FrankenPHP/agents/frankenphp-architect.md +4 -2
- package/Infra/i18n/en/FrankenPHP/agents/frankenphp-deployment.md +2 -2
- package/Infra/i18n/en/FrankenPHP/agents/frankenphp-security.md +1 -1
- package/Infra/i18n/en/FrankenPHP/commands/deploy-setup.md +1 -1
- package/Infra/i18n/en/Hcloud/agents/hcloud-architect.md +10 -8
- package/Infra/i18n/en/Hcloud/agents/hcloud-cost.md +11 -9
- package/Infra/i18n/en/Hcloud/agents/hcloud-deployment.md +1 -1
- package/Infra/i18n/en/Kubernetes/agents/kubernetes-architect.md +4 -0
- package/Infra/i18n/en/Kubernetes/agents/kubernetes-deployment.md +31 -0
- package/Infra/i18n/en/Kubernetes/agents/kubernetes-security.md +5 -1
- package/Infra/i18n/en/OpenTofu/agents/opentofu-architect.md +3 -1
- package/Infra/i18n/en/OpenTofu/agents/opentofu-deployment.md +2 -2
- package/Infra/i18n/en/OpenTofu/agents/opentofu-security.md +5 -5
- package/Infra/i18n/en/OpenTofu/commands/security-audit.md +1 -1
- package/Infra/i18n/en/PgBouncer/agents/pgbouncer-architect.md +1 -0
- package/Infra/i18n/en/PgBouncer/agents/pgbouncer-deployment.md +3 -3
- package/Infra/i18n/en/PgBouncer/agents/pgbouncer-monitoring.md +1 -1
- package/Infra/i18n/en/PgBouncer/commands/deploy-setup.md +1 -1
- package/Infra/i18n/es/Ansible/agents/ansible-architect.md +3 -1
- package/Infra/i18n/es/Ansible/agents/ansible-debug.md +1 -0
- package/Infra/i18n/es/Ansible/agents/ansible-deployment.md +3 -0
- package/Infra/i18n/es/Ansible/agents/ansible-security.md +2 -0
- package/Infra/i18n/es/Ansible/commands/security-audit.md +1 -1
- package/Infra/i18n/es/Coolify/agents/coolify-debug.md +1 -0
- package/Infra/i18n/es/Coolify/agents/coolify-deployment.md +5 -1
- package/Infra/i18n/es/Coolify/commands/coolify-debug.md +1 -0
- package/Infra/i18n/es/Coolify/commands/coolify-deploy.md +1 -0
- package/Infra/i18n/es/FrankenPHP/agents/frankenphp-architect.md +4 -2
- package/Infra/i18n/es/FrankenPHP/agents/frankenphp-deployment.md +2 -2
- package/Infra/i18n/es/FrankenPHP/agents/frankenphp-security.md +1 -1
- package/Infra/i18n/es/FrankenPHP/commands/deploy-setup.md +1 -1
- package/Infra/i18n/es/Hcloud/agents/hcloud-architect.md +11 -9
- package/Infra/i18n/es/Hcloud/agents/hcloud-cost.md +11 -9
- package/Infra/i18n/es/Hcloud/agents/hcloud-deployment.md +1 -1
- package/Infra/i18n/es/Hcloud/commands/debug.md +1 -1
- package/Infra/i18n/es/Kubernetes/agents/kubernetes-architect.md +4 -0
- package/Infra/i18n/es/Kubernetes/agents/kubernetes-deployment.md +31 -0
- package/Infra/i18n/es/Kubernetes/agents/kubernetes-security.md +5 -1
- package/Infra/i18n/es/OpenTofu/agents/opentofu-architect.md +3 -1
- package/Infra/i18n/es/OpenTofu/agents/opentofu-deployment.md +2 -2
- package/Infra/i18n/es/OpenTofu/agents/opentofu-security.md +5 -5
- package/Infra/i18n/es/OpenTofu/commands/security-audit.md +1 -1
- package/Infra/i18n/es/PgBouncer/agents/pgbouncer-architect.md +1 -0
- package/Infra/i18n/es/PgBouncer/agents/pgbouncer-deployment.md +3 -3
- package/Infra/i18n/es/PgBouncer/agents/pgbouncer-monitoring.md +1 -1
- package/Infra/i18n/es/PgBouncer/commands/deploy-setup.md +1 -1
- package/Infra/i18n/fr/Ansible/agents/ansible-architect.md +3 -1
- package/Infra/i18n/fr/Ansible/agents/ansible-debug.md +1 -0
- package/Infra/i18n/fr/Ansible/agents/ansible-deployment.md +3 -0
- package/Infra/i18n/fr/Ansible/agents/ansible-security.md +2 -0
- package/Infra/i18n/fr/Ansible/commands/security-audit.md +1 -1
- package/Infra/i18n/fr/Coolify/agents/coolify-debug.md +1 -0
- package/Infra/i18n/fr/Coolify/agents/coolify-deployment.md +5 -1
- package/Infra/i18n/fr/Coolify/commands/coolify-debug.md +1 -0
- package/Infra/i18n/fr/Coolify/commands/coolify-deploy.md +1 -0
- package/Infra/i18n/fr/FrankenPHP/agents/frankenphp-architect.md +4 -2
- package/Infra/i18n/fr/FrankenPHP/agents/frankenphp-deployment.md +2 -2
- package/Infra/i18n/fr/FrankenPHP/agents/frankenphp-security.md +1 -1
- package/Infra/i18n/fr/FrankenPHP/commands/deploy-setup.md +1 -1
- package/Infra/i18n/fr/Hcloud/agents/hcloud-architect.md +7 -5
- package/Infra/i18n/fr/Hcloud/agents/hcloud-cost.md +11 -9
- package/Infra/i18n/fr/Hcloud/agents/hcloud-deployment.md +1 -1
- package/Infra/i18n/fr/Kubernetes/agents/kubernetes-architect.md +4 -0
- package/Infra/i18n/fr/Kubernetes/agents/kubernetes-deployment.md +31 -0
- package/Infra/i18n/fr/Kubernetes/agents/kubernetes-security.md +5 -1
- package/Infra/i18n/fr/OpenTofu/agents/opentofu-architect.md +3 -1
- package/Infra/i18n/fr/OpenTofu/agents/opentofu-deployment.md +2 -2
- package/Infra/i18n/fr/OpenTofu/agents/opentofu-security.md +5 -5
- package/Infra/i18n/fr/OpenTofu/commands/security-audit.md +1 -1
- package/Infra/i18n/fr/PgBouncer/agents/pgbouncer-architect.md +1 -0
- package/Infra/i18n/fr/PgBouncer/agents/pgbouncer-deployment.md +3 -3
- package/Infra/i18n/fr/PgBouncer/agents/pgbouncer-monitoring.md +1 -1
- package/Infra/i18n/fr/PgBouncer/commands/deploy-setup.md +1 -1
- package/Infra/i18n/pt/Ansible/agents/ansible-architect.md +3 -1
- package/Infra/i18n/pt/Ansible/agents/ansible-debug.md +1 -0
- package/Infra/i18n/pt/Ansible/agents/ansible-deployment.md +3 -0
- package/Infra/i18n/pt/Ansible/agents/ansible-security.md +2 -0
- package/Infra/i18n/pt/Ansible/commands/security-audit.md +1 -1
- package/Infra/i18n/pt/Coolify/agents/coolify-debug.md +1 -0
- package/Infra/i18n/pt/Coolify/agents/coolify-deployment.md +5 -1
- package/Infra/i18n/pt/Coolify/commands/coolify-debug.md +1 -0
- package/Infra/i18n/pt/Coolify/commands/coolify-deploy.md +1 -0
- package/Infra/i18n/pt/FrankenPHP/agents/frankenphp-architect.md +4 -2
- package/Infra/i18n/pt/FrankenPHP/agents/frankenphp-deployment.md +2 -2
- package/Infra/i18n/pt/FrankenPHP/agents/frankenphp-security.md +1 -1
- package/Infra/i18n/pt/FrankenPHP/commands/deploy-setup.md +1 -1
- package/Infra/i18n/pt/Hcloud/agents/hcloud-architect.md +9 -7
- package/Infra/i18n/pt/Hcloud/agents/hcloud-cost.md +11 -9
- package/Infra/i18n/pt/Hcloud/agents/hcloud-deployment.md +1 -1
- package/Infra/i18n/pt/Hcloud/commands/architecture.md +1 -1
- package/Infra/i18n/pt/Hcloud/commands/debug.md +1 -1
- package/Infra/i18n/pt/Kubernetes/agents/kubernetes-architect.md +4 -0
- package/Infra/i18n/pt/Kubernetes/agents/kubernetes-deployment.md +31 -0
- package/Infra/i18n/pt/Kubernetes/agents/kubernetes-security.md +5 -1
- package/Infra/i18n/pt/OpenTofu/agents/opentofu-architect.md +3 -1
- package/Infra/i18n/pt/OpenTofu/agents/opentofu-deployment.md +2 -2
- package/Infra/i18n/pt/OpenTofu/agents/opentofu-security.md +5 -5
- package/Infra/i18n/pt/OpenTofu/commands/security-audit.md +1 -1
- package/Infra/i18n/pt/PgBouncer/agents/pgbouncer-architect.md +1 -0
- package/Infra/i18n/pt/PgBouncer/agents/pgbouncer-deployment.md +3 -3
- package/Infra/i18n/pt/PgBouncer/agents/pgbouncer-monitoring.md +1 -1
- package/Infra/i18n/pt/PgBouncer/commands/deploy-setup.md +1 -1
- package/README.md +27 -15
- package/Tools/PluginExport/export-plugin.sh +15 -17
- package/Tools/Ralph/README.md +17 -7
- package/Tools/Ralph/hooks/lib/ralph-common.sh +101 -0
- package/Tools/Ralph/hooks/pre-tool-context.sh +28 -0
- package/Tools/Ralph/hooks/session-restore.sh +94 -0
- package/Tools/Ralph/hooks/stop-dod-gate.sh +60 -0
- package/Tools/Ralph/lib/hooks-generator.sh +109 -93
- package/bundles/cursor/.cursorrules +11 -10
- package/bundles/windsurf/.windsurfrules +11 -10
- package/cli/index.js +1 -0
- package/cli/lib/doctor.js +4 -3
- package/cli/lib/help.js +1 -0
- package/cli/lib/installer.js +1 -1
- package/cli/lib/parse-args.js +12 -0
- package/cli/lib/tech-registry.js +15 -5
- package/package.json +2 -1
- package/Dev/i18n/de/Common/hooks/scripts/post-tool-failure.sh +0 -89
- package/Dev/i18n/de/Common/hooks/scripts/pre-compact.sh +0 -53
- package/Dev/i18n/de/Common/hooks/scripts/session-end.sh +0 -98
- package/Dev/i18n/de/Common/templates/settings.json.template +0 -128
- package/Dev/i18n/en/Common/hooks/scripts/post-tool-failure.sh +0 -89
- package/Dev/i18n/en/Common/hooks/scripts/pre-compact.sh +0 -53
- package/Dev/i18n/en/Common/hooks/scripts/session-end.sh +0 -98
- package/Dev/i18n/en/Common/templates/settings.json.template +0 -128
- package/Dev/i18n/es/Common/hooks/scripts/post-tool-failure.sh +0 -89
- package/Dev/i18n/es/Common/hooks/scripts/pre-compact.sh +0 -53
- package/Dev/i18n/es/Common/hooks/scripts/session-end.sh +0 -98
- package/Dev/i18n/es/Common/templates/settings.json.template +0 -128
- package/Dev/i18n/fr/Common/hooks/scripts/post-tool-failure.sh +0 -88
- package/Dev/i18n/fr/Common/hooks/scripts/pre-compact.sh +0 -53
- package/Dev/i18n/fr/Common/hooks/scripts/session-end.sh +0 -98
- package/Dev/i18n/fr/Common/templates/settings.json.template +0 -128
- package/Dev/i18n/pt/Common/hooks/scripts/post-tool-failure.sh +0 -89
- package/Dev/i18n/pt/Common/hooks/scripts/pre-compact.sh +0 -53
- package/Dev/i18n/pt/Common/hooks/scripts/session-end.sh +0 -98
- package/Dev/i18n/pt/Common/templates/settings.json.template +0 -128
- package/Tools/Ralph/.ralph/hooks/pre-tool-context.sh +0 -100
- package/Tools/Ralph/.ralph/hooks/session-restore.sh +0 -118
- package/Tools/Ralph/.ralph/hooks/status-injector.sh +0 -147
- package/Tools/Ralph/.ralph/hooks/stop-dod-gate.sh +0 -137
|
@@ -69,26 +69,26 @@ dependencies:
|
|
|
69
69
|
retrofit: ^4.0.3
|
|
70
70
|
|
|
71
71
|
# Dependency Injection
|
|
72
|
-
get_it: ^
|
|
73
|
-
injectable: ^
|
|
72
|
+
get_it: ^9.3.0
|
|
73
|
+
injectable: ^3.0.0
|
|
74
74
|
|
|
75
75
|
# Storage
|
|
76
76
|
shared_preferences: ^2.2.2
|
|
77
|
-
flutter_secure_storage: ^
|
|
77
|
+
flutter_secure_storage: ^11.2.0
|
|
78
78
|
|
|
79
79
|
# Utils
|
|
80
|
-
freezed_annotation: ^
|
|
81
|
-
json_annotation: ^4.
|
|
80
|
+
freezed_annotation: ^3.1.0
|
|
81
|
+
json_annotation: ^4.12.0
|
|
82
82
|
|
|
83
83
|
dev_dependencies:
|
|
84
84
|
flutter_test:
|
|
85
85
|
sdk: flutter
|
|
86
86
|
|
|
87
87
|
# Code Generation
|
|
88
|
-
build_runner: ^2.
|
|
89
|
-
freezed: ^
|
|
90
|
-
json_serializable: ^6.
|
|
91
|
-
injectable_generator: ^
|
|
88
|
+
build_runner: ^2.17.1
|
|
89
|
+
freezed: ^4.0.3
|
|
90
|
+
json_serializable: ^6.15.2
|
|
91
|
+
injectable_generator: ^3.1.3
|
|
92
92
|
retrofit_generator: ^8.0.4
|
|
93
93
|
|
|
94
94
|
# Linting
|
|
@@ -59,7 +59,7 @@ app/
|
|
|
59
59
|
|
|
60
60
|
### Code Quality
|
|
61
61
|
- **Formatter**: Laravel Pint
|
|
62
|
-
- **Static Analysis**: PHPStan level
|
|
62
|
+
- **Static Analysis**: PHPStan level 10
|
|
63
63
|
- **Coverage**: Minimum 80%
|
|
64
64
|
|
|
65
65
|
## Key Modules
|
|
@@ -87,7 +87,7 @@ app/
|
|
|
87
87
|
|
|
88
88
|
### Pull Request Requirements
|
|
89
89
|
- [ ] All tests pass
|
|
90
|
-
- [ ] PHPStan level
|
|
90
|
+
- [ ] PHPStan level 10 passes
|
|
91
91
|
- [ ] Pint formatting passes
|
|
92
92
|
- [ ] Coverage >= 80%
|
|
93
93
|
- [ ] Documentation updated
|
|
@@ -170,7 +170,7 @@ parameters:
|
|
|
170
170
|
- app
|
|
171
171
|
- database
|
|
172
172
|
|
|
173
|
-
level:
|
|
173
|
+
level: 10
|
|
174
174
|
|
|
175
175
|
ignoreErrors:
|
|
176
176
|
- '#Call to an undefined method Illuminate\\Database\\Eloquent\\Builder#'
|
|
@@ -248,25 +248,27 @@ return RectorConfig::configure()
|
|
|
248
248
|
"fakerphp/faker": "^1.23",
|
|
249
249
|
"laravel/pint": "^1.13",
|
|
250
250
|
"laravel/sail": "^1.26",
|
|
251
|
-
"larastan/larastan": "^
|
|
251
|
+
"larastan/larastan": "^3.14",
|
|
252
252
|
"mockery/mockery": "^1.6",
|
|
253
253
|
"nunomaduro/collision": "^8.0",
|
|
254
|
-
"pestphp/pest": "^
|
|
255
|
-
"pestphp/pest-plugin-laravel": "^
|
|
256
|
-
"phpstan/phpstan": "^2.
|
|
257
|
-
"rector/rector": "^2.
|
|
254
|
+
"pestphp/pest": "^5.0",
|
|
255
|
+
"pestphp/pest-plugin-laravel": "^5.0",
|
|
256
|
+
"phpstan/phpstan": "^2.3",
|
|
257
|
+
"rector/rector": "^2.8",
|
|
258
258
|
"spatie/laravel-ignition": "^2.4"
|
|
259
259
|
}
|
|
260
260
|
}
|
|
261
261
|
```
|
|
262
262
|
|
|
263
|
+
> **Pest 5 vs 4:** Pest 5 requires PHP ^8.4 and PHPUnit 13 (`pest-plugin-laravel` 5.x requires Laravel ^13.23). On PHP 8.3, stay on `pestphp/pest ^4.0` + `pest-plugin-laravel ^4.0` (the Laravel 13 skeleton values, PHPUnit ^12.0) — never mix majors. Larastan 3.x (`^3.14`) supports Laravel 11/12/13 and PHPStan ^2.3; Larastan 2.x is no longer suitable. Sources: https://laravel.com/docs/13.x/upgrade, https://packagist.org/packages/pestphp/pest
|
|
264
|
+
|
|
263
265
|
### Production
|
|
264
266
|
|
|
265
267
|
```json
|
|
266
268
|
{
|
|
267
269
|
"require": {
|
|
268
270
|
"php": "^8.3",
|
|
269
|
-
"laravel/framework": "^
|
|
271
|
+
"laravel/framework": "^13.0",
|
|
270
272
|
"laravel/sanctum": "^4.0",
|
|
271
273
|
"laravel/horizon": "^5.24",
|
|
272
274
|
"laravel/telescope": "^5.0",
|
|
@@ -568,7 +570,7 @@ protected function gate(): void
|
|
|
568
570
|
## Tooling Checklist
|
|
569
571
|
|
|
570
572
|
- [ ] Laravel Pint configured
|
|
571
|
-
- [ ] PHPStan/Larastan at level
|
|
573
|
+
- [ ] PHPStan/Larastan at level 10
|
|
572
574
|
- [ ] IDE Helper generated
|
|
573
575
|
- [ ] Docker/Sail configured
|
|
574
576
|
- [ ] CI/CD pipeline set up
|
|
@@ -11,6 +11,8 @@ composer require pestphp/pest-plugin-laravel --dev
|
|
|
11
11
|
php artisan pest:install
|
|
12
12
|
```
|
|
13
13
|
|
|
14
|
+
> **Pest 5 vs 4:** Pest 5 requires PHP ^8.4 (PHPUnit 13); on PHP 8.3 use Pest 4 (`pestphp/pest ^4.0` + `pest-plugin-laravel ^4.0`, PHPUnit ^12). Never mix majors. Source: https://laravel.com/docs/13.x/upgrade
|
|
15
|
+
|
|
14
16
|
### Test File Structure
|
|
15
17
|
|
|
16
18
|
```
|
|
@@ -15,7 +15,7 @@ parameters:
|
|
|
15
15
|
- database
|
|
16
16
|
- tests
|
|
17
17
|
|
|
18
|
-
level:
|
|
18
|
+
level: 10
|
|
19
19
|
|
|
20
20
|
ignoreErrors:
|
|
21
21
|
- '#Call to an undefined method Illuminate\\Database\\Eloquent\\Builder#'
|
|
@@ -580,7 +580,7 @@ arch('DTOs are readonly')
|
|
|
580
580
|
|
|
581
581
|
## Quality Checklist
|
|
582
582
|
|
|
583
|
-
- [ ] PHPStan level
|
|
583
|
+
- [ ] PHPStan level 10 passing
|
|
584
584
|
- [ ] Laravel Pint passing
|
|
585
585
|
- [ ] Code coverage ≥ 80%
|
|
586
586
|
- [ ] No debugging statements
|
|
@@ -233,9 +233,9 @@ MESSENGER_TRANSPORT_DSN={{MESSENGER_DSN}}
|
|
|
233
233
|
### Development
|
|
234
234
|
```json
|
|
235
235
|
{
|
|
236
|
-
"phpstan/phpstan": "^2.
|
|
236
|
+
"phpstan/phpstan": "^2.3",
|
|
237
237
|
"phpunit/phpunit": "^11.0",
|
|
238
|
-
"friendsofphp/php-cs-fixer": "^3.
|
|
238
|
+
"friendsofphp/php-cs-fixer": "^3.95",
|
|
239
239
|
{{DEV_DEPENDENCIES}}
|
|
240
240
|
}
|
|
241
241
|
```
|
|
@@ -177,6 +177,7 @@ tauri::Builder::default()
|
|
|
177
177
|
- Every plugin with a JS API needs its npm package at a matching 2.x version, and its permissions in a capability file
|
|
178
178
|
- Desktop-only plugins are registered under `#[cfg(desktop)]`; mobile-only code under `#[cfg(mobile)]`
|
|
179
179
|
- Write a custom plugin only when code must be reused across apps or ships its own permissions; otherwise keep it in the app (YAGNI)
|
|
180
|
+
- Tauri 2.12: `exit()` from `@tauri-apps/api/app` quits the app without `@tauri-apps/plugin-process` (grant `core:app:allow-exit`); `app > appDirectoriesOverride` in `tauri.conf.json` redirects the `app_*_dir` path APIs (single root or per directory, e.g. portable apps keeping data next to the executable). Source: https://github.com/tauri-apps/tauri/blob/dev/crates/tauri/CHANGELOG.md
|
|
180
181
|
|
|
181
182
|
## Windows and Multi-Window
|
|
182
183
|
|
|
@@ -33,7 +33,7 @@ Execute complete architecture check:
|
|
|
33
33
|
- vercel.json schema validity (`$schema`, `version`, valid top-level keys) (6 pts)
|
|
34
34
|
- rewrites / redirects / headers correctness (6 pts)
|
|
35
35
|
- regions and functions block (no ambiguous glob overlap, memory/maxDuration justified) (5 pts)
|
|
36
|
-
- Cron Jobs configuration (`crons[]` valid paths and schedules) (4 pts)
|
|
36
|
+
- Cron Jobs configuration (`crons[]` valid paths and schedules; Cron Jobs are legacy and being migrated to Schedules, so flag `crons[]` as a migration note, not an error) (4 pts)
|
|
37
37
|
- Project-shape fit and framework adapter conflicts (4 pts)
|
|
38
38
|
|
|
39
39
|
**Reference**: `.claude/references/vercel/checks/architecture.md`
|
|
@@ -20,7 +20,7 @@ Validate `vercel.json` schema correctness, classify the project's deployment sha
|
|
|
20
20
|
[ ] Identify shape: static+rewrites | Functions-backed | ISR-enabled | Cron+scheduled (or a combination)
|
|
21
21
|
[ ] api/ directory present and mapped to Serverless Functions — Functions-backed shape
|
|
22
22
|
[ ] revalidate / `Cache-Control: s-maxage` used on responses — ISR-enabled shape
|
|
23
|
-
[ ] crons[] declared in vercel.json — Cron+scheduled shape
|
|
23
|
+
[ ] crons[] declared in vercel.json — Cron+scheduled shape (Cron Jobs are legacy; flag for migration to Schedules)
|
|
24
24
|
[ ] Purely static output with rewrites/redirects only — static+rewrites shape
|
|
25
25
|
```
|
|
26
26
|
|
|
@@ -112,7 +112,9 @@ project-root/
|
|
|
112
112
|
}
|
|
113
113
|
```
|
|
114
114
|
|
|
115
|
-
**Rule**:
|
|
115
|
+
**Rule**: `crons[]` Cron Jobs run in UTC. Limits (vercel.com/docs/cron-jobs/usage-and-pricing, verified November 2026): 100 cron jobs per project on every plan; Hobby is limited to **once per day** with ±59 min precision (a more frequent expression fails the deployment); Pro and Enterprise allow once per minute with per-minute precision. Do not assume sub-daily crons on Hobby.
|
|
116
|
+
|
|
117
|
+
**Cron Jobs are a legacy feature**: Vercel documents that they will be migrated to **Schedules** (timezones, private function and queue targets, schedules created at runtime). For new work, evaluate Schedules (`vercel schedules`, beta CLI command; https://vercel.com/docs/schedules) before adding `crons[]`; keep `crons[]` for existing projects until migrated.
|
|
116
118
|
|
|
117
119
|
---
|
|
118
120
|
|
|
@@ -125,7 +127,7 @@ project-root/
|
|
|
125
127
|
| `headers` | Attach response headers by path pattern | Array of `{ source, headers: [{ key, value }] }` — security headers (rule 11) belong here for static routes |
|
|
126
128
|
| `regions` | Pin Serverless Function execution region(s) | Array of region codes (e.g. `["iad1"]`); co-locate with the primary database |
|
|
127
129
|
| `functions` | Per-function runtime config | Keyed by glob path; `memory`, `maxDuration`, `runtime` |
|
|
128
|
-
| `crons` | Scheduled invocations | Array of `{ path, schedule }`; standard 5-field cron syntax, UTC |
|
|
130
|
+
| `crons` | Scheduled invocations (legacy Cron Jobs, superseded by Schedules) | Array of `{ path, schedule }`; standard 5-field cron syntax, UTC; max 100 per project |
|
|
129
131
|
|
|
130
132
|
Example combining several sections:
|
|
131
133
|
```json
|
|
@@ -114,13 +114,15 @@ npx ajv-cli validate -s https://openapi.vercel.sh/vercel.json -d vercel.json
|
|
|
114
114
|
|
|
115
115
|
---
|
|
116
116
|
|
|
117
|
-
## Platform Updates (CLI
|
|
117
|
+
## Platform Updates (CLI 65.x, November 2026)
|
|
118
118
|
|
|
119
|
-
Verified against the official Vercel docs (
|
|
119
|
+
Verified against the official Vercel docs and the CLI changelog (November 2026; CLI 65.14.0 on the npm registry; https://github.com/vercel/vercel/blob/main/packages/cli/CHANGELOG.md). Breaking changes in 64.0.0: `vercel logs` now returns runtime log entries via the observability API (`--query` takes a KQL-like expression, default window 30 minutes, `--json` emits typed JSON Lines, `-d` is always `--debug`, `--search`/`--level`/`--source`/`--status-code`/`--request-id`/`--branch`/`--expand`/`--no-follow`/`--no-branch` removed, `--follow` deprecated, team-owned projects only; `vercel logs requests` returns CDN request records) and `vercel traces search --json` emits typed JSON Lines (`--next` continues a search). Breaking change in 65.0.0: `vercel traces inspect --json` reports `status.code` as `"Error"`/`"Ok"`/`"Unset"` instead of numbers. Also in 65: `--deployment` replaces `--dpl`/`--id`/`--deployment-id` (old names deprecated), and `schedules` entries in `vercel.json` now require a `name`. Review any CI script that parses `vercel logs` or `vercel traces` output before upgrading:
|
|
120
120
|
|
|
121
|
-
- **Node.js runtimes**: `24.x` (default) and `22.x` are available; Node.js 20 is deprecated since 2026-10-01. Pin with `package.json` `engines.node` (e.g. `"24.x"`) or the project setting.
|
|
122
|
-
- **Function duration**: with Fluid Compute (default), the default max duration is 300 s on all plans; the configurable maximum is 300 s on Hobby and 800 s on Pro/Enterprise (
|
|
123
|
-
- **Edge Runtime**: Vercel recommends migrating from Edge to Node.js (both run on Fluid Compute),
|
|
121
|
+
- **Node.js runtimes**: `26.x` (`nodejs26.x`), `24.x` (default) and `22.x` are available; Node.js 20 is deprecated since 2026-10-01. Pin with `package.json` `engines.node` (e.g. `"24.x"`) or the project setting.
|
|
122
|
+
- **Function duration**: with Fluid Compute (default), the default max duration is 300 s on all plans; the configurable maximum is 300 s on Hobby and 800 s on Pro/Enterprise (extended maximum of 1800 s on Pro/Enterprise, beta, for `nodejs22.x`, `nodejs24.x`, `nodejs26.x`, Bun and Python 3.12-3.14 only; set per function with `maxDuration` in code or `vercel.json` `functions`, project-level defaults above 800 s are not supported). For unbounded executions use Vercel Workflows. Python framework apps (FastAPI/Flask/Django) key the `functions` entry on their entrypoint file (e.g. `app/main.py`).
|
|
123
|
+
- **Edge Runtime**: Vercel *recommends migrating* from Edge to Node.js (both run on Fluid Compute); the docs do not call it formally deprecated. Starting in Next.js 16.3, `runtime = 'edge'` is no longer supported (routes run on Node.js). See https://vercel.com/docs/functions/runtimes/edge.
|
|
124
|
+
- **Cron Jobs → Schedules**: Cron Jobs are a legacy feature slated for migration to Schedules (timezones, private function and queue targets, runtime creation); `vercel schedules` (beta) lists, creates and invokes them. Static schedules live in `vercel.json` as an object keyed by schedule name (`schedule` five-field cron, optional IANA `timezone`, `jitter` 1-15 min, and exactly one target among `function`, `path` or `topic`; `requestMethod` defaults to `POST` for `path`); the array form is deprecated since CLI 65 and every entry needs a name. Limits (beta, https://vercel.com/docs/schedules/limits): Hobby cron schedules run at most every 15 minutes (always a 15-minute jitter window), Pro/Enterprise every minute; 1,000 / 10,000 / 100,000 schedules per team on Hobby / Pro / Enterprise; payload 16 KB.
|
|
125
|
+
- **WebSockets**: Vercel Functions serve WebSocket connections natively (public beta, all plans).
|
|
124
126
|
- **`vercel.ts`**: programmatic alternative to `vercel.json` (`npm i @vercel/config`; `import { routes, type VercelConfig } from '@vercel/config/v1'`; `export const config: VercelConfig = { ... }`). Use only one of `vercel.ts` or `vercel.json`.
|
|
125
127
|
- **Bun runtime (Beta)**: opt in with `"bunVersion": "1.x"` (or `"1.4.x"`) in `vercel.json`; Node.js remains the default.
|
|
126
128
|
- **`vercel upgrade`**: upgrades the CLI via the package manager that installed it (`--dry-run` previews the command, `--enable-auto`/`--disable-auto` toggle automatic updates).
|
|
@@ -48,7 +48,7 @@ export default async function handler(req: Request): Promise<Response> {
|
|
|
48
48
|
```
|
|
49
49
|
|
|
50
50
|
```json
|
|
51
|
-
// vercel.json — register the schedule; the handler above still MUST check the secret
|
|
51
|
+
// vercel.json — register the schedule (legacy Cron Jobs `crons[]`; Schedules supersede it); the handler above still MUST check the secret
|
|
52
52
|
{
|
|
53
53
|
"crons": [
|
|
54
54
|
{ "path": "/api/cron/cleanup", "schedule": "0 3 * * *" }
|
|
@@ -105,7 +105,8 @@ if (import.meta.hot) {
|
|
|
105
105
|
|
|
106
106
|
As of Vite 8, the **Rolldown**-powered bundler is the default build engine (previously an opt-in `rolldown-vite` package in Vite 6/7). Practical consequences for framework-agnostic projects:
|
|
107
107
|
|
|
108
|
-
- `build.rollupOptions` is **deprecated** since Vite 8 (alias of `build.rolldownOptions`; same for `worker.rollupOptions` and `optimizeDeps.esbuildOptions` → `optimizeDeps.rolldownOptions`) — migrate to `rolldownOptions` (e.g. `input`, `external`), but some Rollup-specific output options changed shape — notably `output.manualChunks` as an **object** is removed; use `build.rolldownOptions.output.codeSplitting.groups` instead (see `08-quality-tools.md` for a full example).
|
|
108
|
+
- `build.rollupOptions` is **deprecated** since Vite 8 (alias of `build.rolldownOptions`; same for `worker.rollupOptions` and `optimizeDeps.esbuildOptions` → `optimizeDeps.rolldownOptions`) — migrate to `rolldownOptions` (e.g. `input`, `external`), but some Rollup-specific output options changed shape — notably `output.manualChunks` as an **object** is removed and the **function** form is deprecated; use `build.rolldownOptions.output.codeSplitting.groups` instead (see `08-quality-tools.md` for a full example).
|
|
109
|
+
- **Oxc** replaces esbuild for JS/TS/JSX transforms: the `esbuild` option is deprecated in favor of `oxc`, and `transformWithEsbuild` in favor of `transformWithOxc` (Oxc does not lower native decorators yet). **Lightning CSS** minifies CSS by default (source: vite.dev/guide/migration).
|
|
109
110
|
- Library builds (`build.lib`) and `vite-plugin-dts` both work unchanged under Rolldown.
|
|
110
111
|
- If a project depends on a Rollup-only plugin that hasn't been ported, Rolldown can be disabled per-project (consult the current Vite release notes for the opt-out flag, since this is expected to be phased out over time) — treat this as a temporary escape hatch, not a long-term config.
|
|
111
112
|
|
|
@@ -208,7 +208,7 @@ export default defineConfig({
|
|
|
208
208
|
})
|
|
209
209
|
```
|
|
210
210
|
|
|
211
|
-
> **Vite 8 / Rolldown (default):** the object form of `manualChunks` is **removed
|
|
211
|
+
> **Vite 8 / Rolldown (default):** the object form of `manualChunks` is **removed**; the function form is deprecated. Use `build.rolldownOptions.output.codeSplitting.groups`.
|
|
212
212
|
> **Legacy Rollup mode (Rolldown explicitly disabled):** use `build.rollupOptions.output.manualChunks` instead — `// Only if Rolldown is explicitly disabled`.
|
|
213
213
|
|
|
214
214
|
## Dependency Audit
|
|
@@ -50,7 +50,7 @@ export default defineConfig({
|
|
|
50
50
|
})
|
|
51
51
|
```
|
|
52
52
|
|
|
53
|
-
> **Vite 8 / Rolldown (default):** The object form of `manualChunks` is **removed** (not supported). Use `build.rolldownOptions.output.codeSplitting.groups`.
|
|
53
|
+
> **Vite 8 / Rolldown (default):** The object form of `manualChunks` is **removed** (not supported); the function form is deprecated. Use `build.rolldownOptions.output.codeSplitting.groups`.
|
|
54
54
|
> **Vite 7 / Rolldown disabled (legacy):** use `build.rollupOptions.output.manualChunks` — `// Only if Rolldown is explicitly disabled`.
|
|
55
55
|
|
|
56
56
|
### Environment Variables
|
|
@@ -355,13 +355,13 @@ const router = createRouter({ history: createWebHistory() });
|
|
|
355
355
|
"devDependencies": {
|
|
356
356
|
"@types/node": "^20.0.0",
|
|
357
357
|
"@vitejs/plugin-vue": "^6.0.0",
|
|
358
|
-
"@vue/test-utils": "^2.
|
|
358
|
+
"@vue/test-utils": "^2.5.1",
|
|
359
359
|
"eslint": "^10.0.0",
|
|
360
360
|
"eslint-plugin-vue": "^10.0.0",
|
|
361
361
|
"prettier": "^3.0.0",
|
|
362
362
|
"typescript": "~5.4.0",
|
|
363
363
|
"vite": "^8.0.0",
|
|
364
|
-
"vitest": "^
|
|
364
|
+
"vitest": "^5.1.0",
|
|
365
365
|
"vue-tsc": "^2.0.0"
|
|
366
366
|
}
|
|
367
367
|
}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
## Vitest Browser Mode (recommandé 2026)
|
|
14
14
|
|
|
15
|
-
Depuis Vitest 4, le **Browser Mode** est stable et recommandé pour les tests de composants Vue — il exécute les tests dans un vrai navigateur (Chromium/Firefox/WebKit via Playwright) au lieu de simuler le DOM avec jsdom. Résultat : comportement réel du navigateur, pas de faux positifs jsdom.
|
|
15
|
+
Depuis Vitest 4 (Vitest 5 actuel), le **Browser Mode** est stable et recommandé pour les tests de composants Vue — il exécute les tests dans un vrai navigateur (Chromium/Firefox/WebKit via Playwright) au lieu de simuler le DOM avec jsdom. Résultat : comportement réel du navigateur, pas de faux positifs jsdom.
|
|
16
16
|
|
|
17
17
|
**Stratégie 2026 :**
|
|
18
18
|
- Tests de **composants Vue** → Browser Mode (vrai DOM)
|
|
@@ -21,22 +21,23 @@ Depuis Vitest 4, le **Browser Mode** est stable et recommandé pour les tests de
|
|
|
21
21
|
### Installation
|
|
22
22
|
|
|
23
23
|
```bash
|
|
24
|
-
npm install -D @vitest/browser playwright
|
|
24
|
+
npm install -D @vitest/browser-playwright playwright
|
|
25
25
|
npx playwright install chromium
|
|
26
26
|
```
|
|
27
27
|
|
|
28
|
-
### Configuration avec
|
|
28
|
+
### Configuration avec `projects`
|
|
29
29
|
|
|
30
30
|
```typescript
|
|
31
|
-
// vitest.config.ts —
|
|
31
|
+
// vitest.config.ts — `projects` séparant browser et node
|
|
32
32
|
import { defineConfig } from 'vitest/config'
|
|
33
33
|
import vue from '@vitejs/plugin-vue'
|
|
34
|
+
import { playwright } from '@vitest/browser-playwright'
|
|
34
35
|
import { fileURLToPath } from 'node:url'
|
|
35
36
|
|
|
36
37
|
export default defineConfig({
|
|
37
38
|
plugins: [vue()],
|
|
38
39
|
test: {
|
|
39
|
-
|
|
40
|
+
projects: [
|
|
40
41
|
{
|
|
41
42
|
// Tests de composants Vue — vrai navigateur
|
|
42
43
|
extends: true,
|
|
@@ -45,9 +46,9 @@ export default defineConfig({
|
|
|
45
46
|
include: ['src/**/*.component.{test,spec}.ts'],
|
|
46
47
|
browser: {
|
|
47
48
|
enabled: true,
|
|
48
|
-
|
|
49
|
-
provider: 'playwright',
|
|
49
|
+
provider: playwright(),
|
|
50
50
|
headless: true,
|
|
51
|
+
instances: [{ browser: 'chromium' }],
|
|
51
52
|
},
|
|
52
53
|
},
|
|
53
54
|
},
|
|
@@ -104,7 +105,7 @@ describe('UserCard (browser)', () => {
|
|
|
104
105
|
})
|
|
105
106
|
```
|
|
106
107
|
|
|
107
|
-
> **Migration jsdom → Browser Mode :** remplacer `environment: 'jsdom'` par la config
|
|
108
|
+
> **Migration jsdom → Browser Mode :** remplacer `environment: 'jsdom'` par la config `projects` ci-dessus. Les tests `@vue/test-utils` (mount/shallowMount) fonctionnent sans modification. Supprimer `jsdom` des dépendances si tous les tests composants migrent en Browser Mode.
|
|
108
109
|
|
|
109
110
|
## Vitest Configuration (jsdom simple — projets sans Browser Mode)
|
|
110
111
|
|
|
@@ -348,7 +348,7 @@ export default defineConfig({
|
|
|
348
348
|
})
|
|
349
349
|
```
|
|
350
350
|
|
|
351
|
-
> **Vite 8 / Rolldown (default):** The object form of `manualChunks` is **removed** (not supported). Use `build.rolldownOptions.output.codeSplitting.groups`.
|
|
351
|
+
> **Vite 8 / Rolldown (default):** The object form of `manualChunks` is **removed** (not supported); the function form is deprecated. Use `build.rolldownOptions.output.codeSplitting.groups`.
|
|
352
352
|
> **Vite 7 / Rolldown disabled (legacy):** use `build.rollupOptions.output.manualChunks` — `// Only if Rolldown is explicitly disabled`.
|
|
353
353
|
|
|
354
354
|
## Dependency Audit
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# New Feature Checklist - WordPress
|
|
2
|
+
|
|
3
|
+
Use this checklist when adding a feature to a plugin or block theme (a block, an admin screen, a REST endpoint, a WP-CLI command, a setting, a template). Apply the TDD cycle: write the failing test first, then the code.
|
|
4
|
+
|
|
5
|
+
## 1. Analysis (before code)
|
|
6
|
+
|
|
7
|
+
- [ ] Goal, acceptance criteria and user roles that can use the feature are written down
|
|
8
|
+
- [ ] Assumptions stated: minimum WordPress and PHP versions, whether multisite is supported, expected data volume, front-end versus admin context
|
|
9
|
+
- [ ] Core already offers it? Check core APIs, blocks, block bindings, patterns and `theme.json` before writing custom code
|
|
10
|
+
- [ ] Extension points identified: which hooks the feature uses, and which prefixed actions and filters it exposes
|
|
11
|
+
- [ ] Risk assessed: touches data model, uploads, remote calls, capabilities, or front-end output
|
|
12
|
+
- [ ] Impact written down (files, migrations, uninstall changes) and validated if more than 5 files or any breaking change
|
|
13
|
+
|
|
14
|
+
## 2. Design
|
|
15
|
+
|
|
16
|
+
- [ ] Domain logic planned as plain PHP classes (no WordPress calls); hook callbacks stay thin adapters
|
|
17
|
+
- [ ] Data storage chosen: option (array, `autoload` false), registered meta, custom post type/taxonomy, or custom table with `dbDelta()` and a version option
|
|
18
|
+
- [ ] Capability model defined: which capability gates each action; custom capabilities added on activation and removed on uninstall
|
|
19
|
+
- [ ] Namespace/prefix, text domain, script handles and REST namespace follow the project convention
|
|
20
|
+
- [ ] Performance considered: bounded queries (no `posts_per_page => -1`), `no_found_rows`, no meta_query on large tables, caching and invalidation plan
|
|
21
|
+
- [ ] Accessibility and i18n considered (labels, focus, translatable strings, RTL)
|
|
22
|
+
|
|
23
|
+
## 3. Implementation (TDD)
|
|
24
|
+
|
|
25
|
+
- [ ] Failing tests written first (unit for domain, `WP_UnitTestCase` for hooks/REST/DB, Jest for blocks, Playwright for the main journey)
|
|
26
|
+
- [ ] Hooks registered in one `register()` method on the right hook (`init`, `rest_api_init`, `admin_init`, ...)
|
|
27
|
+
- [ ] REST route: `permission_callback`, `args` with validate and sanitize callbacks, schema, proper `WP_Error` statuses (see `templates/rest-endpoint.md`)
|
|
28
|
+
- [ ] Block: `block.json` apiVersion 3, `render.php` with late escaping, deprecations if markup changes, registration through the build manifest (see `templates/block.md`)
|
|
29
|
+
- [ ] Admin screen or setting: Settings API, capability on the menu entry, nonce on custom forms
|
|
30
|
+
- [ ] WP-CLI command: registered under `WP_CLI`, reuses the domain services, documents synopsis and examples
|
|
31
|
+
- [ ] Assets: enqueued only where needed with `*.asset.php` dependencies; no inline tags
|
|
32
|
+
- [ ] Strings translatable with the literal text domain; JS translations loaded with `wp_set_script_translations()`
|
|
33
|
+
- [ ] Capability check and nonce on every state change; input sanitized, output escaped; SQL prepared
|
|
34
|
+
|
|
35
|
+
## 4. Quality
|
|
36
|
+
|
|
37
|
+
- [ ] `phpcs`, `phpstan`, `wp-scripts lint-js` clean
|
|
38
|
+
- [ ] Coverage >= 80%; authorization and sanitization paths covered, including denied cases
|
|
39
|
+
- [ ] Plugin Check has no new errors
|
|
40
|
+
- [ ] Tested on the minimum and the latest declared PHP and WordPress versions (and multisite if supported)
|
|
41
|
+
- [ ] Manual check in `wp-env` with `WP_DEBUG` on: no notices, warnings or deprecated calls
|
|
42
|
+
|
|
43
|
+
## 5. Lifecycle
|
|
44
|
+
|
|
45
|
+
- [ ] Activation routine idempotent; deactivation unschedules cron events
|
|
46
|
+
- [ ] `uninstall.php` removes the feature's options, tables, cron events, roles and capabilities
|
|
47
|
+
- [ ] Upgrade routine handles existing installs (`db_version` comparison)
|
|
48
|
+
- [ ] Privacy exporter and eraser registered if personal data is stored
|
|
49
|
+
|
|
50
|
+
## 6. Documentation and Delivery
|
|
51
|
+
|
|
52
|
+
- [ ] Hooks documented with docblocks (`@since`, `@param`); README / `readme.txt` updated
|
|
53
|
+
- [ ] CHANGELOG entry added; version bumped consistently if releasing
|
|
54
|
+
- [ ] Atomic Conventional Commits (`feat(rest): add reports endpoint`)
|
|
55
|
+
- [ ] Pull request lists the capability, nonce, escaping and SQL decisions for the reviewer
|
|
56
|
+
|
|
57
|
+
## 7. If the project depends on WooCommerce
|
|
58
|
+
|
|
59
|
+
If the project depends on WooCommerce (plugin header `Requires Plugins: woocommerce`, `wc_*` calls, `before_woocommerce_init` hook), also apply `.claude/skills/woocommerce/checklist.md` (HPOS compatibility, CRUD usage, Store API and block checkout extensibility, payment and webhook security).
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
# Pre-Commit Checklist - WordPress
|
|
2
|
+
|
|
3
|
+
## Quick Validation Before Each Commit
|
|
4
|
+
|
|
5
|
+
All commands run in Docker (`docker compose exec app ...`); suites that need WordPress loaded run in the `wp-env` containers (`npx wp-env run tests-cli ...`). Keep one script or `make ci` target that chains the steps below so the local gate equals the CI gate.
|
|
6
|
+
|
|
7
|
+
### Code Quality (PHP)
|
|
8
|
+
|
|
9
|
+
- [ ] WordPress Coding Standards pass (`vendor/bin/phpcs`), auto-fix with `vendor/bin/phpcbf`
|
|
10
|
+
- [ ] PHPStan passes at the project level (`vendor/bin/phpstan analyse`), baseline not grown
|
|
11
|
+
- [ ] New `phpcs:ignore` comments name the sniff, are one line and carry a reason
|
|
12
|
+
- [ ] No `var_dump`, `print_r`, `error_log`, `die()` or commented-out code left behind
|
|
13
|
+
- [ ] Every new global has the project prefix or namespace; every new PHP file has `defined( 'ABSPATH' ) || exit;` when directly reachable
|
|
14
|
+
- [ ] Code does not use syntax newer than the declared `Requires PHP`
|
|
15
|
+
- [ ] Methods < 10 lines (limit 20), nesting <= 3, parameters <= 4
|
|
16
|
+
|
|
17
|
+
### Code Quality (JavaScript / Blocks)
|
|
18
|
+
|
|
19
|
+
- [ ] `npx wp-scripts lint-js` and `lint-style` pass with zero warnings
|
|
20
|
+
- [ ] `npx wp-scripts format --check` passes
|
|
21
|
+
- [ ] `build/` regenerated (`npx wp-scripts build --blocks-manifest`) when block sources changed, if `build/` is committed
|
|
22
|
+
- [ ] Block markup changes include a `deprecated` entry and a fixture
|
|
23
|
+
- [ ] Strings use `__()` from `@wordpress/i18n` with the plugin text domain
|
|
24
|
+
|
|
25
|
+
### Tests
|
|
26
|
+
|
|
27
|
+
- [ ] PHPUnit passes (`npx wp-env run tests-cli --env-cwd=wp-content/plugins/<slug> vendor/bin/phpunit`)
|
|
28
|
+
- [ ] Jest passes (`npx wp-scripts test-unit-js`)
|
|
29
|
+
- [ ] New behavior has tests written first (Red, Green, Refactor)
|
|
30
|
+
- [ ] New handlers and routes have denied-path tests (logged out, wrong role, bad nonce, invalid input)
|
|
31
|
+
- [ ] Bug fixes include a regression test that failed before the fix
|
|
32
|
+
- [ ] Coverage maintained at 80% or higher
|
|
33
|
+
- [ ] No `markTestSkipped`, `test.skip` or `test.only` added without a ticket
|
|
34
|
+
|
|
35
|
+
### Security
|
|
36
|
+
|
|
37
|
+
- [ ] Every state-changing handler checks `current_user_can()` with a specific capability and verifies a nonce
|
|
38
|
+
- [ ] Every REST route has a `permission_callback`; writes never use `__return_true`
|
|
39
|
+
- [ ] Superglobals read with existence check, `wp_unslash()` and a sanitizer
|
|
40
|
+
- [ ] All output escaped late (`esc_html`, `esc_attr`, `esc_url`, `wp_kses_post`)
|
|
41
|
+
- [ ] All SQL with variables uses `$wpdb->prepare()`
|
|
42
|
+
- [ ] No `unserialize()` on user data, no `eval`, no dynamic `include`
|
|
43
|
+
- [ ] No secrets, keys or `.env` staged
|
|
44
|
+
- [ ] `composer audit` and `npm audit --omit=dev --audit-level=moderate` pass
|
|
45
|
+
|
|
46
|
+
### Internationalization and Assets
|
|
47
|
+
|
|
48
|
+
- [ ] New user-facing strings are translatable with a literal text domain
|
|
49
|
+
- [ ] Scripts and styles enqueued with `*.asset.php` dependencies and version; no inline tags
|
|
50
|
+
- [ ] `.pot` regenerated if strings changed (`wp i18n make-pot`) when the project commits it
|
|
51
|
+
|
|
52
|
+
### Release Metadata
|
|
53
|
+
|
|
54
|
+
- [ ] Plugin header, `readme.txt` (`Stable tag`, `Tested up to`, `Requires at least`, `Requires PHP`) and `package.json` versions consistent when releasing
|
|
55
|
+
- [ ] Plugin Check has no errors on the built ZIP when releasing
|
|
56
|
+
- [ ] `uninstall.php` updated when new options, tables, cron events or roles are added
|
|
57
|
+
|
|
58
|
+
### Documentation and Git
|
|
59
|
+
|
|
60
|
+
- [ ] README / readme.txt / docs updated when features, hooks or settings changed
|
|
61
|
+
- [ ] CHANGELOG updated if applicable
|
|
62
|
+
- [ ] Commit message follows Conventional Commits (`feat(blocks): add report block`)
|
|
63
|
+
- [ ] Commit is atomic; branch up to date with `main`
|
|
64
|
+
- [ ] No unrelated files staged (`git status`, `git diff --staged`)
|
|
65
|
+
|
|
66
|
+
### If the project depends on WooCommerce
|
|
67
|
+
|
|
68
|
+
If the project depends on WooCommerce (plugin header `Requires Plugins: woocommerce`, `wc_*` calls, `before_woocommerce_init` hook), also apply `.claude/skills/woocommerce/checklist.md`.
|
|
69
|
+
|
|
70
|
+
## Automated Validation
|
|
71
|
+
|
|
72
|
+
### CI gate script
|
|
73
|
+
|
|
74
|
+
```bash
|
|
75
|
+
#!/usr/bin/env bash
|
|
76
|
+
# scripts/ci.sh - same steps locally and in CI
|
|
77
|
+
set -euo pipefail
|
|
78
|
+
|
|
79
|
+
vendor/bin/phpcs
|
|
80
|
+
vendor/bin/phpstan analyse --memory-limit=1G
|
|
81
|
+
npx wp-scripts lint-js
|
|
82
|
+
npx wp-scripts lint-style
|
|
83
|
+
npx wp-scripts test-unit-js
|
|
84
|
+
npx wp-env start
|
|
85
|
+
npx wp-env run tests-cli --env-cwd=wp-content/plugins/my-plugin vendor/bin/phpunit
|
|
86
|
+
composer audit
|
|
87
|
+
npm audit --omit=dev --audit-level=moderate
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
### Git pre-commit hook (Lefthook)
|
|
91
|
+
|
|
92
|
+
```yaml
|
|
93
|
+
# lefthook.yml
|
|
94
|
+
pre-commit:
|
|
95
|
+
parallel: true
|
|
96
|
+
commands:
|
|
97
|
+
phpcs:
|
|
98
|
+
glob: "*.php"
|
|
99
|
+
run: docker compose exec -T app vendor/bin/phpcs {staged_files}
|
|
100
|
+
js:
|
|
101
|
+
glob: "*.{js,jsx,ts,tsx}"
|
|
102
|
+
run: docker compose exec -T app npx wp-scripts lint-js {staged_files}
|
|
103
|
+
pre-push:
|
|
104
|
+
commands:
|
|
105
|
+
phpstan:
|
|
106
|
+
run: docker compose exec -T app vendor/bin/phpstan analyse --memory-limit=1G
|
|
107
|
+
tests:
|
|
108
|
+
run: docker compose exec -T app sh -c 'npx wp-scripts test-unit-js && npx wp-env run tests-cli --env-cwd=wp-content/plugins/my-plugin vendor/bin/phpunit'
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
Hooks are requirements, CLAUDE.md is a suggestion.
|
|
112
|
+
|
|
113
|
+
## Quick Commands
|
|
114
|
+
|
|
115
|
+
```bash
|
|
116
|
+
docker compose exec app vendor/bin/phpcbf
|
|
117
|
+
docker compose exec app vendor/bin/phpcs
|
|
118
|
+
docker compose exec app vendor/bin/phpstan analyse
|
|
119
|
+
docker compose exec app npx wp-scripts lint-js --fix
|
|
120
|
+
docker compose exec app npx wp-env run tests-cli --env-cwd=wp-content/plugins/my-plugin vendor/bin/phpunit
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
## Final Check
|
|
124
|
+
|
|
125
|
+
If any box is unchecked, do not commit. Fix first, then re-run `./scripts/ci.sh`.
|