@the-bearded-bear/claude-craft 8.22.0 → 8.23.0
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/CSharp/rules/06-tooling.md +0 -2
- package/Dev/i18n/base/CSharp/rules/11-security-csharp.md +184 -160
- package/Dev/i18n/base/Common/commands/aliases.md +3 -0
- package/Dev/i18n/base/Common/commands/audit-claude-alignment.md +201 -0
- package/Dev/i18n/base/Common/commands/init.md +1 -1
- package/Dev/i18n/base/Common/commands/search.md +2 -1
- package/Dev/i18n/base/Common/skills/dynamic-workflows/SKILL.md +1 -1
- package/Dev/i18n/base/Common/skills/ecosystem-tools/SKILL.md +2 -1
- package/Dev/i18n/base/Laravel/rules/06-tooling.md +0 -2
- package/Dev/i18n/base/PHP/checklists/new-feature.md +1 -1
- package/Dev/i18n/base/PHP/commands/check-code-quality.md +3 -3
- package/Dev/i18n/base/Vercel/checklists/pre-commit.md +1 -1
- package/Dev/i18n/base/Vercel/commands/check-security.md +12 -12
- package/Dev/i18n/base/Vercel/rules/00-project-context.md.template +1 -1
- package/Dev/i18n/base/Vercel/rules/02-architecture-vercel.md +2 -2
- package/Dev/i18n/base/Vercel/rules/03-coding-standards.md +1 -1
- package/Dev/i18n/base/Vercel/rules/06-tooling.md +12 -0
- package/Dev/i18n/base/Vercel/rules/07-testing-vercel.md +1 -1
- package/Dev/i18n/base/Vercel/rules/08-quality-tools.md +1 -1
- package/Dev/i18n/base/Vercel/rules/11-security-vercel.md +1 -1
- package/Dev/i18n/base/Vercel/templates/function-handler.template.ts +1 -1
- package/Dev/i18n/base/Vite/checklists/new-feature.md +2 -2
- package/Dev/i18n/base/Vite/checklists/pre-commit.md +2 -2
- package/Dev/i18n/base/Vite/commands/check-architecture.md +5 -5
- package/Dev/i18n/base/Vite/commands/check-library-build.md +3 -3
- package/Dev/i18n/base/Vite/commands/scaffold-project.md +2 -2
- package/Dev/i18n/base/Vite/rules/02-architecture-vite.md +5 -5
- package/Dev/i18n/base/Vite/rules/03-coding-standards.md +1 -1
- package/Dev/i18n/base/Vite/rules/06-tooling.md +2 -2
- package/Dev/i18n/base/Vite/rules/07-testing-vite.md +1 -1
- package/Dev/i18n/base/Vite/rules/11-security-vite.md +4 -4
- package/Dev/i18n/base/Vite/templates/library-entry.template.ts +2 -2
- package/Dev/i18n/base/Vite/templates/vite.config.template.ts +2 -2
- package/Dev/i18n/base/VueJS/rules/06-tooling.md +3 -2
- package/Dev/i18n/de/Angular/agents/angular-reviewer.md +3 -3
- package/Dev/i18n/de/Common/agents/devops-engineer.md +15 -1
- package/Dev/i18n/de/Common/agents/ralph-conductor.md +12 -1
- package/Dev/i18n/de/Common/agents/refactoring-specialist.md +9 -0
- package/Dev/i18n/de/Common/agents/security-auditor.md +10 -7
- package/Dev/i18n/de/Common/agents/tdd-coach.md +9 -0
- package/Dev/i18n/de/Common/agents/uiux-orchestrator.md +10 -1
- package/Dev/i18n/de/Common/commands/getting-started.md +2 -2
- package/Dev/i18n/de/Common/commands/setup-rtk.md +2 -2
- package/Dev/i18n/de/Common/rules/04-solid-principles.md +1 -1
- package/Dev/i18n/de/Common/rules/05-kiss-dry-yagni.md +5 -2
- package/Dev/i18n/de/Common/rules/10-documentation.md +1 -1
- package/Dev/i18n/de/Common/rules/11-security.md +76 -73
- package/Dev/i18n/de/Common/rules/12-context-management.md +29 -19
- package/Dev/i18n/de/Common/templates/settings.json.template +6 -6
- package/Dev/i18n/de/Flutter/agents/flutter-reviewer.md +4 -4
- package/Dev/i18n/de/Flutter/rules/06-tooling.md +30 -24
- package/Dev/i18n/de/Flutter/rules/07-testing-flutter.md +0 -0
- package/Dev/i18n/de/Flutter/rules/08-quality-tools.md +1 -1
- package/Dev/i18n/de/Flutter/rules/12-performance.md +17 -17
- package/Dev/i18n/de/Flutter/rules/13-state-management.md +0 -0
- package/Dev/i18n/de/PHP/agents/php-reviewer.md +6 -6
- package/Dev/i18n/de/PHP/commands/check-compliance.md +3 -3
- package/Dev/i18n/de/PHP/rules/03-coding-standards.md +4 -2
- package/Dev/i18n/de/PHP/rules/06-tooling.md +4 -7
- package/Dev/i18n/de/PHP/rules/08-quality-tools.md +2 -2
- package/Dev/i18n/de/Paperclip/CLAUDE.md.template +2 -2
- package/Dev/i18n/de/Paperclip/README.md +1 -1
- package/Dev/i18n/de/Paperclip/commands/setup-company.md +1 -1
- package/Dev/i18n/de/Paperclip/rules/06-tooling.md +3 -3
- package/Dev/i18n/de/Paperclip/rules/11-security-paperclip.md +9 -0
- package/Dev/i18n/de/Paperclip/skills/coding-standards-ts/SKILL.md +1 -1
- package/Dev/i18n/de/Python/commands/generate-model.md +3 -1
- package/Dev/i18n/de/Python/rules/06-tooling.md +1 -1
- package/Dev/i18n/de/Python/rules/08-quality-tools.md +1 -1
- package/Dev/i18n/de/Python/rules/11-security-python.md +2 -2
- package/Dev/i18n/de/React/agents/react-reviewer.md +9 -5
- package/Dev/i18n/de/React/rules/06-tooling.md +0 -2
- package/Dev/i18n/de/React/rules/11-security-react.md +9 -0
- package/Dev/i18n/de/ReactNative/agents/reactnative-reviewer.md +4 -4
- package/Dev/i18n/de/ReactNative/rules/06-tooling.md +19 -3
- package/Dev/i18n/de/Symfony/agents/symfony-reviewer.md +5 -5
- package/Dev/i18n/de/Symfony/checklists/README.md +1 -1
- package/Dev/i18n/de/Symfony/checklists/new-feature.md +2 -2
- package/Dev/i18n/de/Symfony/checklists/pre-commit.md +4 -4
- package/Dev/i18n/de/Symfony/checklists/refactoring.md +1 -1
- package/Dev/i18n/de/Symfony/commands/check-architecture.md +4 -4
- package/Dev/i18n/de/Symfony/commands/check-code-quality.md +15 -15
- package/Dev/i18n/de/Symfony/commands/check-security.md +32 -32
- package/Dev/i18n/de/Symfony/commands/check-testing.md +16 -16
- package/Dev/i18n/de/Symfony/rules/03-coding-standards.md +4 -4
- package/Dev/i18n/de/Symfony/rules/06-docker-hadolint.md +0 -4
- package/Dev/i18n/de/Symfony/rules/08-quality-tools.md +1 -1
- package/Dev/i18n/de/Symfony/rules/16-i18n.md +2 -0
- package/Dev/i18n/de/Symfony/rules/17-async.md +1 -0
- package/Dev/i18n/de/Symfony/rules/19-aggregates.md +1 -0
- package/Dev/i18n/de/Symfony/rules/20-domain-events.md +1 -0
- package/Dev/i18n/de/Team/commands/delivery.md +1 -1
- package/Dev/i18n/de/Vercel/CLAUDE.md.template +2 -2
- package/Dev/i18n/de/Vercel/agents/vercel-reviewer.md +8 -8
- package/Dev/i18n/de/Vite/CLAUDE.md.template +2 -2
- package/Dev/i18n/de/Vite/agents/vite-reviewer.md +19 -17
- package/Dev/i18n/de/Vite/commands/check-compliance.md +2 -2
- package/Dev/i18n/en/Angular/agents/angular-reviewer.md +3 -3
- package/Dev/i18n/en/Common/agents/devops-engineer.md +15 -1
- package/Dev/i18n/en/Common/agents/ralph-conductor.md +11 -0
- package/Dev/i18n/en/Common/agents/refactoring-specialist.md +9 -0
- package/Dev/i18n/en/Common/agents/security-auditor.md +10 -7
- package/Dev/i18n/en/Common/agents/tdd-coach.md +9 -0
- package/Dev/i18n/en/Common/agents/uiux-orchestrator.md +10 -1
- package/Dev/i18n/en/Common/commands/getting-started.md +2 -2
- package/Dev/i18n/en/Common/commands/setup-rtk.md +2 -2
- package/Dev/i18n/en/Common/rules/04-solid-principles.md +1 -1
- package/Dev/i18n/en/Common/rules/05-kiss-dry-yagni.md +5 -2
- package/Dev/i18n/en/Common/rules/10-documentation.md +1 -1
- package/Dev/i18n/en/Common/rules/11-security.md +76 -73
- package/Dev/i18n/en/Common/rules/12-context-management.md +31 -21
- package/Dev/i18n/en/Common/templates/settings.json.template +6 -6
- package/Dev/i18n/en/Flutter/agents/flutter-reviewer.md +4 -4
- package/Dev/i18n/en/Flutter/rules/06-tooling.md +29 -23
- package/Dev/i18n/en/Flutter/rules/07-testing-flutter.md +0 -0
- package/Dev/i18n/en/Flutter/rules/08-quality-tools.md +1 -1
- package/Dev/i18n/en/Flutter/rules/12-performance.md +17 -17
- package/Dev/i18n/en/Flutter/rules/13-state-management.md +0 -0
- package/Dev/i18n/en/PHP/CLAUDE.md.template +1 -1
- package/Dev/i18n/en/PHP/agents/php-reviewer.md +6 -6
- package/Dev/i18n/en/PHP/commands/check-compliance.md +1 -1
- package/Dev/i18n/en/PHP/rules/03-coding-standards.md +4 -2
- package/Dev/i18n/en/PHP/rules/06-tooling.md +4 -7
- package/Dev/i18n/en/PHP/rules/08-quality-tools.md +2 -2
- package/Dev/i18n/en/Paperclip/CLAUDE.md.template +2 -2
- package/Dev/i18n/en/Paperclip/README.md +1 -1
- package/Dev/i18n/en/Paperclip/commands/setup-company.md +1 -1
- package/Dev/i18n/en/Paperclip/rules/06-tooling.md +3 -3
- package/Dev/i18n/en/Paperclip/rules/11-security-paperclip.md +9 -0
- package/Dev/i18n/en/Paperclip/skills/coding-standards-ts/SKILL.md +1 -1
- package/Dev/i18n/en/Python/commands/generate-model.md +3 -1
- package/Dev/i18n/en/Python/rules/06-tooling.md +1 -1
- package/Dev/i18n/en/Python/rules/08-quality-tools.md +1 -1
- package/Dev/i18n/en/Python/rules/11-security-python.md +11 -11
- package/Dev/i18n/en/React/agents/react-reviewer.md +9 -5
- package/Dev/i18n/en/React/rules/06-tooling.md +0 -2
- package/Dev/i18n/en/React/rules/11-security-react.md +9 -0
- package/Dev/i18n/en/ReactNative/agents/reactnative-reviewer.md +4 -4
- package/Dev/i18n/en/ReactNative/rules/02-architecture.md +1 -1
- package/Dev/i18n/en/ReactNative/rules/06-tooling.md +19 -3
- package/Dev/i18n/en/Symfony/agents/symfony-reviewer.md +5 -5
- package/Dev/i18n/en/Symfony/checklists/README.md +1 -1
- package/Dev/i18n/en/Symfony/checklists/new-feature.md +2 -2
- package/Dev/i18n/en/Symfony/checklists/pre-commit.md +4 -4
- package/Dev/i18n/en/Symfony/checklists/refactoring.md +1 -1
- package/Dev/i18n/en/Symfony/commands/check-architecture.md +4 -4
- package/Dev/i18n/en/Symfony/commands/check-code-quality.md +15 -15
- package/Dev/i18n/en/Symfony/commands/check-security.md +32 -32
- package/Dev/i18n/en/Symfony/commands/check-testing.md +16 -16
- package/Dev/i18n/en/Symfony/rules/03-coding-standards.md +4 -4
- package/Dev/i18n/en/Symfony/rules/06-docker-hadolint.md +0 -4
- package/Dev/i18n/en/Symfony/rules/08-quality-tools.md +1 -1
- package/Dev/i18n/en/Symfony/rules/16-i18n.md +2 -0
- package/Dev/i18n/en/Symfony/rules/17-async.md +1 -0
- package/Dev/i18n/en/Symfony/rules/19-aggregates.md +1 -0
- package/Dev/i18n/en/Symfony/rules/20-domain-events.md +1 -0
- package/Dev/i18n/en/Team/commands/delivery.md +1 -1
- package/Dev/i18n/en/Vercel/CLAUDE.md.template +2 -2
- package/Dev/i18n/en/Vercel/agents/vercel-reviewer.md +8 -8
- package/Dev/i18n/en/Vite/CLAUDE.md.template +2 -2
- package/Dev/i18n/en/Vite/agents/vite-reviewer.md +19 -17
- package/Dev/i18n/en/Vite/commands/check-compliance.md +2 -2
- package/Dev/i18n/en/Workflow/commands/review.md +0 -0
- package/Dev/i18n/en/Workflow/commands/start.md +0 -0
- package/Dev/i18n/es/Angular/agents/angular-reviewer.md +3 -3
- package/Dev/i18n/es/Common/agents/devops-engineer.md +15 -1
- package/Dev/i18n/es/Common/agents/ralph-conductor.md +11 -0
- package/Dev/i18n/es/Common/agents/refactoring-specialist.md +9 -0
- package/Dev/i18n/es/Common/agents/security-auditor.md +10 -7
- package/Dev/i18n/es/Common/agents/tdd-coach.md +9 -0
- package/Dev/i18n/es/Common/agents/uiux-orchestrator.md +10 -1
- package/Dev/i18n/es/Common/commands/getting-started.md +2 -2
- package/Dev/i18n/es/Common/commands/setup-rtk.md +2 -2
- package/Dev/i18n/es/Common/rules/04-solid-principles.md +1 -1
- package/Dev/i18n/es/Common/rules/05-kiss-dry-yagni.md +5 -2
- package/Dev/i18n/es/Common/rules/10-documentation.md +1 -1
- package/Dev/i18n/es/Common/rules/11-security.md +76 -73
- package/Dev/i18n/es/Common/rules/12-context-management.md +29 -19
- package/Dev/i18n/es/Common/templates/settings.json.template +6 -6
- package/Dev/i18n/es/Flutter/agents/flutter-reviewer.md +4 -4
- package/Dev/i18n/es/Flutter/rules/06-tooling.md +31 -25
- package/Dev/i18n/es/Flutter/rules/07-testing-flutter.md +0 -0
- package/Dev/i18n/es/Flutter/rules/08-quality-tools.md +1 -1
- package/Dev/i18n/es/Flutter/rules/12-performance.md +17 -17
- package/Dev/i18n/es/Flutter/rules/13-state-management.md +0 -0
- package/Dev/i18n/es/PHP/agents/php-reviewer.md +6 -6
- package/Dev/i18n/es/PHP/commands/check-compliance.md +3 -3
- package/Dev/i18n/es/PHP/rules/03-coding-standards.md +4 -2
- package/Dev/i18n/es/PHP/rules/06-tooling.md +4 -7
- package/Dev/i18n/es/PHP/rules/08-quality-tools.md +2 -2
- package/Dev/i18n/es/Paperclip/CLAUDE.md.template +2 -2
- package/Dev/i18n/es/Paperclip/README.md +1 -1
- package/Dev/i18n/es/Paperclip/commands/setup-company.md +1 -1
- package/Dev/i18n/es/Paperclip/rules/06-tooling.md +3 -3
- package/Dev/i18n/es/Paperclip/rules/11-security-paperclip.md +9 -0
- package/Dev/i18n/es/Paperclip/skills/coding-standards-ts/SKILL.md +1 -1
- package/Dev/i18n/es/Python/commands/generate-model.md +3 -1
- package/Dev/i18n/es/Python/rules/06-tooling.md +1 -1
- package/Dev/i18n/es/Python/rules/08-quality-tools.md +1 -1
- package/Dev/i18n/es/Python/rules/11-security-python.md +2 -2
- package/Dev/i18n/es/React/agents/react-reviewer.md +9 -5
- package/Dev/i18n/es/React/rules/06-tooling.md +0 -2
- package/Dev/i18n/es/React/rules/11-security-react.md +9 -0
- package/Dev/i18n/es/ReactNative/agents/reactnative-reviewer.md +4 -4
- package/Dev/i18n/es/ReactNative/rules/06-tooling.md +19 -3
- package/Dev/i18n/es/Symfony/agents/symfony-reviewer.md +5 -5
- package/Dev/i18n/es/Symfony/checklists/README.md +1 -1
- package/Dev/i18n/es/Symfony/checklists/new-feature.md +2 -2
- package/Dev/i18n/es/Symfony/checklists/pre-commit.md +4 -4
- package/Dev/i18n/es/Symfony/checklists/refactoring.md +1 -1
- package/Dev/i18n/es/Symfony/commands/check-architecture.md +4 -4
- package/Dev/i18n/es/Symfony/commands/check-code-quality.md +15 -15
- package/Dev/i18n/es/Symfony/commands/check-security.md +32 -32
- package/Dev/i18n/es/Symfony/commands/check-testing.md +16 -16
- package/Dev/i18n/es/Symfony/rules/03-coding-standards.md +4 -4
- package/Dev/i18n/es/Symfony/rules/06-docker-hadolint.md +0 -4
- package/Dev/i18n/es/Symfony/rules/08-quality-tools.md +1 -1
- package/Dev/i18n/es/Symfony/rules/16-i18n.md +2 -0
- package/Dev/i18n/es/Symfony/rules/17-async.md +1 -0
- package/Dev/i18n/es/Symfony/rules/19-aggregates.md +1 -0
- package/Dev/i18n/es/Symfony/rules/20-domain-events.md +1 -0
- package/Dev/i18n/es/Team/commands/delivery.md +1 -1
- package/Dev/i18n/es/Vercel/CLAUDE.md.template +2 -2
- package/Dev/i18n/es/Vercel/agents/vercel-reviewer.md +7 -7
- package/Dev/i18n/es/Vite/CLAUDE.md.template +2 -2
- package/Dev/i18n/es/Vite/agents/vite-reviewer.md +19 -17
- package/Dev/i18n/es/Vite/commands/check-compliance.md +2 -2
- package/Dev/i18n/fr/Angular/agents/angular-reviewer.md +3 -3
- package/Dev/i18n/fr/Common/agents/devops-engineer.md +15 -1
- package/Dev/i18n/fr/Common/agents/ralph-conductor.md +12 -1
- package/Dev/i18n/fr/Common/agents/refactoring-specialist.md +9 -0
- package/Dev/i18n/fr/Common/agents/security-auditor.md +10 -7
- package/Dev/i18n/fr/Common/agents/tdd-coach.md +9 -0
- package/Dev/i18n/fr/Common/agents/uiux-orchestrator.md +10 -1
- package/Dev/i18n/fr/Common/commands/getting-started.md +2 -2
- package/Dev/i18n/fr/Common/commands/setup-rtk.md +2 -2
- package/Dev/i18n/fr/Common/rules/04-solid-principles.md +1 -1
- package/Dev/i18n/fr/Common/rules/05-kiss-dry-yagni.md +5 -2
- package/Dev/i18n/fr/Common/rules/10-documentation.md +1 -1
- package/Dev/i18n/fr/Common/rules/11-security.md +76 -73
- package/Dev/i18n/fr/Common/rules/12-context-management.md +30 -20
- package/Dev/i18n/fr/Common/templates/settings.json.template +6 -6
- package/Dev/i18n/fr/Flutter/agents/flutter-reviewer.md +4 -4
- package/Dev/i18n/fr/Flutter/rules/06-tooling.md +10 -4
- package/Dev/i18n/fr/Flutter/rules/08-quality-tools.md +1 -1
- package/Dev/i18n/fr/PHP/agents/php-reviewer.md +6 -6
- package/Dev/i18n/fr/PHP/commands/check-compliance.md +3 -3
- package/Dev/i18n/fr/PHP/rules/03-coding-standards.md +4 -2
- package/Dev/i18n/fr/PHP/rules/06-tooling.md +4 -7
- package/Dev/i18n/fr/PHP/rules/08-quality-tools.md +2 -2
- package/Dev/i18n/fr/Paperclip/CLAUDE.md.template +2 -2
- package/Dev/i18n/fr/Paperclip/README.md +1 -1
- package/Dev/i18n/fr/Paperclip/commands/setup-company.md +1 -1
- package/Dev/i18n/fr/Paperclip/rules/06-tooling.md +3 -3
- package/Dev/i18n/fr/Paperclip/rules/11-security-paperclip.md +9 -0
- package/Dev/i18n/fr/Paperclip/skills/coding-standards-ts/SKILL.md +1 -1
- package/Dev/i18n/fr/Python/commands/generate-model.md +3 -1
- package/Dev/i18n/fr/Python/rules/06-tooling.md +1 -3
- package/Dev/i18n/fr/Python/rules/08-quality-tools.md +1 -1
- package/Dev/i18n/fr/Python/rules/11-security-python.md +2 -2
- package/Dev/i18n/fr/React/agents/react-reviewer.md +9 -5
- package/Dev/i18n/fr/React/rules/06-tooling.md +0 -2
- package/Dev/i18n/fr/React/rules/11-security-react.md +9 -0
- package/Dev/i18n/fr/ReactNative/agents/reactnative-reviewer.md +4 -4
- package/Dev/i18n/fr/ReactNative/rules/06-tooling.md +19 -3
- package/Dev/i18n/fr/Symfony/agents/symfony-reviewer.md +5 -5
- package/Dev/i18n/fr/Symfony/checklists/README.md +1 -1
- package/Dev/i18n/fr/Symfony/checklists/new-feature.md +2 -2
- package/Dev/i18n/fr/Symfony/checklists/pre-commit.md +4 -4
- package/Dev/i18n/fr/Symfony/checklists/refactoring.md +1 -1
- package/Dev/i18n/fr/Symfony/commands/check-architecture.md +4 -4
- package/Dev/i18n/fr/Symfony/commands/check-code-quality.md +15 -15
- package/Dev/i18n/fr/Symfony/commands/check-security.md +32 -32
- package/Dev/i18n/fr/Symfony/commands/check-testing.md +16 -16
- package/Dev/i18n/fr/Symfony/rules/03-coding-standards.md +4 -4
- package/Dev/i18n/fr/Symfony/rules/06-docker-hadolint.md +0 -4
- package/Dev/i18n/fr/Symfony/rules/08-quality-tools.md +1 -1
- package/Dev/i18n/fr/Symfony/rules/16-i18n.md +2 -0
- package/Dev/i18n/fr/Symfony/rules/17-async.md +1 -0
- package/Dev/i18n/fr/Symfony/rules/19-aggregates.md +1 -0
- package/Dev/i18n/fr/Symfony/rules/20-domain-events.md +1 -0
- package/Dev/i18n/fr/Team/commands/delivery.md +1 -1
- package/Dev/i18n/fr/Vercel/CLAUDE.md.template +2 -2
- package/Dev/i18n/fr/Vercel/agents/vercel-reviewer.md +8 -8
- package/Dev/i18n/fr/Vite/CLAUDE.md.template +2 -2
- package/Dev/i18n/fr/Vite/agents/vite-reviewer.md +19 -17
- package/Dev/i18n/fr/Vite/commands/check-compliance.md +2 -2
- package/Dev/i18n/pt/Angular/agents/angular-reviewer.md +3 -3
- package/Dev/i18n/pt/Common/agents/devops-engineer.md +15 -1
- package/Dev/i18n/pt/Common/agents/ralph-conductor.md +11 -0
- package/Dev/i18n/pt/Common/agents/refactoring-specialist.md +9 -0
- package/Dev/i18n/pt/Common/agents/security-auditor.md +10 -7
- package/Dev/i18n/pt/Common/agents/tdd-coach.md +9 -0
- package/Dev/i18n/pt/Common/agents/uiux-orchestrator.md +10 -1
- package/Dev/i18n/pt/Common/commands/getting-started.md +2 -2
- package/Dev/i18n/pt/Common/commands/setup-rtk.md +2 -2
- package/Dev/i18n/pt/Common/rules/04-solid-principles.md +1 -1
- package/Dev/i18n/pt/Common/rules/05-kiss-dry-yagni.md +5 -2
- package/Dev/i18n/pt/Common/rules/10-documentation.md +1 -1
- package/Dev/i18n/pt/Common/rules/11-security.md +76 -73
- package/Dev/i18n/pt/Common/rules/12-context-management.md +29 -19
- package/Dev/i18n/pt/Common/templates/settings.json.template +6 -6
- package/Dev/i18n/pt/Flutter/agents/flutter-reviewer.md +4 -4
- package/Dev/i18n/pt/Flutter/rules/06-tooling.md +12 -6
- package/Dev/i18n/pt/Flutter/rules/08-quality-tools.md +1 -1
- package/Dev/i18n/pt/PHP/agents/php-reviewer.md +6 -6
- package/Dev/i18n/pt/PHP/commands/check-compliance.md +3 -3
- package/Dev/i18n/pt/PHP/rules/03-coding-standards.md +4 -2
- package/Dev/i18n/pt/PHP/rules/06-tooling.md +4 -7
- package/Dev/i18n/pt/PHP/rules/08-quality-tools.md +2 -2
- package/Dev/i18n/pt/Paperclip/CLAUDE.md.template +2 -2
- package/Dev/i18n/pt/Paperclip/README.md +1 -1
- package/Dev/i18n/pt/Paperclip/commands/setup-company.md +1 -1
- package/Dev/i18n/pt/Paperclip/rules/06-tooling.md +3 -3
- package/Dev/i18n/pt/Paperclip/rules/11-security-paperclip.md +9 -0
- package/Dev/i18n/pt/Paperclip/skills/coding-standards-ts/SKILL.md +1 -1
- package/Dev/i18n/pt/Python/commands/generate-model.md +3 -1
- package/Dev/i18n/pt/Python/rules/06-tooling.md +1 -1
- package/Dev/i18n/pt/Python/rules/08-quality-tools.md +1 -1
- package/Dev/i18n/pt/Python/rules/11-security-python.md +2 -2
- package/Dev/i18n/pt/React/agents/react-reviewer.md +9 -5
- package/Dev/i18n/pt/React/rules/06-tooling.md +0 -2
- package/Dev/i18n/pt/React/rules/11-security-react.md +9 -0
- package/Dev/i18n/pt/ReactNative/agents/reactnative-reviewer.md +4 -4
- package/Dev/i18n/pt/ReactNative/rules/06-tooling.md +19 -3
- package/Dev/i18n/pt/Symfony/agents/symfony-reviewer.md +5 -5
- package/Dev/i18n/pt/Symfony/checklists/README.md +1 -1
- package/Dev/i18n/pt/Symfony/checklists/new-feature.md +2 -2
- package/Dev/i18n/pt/Symfony/checklists/pre-commit.md +4 -4
- package/Dev/i18n/pt/Symfony/checklists/refactoring.md +1 -1
- package/Dev/i18n/pt/Symfony/commands/check-architecture.md +4 -4
- package/Dev/i18n/pt/Symfony/commands/check-code-quality.md +15 -15
- package/Dev/i18n/pt/Symfony/commands/check-security.md +32 -32
- package/Dev/i18n/pt/Symfony/commands/check-testing.md +16 -16
- package/Dev/i18n/pt/Symfony/rules/03-coding-standards.md +4 -4
- package/Dev/i18n/pt/Symfony/rules/06-docker-hadolint.md +0 -4
- package/Dev/i18n/pt/Symfony/rules/08-quality-tools.md +1 -1
- package/Dev/i18n/pt/Symfony/rules/16-i18n.md +2 -0
- package/Dev/i18n/pt/Symfony/rules/17-async.md +1 -0
- package/Dev/i18n/pt/Symfony/rules/19-aggregates.md +1 -0
- package/Dev/i18n/pt/Symfony/rules/20-domain-events.md +1 -0
- package/Dev/i18n/pt/Team/commands/delivery.md +1 -1
- package/Dev/i18n/pt/Vercel/CLAUDE.md.template +2 -2
- package/Dev/i18n/pt/Vercel/agents/vercel-reviewer.md +8 -8
- package/Dev/i18n/pt/Vite/CLAUDE.md.template +2 -2
- package/Dev/i18n/pt/Vite/agents/vite-reviewer.md +19 -17
- package/Dev/i18n/pt/Vite/commands/check-compliance.md +2 -2
- package/Dev/scripts/install-paperclip-rules.sh +5 -5
- package/Dev/scripts/install-vite-rules.sh +4 -4
- package/Infra/i18n/de/Ansible/agents/ansible-architect.md +2 -0
- package/Infra/i18n/de/Docker/commands/docker-architecture.md +0 -2
- package/Infra/i18n/de/Docker/commands/docker-compose-setup.md +0 -2
- package/Infra/i18n/de/FrankenPHP/agents/frankenphp-architect.md +4 -1
- 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 +14 -4
- package/Infra/i18n/de/Hcloud/agents/hcloud-cost.md +1 -1
- package/Infra/i18n/de/Hcloud/agents/hcloud-debug.md +1 -1
- package/Infra/i18n/de/Hcloud/agents/hcloud-deployment.md +2 -2
- package/Infra/i18n/de/Hcloud/agents/hcloud-security.md +1 -1
- package/Infra/i18n/de/Hcloud/commands/architecture.md +3 -3
- package/Infra/i18n/de/Hcloud/commands/debug.md +1 -1
- package/Infra/i18n/de/Kubernetes/agents/kubernetes-architect.md +3 -3
- package/Infra/i18n/de/Kubernetes/commands/architecture.md +1 -1
- package/Infra/i18n/de/OpenTofu/agents/opentofu-architect.md +1 -1
- package/Infra/i18n/de/OpenTofu/agents/opentofu-deployment.md +2 -2
- package/Infra/i18n/de/PgBouncer/agents/pgbouncer-architect.md +11 -2
- package/Infra/i18n/de/PgBouncer/agents/pgbouncer-debug.md +1 -0
- package/Infra/i18n/de/PgBouncer/agents/pgbouncer-deployment.md +38 -30
- package/Infra/i18n/de/PgBouncer/commands/deploy-setup.md +1 -1
- package/Infra/i18n/en/Ansible/agents/ansible-architect.md +2 -0
- package/Infra/i18n/en/Docker/commands/docker-architecture.md +0 -2
- package/Infra/i18n/en/Docker/commands/docker-compose-setup.md +0 -2
- package/Infra/i18n/en/FrankenPHP/agents/frankenphp-architect.md +4 -1
- 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 +14 -4
- package/Infra/i18n/en/Hcloud/agents/hcloud-cost.md +1 -1
- package/Infra/i18n/en/Hcloud/agents/hcloud-debug.md +1 -1
- package/Infra/i18n/en/Hcloud/agents/hcloud-deployment.md +2 -2
- package/Infra/i18n/en/Hcloud/agents/hcloud-security.md +1 -1
- package/Infra/i18n/en/Hcloud/commands/architecture.md +3 -3
- package/Infra/i18n/en/Hcloud/commands/debug.md +1 -1
- package/Infra/i18n/en/Kubernetes/agents/kubernetes-architect.md +3 -3
- package/Infra/i18n/en/Kubernetes/commands/architecture.md +1 -1
- package/Infra/i18n/en/OpenTofu/agents/opentofu-architect.md +1 -1
- package/Infra/i18n/en/OpenTofu/agents/opentofu-deployment.md +2 -2
- package/Infra/i18n/en/PgBouncer/agents/pgbouncer-architect.md +11 -2
- package/Infra/i18n/en/PgBouncer/agents/pgbouncer-debug.md +1 -0
- package/Infra/i18n/en/PgBouncer/agents/pgbouncer-deployment.md +38 -30
- package/Infra/i18n/en/PgBouncer/commands/deploy-setup.md +1 -1
- package/Infra/i18n/es/Ansible/agents/ansible-architect.md +2 -0
- package/Infra/i18n/es/Docker/commands/docker-architecture.md +0 -2
- package/Infra/i18n/es/Docker/commands/docker-compose-setup.md +0 -2
- package/Infra/i18n/es/FrankenPHP/agents/frankenphp-architect.md +4 -1
- 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 +14 -4
- package/Infra/i18n/es/Hcloud/agents/hcloud-cost.md +1 -1
- package/Infra/i18n/es/Hcloud/agents/hcloud-debug.md +1 -1
- package/Infra/i18n/es/Hcloud/agents/hcloud-deployment.md +2 -2
- package/Infra/i18n/es/Hcloud/agents/hcloud-security.md +1 -1
- package/Infra/i18n/es/Hcloud/commands/architecture.md +3 -3
- package/Infra/i18n/es/Hcloud/commands/debug.md +1 -1
- package/Infra/i18n/es/Kubernetes/agents/kubernetes-architect.md +3 -3
- package/Infra/i18n/es/Kubernetes/commands/architecture.md +1 -1
- package/Infra/i18n/es/OpenTofu/agents/opentofu-architect.md +1 -1
- package/Infra/i18n/es/OpenTofu/agents/opentofu-deployment.md +2 -2
- package/Infra/i18n/es/PgBouncer/agents/pgbouncer-architect.md +11 -2
- package/Infra/i18n/es/PgBouncer/agents/pgbouncer-debug.md +1 -0
- package/Infra/i18n/es/PgBouncer/agents/pgbouncer-deployment.md +38 -30
- package/Infra/i18n/es/PgBouncer/commands/deploy-setup.md +1 -1
- package/Infra/i18n/fr/Ansible/agents/ansible-architect.md +2 -0
- package/Infra/i18n/fr/Docker/commands/docker-architecture.md +0 -2
- package/Infra/i18n/fr/Docker/commands/docker-compose-setup.md +0 -2
- package/Infra/i18n/fr/FrankenPHP/agents/frankenphp-architect.md +4 -1
- 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 +14 -4
- package/Infra/i18n/fr/Hcloud/agents/hcloud-cost.md +1 -1
- package/Infra/i18n/fr/Hcloud/agents/hcloud-debug.md +1 -1
- package/Infra/i18n/fr/Hcloud/agents/hcloud-deployment.md +2 -2
- package/Infra/i18n/fr/Hcloud/agents/hcloud-security.md +1 -1
- package/Infra/i18n/fr/Hcloud/commands/architecture.md +3 -3
- package/Infra/i18n/fr/Hcloud/commands/debug.md +1 -1
- package/Infra/i18n/fr/Kubernetes/agents/kubernetes-architect.md +3 -3
- package/Infra/i18n/fr/Kubernetes/commands/architecture.md +1 -1
- package/Infra/i18n/fr/OpenTofu/agents/opentofu-architect.md +1 -1
- package/Infra/i18n/fr/OpenTofu/agents/opentofu-deployment.md +2 -2
- package/Infra/i18n/fr/PgBouncer/agents/pgbouncer-architect.md +11 -2
- package/Infra/i18n/fr/PgBouncer/agents/pgbouncer-debug.md +1 -0
- package/Infra/i18n/fr/PgBouncer/agents/pgbouncer-deployment.md +38 -30
- package/Infra/i18n/fr/PgBouncer/commands/deploy-setup.md +1 -1
- package/Infra/i18n/pt/Ansible/agents/ansible-architect.md +2 -0
- package/Infra/i18n/pt/Docker/commands/docker-architecture.md +0 -2
- package/Infra/i18n/pt/Docker/commands/docker-compose-setup.md +0 -2
- package/Infra/i18n/pt/FrankenPHP/agents/frankenphp-architect.md +4 -1
- 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 +14 -4
- package/Infra/i18n/pt/Hcloud/agents/hcloud-cost.md +1 -1
- package/Infra/i18n/pt/Hcloud/agents/hcloud-debug.md +1 -1
- package/Infra/i18n/pt/Hcloud/agents/hcloud-deployment.md +2 -2
- package/Infra/i18n/pt/Hcloud/agents/hcloud-security.md +1 -1
- package/Infra/i18n/pt/Hcloud/commands/architecture.md +3 -3
- package/Infra/i18n/pt/Hcloud/commands/debug.md +1 -1
- package/Infra/i18n/pt/Kubernetes/agents/kubernetes-architect.md +3 -3
- package/Infra/i18n/pt/Kubernetes/commands/architecture.md +1 -1
- package/Infra/i18n/pt/OpenTofu/agents/opentofu-architect.md +1 -1
- package/Infra/i18n/pt/OpenTofu/agents/opentofu-deployment.md +2 -2
- package/Infra/i18n/pt/PgBouncer/agents/pgbouncer-architect.md +11 -2
- package/Infra/i18n/pt/PgBouncer/agents/pgbouncer-debug.md +1 -0
- package/Infra/i18n/pt/PgBouncer/agents/pgbouncer-deployment.md +38 -30
- package/Infra/i18n/pt/PgBouncer/commands/deploy-setup.md +1 -1
- package/README.md +30 -22
- package/Tools/Ralph/.ralph/hooks/pre-tool-context.sh +2 -2
- package/Tools/StatusLine/README.md +1 -1
- package/bundles/cursor/.cursorrules +32 -32
- package/bundles/windsurf/.windsurfrules +32 -32
- package/cli/lib/doctor.js +15 -15
- package/cli/lib/tech-registry.js +10 -10
- package/package.json +2 -1
|
@@ -9,7 +9,7 @@ A seguranca e uma **prioridade absoluta**. Este documento apresenta os principio
|
|
|
9
9
|
**Referencias:**
|
|
10
10
|
- **OWASP Top 10:2025** (publicado novembro 2025)
|
|
11
11
|
- CWE/SANS Top 25
|
|
12
|
-
- SLSA 1.
|
|
12
|
+
- SLSA 1.2
|
|
13
13
|
|
|
14
14
|
---
|
|
15
15
|
|
|
@@ -31,9 +31,11 @@ A seguranca e uma **prioridade absoluta**. Este documento apresenta os principio
|
|
|
31
31
|
## OWASP Top 10:2025
|
|
32
32
|
|
|
33
33
|
> **Fonte:** [OWASP Top 10:2025](https://owasp.org/Top10/2025/) — publicado novembro 2025.
|
|
34
|
-
> Principais mudancas vs 2021: SSRF consolidado em
|
|
34
|
+
> Principais mudancas vs 2021: SSRF consolidado em A01, Security Misconfiguration sobe para A02, Software Supply Chain Failures novo em A03 (absorve o antigo "Vulnerable and Outdated Components"), Software or Data Integrity Failures em A08, Mishandling of Exceptional Conditions novo em A10.
|
|
35
35
|
|
|
36
|
-
|
|
36
|
+
> **Listas relacionadas:** OWASP Top 10 for Agentic Applications 2026 (publicado em 2025-12-09) e OWASP Top 10 for LLM Applications 2025 ([genai.owasp.org](https://genai.owasp.org/)) para codigo de agentes IA/LLM; OWASP ASVS 5.0.0 para requisitos de verificacao.
|
|
37
|
+
|
|
38
|
+
### A01. Broken Access Control (inclui SSRF consolidado)
|
|
37
39
|
|
|
38
40
|
```
|
|
39
41
|
RISCO
|
|
@@ -50,7 +52,41 @@ PROTECAO
|
|
|
50
52
|
- Sem acesso a rede interna a partir dos inputs do usuario
|
|
51
53
|
```
|
|
52
54
|
|
|
53
|
-
###
|
|
55
|
+
### A02. Security Misconfiguration
|
|
56
|
+
|
|
57
|
+
```
|
|
58
|
+
RISCO
|
|
59
|
+
- Configuracoes padrao nao modificadas
|
|
60
|
+
- Funcionalidades desnecessarias ativadas
|
|
61
|
+
- Mensagens de erro detalhadas
|
|
62
|
+
- Permissoes muito amplas
|
|
63
|
+
|
|
64
|
+
PROTECAO
|
|
65
|
+
- Hardening das configuracoes
|
|
66
|
+
- Desativar o desnecessario
|
|
67
|
+
- Mensagens de erro genericas em producao
|
|
68
|
+
- Principio do menor privilegio
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
### A03. Software Supply Chain Failures (novo em 2025)
|
|
72
|
+
|
|
73
|
+
```
|
|
74
|
+
RISCO
|
|
75
|
+
- Dependencias com vulnerabilidades conhecidas
|
|
76
|
+
- Componentes sem procedencia verificavel
|
|
77
|
+
- CI/CD nao seguro
|
|
78
|
+
- Artefatos nao assinados
|
|
79
|
+
|
|
80
|
+
PROTECAO
|
|
81
|
+
- SLSA 1.2 niveis 1-3 (fontes verificaveis, builds reproduziveis, procedencia)
|
|
82
|
+
- SBOM automatico (SPDX 3 ou CycloneDX 1.7) em cada build
|
|
83
|
+
- Sigstore keyless signing (cosign) para artefatos e imagens
|
|
84
|
+
- Dependabot / Renovate com scan de CVE (Trivy, Grype)
|
|
85
|
+
- Versoes fixadas em todas as dependencias (sem "latest")
|
|
86
|
+
- Componentes desatualizados ou vulneraveis (antes A06:2021): inventario, atualizacoes regulares, `npm audit --omit=dev --audit-level=moderate`
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
### A04. Cryptographic Failures
|
|
54
90
|
|
|
55
91
|
```
|
|
56
92
|
RISCO
|
|
@@ -62,12 +98,12 @@ RISCO
|
|
|
62
98
|
PROTECAO
|
|
63
99
|
- Criptografar dados sensiveis em repouso
|
|
64
100
|
- Utilizar TLS 1.3 em transito
|
|
65
|
-
- Hash de senhas: Argon2id (128 MiB RAM, t
|
|
101
|
+
- Hash de senhas: Argon2id (minimo OWASP 19 MiB RAM, t=2, p=1; recomendacao interna 128 MiB RAM, t≥3, p=1) — NUNCA MD5/SHA1 ; bcrypt apenas como alternativa legacy se Argon2id/scrypt nao estiverem disponiveis (work factor OWASP ≥ 10; ≥ 12 aqui)
|
|
66
102
|
- JWT: EdDSA (Ed25519) preferido > ES256 > RS256
|
|
67
103
|
- Segredos em um vault (nao no codigo)
|
|
68
104
|
```
|
|
69
105
|
|
|
70
|
-
###
|
|
106
|
+
### A05. Injection
|
|
71
107
|
|
|
72
108
|
```
|
|
73
109
|
RISCO
|
|
@@ -82,7 +118,7 @@ PROTECAO
|
|
|
82
118
|
- Escape das saidas
|
|
83
119
|
```
|
|
84
120
|
|
|
85
|
-
###
|
|
121
|
+
### A06. Insecure Design
|
|
86
122
|
|
|
87
123
|
```
|
|
88
124
|
RISCO
|
|
@@ -97,55 +133,7 @@ PROTECAO
|
|
|
97
133
|
- Rate limiting
|
|
98
134
|
```
|
|
99
135
|
|
|
100
|
-
###
|
|
101
|
-
|
|
102
|
-
```
|
|
103
|
-
RISCO
|
|
104
|
-
- Configuracoes padrao nao modificadas
|
|
105
|
-
- Funcionalidades desnecessarias ativadas
|
|
106
|
-
- Mensagens de erro detalhadas
|
|
107
|
-
- Permissoes muito amplas
|
|
108
|
-
|
|
109
|
-
PROTECAO
|
|
110
|
-
- Hardening das configuracoes
|
|
111
|
-
- Desativar o desnecessario
|
|
112
|
-
- Mensagens de erro genericas em producao
|
|
113
|
-
- Principio do menor privilegio
|
|
114
|
-
```
|
|
115
|
-
|
|
116
|
-
### 6. Software Supply Chain Failures (novo em 2025)
|
|
117
|
-
|
|
118
|
-
```
|
|
119
|
-
RISCO
|
|
120
|
-
- Dependencias com vulnerabilidades conhecidas
|
|
121
|
-
- Componentes sem procedencia verificavel
|
|
122
|
-
- CI/CD nao seguro
|
|
123
|
-
- Artefatos nao assinados
|
|
124
|
-
|
|
125
|
-
PROTECAO
|
|
126
|
-
- SLSA 1.0 niveis 1-3 (fontes verificaveis, builds reproduziveis, procedencia)
|
|
127
|
-
- SBOM automatico (SPDX 3 ou CycloneDX) em cada build
|
|
128
|
-
- Sigstore keyless signing (cosign) para artefatos e imagens
|
|
129
|
-
- Dependabot / Renovate com scan de CVE (Trivy, Grype)
|
|
130
|
-
- Versoes fixadas em todas as dependencias (sem "latest")
|
|
131
|
-
```
|
|
132
|
-
|
|
133
|
-
### 7. Mishandling of Exceptional Conditions (novo em 2025)
|
|
134
|
-
|
|
135
|
-
```
|
|
136
|
-
RISCO
|
|
137
|
-
- Stack traces expostos em producao
|
|
138
|
-
- Excecoes nao tratadas que vazam dados internos
|
|
139
|
-
- Comportamento indefinido em inputs mal formados
|
|
140
|
-
|
|
141
|
-
PROTECAO
|
|
142
|
-
- Registrar erros em log, nunca expor stack traces em producao
|
|
143
|
-
- Gestores de excecoes globais (error boundaries)
|
|
144
|
-
- Mensagens de erro genericas no lado do cliente
|
|
145
|
-
- Fail fast com erros de negocio claros
|
|
146
|
-
```
|
|
147
|
-
|
|
148
|
-
### 8. Authentication Failures
|
|
136
|
+
### A07. Authentication Failures
|
|
149
137
|
|
|
150
138
|
```
|
|
151
139
|
RISCO
|
|
@@ -162,7 +150,21 @@ PROTECAO
|
|
|
162
150
|
- Deteccao de brute force
|
|
163
151
|
```
|
|
164
152
|
|
|
165
|
-
###
|
|
153
|
+
### A08. Software or Data Integrity Failures
|
|
154
|
+
|
|
155
|
+
```
|
|
156
|
+
RISCO
|
|
157
|
+
- Dependencias nao verificadas
|
|
158
|
+
- CI/CD nao seguro
|
|
159
|
+
- Atualizacoes nao assinadas
|
|
160
|
+
|
|
161
|
+
PROTECAO
|
|
162
|
+
- Verificacao de assinaturas
|
|
163
|
+
- CI/CD seguro
|
|
164
|
+
- Verificacoes de integridade (checksums)
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
### A09. Security Logging and Alerting Failures
|
|
166
168
|
|
|
167
169
|
```
|
|
168
170
|
RISCO
|
|
@@ -177,18 +179,19 @@ PROTECAO
|
|
|
177
179
|
- Retencao apropriada
|
|
178
180
|
```
|
|
179
181
|
|
|
180
|
-
###
|
|
182
|
+
### A10. Mishandling of Exceptional Conditions (novo em 2025)
|
|
181
183
|
|
|
182
184
|
```
|
|
183
185
|
RISCO
|
|
184
|
-
-
|
|
185
|
-
-
|
|
186
|
-
-
|
|
186
|
+
- Stack traces expostos em producao
|
|
187
|
+
- Excecoes nao tratadas que vazam dados internos
|
|
188
|
+
- Comportamento indefinido em inputs mal formados
|
|
187
189
|
|
|
188
190
|
PROTECAO
|
|
189
|
-
-
|
|
190
|
-
-
|
|
191
|
-
-
|
|
191
|
+
- Registrar erros em log, nunca expor stack traces em producao
|
|
192
|
+
- Gestores de excecoes globais (error boundaries)
|
|
193
|
+
- Mensagens de erro genericas no lado do cliente
|
|
194
|
+
- Fail fast com erros de negocio claros
|
|
192
195
|
```
|
|
193
196
|
|
|
194
197
|
---
|
|
@@ -251,8 +254,8 @@ Regras OWASP 2026:
|
|
|
251
254
|
- Minimo 12 caracteres
|
|
252
255
|
- Maiusculas, minusculas, numeros, especiais
|
|
253
256
|
- Nao estar em listas de senhas comprometidas
|
|
254
|
-
- Hash com Argon2id (128 MiB RAM, t
|
|
255
|
-
- NUNCA MD5/SHA1
|
|
257
|
+
- Hash com Argon2id (minimo OWASP 19 MiB RAM, t=2, p=1; recomendacao interna 128 MiB RAM, t≥3, p=1)
|
|
258
|
+
- NUNCA MD5/SHA1 ; bcrypt apenas como alternativa legacy se Argon2id/scrypt nao estiverem disponiveis (work factor OWASP ≥ 10; ≥ 12 aqui)
|
|
256
259
|
- Salt unico por usuario (gerenciado pelo Argon2id)
|
|
257
260
|
|
|
258
261
|
// BOM
|
|
@@ -390,9 +393,9 @@ function getOrder(orderId, currentUser):
|
|
|
390
393
|
|
|
391
394
|
```
|
|
392
395
|
Senhas:
|
|
393
|
-
-> Hash com Argon2id (128 MiB RAM, t
|
|
396
|
+
-> Hash com Argon2id (minimo OWASP 19 MiB RAM, t=2, p=1; recomendacao interna 128 MiB RAM, t≥3, p=1)
|
|
394
397
|
-> NUNCA em texto plano
|
|
395
|
-
-> NUNCA
|
|
398
|
+
-> NUNCA MD5/SHA1 ; bcrypt apenas como alternativa legacy se Argon2id/scrypt nao estiverem disponiveis (work factor OWASP ≥ 10; ≥ 12 aqui)
|
|
396
399
|
|
|
397
400
|
Dados pessoais (LGPD):
|
|
398
401
|
-> Criptografia em repouso (AES-256-GCM)
|
|
@@ -483,7 +486,7 @@ Content-Security-Policy:
|
|
|
483
486
|
|
|
484
487
|
> **Referencia:** [Supply Chain Security 2026](https://kawaldeepsingh.medium.com/practical-software-supply-chain-security-2026-sboms-signing-slsa-reproducible-builds-a-0416cfac32dc)
|
|
485
488
|
|
|
486
|
-
### SLSA 1.
|
|
489
|
+
### SLSA 1.2 (Supply-chain Levels for Software Artifacts)
|
|
487
490
|
|
|
488
491
|
| Nivel | Requisitos | Impacto |
|
|
489
492
|
|-------|------------|---------|
|
|
@@ -495,7 +498,7 @@ Content-Security-Policy:
|
|
|
495
498
|
|
|
496
499
|
```
|
|
497
500
|
Gerar automaticamente em cada build:
|
|
498
|
-
- Formato SPDX 3 ou CycloneDX
|
|
501
|
+
- Formato SPDX 3 ou CycloneDX 1.7
|
|
499
502
|
- Listar todas as dependencias diretas e transitivas
|
|
500
503
|
- Incluir versoes, licencas, CVEs conhecidos
|
|
501
504
|
- Publicar no registro de artefatos
|
|
@@ -517,7 +520,7 @@ cosign sign --identity-token=$(cat $ACTIONS_ID_TOKEN_REQUEST_TOKEN) \
|
|
|
517
520
|
|
|
518
521
|
### Checklist Supply Chain
|
|
519
522
|
|
|
520
|
-
- [ ] SBOM gerado automaticamente (SPDX 3 ou CycloneDX)
|
|
523
|
+
- [ ] SBOM gerado automaticamente (SPDX 3 ou CycloneDX 1.7)
|
|
521
524
|
- [ ] Artefatos assinados com Sigstore/cosign
|
|
522
525
|
- [ ] Procedencia SLSA 1+ documentada
|
|
523
526
|
- [ ] Dependencias com versoes fixadas (hash ou versao exata)
|
|
@@ -653,7 +656,7 @@ Antes de instalar um servidor MCP de terceiros:
|
|
|
653
656
|
- [ ] Validacao de entradas do lado do servidor
|
|
654
657
|
- [ ] Consultas parametrizadas (sem concatenacao SQL)
|
|
655
658
|
- [ ] Escape das saidas (prevencao XSS)
|
|
656
|
-
- [ ] Senhas com hash usando **Argon2id** (128 MiB, t
|
|
659
|
+
- [ ] Senhas com hash usando **Argon2id** (minimo OWASP 19 MiB, t=2, p=1; recomendacao interna 128 MiB, t≥3, p=1)
|
|
657
660
|
- [ ] Sessoes seguras (httpOnly, secure, sameSite)
|
|
658
661
|
- [ ] Verificacao de permissoes a cada requisicao
|
|
659
662
|
- [ ] Segredos em variaveis de ambiente ou Vault
|
|
@@ -672,7 +675,7 @@ Antes de instalar um servidor MCP de terceiros:
|
|
|
672
675
|
|
|
673
676
|
### Supply Chain
|
|
674
677
|
|
|
675
|
-
- [ ] SBOM gerado (SPDX 3 ou CycloneDX)
|
|
678
|
+
- [ ] SBOM gerado (SPDX 3 ou CycloneDX 1.7)
|
|
676
679
|
- [ ] Artefatos assinados (Sigstore/cosign)
|
|
677
680
|
- [ ] Procedencia SLSA 1+ documentada
|
|
678
681
|
- [ ] Dependencias fixadas na versao exata
|
|
@@ -41,15 +41,15 @@ A janela de contexto e **O recurso critico** no Claude Code. Cada token conta. U
|
|
|
41
41
|
|
|
42
42
|
### Limite recomendado
|
|
43
43
|
|
|
44
|
-
> **CLAUDE.md principal:
|
|
44
|
+
> **CLAUDE.md principal: menos de 200 linhas (meta da Anthropic).**
|
|
45
45
|
> Cada instrucao adicional dilui a atencao nas instrucoes existentes.
|
|
46
46
|
|
|
47
47
|
### Estrategia de modularidade
|
|
48
48
|
|
|
49
49
|
```
|
|
50
50
|
.claude/
|
|
51
|
-
CLAUDE.md <- Resumo (
|
|
52
|
-
rules/ <- Regras detalhadas (carregadas
|
|
51
|
+
CLAUDE.md <- Resumo (menos de 200 linhas)
|
|
52
|
+
rules/ <- Regras detalhadas (carregadas no arranque; a pedido com frontmatter `paths:`)
|
|
53
53
|
01-workflow-analysis.md
|
|
54
54
|
04-solid-principles.md
|
|
55
55
|
05-kiss-dry-yagni.md
|
|
@@ -58,6 +58,8 @@ A janela de contexto e **O recurso critico** no Claude Code. Cada token conta. U
|
|
|
58
58
|
skills/ <- Competencias sob demanda
|
|
59
59
|
```
|
|
60
60
|
|
|
61
|
+
> **Nota:** os arquivos `.claude/rules/*.md` sem frontmatter `paths:` são carregados no arranque com a mesma prioridade que `.claude/CLAUDE.md`. Apenas as regras com globs `paths:` são carregadas a pedido, quando Claude trabalha em arquivos correspondentes.
|
|
62
|
+
|
|
61
63
|
### Boas praticas
|
|
62
64
|
|
|
63
65
|
| Pratica | Descricao |
|
|
@@ -352,11 +354,14 @@ Ajustar o nível de esforço do modelo de acordo com a complexidade da tarefa:
|
|
|
352
354
|
|
|
353
355
|
| Comando | Modelo | Uso |
|
|
354
356
|
|---------|--------|-----|
|
|
355
|
-
| `/effort low` | Haiku
|
|
356
|
-
| `/effort medium` | Sonnet
|
|
357
|
-
| `/effort high` | Opus
|
|
358
|
-
| `/effort xhigh` | Opus
|
|
359
|
-
| `/effort ultracode` | Opus
|
|
357
|
+
| `/effort low` | Haiku 5.5 | Tarefas simples, lookups, classificação |
|
|
358
|
+
| `/effort medium` | Sonnet 5.5 | Implementação padrão |
|
|
359
|
+
| `/effort high` | Opus 5.5 | Raciocínio complexo, arquitetura |
|
|
360
|
+
| `/effort xhigh` | Opus 5.5 (extended thinking) | Decisões críticas, migrações complexas, ADR |
|
|
361
|
+
| `/effort ultracode` | Opus 5.5 (toggle separado desde v2.1.284, Dynamic Workflows) | Modo de máximo débito de código — pipelines automatizados, geração massiva |
|
|
362
|
+
|
|
363
|
+
> **Esforço padrão por modelo:** medium no Opus 5.5 e Haiku 5.5; high no Sonnet 5.5, Fable 5.1 e modelos legacy.
|
|
364
|
+
> **Fable 5.1** (`claude-fable-5-1`, $10/$50 por Mtok) é um modelo atual, adequado para agentes criativos/narrativos. **Mythos** tem disponibilidade limitada (apenas Cyber Verification Program).
|
|
360
365
|
|
|
361
366
|
### Alerta de inatividade (v2.1.84+)
|
|
362
367
|
|
|
@@ -539,17 +544,17 @@ CLAUDE.local.md
|
|
|
539
544
|
|
|
540
545
|
### Preferir ponteiros sobre copias
|
|
541
546
|
|
|
542
|
-
|
|
547
|
+
Não copiar código no CLAUDE.md — ele se torna obsoleto. Atenção: os imports `@caminho` são carregados no arranque junto com o arquivo que os importa: evitam duplicação mas **não reduzem** o custo de contexto. Para carga a pedido, citar o caminho sem `@`, ou usar uma regra com frontmatter `paths:` / um skill:
|
|
543
548
|
|
|
544
549
|
```markdown
|
|
545
550
|
# No CLAUDE.md:
|
|
546
|
-
Ver @.claude/references/symfony/CLAUDE.md para as convencoes Symfony.
|
|
547
|
-
|
|
551
|
+
Ver @.claude/references/symfony/CLAUDE.md para as convencoes Symfony. # sempre necessário: import @
|
|
552
|
+
Documentação da API pontual: docs/API.md # a pedido: caminho simples, sem @
|
|
548
553
|
```
|
|
549
554
|
|
|
550
555
|
### Enfase para regras criticas
|
|
551
556
|
|
|
552
|
-
Usar `IMPORTANT`, `VOCE DEVE`, `NUNCA` para
|
|
557
|
+
Usar `IMPORTANT`, `VOCE DEVE`, `NUNCA` com moderação, reservados para as poucas restrições realmente não negociáveis — se tudo é enfatizado, nada se destaca (recomendação da Anthropic):
|
|
553
558
|
|
|
554
559
|
```markdown
|
|
555
560
|
IMPORTANT: Nunca modificar as migracoes existentes.
|
|
@@ -617,10 +622,10 @@ Usar `/model` para trocar de modelo de acordo com a complexidade da tarefa:
|
|
|
617
622
|
|
|
618
623
|
| Comando | Modelo | Uso |
|
|
619
624
|
|---------|--------|-----|
|
|
620
|
-
| `/model haiku` | Haiku
|
|
621
|
-
| `/model sonnet` | Sonnet
|
|
622
|
-
| `/model opus` | Opus
|
|
623
|
-
| `/model opusplan` | Opus
|
|
625
|
+
| `/model haiku` | Haiku 5.5 | Tarefas simples, classificação |
|
|
626
|
+
| `/model sonnet` | Sonnet 5.5 | Tarefas padrão, implementação |
|
|
627
|
+
| `/model opus` | Opus 5.5 | Raciocínio complexo, arquitetura |
|
|
628
|
+
| `/model opusplan` | Opus 5.5 (plano) / Sonnet 5.5 (execução) | **Tiering dinâmico**: Opus para o Plan Mode, Sonnet para a execução — otimiza a relação custo/qualidade em tarefas longas |
|
|
624
629
|
|
|
625
630
|
### Filtragem de saida via hooks PostToolUse
|
|
626
631
|
|
|
@@ -631,12 +636,17 @@ Usar hooks PostToolUse para filtrar saidas verbosas antes que Claude as processe
|
|
|
631
636
|
"hooks": {
|
|
632
637
|
"PostToolUse": [{
|
|
633
638
|
"matcher": "Bash",
|
|
634
|
-
"
|
|
639
|
+
"hooks": [{
|
|
640
|
+
"type": "command",
|
|
641
|
+
"command": "jq -r '.tool_response.stdout // empty' | grep -A 5 -E '(FAIL|ERROR|WARN)' || echo 'All clear'"
|
|
642
|
+
}]
|
|
635
643
|
}]
|
|
636
644
|
}
|
|
637
645
|
}
|
|
638
646
|
```
|
|
639
647
|
|
|
648
|
+
> O payload do hook chega como JSON via stdin (`$TOOL_OUTPUT` / `$TOOL_INPUT` não são variáveis de ambiente); lê-lo com `jq`.
|
|
649
|
+
|
|
640
650
|
Reducao potencial: 90%+ para logs verbosos.
|
|
641
651
|
|
|
642
652
|
### Plugins Code Intelligence
|
|
@@ -737,7 +747,7 @@ Os arquivos sao fundidos em ordem alfabetica, permitindo que as equipes sobrepon
|
|
|
737
747
|
Configuração de **confiabilidade + custo**: até 3 modelos de fallback tentados em ordem quando o primário está sobrecarregado/indisponível (flag equivalente `--fallback-model`, aplica-se também a sessões interativas).
|
|
738
748
|
|
|
739
749
|
```json
|
|
740
|
-
{ "fallbackModel": ["claude-sonnet-
|
|
750
|
+
{ "fallbackModel": ["claude-sonnet-5-5", "claude-haiku-5-5"] }
|
|
741
751
|
```
|
|
742
752
|
|
|
743
753
|
Para os 5 agentes `opus` (security-auditor, database-architect, migration-specialist, ralph-conductor, tdd-coach), este fallback `opus → sonnet → haiku` evita interrupções em picos de carga do Opus sem degradar o trabalho atual. Exemplo pronto em `.claude/settings.local.json.example`.
|
|
@@ -792,7 +802,7 @@ Além do RTK e dos hooks nativos, o ecossistema do Claude Code oferece ferrament
|
|
|
792
802
|
|
|
793
803
|
| Ferramenta | Licença | Ângulo | Rec |
|
|
794
804
|
|------------|---------|--------|-----|
|
|
795
|
-
| **caveman** |
|
|
805
|
+
| **caveman** | Apache-2.0 | Compressão das respostas (output) ~65 % | ✅ Integrar |
|
|
796
806
|
| **code-review-graph** | MIT | Grafo AST, leitura do blast radius (−38× a −528×) | ✅ Integrar |
|
|
797
807
|
| **token-savior** | MIT | Índice simbólico + compactação do Bash (−80 %) | ✅ Integrar |
|
|
798
808
|
| **claude-token-efficient** | MIT | Regras CLAUDE.md anti-verbosidade (~63 % output) | ✅ Integrar |
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://json.schemastore.org/claude-code-settings.json",
|
|
3
3
|
|
|
4
4
|
"env": {
|
|
5
|
-
"CLAUDE_CODE_SUBAGENT_MODEL": "claude-sonnet-
|
|
5
|
+
"CLAUDE_CODE_SUBAGENT_MODEL": "claude-sonnet-5-5",
|
|
6
6
|
"CLAUDE_CODE_FORK_SUBAGENT": "1"
|
|
7
7
|
},
|
|
8
8
|
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
]
|
|
48
48
|
},
|
|
49
49
|
|
|
50
|
-
"model": "claude-opus-
|
|
50
|
+
"model": "claude-opus-5-5",
|
|
51
51
|
|
|
52
52
|
"plansDirectory": ".claude/plans",
|
|
53
53
|
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
{
|
|
60
60
|
"type": "command",
|
|
61
61
|
"command": "if [ -f .claude/context-essentials.md ]; then echo 'Context preserved for restoration after compaction'; else echo 'No context-essentials.md found'; fi",
|
|
62
|
-
"timeout":
|
|
62
|
+
"timeout": 5
|
|
63
63
|
}
|
|
64
64
|
]
|
|
65
65
|
}
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
{
|
|
103
103
|
"type": "command",
|
|
104
104
|
"command": "OUTPUT_SIZE=$(jq -r '.tool_response.stdout? // .tool_response? // .tool_result? // empty' | wc -c); if [ \"$OUTPUT_SIZE\" -gt 50000 ]; then echo 'NOTICE: Large output (>50KB). Extract only the relevant information and summarize in under 20 lines.'; elif [ \"$OUTPUT_SIZE\" -gt 10000 ]; then echo 'NOTICE: Moderate output (>10KB). Focus on errors, warnings, and key results.'; fi; exit 0",
|
|
105
|
-
"timeout":
|
|
105
|
+
"timeout": 3
|
|
106
106
|
}
|
|
107
107
|
]
|
|
108
108
|
},
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
{
|
|
113
113
|
"type": "command",
|
|
114
114
|
"command": "OUTPUT_SIZE=$(jq -r '.tool_response.stdout? // .tool_response? // .tool_result? // empty' | wc -c); if [ \"$OUTPUT_SIZE\" -gt 50000 ]; then echo 'NOTICE: Large output (>50KB). Summarize key findings in under 20 lines.'; fi; exit 0",
|
|
115
|
-
"timeout":
|
|
115
|
+
"timeout": 3
|
|
116
116
|
}
|
|
117
117
|
]
|
|
118
118
|
}
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
{
|
|
125
125
|
"type": "command",
|
|
126
126
|
"command": "if [ -f .claude/context-essentials.md ]; then jq -n --rawfile c .claude/context-essentials.md '{\"systemMessage\": (\"CONTEXT RESTORED AFTER COMPACTION:\\n\" + $c)}'; else echo '{}'; fi",
|
|
127
|
-
"timeout":
|
|
127
|
+
"timeout": 5
|
|
128
128
|
}
|
|
129
129
|
]
|
|
130
130
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: flutter-reviewer
|
|
3
|
-
description: Especialista em revisao de codigo Flutter 3.
|
|
3
|
+
description: Especialista em revisao de codigo Flutter 3.47 / Dart 3.13 — BLoC, Riverpod, otimizacao de widgets, codigo platform-specific
|
|
4
4
|
model: haiku
|
|
5
5
|
effort: low
|
|
6
6
|
maxTurns: 6
|
|
@@ -10,11 +10,11 @@ permissionMode: default
|
|
|
10
10
|
skills: [solid-principles, testing-flutter, security-flutter]
|
|
11
11
|
---
|
|
12
12
|
|
|
13
|
-
# Agente Auditor Flutter 3.
|
|
13
|
+
# Agente Auditor Flutter 3.47 / Dart 3.13
|
|
14
14
|
|
|
15
15
|
## Identidade
|
|
16
16
|
|
|
17
|
-
Sou um especialista em revisao de codigo Flutter 3.
|
|
17
|
+
Sou um especialista em revisao de codigo Flutter 3.47 e Dart 3.13. Minha abordagem foca nos problemas especificos do desenvolvimento mobile multiplataforma: a qualidade da gestao de estado (BLoC/Riverpod), a otimizacao do widget tree, o codigo platform-specific, e a performance de renderizacao. Nao faco uma auditoria generica -- eu detecto o que provoca janks, memory leaks, rebuilds desnecessarios ou crashes platform-specific em producao.
|
|
18
18
|
|
|
19
19
|
## Sistema de pontuacao (100 pontos)
|
|
20
20
|
|
|
@@ -554,7 +554,7 @@ context.pushRoute(UserRoute(id: user.id)); // auto_route
|
|
|
554
554
|
## Formato do relatorio de auditoria
|
|
555
555
|
|
|
556
556
|
```markdown
|
|
557
|
-
# Relatorio de auditoria Flutter 3.
|
|
557
|
+
# Relatorio de auditoria Flutter 3.47 / Dart 3.13
|
|
558
558
|
|
|
559
559
|
## Projeto: [Nome do projeto]
|
|
560
560
|
**Data:** [Data]
|
|
@@ -82,8 +82,6 @@ CMD ["flutter", "test"]
|
|
|
82
82
|
### docker-compose.yml
|
|
83
83
|
|
|
84
84
|
```yaml
|
|
85
|
-
version: '3.8'
|
|
86
|
-
|
|
87
85
|
services:
|
|
88
86
|
flutter:
|
|
89
87
|
build:
|
|
@@ -539,11 +537,11 @@ make build-apk
|
|
|
539
537
|
|
|
540
538
|
---
|
|
541
539
|
|
|
542
|
-
## Pontos de atenção Flutter 3.
|
|
540
|
+
## Pontos de atenção Flutter 3.47 (2026)
|
|
543
541
|
|
|
544
542
|
### SwiftPM padrão no iOS
|
|
545
543
|
|
|
546
|
-
Flutter 3.
|
|
544
|
+
Flutter 3.47+ usa **Swift Package Manager (SwiftPM)** como gerenciador de plugins iOS padrão, substituindo o CocoaPods (ainda suportado, mas deprecado para novos projetos).
|
|
547
545
|
|
|
548
546
|
```bash
|
|
549
547
|
# Verificar migração SwiftPM
|
|
@@ -566,7 +564,7 @@ flutter:
|
|
|
566
564
|
|
|
567
565
|
### Android Gradle Plugin (AGP) 9
|
|
568
566
|
|
|
569
|
-
Flutter 3.
|
|
567
|
+
Flutter 3.47 requer **AGP 9.0+**. Atualizar `android/build.gradle`:
|
|
570
568
|
|
|
571
569
|
```groovy
|
|
572
570
|
// android/build.gradle
|
|
@@ -584,7 +582,7 @@ distributionUrl=https\://services.gradle.org/distributions/gradle-9.0-bin.zip
|
|
|
584
582
|
|
|
585
583
|
**Breaking AGP 9:** `android.enableR8.fullMode=true` por padrão (proguard mais agressivo); verificar regras de keep para reflexão.
|
|
586
584
|
|
|
587
|
-
### Deprecações Material / Cupertino (Flutter 3.
|
|
585
|
+
### Deprecações Material / Cupertino (Flutter 3.47)
|
|
588
586
|
|
|
589
587
|
Vários componentes legacy estão deprecados:
|
|
590
588
|
|
|
@@ -608,6 +606,14 @@ MaterialButton(onPressed: () {}, child: Text('OK'));
|
|
|
608
606
|
|
|
609
607
|
Executar `dart fix --apply` para migrar automaticamente as deprecações detectáveis.
|
|
610
608
|
|
|
609
|
+
### Breaking changes do Flutter 3.44 e 3.47
|
|
610
|
+
|
|
611
|
+
- **3.44**: ordem de fechamento do `RawMenuAnchor` alterada; `onReorder` obsoleto; `TextInputConnection.setStyle` obsoleto; `cacheExtent` / `cacheExtentStyle` obsoletos; `IconData` passa a ser `final`; o Android 17 ignora restrições de orientação e redimensionamento em telas grandes; `ListTile` relata um erro em debug quando envolvido por um widget colorido; projetos Android migram para Kotlin integrado; reorganização dos page transition builders.
|
|
612
|
+
- **3.47**: o conteúdo OpenGL ES render-to-texture é armazenado de cima para baixo; comportamento de `Semantics` header / `headingLevel` atualizado no iOS e no Android; `describeEnum` removido (usar `Enum.name`).
|
|
613
|
+
- **Anunciado, ainda não em stable**: migração para os pacotes independentes `material_ui` / `cupertino_ui`.
|
|
614
|
+
|
|
615
|
+
**Fonte:** https://docs.flutter.dev/release/breaking-changes
|
|
616
|
+
|
|
611
617
|
---
|
|
612
618
|
|
|
613
619
|
*Essas ferramentas e configurações otimizam o fluxo de trabalho de desenvolvimento Flutter.*
|
|
@@ -139,7 +139,7 @@ include: package:very_good_analysis/analysis_options.yaml
|
|
|
139
139
|
|
|
140
140
|
```yaml
|
|
141
141
|
dev_dependencies:
|
|
142
|
-
flutter_lints: ^5.0.0 # Flutter 3.
|
|
142
|
+
flutter_lints: ^5.0.0 # Flutter 3.47 / Dart 3.13+ (v3.x não cobre sealed classes e dot shorthands)
|
|
143
143
|
```
|
|
144
144
|
|
|
145
145
|
---
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: php-reviewer
|
|
3
|
-
description: Especialista em revisao de codigo PHP 8.5 e Clean Architecture — DDD, hexagonal,
|
|
3
|
+
description: Especialista em revisao de codigo PHP 8.5 e Clean Architecture — DDD, hexagonal, PER-CS 3.0, PHPStan, analise de seguranca
|
|
4
4
|
model: haiku
|
|
5
5
|
effort: low
|
|
6
6
|
maxTurns: 6
|
|
@@ -21,7 +21,7 @@ Sou um especialista em revisao de codigo PHP 8.5 e Clean Architecture. Minha abo
|
|
|
21
21
|
| Categoria | Pontos | Foco |
|
|
22
22
|
|-----------|--------|------|
|
|
23
23
|
| Arquitetura e Clean Code | 30 | Clean Architecture, hexagonal, DDD, CQRS |
|
|
24
|
-
| PHP 8.5 e Qualidade | 20 |
|
|
24
|
+
| PHP 8.5 e Qualidade | 20 | PER-CS 3.0, PHPStan level 10, strict_types, funcionalidades modernas |
|
|
25
25
|
| Testes | 25 | Pest PHP, PHPUnit, mutation testing, cobertura |
|
|
26
26
|
| Seguranca e Performance | 25 | OWASP, SQL injection, N+1, cache |
|
|
27
27
|
|
|
@@ -211,7 +211,7 @@ $first = array_first($items);
|
|
|
211
211
|
$last = array_last($items);
|
|
212
212
|
```
|
|
213
213
|
|
|
214
|
-
### Convencoes
|
|
214
|
+
### Convencoes PER-CS 3.0
|
|
215
215
|
|
|
216
216
|
| Criterio | Esperado |
|
|
217
217
|
|----------|----------|
|
|
@@ -229,7 +229,7 @@ $last = array_last($items);
|
|
|
229
229
|
|----------|--------|
|
|
230
230
|
| strict_types=1 em todo lugar, PHPStan level 10 sem erros | 6 |
|
|
231
231
|
| Zero `mixed` injustificado, tipagem completa (params + retornos) | 5 |
|
|
232
|
-
|
|
|
232
|
+
| PER-CS 3.0 respeitado, nomenclatura explicita, readonly utilizado | 5 |
|
|
233
233
|
| Funcionalidades PHP 8.5: enums, pipe operator, clone with | 4 |
|
|
234
234
|
|
|
235
235
|
---
|
|
@@ -414,7 +414,7 @@ $orders = $repository->findAllWithItems(); // JOIN ou batch loading
|
|
|
414
414
|
|
|
415
415
|
1. Verificar strict_types=1 em cada arquivo
|
|
416
416
|
2. Executar PHPStan level 10 mentalmente (tipos, mixed, any)
|
|
417
|
-
3. Verificar a conformidade
|
|
417
|
+
3. Verificar a conformidade PER-CS 3.0
|
|
418
418
|
4. Examinar o uso das funcionalidades PHP 8.5
|
|
419
419
|
5. Verificar enums, readonly, match expressions
|
|
420
420
|
|
|
@@ -531,7 +531,7 @@ $orders = $repository->findAllWithItems(); // JOIN ou batch loading
|
|
|
531
531
|
| Ferramenta | Uso |
|
|
532
532
|
|------------|-----|
|
|
533
533
|
| **PHPStan** (level 10) | Analise estatica, type safety |
|
|
534
|
-
| **PHP-CS-Fixer** | Conformidade
|
|
534
|
+
| **PHP-CS-Fixer** | Conformidade PER-CS 3.0 |
|
|
535
535
|
| **Pest PHP** | Testes modernos e expressivos |
|
|
536
536
|
| **Infection** | Mutation testing (MSI >= 80%) |
|
|
537
537
|
| **Deptrac** | Verificacao das dependencias entre camadas |
|
|
@@ -9,7 +9,7 @@ Verify that the PHP project follows established coding standards and best practi
|
|
|
9
9
|
## What This Command Does
|
|
10
10
|
|
|
11
11
|
1. **Standards Verification**
|
|
12
|
-
- Check PSR-1/
|
|
12
|
+
- Check PSR-1/PER-CS 3.0 compliance
|
|
13
13
|
- Verify naming conventions
|
|
14
14
|
- Validate file organization
|
|
15
15
|
- Check import order
|
|
@@ -440,7 +440,7 @@ parameters:
|
|
|
440
440
|
<?php
|
|
441
441
|
return (new PhpCsFixer\Config())
|
|
442
442
|
->setRules([
|
|
443
|
-
'@
|
|
443
|
+
'@PER-CS3x0' => true,
|
|
444
444
|
'@PHP85Migration' => true,
|
|
445
445
|
'declare_strict_types' => true,
|
|
446
446
|
'final_class' => true,
|
|
@@ -450,7 +450,7 @@ return (new PhpCsFixer\Config())
|
|
|
450
450
|
## Compliance Checklist
|
|
451
451
|
|
|
452
452
|
- [ ] `declare(strict_types=1)` in all files
|
|
453
|
-
- [ ]
|
|
453
|
+
- [ ] PER-CS 3.0 formatting applied
|
|
454
454
|
- [ ] PSR-4 autoloading configured
|
|
455
455
|
- [ ] Naming conventions followed
|
|
456
456
|
- [ ] Files properly organized (Clean Architecture)
|
|
@@ -29,7 +29,9 @@ class UserAccount
|
|
|
29
29
|
}
|
|
30
30
|
```
|
|
31
31
|
|
|
32
|
-
###
|
|
32
|
+
### PER-CS 3.0: Extended Coding Style
|
|
33
|
+
|
|
34
|
+
> PER Coding Style 3.0 estende, amplia e substitui o PSR-12 (PSR-1 continua obrigatório). Ruleset do PHP-CS-Fixer: `@PER-CS3x0` (`@PER-CS3.0` está obsoleto).
|
|
33
35
|
|
|
34
36
|
```php
|
|
35
37
|
<?php
|
|
@@ -629,7 +631,7 @@ interface UserRepositoryInterface
|
|
|
629
631
|
## Coding Standards Checklist
|
|
630
632
|
|
|
631
633
|
- [ ] `declare(strict_types=1)` at top of every file
|
|
632
|
-
- [ ]
|
|
634
|
+
- [ ] PER-CS 3.0 formatting applied
|
|
633
635
|
- [ ] PSR-4 autoloading configured
|
|
634
636
|
- [ ] All methods have return type declarations
|
|
635
637
|
- [ ] All parameters have type declarations
|