@the-bearded-bear/claude-craft 3.0.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/de/Common/agents/accessibility-expert.md +230 -0
- package/Dev/i18n/de/Common/agents/api-designer.md +396 -0
- package/Dev/i18n/de/Common/agents/database-architect.md +263 -0
- package/Dev/i18n/de/Common/agents/devops-engineer.md +207 -0
- package/Dev/i18n/de/Common/agents/performance-auditor.md +300 -0
- package/Dev/i18n/de/Common/agents/refactoring-specialist.md +236 -0
- package/Dev/i18n/de/Common/agents/research-assistant.md +224 -0
- package/Dev/i18n/de/Common/agents/tdd-coach.md +230 -0
- package/Dev/i18n/de/Common/agents/ui-designer.md +192 -0
- package/Dev/i18n/de/Common/agents/uiux-orchestrator.md +122 -0
- package/Dev/i18n/de/Common/agents/ux-ergonome.md +187 -0
- package/Dev/i18n/de/Common/agents/workflow-orchestrator.md +225 -0
- package/Dev/i18n/de/Common/checklists/code-review.md +153 -0
- package/Dev/i18n/de/Common/checklists/definition-of-done.md +104 -0
- package/Dev/i18n/de/Common/checklists/release.md +176 -0
- package/Dev/i18n/de/Common/checklists/security-review.md +167 -0
- package/Dev/i18n/de/Common/commands/a11y-audit.md +98 -0
- package/Dev/i18n/de/Common/commands/a11y-component.md +138 -0
- package/Dev/i18n/de/Common/commands/architecture-decision.md +366 -0
- package/Dev/i18n/de/Common/commands/daily-standup.md +216 -0
- package/Dev/i18n/de/Common/commands/docker-optimize.md +392 -0
- package/Dev/i18n/de/Common/commands/fix-bug-tdd.md +383 -0
- package/Dev/i18n/de/Common/commands/full-audit.md +191 -0
- package/Dev/i18n/de/Common/commands/generate-changelog.md +237 -0
- package/Dev/i18n/de/Common/commands/pre-commit-check.md +205 -0
- package/Dev/i18n/de/Common/commands/pre-merge-check.md +237 -0
- package/Dev/i18n/de/Common/commands/release-checklist.md +245 -0
- package/Dev/i18n/de/Common/commands/research-context7.md +253 -0
- package/Dev/i18n/de/Common/commands/setup-ci.md +339 -0
- package/Dev/i18n/de/Common/commands/sprint-retro.md +288 -0
- package/Dev/i18n/de/Common/commands/sprint-review.md +299 -0
- package/Dev/i18n/de/Common/commands/sprint-start.md +285 -0
- package/Dev/i18n/de/Common/commands/ui-design-tokens.md +118 -0
- package/Dev/i18n/de/Common/commands/uiux-audit.md +189 -0
- package/Dev/i18n/de/Common/commands/uiux-component-spec.md +264 -0
- package/Dev/i18n/de/Common/commands/uiux-orchestrator.md +98 -0
- package/Dev/i18n/de/Common/commands/ux-user-flow.md +109 -0
- package/Dev/i18n/de/Common/commands/workflow-analyze.md +204 -0
- package/Dev/i18n/de/Common/commands/workflow-design.md +275 -0
- package/Dev/i18n/de/Common/commands/workflow-implement.md +241 -0
- package/Dev/i18n/de/Common/commands/workflow-init.md +257 -0
- package/Dev/i18n/de/Common/commands/workflow-plan.md +224 -0
- package/Dev/i18n/de/Common/commands/workflow-status.md +292 -0
- package/Dev/i18n/de/Common/hooks/HOOKS-QUICKSTART.md +46 -0
- package/Dev/i18n/de/Common/hooks/scripts/block-dangerous-commands.sh +45 -0
- package/Dev/i18n/de/Common/hooks/scripts/notify-slack.sh +38 -0
- package/Dev/i18n/de/Common/hooks/scripts/post-edit-lint.sh +58 -0
- package/Dev/i18n/de/Common/hooks/scripts/pre-commit-check.sh +72 -0
- package/Dev/i18n/de/Common/hooks/scripts/quality-gate.sh +98 -0
- package/Dev/i18n/de/Common/hooks/scripts/session-init.sh +77 -0
- package/Dev/i18n/de/Common/hooks/templates/settings-hooks.json +75 -0
- package/Dev/i18n/de/Common/mcp/MCP-QUICKSTART.md +79 -0
- package/Dev/i18n/de/Common/mcp/templates/context7.mcp.json +9 -0
- package/Dev/i18n/de/Common/mcp/templates/full-stack.mcp.json +27 -0
- package/Dev/i18n/de/Common/mcp/templates/github.mcp.json +12 -0
- package/Dev/i18n/de/Common/mcp/templates/postgres.mcp.json +12 -0
- package/Dev/i18n/de/Common/mcp/templates/slack.mcp.json +13 -0
- package/Dev/i18n/de/Common/rules/00-project-context.md.template +118 -0
- package/Dev/i18n/de/Common/rules/01-workflow-analysis.md +226 -0
- package/Dev/i18n/de/Common/rules/04-solid-principles.md +396 -0
- package/Dev/i18n/de/Common/rules/05-kiss-dry-yagni.md +417 -0
- package/Dev/i18n/de/Common/rules/07-testing.md +463 -0
- package/Dev/i18n/de/Common/rules/09-git-workflow.md +541 -0
- package/Dev/i18n/de/Common/rules/10-documentation.md +555 -0
- package/Dev/i18n/de/Common/rules/11-security.md +540 -0
- package/Dev/i18n/de/Common/skills/documentation/REFERENCE.md +555 -0
- package/Dev/i18n/de/Common/skills/documentation/SKILL.md +10 -0
- package/Dev/i18n/de/Common/skills/git-workflow/REFERENCE.md +541 -0
- package/Dev/i18n/de/Common/skills/git-workflow/SKILL.md +10 -0
- package/Dev/i18n/de/Common/skills/kiss-dry-yagni/REFERENCE.md +417 -0
- package/Dev/i18n/de/Common/skills/kiss-dry-yagni/SKILL.md +10 -0
- package/Dev/i18n/de/Common/skills/security/REFERENCE.md +540 -0
- package/Dev/i18n/de/Common/skills/security/SKILL.md +10 -0
- package/Dev/i18n/de/Common/skills/solid-principles/REFERENCE.md +396 -0
- package/Dev/i18n/de/Common/skills/solid-principles/SKILL.md +10 -0
- package/Dev/i18n/de/Common/skills/testing/REFERENCE.md +463 -0
- package/Dev/i18n/de/Common/skills/testing/SKILL.md +10 -0
- package/Dev/i18n/de/Common/skills/workflow-analysis/REFERENCE.md +226 -0
- package/Dev/i18n/de/Common/skills/workflow-analysis/SKILL.md +10 -0
- package/Dev/i18n/de/Common/templates/CLAUDE.md.template +58 -0
- package/Dev/i18n/de/Common/templates/bug-report.md +64 -0
- package/Dev/i18n/de/Common/templates/feature-request.md +71 -0
- package/Dev/i18n/de/Common/templates/pull-request-template.md +84 -0
- package/Dev/i18n/de/Common/templates/settings.json.template +55 -0
- package/Dev/i18n/de/Common/templates/settings.local.json.template +10 -0
- package/Dev/i18n/de/Flutter/CLAUDE.md.template +447 -0
- package/Dev/i18n/de/Flutter/INDEX.md +392 -0
- package/Dev/i18n/de/Flutter/README.md +330 -0
- package/Dev/i18n/de/Flutter/STRUCTURE.md +289 -0
- package/Dev/i18n/de/Flutter/SUMMARY.md +348 -0
- package/Dev/i18n/de/Flutter/agents/flutter-reviewer.md +590 -0
- package/Dev/i18n/de/Flutter/checklists/new-feature.md +55 -0
- package/Dev/i18n/de/Flutter/checklists/pre-commit.md +52 -0
- package/Dev/i18n/de/Flutter/checklists/refactoring.md +30 -0
- package/Dev/i18n/de/Flutter/checklists/security.md +47 -0
- package/Dev/i18n/de/Flutter/commands/analyze-performance.md +357 -0
- package/Dev/i18n/de/Flutter/commands/check-architecture.md +92 -0
- package/Dev/i18n/de/Flutter/commands/check-code-quality.md +120 -0
- package/Dev/i18n/de/Flutter/commands/check-compliance.md +350 -0
- package/Dev/i18n/de/Flutter/commands/check-security.md +180 -0
- package/Dev/i18n/de/Flutter/commands/check-testing.md +140 -0
- package/Dev/i18n/de/Flutter/commands/generate-feature.md +540 -0
- package/Dev/i18n/de/Flutter/commands/generate-widget.md +557 -0
- package/Dev/i18n/de/Flutter/commands/golden-update.md +357 -0
- package/Dev/i18n/de/Flutter/commands/localization-check.md +316 -0
- package/Dev/i18n/de/Flutter/rules/00-project-context.md.template +511 -0
- package/Dev/i18n/de/Flutter/rules/02-architecture.md +455 -0
- package/Dev/i18n/de/Flutter/rules/03-coding-standards.md +247 -0
- package/Dev/i18n/de/Flutter/rules/06-tooling.md +542 -0
- package/Dev/i18n/de/Flutter/rules/07-testing-flutter.md +0 -0
- package/Dev/i18n/de/Flutter/rules/08-quality-tools.md +239 -0
- package/Dev/i18n/de/Flutter/rules/11-security-flutter.md +247 -0
- package/Dev/i18n/de/Flutter/rules/12-performance.md +230 -0
- package/Dev/i18n/de/Flutter/rules/13-state-management.md +0 -0
- package/Dev/i18n/de/Flutter/skills/architecture/REFERENCE.md +455 -0
- package/Dev/i18n/de/Flutter/skills/architecture/SKILL.md +10 -0
- package/Dev/i18n/de/Flutter/skills/coding-standards/REFERENCE.md +247 -0
- package/Dev/i18n/de/Flutter/skills/coding-standards/SKILL.md +10 -0
- package/Dev/i18n/de/Flutter/skills/performance/REFERENCE.md +230 -0
- package/Dev/i18n/de/Flutter/skills/performance/SKILL.md +10 -0
- package/Dev/i18n/de/Flutter/skills/quality-tools/REFERENCE.md +239 -0
- package/Dev/i18n/de/Flutter/skills/quality-tools/SKILL.md +10 -0
- package/Dev/i18n/de/Flutter/skills/security-flutter/REFERENCE.md +247 -0
- package/Dev/i18n/de/Flutter/skills/security-flutter/SKILL.md +10 -0
- package/Dev/i18n/de/Flutter/skills/state-management/REFERENCE.md +0 -0
- package/Dev/i18n/de/Flutter/skills/state-management/SKILL.md +10 -0
- package/Dev/i18n/de/Flutter/skills/testing-flutter/REFERENCE.md +0 -0
- package/Dev/i18n/de/Flutter/skills/testing-flutter/SKILL.md +10 -0
- package/Dev/i18n/de/Flutter/skills/tooling/REFERENCE.md +542 -0
- package/Dev/i18n/de/Flutter/skills/tooling/SKILL.md +10 -0
- package/Dev/i18n/de/Flutter/templates/bloc.md +118 -0
- package/Dev/i18n/de/Flutter/templates/repository.md +113 -0
- package/Dev/i18n/de/Flutter/templates/test-unit.md +67 -0
- package/Dev/i18n/de/Flutter/templates/test-widget.md +71 -0
- package/Dev/i18n/de/Flutter/templates/widget.md +119 -0
- package/Dev/i18n/de/Python/CLAUDE.md.template +442 -0
- package/Dev/i18n/de/Python/README.md +369 -0
- package/Dev/i18n/de/Python/SUMMARY.md +352 -0
- package/Dev/i18n/de/Python/agents/python-reviewer.md +118 -0
- package/Dev/i18n/de/Python/checklists/new-feature.md +148 -0
- package/Dev/i18n/de/Python/checklists/pre-commit.md +358 -0
- package/Dev/i18n/de/Python/commands/async-check.md +84 -0
- package/Dev/i18n/de/Python/commands/check-architecture.md +138 -0
- package/Dev/i18n/de/Python/commands/check-code-quality.md +174 -0
- package/Dev/i18n/de/Python/commands/check-compliance.md +84 -0
- package/Dev/i18n/de/Python/commands/check-security.md +91 -0
- package/Dev/i18n/de/Python/commands/check-testing.md +79 -0
- package/Dev/i18n/de/Python/commands/dependency-audit.md +64 -0
- package/Dev/i18n/de/Python/commands/generate-endpoint.md +68 -0
- package/Dev/i18n/de/Python/commands/generate-model.md +49 -0
- package/Dev/i18n/de/Python/commands/type-coverage.md +60 -0
- package/Dev/i18n/de/Python/examples/Makefile.example +435 -0
- package/Dev/i18n/de/Python/rules/00-project-context.md.template +190 -0
- package/Dev/i18n/de/Python/rules/02-architecture.md +444 -0
- package/Dev/i18n/de/Python/rules/03-coding-standards.md +572 -0
- package/Dev/i18n/de/Python/rules/06-tooling.md +351 -0
- package/Dev/i18n/de/Python/rules/07-testing-python.md +387 -0
- package/Dev/i18n/de/Python/skills/architecture/REFERENCE.md +444 -0
- package/Dev/i18n/de/Python/skills/architecture/SKILL.md +10 -0
- package/Dev/i18n/de/Python/skills/coding-standards/REFERENCE.md +572 -0
- package/Dev/i18n/de/Python/skills/coding-standards/SKILL.md +10 -0
- package/Dev/i18n/de/Python/skills/testing-python/REFERENCE.md +387 -0
- package/Dev/i18n/de/Python/skills/testing-python/SKILL.md +10 -0
- package/Dev/i18n/de/Python/skills/tooling/REFERENCE.md +351 -0
- package/Dev/i18n/de/Python/skills/tooling/SKILL.md +10 -0
- package/Dev/i18n/de/Python/templates/repository.md +120 -0
- package/Dev/i18n/de/Python/templates/service.md +125 -0
- package/Dev/i18n/de/React/CLAUDE.md.template +530 -0
- package/Dev/i18n/de/React/README.md +295 -0
- package/Dev/i18n/de/React/agents/react-reviewer.md +355 -0
- package/Dev/i18n/de/React/checklists/new-feature.md +109 -0
- package/Dev/i18n/de/React/checklists/pre-commit.md +142 -0
- package/Dev/i18n/de/React/commands/accessibility-check.md +66 -0
- package/Dev/i18n/de/React/commands/bundle-analyze.md +63 -0
- package/Dev/i18n/de/React/commands/check-architecture.md +78 -0
- package/Dev/i18n/de/React/commands/check-code-quality.md +97 -0
- package/Dev/i18n/de/React/commands/check-compliance.md +118 -0
- package/Dev/i18n/de/React/commands/check-security.md +142 -0
- package/Dev/i18n/de/React/commands/check-testing.md +150 -0
- package/Dev/i18n/de/React/commands/generate-component.md +123 -0
- package/Dev/i18n/de/React/commands/generate-hook.md +125 -0
- package/Dev/i18n/de/React/commands/storybook-story.md +151 -0
- package/Dev/i18n/de/React/rules/00-project-context.md.template +223 -0
- package/Dev/i18n/de/React/rules/02-architecture.md +490 -0
- package/Dev/i18n/de/React/rules/03-coding-standards.md +500 -0
- package/Dev/i18n/de/React/rules/06-tooling.md +777 -0
- package/Dev/i18n/de/React/rules/07-testing-react.md +999 -0
- package/Dev/i18n/de/React/rules/08-quality-tools.md +758 -0
- package/Dev/i18n/de/React/rules/11-security-react.md +793 -0
- package/Dev/i18n/de/React/skills/architecture/REFERENCE.md +490 -0
- package/Dev/i18n/de/React/skills/architecture/SKILL.md +10 -0
- package/Dev/i18n/de/React/skills/coding-standards/REFERENCE.md +500 -0
- package/Dev/i18n/de/React/skills/coding-standards/SKILL.md +10 -0
- package/Dev/i18n/de/React/skills/quality-tools/REFERENCE.md +758 -0
- package/Dev/i18n/de/React/skills/quality-tools/SKILL.md +10 -0
- package/Dev/i18n/de/React/skills/security-react/REFERENCE.md +793 -0
- package/Dev/i18n/de/React/skills/security-react/SKILL.md +10 -0
- package/Dev/i18n/de/React/skills/testing-react/REFERENCE.md +999 -0
- package/Dev/i18n/de/React/skills/testing-react/SKILL.md +10 -0
- package/Dev/i18n/de/React/skills/tooling/REFERENCE.md +777 -0
- package/Dev/i18n/de/React/skills/tooling/SKILL.md +10 -0
- package/Dev/i18n/de/React/templates/component.md +283 -0
- package/Dev/i18n/de/React/templates/hook.md +393 -0
- package/Dev/i18n/de/ReactNative/CLAUDE.md.template +543 -0
- package/Dev/i18n/de/ReactNative/FILES.md +144 -0
- package/Dev/i18n/de/ReactNative/INSTALLATION.md +407 -0
- package/Dev/i18n/de/ReactNative/README.md +437 -0
- package/Dev/i18n/de/ReactNative/SUMMARY.md +599 -0
- package/Dev/i18n/de/ReactNative/agents/reactnative-reviewer.md +380 -0
- package/Dev/i18n/de/ReactNative/checklists/new-feature.md +223 -0
- package/Dev/i18n/de/ReactNative/checklists/pre-commit.md +100 -0
- package/Dev/i18n/de/ReactNative/checklists/refactoring.md +303 -0
- package/Dev/i18n/de/ReactNative/checklists/security.md +380 -0
- package/Dev/i18n/de/ReactNative/commands/app-size.md +465 -0
- package/Dev/i18n/de/ReactNative/commands/check-architecture.md +220 -0
- package/Dev/i18n/de/ReactNative/commands/check-code-quality.md +287 -0
- package/Dev/i18n/de/ReactNative/commands/check-compliance.md +235 -0
- package/Dev/i18n/de/ReactNative/commands/check-security.md +438 -0
- package/Dev/i18n/de/ReactNative/commands/check-testing.md +316 -0
- package/Dev/i18n/de/ReactNative/commands/deep-link.md +568 -0
- package/Dev/i18n/de/ReactNative/commands/generate-screen.md +583 -0
- package/Dev/i18n/de/ReactNative/commands/native-module.md +596 -0
- package/Dev/i18n/de/ReactNative/commands/store-prepare.md +483 -0
- package/Dev/i18n/de/ReactNative/rules/00-project-context.md.template +425 -0
- package/Dev/i18n/de/ReactNative/rules/02-architecture.md +1253 -0
- package/Dev/i18n/de/ReactNative/rules/03-coding-standards.md +1230 -0
- package/Dev/i18n/de/ReactNative/rules/06-tooling.md +281 -0
- package/Dev/i18n/de/ReactNative/rules/07-testing-reactnative.md +386 -0
- package/Dev/i18n/de/ReactNative/rules/08-quality-tools.md +122 -0
- package/Dev/i18n/de/ReactNative/rules/11-security-reactnative.md +719 -0
- package/Dev/i18n/de/ReactNative/rules/12-performance.md +727 -0
- package/Dev/i18n/de/ReactNative/rules/13-state-management.md +607 -0
- package/Dev/i18n/de/ReactNative/rules/14-navigation.md +601 -0
- package/Dev/i18n/de/ReactNative/skills/architecture/REFERENCE.md +1253 -0
- package/Dev/i18n/de/ReactNative/skills/architecture/SKILL.md +10 -0
- package/Dev/i18n/de/ReactNative/skills/coding-standards/REFERENCE.md +1230 -0
- package/Dev/i18n/de/ReactNative/skills/coding-standards/SKILL.md +10 -0
- package/Dev/i18n/de/ReactNative/skills/navigation/REFERENCE.md +601 -0
- package/Dev/i18n/de/ReactNative/skills/navigation/SKILL.md +10 -0
- package/Dev/i18n/de/ReactNative/skills/performance/REFERENCE.md +727 -0
- package/Dev/i18n/de/ReactNative/skills/performance/SKILL.md +10 -0
- package/Dev/i18n/de/ReactNative/skills/quality-tools/REFERENCE.md +122 -0
- package/Dev/i18n/de/ReactNative/skills/quality-tools/SKILL.md +10 -0
- package/Dev/i18n/de/ReactNative/skills/security-reactnative/REFERENCE.md +719 -0
- package/Dev/i18n/de/ReactNative/skills/security-reactnative/SKILL.md +10 -0
- package/Dev/i18n/de/ReactNative/skills/state-management/REFERENCE.md +607 -0
- package/Dev/i18n/de/ReactNative/skills/state-management/SKILL.md +10 -0
- package/Dev/i18n/de/ReactNative/skills/testing-reactnative/REFERENCE.md +386 -0
- package/Dev/i18n/de/ReactNative/skills/testing-reactnative/SKILL.md +10 -0
- package/Dev/i18n/de/ReactNative/skills/tooling/REFERENCE.md +281 -0
- package/Dev/i18n/de/ReactNative/skills/tooling/SKILL.md +10 -0
- package/Dev/i18n/de/ReactNative/templates/component.md +170 -0
- package/Dev/i18n/de/ReactNative/templates/hook.md +204 -0
- package/Dev/i18n/de/ReactNative/templates/screen.md +159 -0
- package/Dev/i18n/de/ReactNative/templates/test-component.md +225 -0
- package/Dev/i18n/de/Symfony/CLAUDE.md.template +238 -0
- package/Dev/i18n/de/Symfony/adr/README.md +230 -0
- package/Dev/i18n/de/Symfony/adr/template.md +237 -0
- package/Dev/i18n/de/Symfony/agents/symfony-reviewer.md +408 -0
- package/Dev/i18n/de/Symfony/checklists/README.md +429 -0
- package/Dev/i18n/de/Symfony/checklists/new-feature.md +765 -0
- package/Dev/i18n/de/Symfony/checklists/pre-commit.md +527 -0
- package/Dev/i18n/de/Symfony/checklists/refactoring.md +975 -0
- package/Dev/i18n/de/Symfony/checklists/security-rgpd.md +920 -0
- package/Dev/i18n/de/Symfony/commands/api-endpoint.md +476 -0
- package/Dev/i18n/de/Symfony/commands/check-architecture.md +237 -0
- package/Dev/i18n/de/Symfony/commands/check-code-quality.md +327 -0
- package/Dev/i18n/de/Symfony/commands/check-compliance.md +177 -0
- package/Dev/i18n/de/Symfony/commands/check-security.md +582 -0
- package/Dev/i18n/de/Symfony/commands/check-testing.md +445 -0
- package/Dev/i18n/de/Symfony/commands/generate-command.md +350 -0
- package/Dev/i18n/de/Symfony/commands/generate-crud.md +440 -0
- package/Dev/i18n/de/Symfony/commands/migration-plan.md +347 -0
- package/Dev/i18n/de/Symfony/commands/optimize-doctrine.md +327 -0
- package/Dev/i18n/de/Symfony/examples/aggregate-examples.md +1128 -0
- package/Dev/i18n/de/Symfony/examples/clean-architecture-structure.md +645 -0
- package/Dev/i18n/de/Symfony/examples/domain-event-examples.md +1091 -0
- package/Dev/i18n/de/Symfony/examples/value-object-examples.md +1129 -0
- package/Dev/i18n/de/Symfony/rules/00-project-context.md.template +118 -0
- package/Dev/i18n/de/Symfony/rules/02-architecture-clean-ddd.md +813 -0
- package/Dev/i18n/de/Symfony/rules/03-coding-standards.md +402 -0
- package/Dev/i18n/de/Symfony/rules/06-docker-hadolint.md +772 -0
- package/Dev/i18n/de/Symfony/rules/07-testing-symfony.md +452 -0
- package/Dev/i18n/de/Symfony/rules/08-quality-tools.md +982 -0
- package/Dev/i18n/de/Symfony/rules/11-security-symfony.md +353 -0
- package/Dev/i18n/de/Symfony/rules/12-performance.md +888 -0
- package/Dev/i18n/de/Symfony/rules/13-ddd-patterns.md +1220 -0
- package/Dev/i18n/de/Symfony/rules/14-multitenant.md +432 -0
- package/Dev/i18n/de/Symfony/rules/15-doctrine-extensions.md +927 -0
- package/Dev/i18n/de/Symfony/rules/16-i18n.md +185 -0
- package/Dev/i18n/de/Symfony/rules/17-async.md +190 -0
- package/Dev/i18n/de/Symfony/rules/18-value-objects.md +536 -0
- package/Dev/i18n/de/Symfony/rules/19-aggregates.md +115 -0
- package/Dev/i18n/de/Symfony/rules/20-domain-events.md +129 -0
- package/Dev/i18n/de/Symfony/rules/21-cqrs.md +426 -0
- package/Dev/i18n/de/Symfony/skills/aggregates/REFERENCE.md +115 -0
- package/Dev/i18n/de/Symfony/skills/aggregates/SKILL.md +10 -0
- package/Dev/i18n/de/Symfony/skills/architecture-clean-ddd/REFERENCE.md +813 -0
- package/Dev/i18n/de/Symfony/skills/architecture-clean-ddd/SKILL.md +10 -0
- package/Dev/i18n/de/Symfony/skills/async/REFERENCE.md +190 -0
- package/Dev/i18n/de/Symfony/skills/async/SKILL.md +10 -0
- package/Dev/i18n/de/Symfony/skills/coding-standards/REFERENCE.md +402 -0
- package/Dev/i18n/de/Symfony/skills/coding-standards/SKILL.md +10 -0
- package/Dev/i18n/de/Symfony/skills/cqrs/REFERENCE.md +426 -0
- package/Dev/i18n/de/Symfony/skills/cqrs/SKILL.md +10 -0
- package/Dev/i18n/de/Symfony/skills/ddd-patterns/REFERENCE.md +1220 -0
- package/Dev/i18n/de/Symfony/skills/ddd-patterns/SKILL.md +10 -0
- package/Dev/i18n/de/Symfony/skills/docker-hadolint/REFERENCE.md +772 -0
- package/Dev/i18n/de/Symfony/skills/docker-hadolint/SKILL.md +10 -0
- package/Dev/i18n/de/Symfony/skills/doctrine-extensions/REFERENCE.md +927 -0
- package/Dev/i18n/de/Symfony/skills/doctrine-extensions/SKILL.md +10 -0
- package/Dev/i18n/de/Symfony/skills/domain-events/REFERENCE.md +129 -0
- package/Dev/i18n/de/Symfony/skills/domain-events/SKILL.md +10 -0
- package/Dev/i18n/de/Symfony/skills/i18n/REFERENCE.md +185 -0
- package/Dev/i18n/de/Symfony/skills/i18n/SKILL.md +10 -0
- package/Dev/i18n/de/Symfony/skills/multitenant/REFERENCE.md +432 -0
- package/Dev/i18n/de/Symfony/skills/multitenant/SKILL.md +10 -0
- package/Dev/i18n/de/Symfony/skills/performance/REFERENCE.md +888 -0
- package/Dev/i18n/de/Symfony/skills/performance/SKILL.md +10 -0
- package/Dev/i18n/de/Symfony/skills/quality-tools/REFERENCE.md +982 -0
- package/Dev/i18n/de/Symfony/skills/quality-tools/SKILL.md +10 -0
- package/Dev/i18n/de/Symfony/skills/security-symfony/REFERENCE.md +353 -0
- package/Dev/i18n/de/Symfony/skills/security-symfony/SKILL.md +10 -0
- package/Dev/i18n/de/Symfony/skills/testing-symfony/REFERENCE.md +452 -0
- package/Dev/i18n/de/Symfony/skills/testing-symfony/SKILL.md +10 -0
- package/Dev/i18n/de/Symfony/skills/value-objects/REFERENCE.md +536 -0
- package/Dev/i18n/de/Symfony/skills/value-objects/SKILL.md +10 -0
- package/Dev/i18n/de/Symfony/templates/README.md +279 -0
- package/Dev/i18n/de/Symfony/templates/aggregate-examples.md +1128 -0
- package/Dev/i18n/de/Symfony/templates/aggregate-root.md +785 -0
- package/Dev/i18n/de/Symfony/templates/analysis.md +485 -0
- package/Dev/i18n/de/Symfony/templates/clean-architecture-structure.md +645 -0
- package/Dev/i18n/de/Symfony/templates/domain-event-examples.md +1091 -0
- package/Dev/i18n/de/Symfony/templates/domain-event.md +681 -0
- package/Dev/i18n/de/Symfony/templates/service.md +527 -0
- package/Dev/i18n/de/Symfony/templates/template.md +237 -0
- package/Dev/i18n/de/Symfony/templates/test-behat.md +674 -0
- package/Dev/i18n/de/Symfony/templates/test-integration.md +698 -0
- package/Dev/i18n/de/Symfony/templates/test-unit.md +735 -0
- package/Dev/i18n/de/Symfony/templates/value-object-examples.md +1129 -0
- package/Dev/i18n/de/Symfony/templates/value-object.md +534 -0
- package/Dev/i18n/en/Common/agents/accessibility-expert.md +230 -0
- package/Dev/i18n/en/Common/agents/api-designer.md +396 -0
- package/Dev/i18n/en/Common/agents/database-architect.md +263 -0
- package/Dev/i18n/en/Common/agents/devops-engineer.md +207 -0
- package/Dev/i18n/en/Common/agents/performance-auditor.md +375 -0
- package/Dev/i18n/en/Common/agents/refactoring-specialist.md +303 -0
- package/Dev/i18n/en/Common/agents/research-assistant.md +256 -0
- package/Dev/i18n/en/Common/agents/tdd-coach.md +230 -0
- package/Dev/i18n/en/Common/agents/ui-designer.md +192 -0
- package/Dev/i18n/en/Common/agents/uiux-orchestrator.md +143 -0
- package/Dev/i18n/en/Common/agents/ux-ergonome.md +187 -0
- package/Dev/i18n/en/Common/agents/workflow-orchestrator.md +225 -0
- package/Dev/i18n/en/Common/checklists/code-review.md +153 -0
- package/Dev/i18n/en/Common/checklists/definition-of-done.md +104 -0
- package/Dev/i18n/en/Common/checklists/release.md +176 -0
- package/Dev/i18n/en/Common/checklists/security-review.md +167 -0
- package/Dev/i18n/en/Common/commands/a11y-audit.md +282 -0
- package/Dev/i18n/en/Common/commands/a11y-component.md +396 -0
- package/Dev/i18n/en/Common/commands/architecture-decision.md +366 -0
- package/Dev/i18n/en/Common/commands/daily-standup.md +216 -0
- package/Dev/i18n/en/Common/commands/docker-optimize.md +392 -0
- package/Dev/i18n/en/Common/commands/fix-bug-tdd.md +383 -0
- package/Dev/i18n/en/Common/commands/full-audit.md +191 -0
- package/Dev/i18n/en/Common/commands/generate-changelog.md +237 -0
- package/Dev/i18n/en/Common/commands/pre-commit-check.md +205 -0
- package/Dev/i18n/en/Common/commands/pre-merge-check.md +237 -0
- package/Dev/i18n/en/Common/commands/release-checklist.md +245 -0
- package/Dev/i18n/en/Common/commands/research-context7.md +253 -0
- package/Dev/i18n/en/Common/commands/setup-ci.md +522 -0
- package/Dev/i18n/en/Common/commands/sprint-retro.md +329 -0
- package/Dev/i18n/en/Common/commands/sprint-review.md +0 -0
- package/Dev/i18n/en/Common/commands/sprint-start.md +0 -0
- package/Dev/i18n/en/Common/commands/ui-design-tokens.md +282 -0
- package/Dev/i18n/en/Common/commands/uiux-audit.md +189 -0
- package/Dev/i18n/en/Common/commands/uiux-component-spec.md +264 -0
- package/Dev/i18n/en/Common/commands/uiux-orchestrator.md +98 -0
- package/Dev/i18n/en/Common/commands/ux-user-flow.md +272 -0
- package/Dev/i18n/en/Common/commands/workflow-analyze.md +204 -0
- package/Dev/i18n/en/Common/commands/workflow-design.md +275 -0
- package/Dev/i18n/en/Common/commands/workflow-implement.md +241 -0
- package/Dev/i18n/en/Common/commands/workflow-init.md +257 -0
- package/Dev/i18n/en/Common/commands/workflow-plan.md +224 -0
- package/Dev/i18n/en/Common/commands/workflow-status.md +292 -0
- package/Dev/i18n/en/Common/hooks/HOOKS-QUICKSTART.md +46 -0
- package/Dev/i18n/en/Common/hooks/scripts/block-dangerous-commands.sh +45 -0
- package/Dev/i18n/en/Common/hooks/scripts/notify-slack.sh +38 -0
- package/Dev/i18n/en/Common/hooks/scripts/post-edit-lint.sh +58 -0
- package/Dev/i18n/en/Common/hooks/scripts/pre-commit-check.sh +72 -0
- package/Dev/i18n/en/Common/hooks/scripts/quality-gate.sh +98 -0
- package/Dev/i18n/en/Common/hooks/scripts/session-init.sh +77 -0
- package/Dev/i18n/en/Common/hooks/templates/settings-hooks.json +75 -0
- package/Dev/i18n/en/Common/mcp/MCP-QUICKSTART.md +79 -0
- package/Dev/i18n/en/Common/mcp/templates/context7.mcp.json +9 -0
- package/Dev/i18n/en/Common/mcp/templates/full-stack.mcp.json +27 -0
- package/Dev/i18n/en/Common/mcp/templates/github.mcp.json +12 -0
- package/Dev/i18n/en/Common/mcp/templates/postgres.mcp.json +12 -0
- package/Dev/i18n/en/Common/mcp/templates/slack.mcp.json +13 -0
- package/Dev/i18n/en/Common/rules/00-project-context.md.template +118 -0
- package/Dev/i18n/en/Common/rules/01-workflow-analysis.md +226 -0
- package/Dev/i18n/en/Common/rules/04-solid-principles.md +396 -0
- package/Dev/i18n/en/Common/rules/05-kiss-dry-yagni.md +417 -0
- package/Dev/i18n/en/Common/rules/07-testing.md +463 -0
- package/Dev/i18n/en/Common/rules/09-git-workflow.md +541 -0
- package/Dev/i18n/en/Common/rules/10-documentation.md +555 -0
- package/Dev/i18n/en/Common/rules/11-security.md +540 -0
- package/Dev/i18n/en/Common/skills/documentation/REFERENCE.md +555 -0
- package/Dev/i18n/en/Common/skills/documentation/SKILL.md +10 -0
- package/Dev/i18n/en/Common/skills/git-workflow/REFERENCE.md +541 -0
- package/Dev/i18n/en/Common/skills/git-workflow/SKILL.md +10 -0
- package/Dev/i18n/en/Common/skills/kiss-dry-yagni/REFERENCE.md +417 -0
- package/Dev/i18n/en/Common/skills/kiss-dry-yagni/SKILL.md +10 -0
- package/Dev/i18n/en/Common/skills/security/REFERENCE.md +540 -0
- package/Dev/i18n/en/Common/skills/security/SKILL.md +10 -0
- package/Dev/i18n/en/Common/skills/solid-principles/REFERENCE.md +396 -0
- package/Dev/i18n/en/Common/skills/solid-principles/SKILL.md +10 -0
- package/Dev/i18n/en/Common/skills/testing/REFERENCE.md +463 -0
- package/Dev/i18n/en/Common/skills/testing/SKILL.md +10 -0
- package/Dev/i18n/en/Common/skills/workflow-analysis/REFERENCE.md +226 -0
- package/Dev/i18n/en/Common/skills/workflow-analysis/SKILL.md +10 -0
- package/Dev/i18n/en/Common/templates/CLAUDE.md.template +58 -0
- package/Dev/i18n/en/Common/templates/bug-report.md +64 -0
- package/Dev/i18n/en/Common/templates/feature-request.md +71 -0
- package/Dev/i18n/en/Common/templates/pull-request-template.md +84 -0
- package/Dev/i18n/en/Common/templates/settings.json.template +55 -0
- package/Dev/i18n/en/Common/templates/settings.local.json.template +10 -0
- package/Dev/i18n/en/Flutter/CLAUDE.md.template +447 -0
- package/Dev/i18n/en/Flutter/INDEX.md +392 -0
- package/Dev/i18n/en/Flutter/README.md +330 -0
- package/Dev/i18n/en/Flutter/STRUCTURE.md +289 -0
- package/Dev/i18n/en/Flutter/SUMMARY.md +348 -0
- package/Dev/i18n/en/Flutter/agents/flutter-reviewer.md +590 -0
- package/Dev/i18n/en/Flutter/checklists/new-feature.md +55 -0
- package/Dev/i18n/en/Flutter/checklists/pre-commit.md +52 -0
- package/Dev/i18n/en/Flutter/checklists/refactoring.md +30 -0
- package/Dev/i18n/en/Flutter/checklists/security.md +47 -0
- package/Dev/i18n/en/Flutter/commands/analyze-performance.md +357 -0
- package/Dev/i18n/en/Flutter/commands/check-architecture.md +92 -0
- package/Dev/i18n/en/Flutter/commands/check-code-quality.md +120 -0
- package/Dev/i18n/en/Flutter/commands/check-compliance.md +350 -0
- package/Dev/i18n/en/Flutter/commands/check-security.md +180 -0
- package/Dev/i18n/en/Flutter/commands/check-testing.md +140 -0
- package/Dev/i18n/en/Flutter/commands/generate-feature.md +540 -0
- package/Dev/i18n/en/Flutter/commands/generate-widget.md +557 -0
- package/Dev/i18n/en/Flutter/commands/golden-update.md +357 -0
- package/Dev/i18n/en/Flutter/commands/localization-check.md +316 -0
- package/Dev/i18n/en/Flutter/rules/00-project-context.md.template +511 -0
- package/Dev/i18n/en/Flutter/rules/02-architecture.md +455 -0
- package/Dev/i18n/en/Flutter/rules/03-coding-standards.md +247 -0
- package/Dev/i18n/en/Flutter/rules/06-tooling.md +542 -0
- package/Dev/i18n/en/Flutter/rules/07-testing-flutter.md +0 -0
- package/Dev/i18n/en/Flutter/rules/08-quality-tools.md +239 -0
- package/Dev/i18n/en/Flutter/rules/11-security-flutter.md +247 -0
- package/Dev/i18n/en/Flutter/rules/12-performance.md +230 -0
- package/Dev/i18n/en/Flutter/rules/13-state-management.md +0 -0
- package/Dev/i18n/en/Flutter/skills/architecture/REFERENCE.md +455 -0
- package/Dev/i18n/en/Flutter/skills/architecture/SKILL.md +10 -0
- package/Dev/i18n/en/Flutter/skills/coding-standards/REFERENCE.md +247 -0
- package/Dev/i18n/en/Flutter/skills/coding-standards/SKILL.md +10 -0
- package/Dev/i18n/en/Flutter/skills/performance/REFERENCE.md +230 -0
- package/Dev/i18n/en/Flutter/skills/performance/SKILL.md +10 -0
- package/Dev/i18n/en/Flutter/skills/quality-tools/REFERENCE.md +239 -0
- package/Dev/i18n/en/Flutter/skills/quality-tools/SKILL.md +10 -0
- package/Dev/i18n/en/Flutter/skills/security-flutter/REFERENCE.md +247 -0
- package/Dev/i18n/en/Flutter/skills/security-flutter/SKILL.md +10 -0
- package/Dev/i18n/en/Flutter/skills/state-management/REFERENCE.md +0 -0
- package/Dev/i18n/en/Flutter/skills/state-management/SKILL.md +10 -0
- package/Dev/i18n/en/Flutter/skills/testing-flutter/REFERENCE.md +0 -0
- package/Dev/i18n/en/Flutter/skills/testing-flutter/SKILL.md +10 -0
- package/Dev/i18n/en/Flutter/skills/tooling/REFERENCE.md +542 -0
- package/Dev/i18n/en/Flutter/skills/tooling/SKILL.md +10 -0
- package/Dev/i18n/en/Flutter/templates/bloc.md +118 -0
- package/Dev/i18n/en/Flutter/templates/repository.md +113 -0
- package/Dev/i18n/en/Flutter/templates/test-unit.md +67 -0
- package/Dev/i18n/en/Flutter/templates/test-widget.md +71 -0
- package/Dev/i18n/en/Flutter/templates/widget.md +119 -0
- package/Dev/i18n/en/Python/CLAUDE.md.template +442 -0
- package/Dev/i18n/en/Python/README.md +369 -0
- package/Dev/i18n/en/Python/SUMMARY.md +352 -0
- package/Dev/i18n/en/Python/agents/python-reviewer.md +118 -0
- package/Dev/i18n/en/Python/checklists/new-feature.md +423 -0
- package/Dev/i18n/en/Python/checklists/pre-commit.md +358 -0
- package/Dev/i18n/en/Python/commands/async-check.md +84 -0
- package/Dev/i18n/en/Python/commands/check-architecture.md +138 -0
- package/Dev/i18n/en/Python/commands/check-code-quality.md +174 -0
- package/Dev/i18n/en/Python/commands/check-compliance.md +260 -0
- package/Dev/i18n/en/Python/commands/check-security.md +207 -0
- package/Dev/i18n/en/Python/commands/check-testing.md +184 -0
- package/Dev/i18n/en/Python/commands/dependency-audit.md +198 -0
- package/Dev/i18n/en/Python/commands/generate-endpoint.md +90 -0
- package/Dev/i18n/en/Python/commands/generate-model.md +96 -0
- package/Dev/i18n/en/Python/commands/type-coverage.md +119 -0
- package/Dev/i18n/en/Python/examples/Makefile.example +435 -0
- package/Dev/i18n/en/Python/rules/00-project-context.md.template +190 -0
- package/Dev/i18n/en/Python/rules/02-architecture.md +444 -0
- package/Dev/i18n/en/Python/rules/03-coding-standards.md +572 -0
- package/Dev/i18n/en/Python/rules/06-tooling.md +351 -0
- package/Dev/i18n/en/Python/rules/07-testing-python.md +387 -0
- package/Dev/i18n/en/Python/skills/architecture/REFERENCE.md +444 -0
- package/Dev/i18n/en/Python/skills/architecture/SKILL.md +10 -0
- package/Dev/i18n/en/Python/skills/coding-standards/REFERENCE.md +572 -0
- package/Dev/i18n/en/Python/skills/coding-standards/SKILL.md +10 -0
- package/Dev/i18n/en/Python/skills/testing-python/REFERENCE.md +387 -0
- package/Dev/i18n/en/Python/skills/testing-python/SKILL.md +10 -0
- package/Dev/i18n/en/Python/skills/tooling/REFERENCE.md +351 -0
- package/Dev/i18n/en/Python/skills/tooling/SKILL.md +10 -0
- package/Dev/i18n/en/Python/templates/repository.md +120 -0
- package/Dev/i18n/en/Python/templates/service.md +125 -0
- package/Dev/i18n/en/React/CLAUDE.md.template +530 -0
- package/Dev/i18n/en/React/README.md +295 -0
- package/Dev/i18n/en/React/agents/react-reviewer.md +355 -0
- package/Dev/i18n/en/React/checklists/new-feature.md +109 -0
- package/Dev/i18n/en/React/checklists/pre-commit.md +142 -0
- package/Dev/i18n/en/React/commands/accessibility-check.md +234 -0
- package/Dev/i18n/en/React/commands/bundle-analyze.md +330 -0
- package/Dev/i18n/en/React/commands/check-architecture.md +390 -0
- package/Dev/i18n/en/React/commands/check-code-quality.md +466 -0
- package/Dev/i18n/en/React/commands/check-compliance.md +447 -0
- package/Dev/i18n/en/React/commands/check-security.md +397 -0
- package/Dev/i18n/en/React/commands/check-testing.md +488 -0
- package/Dev/i18n/en/React/commands/generate-component.md +516 -0
- package/Dev/i18n/en/React/commands/generate-hook.md +540 -0
- package/Dev/i18n/en/React/commands/storybook-story.md +618 -0
- package/Dev/i18n/en/React/rules/00-project-context.md.template +223 -0
- package/Dev/i18n/en/React/rules/02-architecture.md +651 -0
- package/Dev/i18n/en/React/rules/03-coding-standards.md +716 -0
- package/Dev/i18n/en/React/rules/06-tooling.md +777 -0
- package/Dev/i18n/en/React/rules/07-testing-react.md +999 -0
- package/Dev/i18n/en/React/rules/08-quality-tools.md +758 -0
- package/Dev/i18n/en/React/rules/11-security-react.md +793 -0
- package/Dev/i18n/en/React/skills/architecture/REFERENCE.md +651 -0
- package/Dev/i18n/en/React/skills/architecture/SKILL.md +10 -0
- package/Dev/i18n/en/React/skills/coding-standards/REFERENCE.md +716 -0
- package/Dev/i18n/en/React/skills/coding-standards/SKILL.md +10 -0
- package/Dev/i18n/en/React/skills/quality-tools/REFERENCE.md +758 -0
- package/Dev/i18n/en/React/skills/quality-tools/SKILL.md +10 -0
- package/Dev/i18n/en/React/skills/security-react/REFERENCE.md +793 -0
- package/Dev/i18n/en/React/skills/security-react/SKILL.md +10 -0
- package/Dev/i18n/en/React/skills/testing-react/REFERENCE.md +999 -0
- package/Dev/i18n/en/React/skills/testing-react/SKILL.md +10 -0
- package/Dev/i18n/en/React/skills/tooling/REFERENCE.md +777 -0
- package/Dev/i18n/en/React/skills/tooling/SKILL.md +10 -0
- package/Dev/i18n/en/React/templates/component.md +283 -0
- package/Dev/i18n/en/React/templates/hook.md +393 -0
- package/Dev/i18n/en/ReactNative/CLAUDE.md.template +543 -0
- package/Dev/i18n/en/ReactNative/FILES.md +143 -0
- package/Dev/i18n/en/ReactNative/INSTALLATION.md +407 -0
- package/Dev/i18n/en/ReactNative/README.md +437 -0
- package/Dev/i18n/en/ReactNative/SUMMARY.md +599 -0
- package/Dev/i18n/en/ReactNative/agents/reactnative-reviewer.md +380 -0
- package/Dev/i18n/en/ReactNative/checklists/new-feature.md +223 -0
- package/Dev/i18n/en/ReactNative/checklists/pre-commit.md +100 -0
- package/Dev/i18n/en/ReactNative/checklists/refactoring.md +303 -0
- package/Dev/i18n/en/ReactNative/checklists/security.md +380 -0
- package/Dev/i18n/en/ReactNative/commands/app-size.md +465 -0
- package/Dev/i18n/en/ReactNative/commands/check-architecture.md +220 -0
- package/Dev/i18n/en/ReactNative/commands/check-code-quality.md +287 -0
- package/Dev/i18n/en/ReactNative/commands/check-compliance.md +235 -0
- package/Dev/i18n/en/ReactNative/commands/check-security.md +438 -0
- package/Dev/i18n/en/ReactNative/commands/check-testing.md +316 -0
- package/Dev/i18n/en/ReactNative/commands/deep-link.md +568 -0
- package/Dev/i18n/en/ReactNative/commands/generate-screen.md +583 -0
- package/Dev/i18n/en/ReactNative/commands/native-module.md +596 -0
- package/Dev/i18n/en/ReactNative/commands/store-prepare.md +483 -0
- package/Dev/i18n/en/ReactNative/rules/00-project-context.md.template +425 -0
- package/Dev/i18n/en/ReactNative/rules/02-architecture.md +1253 -0
- package/Dev/i18n/en/ReactNative/rules/03-coding-standards.md +1230 -0
- package/Dev/i18n/en/ReactNative/rules/06-tooling.md +281 -0
- package/Dev/i18n/en/ReactNative/rules/07-testing-reactnative.md +386 -0
- package/Dev/i18n/en/ReactNative/rules/08-quality-tools.md +122 -0
- package/Dev/i18n/en/ReactNative/rules/11-security-reactnative.md +719 -0
- package/Dev/i18n/en/ReactNative/rules/12-performance.md +727 -0
- package/Dev/i18n/en/ReactNative/rules/13-state-management.md +607 -0
- package/Dev/i18n/en/ReactNative/rules/14-navigation.md +601 -0
- package/Dev/i18n/en/ReactNative/skills/architecture/REFERENCE.md +1253 -0
- package/Dev/i18n/en/ReactNative/skills/architecture/SKILL.md +10 -0
- package/Dev/i18n/en/ReactNative/skills/coding-standards/REFERENCE.md +1230 -0
- package/Dev/i18n/en/ReactNative/skills/coding-standards/SKILL.md +10 -0
- package/Dev/i18n/en/ReactNative/skills/navigation/REFERENCE.md +601 -0
- package/Dev/i18n/en/ReactNative/skills/navigation/SKILL.md +10 -0
- package/Dev/i18n/en/ReactNative/skills/performance/REFERENCE.md +727 -0
- package/Dev/i18n/en/ReactNative/skills/performance/SKILL.md +10 -0
- package/Dev/i18n/en/ReactNative/skills/quality-tools/REFERENCE.md +122 -0
- package/Dev/i18n/en/ReactNative/skills/quality-tools/SKILL.md +10 -0
- package/Dev/i18n/en/ReactNative/skills/security-reactnative/REFERENCE.md +719 -0
- package/Dev/i18n/en/ReactNative/skills/security-reactnative/SKILL.md +10 -0
- package/Dev/i18n/en/ReactNative/skills/state-management/REFERENCE.md +607 -0
- package/Dev/i18n/en/ReactNative/skills/state-management/SKILL.md +10 -0
- package/Dev/i18n/en/ReactNative/skills/testing-reactnative/REFERENCE.md +386 -0
- package/Dev/i18n/en/ReactNative/skills/testing-reactnative/SKILL.md +10 -0
- package/Dev/i18n/en/ReactNative/skills/tooling/REFERENCE.md +281 -0
- package/Dev/i18n/en/ReactNative/skills/tooling/SKILL.md +10 -0
- package/Dev/i18n/en/ReactNative/templates/component.md +170 -0
- package/Dev/i18n/en/ReactNative/templates/hook.md +204 -0
- package/Dev/i18n/en/ReactNative/templates/screen.md +159 -0
- package/Dev/i18n/en/ReactNative/templates/test-component.md +225 -0
- package/Dev/i18n/en/Symfony/CLAUDE.md.template +238 -0
- package/Dev/i18n/en/Symfony/adr/README.md +230 -0
- package/Dev/i18n/en/Symfony/adr/template.md +237 -0
- package/Dev/i18n/en/Symfony/agents/symfony-reviewer.md +406 -0
- package/Dev/i18n/en/Symfony/checklists/README.md +429 -0
- package/Dev/i18n/en/Symfony/checklists/new-feature.md +765 -0
- package/Dev/i18n/en/Symfony/checklists/pre-commit.md +527 -0
- package/Dev/i18n/en/Symfony/checklists/refactoring.md +975 -0
- package/Dev/i18n/en/Symfony/checklists/security-rgpd.md +920 -0
- package/Dev/i18n/en/Symfony/commands/api-endpoint.md +476 -0
- package/Dev/i18n/en/Symfony/commands/check-architecture.md +237 -0
- package/Dev/i18n/en/Symfony/commands/check-code-quality.md +327 -0
- package/Dev/i18n/en/Symfony/commands/check-compliance.md +177 -0
- package/Dev/i18n/en/Symfony/commands/check-security.md +582 -0
- package/Dev/i18n/en/Symfony/commands/check-testing.md +445 -0
- package/Dev/i18n/en/Symfony/commands/generate-command.md +350 -0
- package/Dev/i18n/en/Symfony/commands/generate-crud.md +440 -0
- package/Dev/i18n/en/Symfony/commands/migration-plan.md +347 -0
- package/Dev/i18n/en/Symfony/commands/optimize-doctrine.md +327 -0
- package/Dev/i18n/en/Symfony/examples/aggregate-examples.md +1128 -0
- package/Dev/i18n/en/Symfony/examples/clean-architecture-structure.md +645 -0
- package/Dev/i18n/en/Symfony/examples/domain-event-examples.md +1091 -0
- package/Dev/i18n/en/Symfony/examples/value-object-examples.md +1129 -0
- package/Dev/i18n/en/Symfony/rules/00-project-context.md.template +118 -0
- package/Dev/i18n/en/Symfony/rules/02-architecture-clean-ddd.md +979 -0
- package/Dev/i18n/en/Symfony/rules/03-coding-standards.md +402 -0
- package/Dev/i18n/en/Symfony/rules/06-docker-hadolint.md +767 -0
- package/Dev/i18n/en/Symfony/rules/07-testing-symfony.md +1121 -0
- package/Dev/i18n/en/Symfony/rules/08-quality-tools.md +982 -0
- package/Dev/i18n/en/Symfony/rules/11-security-symfony.md +1055 -0
- package/Dev/i18n/en/Symfony/rules/12-performance.md +888 -0
- package/Dev/i18n/en/Symfony/rules/13-ddd-patterns.md +1220 -0
- package/Dev/i18n/en/Symfony/rules/14-multitenant.md +432 -0
- package/Dev/i18n/en/Symfony/rules/15-doctrine-extensions.md +927 -0
- package/Dev/i18n/en/Symfony/rules/16-i18n.md +185 -0
- package/Dev/i18n/en/Symfony/rules/17-async.md +190 -0
- package/Dev/i18n/en/Symfony/rules/18-value-objects.md +536 -0
- package/Dev/i18n/en/Symfony/rules/19-aggregates.md +115 -0
- package/Dev/i18n/en/Symfony/rules/20-domain-events.md +129 -0
- package/Dev/i18n/en/Symfony/rules/21-cqrs.md +426 -0
- package/Dev/i18n/en/Symfony/skills/aggregates/REFERENCE.md +115 -0
- package/Dev/i18n/en/Symfony/skills/aggregates/SKILL.md +10 -0
- package/Dev/i18n/en/Symfony/skills/architecture-clean-ddd/REFERENCE.md +979 -0
- package/Dev/i18n/en/Symfony/skills/architecture-clean-ddd/SKILL.md +10 -0
- package/Dev/i18n/en/Symfony/skills/async/REFERENCE.md +190 -0
- package/Dev/i18n/en/Symfony/skills/async/SKILL.md +10 -0
- package/Dev/i18n/en/Symfony/skills/coding-standards/REFERENCE.md +402 -0
- package/Dev/i18n/en/Symfony/skills/coding-standards/SKILL.md +10 -0
- package/Dev/i18n/en/Symfony/skills/cqrs/REFERENCE.md +426 -0
- package/Dev/i18n/en/Symfony/skills/cqrs/SKILL.md +10 -0
- package/Dev/i18n/en/Symfony/skills/ddd-patterns/REFERENCE.md +1220 -0
- package/Dev/i18n/en/Symfony/skills/ddd-patterns/SKILL.md +10 -0
- package/Dev/i18n/en/Symfony/skills/docker-hadolint/REFERENCE.md +767 -0
- package/Dev/i18n/en/Symfony/skills/docker-hadolint/SKILL.md +10 -0
- package/Dev/i18n/en/Symfony/skills/doctrine-extensions/REFERENCE.md +927 -0
- package/Dev/i18n/en/Symfony/skills/doctrine-extensions/SKILL.md +10 -0
- package/Dev/i18n/en/Symfony/skills/domain-events/REFERENCE.md +129 -0
- package/Dev/i18n/en/Symfony/skills/domain-events/SKILL.md +10 -0
- package/Dev/i18n/en/Symfony/skills/i18n/REFERENCE.md +185 -0
- package/Dev/i18n/en/Symfony/skills/i18n/SKILL.md +10 -0
- package/Dev/i18n/en/Symfony/skills/multitenant/REFERENCE.md +432 -0
- package/Dev/i18n/en/Symfony/skills/multitenant/SKILL.md +10 -0
- package/Dev/i18n/en/Symfony/skills/performance/REFERENCE.md +888 -0
- package/Dev/i18n/en/Symfony/skills/performance/SKILL.md +10 -0
- package/Dev/i18n/en/Symfony/skills/quality-tools/REFERENCE.md +982 -0
- package/Dev/i18n/en/Symfony/skills/quality-tools/SKILL.md +10 -0
- package/Dev/i18n/en/Symfony/skills/security-symfony/REFERENCE.md +1055 -0
- package/Dev/i18n/en/Symfony/skills/security-symfony/SKILL.md +10 -0
- package/Dev/i18n/en/Symfony/skills/testing-symfony/REFERENCE.md +1121 -0
- package/Dev/i18n/en/Symfony/skills/testing-symfony/SKILL.md +10 -0
- package/Dev/i18n/en/Symfony/skills/value-objects/REFERENCE.md +536 -0
- package/Dev/i18n/en/Symfony/skills/value-objects/SKILL.md +10 -0
- package/Dev/i18n/en/Symfony/templates/README.md +279 -0
- package/Dev/i18n/en/Symfony/templates/aggregate-examples.md +1128 -0
- package/Dev/i18n/en/Symfony/templates/aggregate-root.md +860 -0
- package/Dev/i18n/en/Symfony/templates/analysis.md +323 -0
- package/Dev/i18n/en/Symfony/templates/clean-architecture-structure.md +645 -0
- package/Dev/i18n/en/Symfony/templates/domain-event-examples.md +1091 -0
- package/Dev/i18n/en/Symfony/templates/domain-event.md +681 -0
- package/Dev/i18n/en/Symfony/templates/service.md +527 -0
- package/Dev/i18n/en/Symfony/templates/template.md +237 -0
- package/Dev/i18n/en/Symfony/templates/test-behat.md +674 -0
- package/Dev/i18n/en/Symfony/templates/test-integration.md +698 -0
- package/Dev/i18n/en/Symfony/templates/test-unit.md +735 -0
- package/Dev/i18n/en/Symfony/templates/value-object-examples.md +1129 -0
- package/Dev/i18n/en/Symfony/templates/value-object.md +534 -0
- package/Dev/i18n/es/Common/agents/accessibility-expert.md +230 -0
- package/Dev/i18n/es/Common/agents/api-designer.md +396 -0
- package/Dev/i18n/es/Common/agents/database-architect.md +263 -0
- package/Dev/i18n/es/Common/agents/devops-engineer.md +207 -0
- package/Dev/i18n/es/Common/agents/performance-auditor.md +375 -0
- package/Dev/i18n/es/Common/agents/refactoring-specialist.md +303 -0
- package/Dev/i18n/es/Common/agents/research-assistant.md +320 -0
- package/Dev/i18n/es/Common/agents/tdd-coach.md +230 -0
- package/Dev/i18n/es/Common/agents/ui-designer.md +192 -0
- package/Dev/i18n/es/Common/agents/uiux-orchestrator.md +122 -0
- package/Dev/i18n/es/Common/agents/ux-ergonome.md +187 -0
- package/Dev/i18n/es/Common/agents/workflow-orchestrator.md +225 -0
- package/Dev/i18n/es/Common/checklists/code-review.md +153 -0
- package/Dev/i18n/es/Common/checklists/definition-of-done.md +104 -0
- package/Dev/i18n/es/Common/checklists/release.md +176 -0
- package/Dev/i18n/es/Common/checklists/security-review.md +167 -0
- package/Dev/i18n/es/Common/commands/a11y-audit.md +98 -0
- package/Dev/i18n/es/Common/commands/a11y-component.md +138 -0
- package/Dev/i18n/es/Common/commands/architecture-decision.md +366 -0
- package/Dev/i18n/es/Common/commands/daily-standup.md +216 -0
- package/Dev/i18n/es/Common/commands/docker-optimize.md +392 -0
- package/Dev/i18n/es/Common/commands/fix-bug-tdd.md +383 -0
- package/Dev/i18n/es/Common/commands/full-audit.md +191 -0
- package/Dev/i18n/es/Common/commands/generate-changelog.md +237 -0
- package/Dev/i18n/es/Common/commands/pre-commit-check.md +205 -0
- package/Dev/i18n/es/Common/commands/pre-merge-check.md +237 -0
- package/Dev/i18n/es/Common/commands/release-checklist.md +245 -0
- package/Dev/i18n/es/Common/commands/research-context7.md +253 -0
- package/Dev/i18n/es/Common/commands/setup-ci.md +522 -0
- package/Dev/i18n/es/Common/commands/sprint-retro.md +50 -0
- package/Dev/i18n/es/Common/commands/sprint-review.md +42 -0
- package/Dev/i18n/es/Common/commands/sprint-start.md +56 -0
- package/Dev/i18n/es/Common/commands/ui-design-tokens.md +118 -0
- package/Dev/i18n/es/Common/commands/uiux-audit.md +189 -0
- package/Dev/i18n/es/Common/commands/uiux-component-spec.md +264 -0
- package/Dev/i18n/es/Common/commands/uiux-orchestrator.md +98 -0
- package/Dev/i18n/es/Common/commands/ux-user-flow.md +109 -0
- package/Dev/i18n/es/Common/commands/workflow-analyze.md +204 -0
- package/Dev/i18n/es/Common/commands/workflow-design.md +275 -0
- package/Dev/i18n/es/Common/commands/workflow-implement.md +241 -0
- package/Dev/i18n/es/Common/commands/workflow-init.md +257 -0
- package/Dev/i18n/es/Common/commands/workflow-plan.md +224 -0
- package/Dev/i18n/es/Common/commands/workflow-status.md +292 -0
- package/Dev/i18n/es/Common/hooks/HOOKS-QUICKSTART.md +46 -0
- package/Dev/i18n/es/Common/hooks/scripts/block-dangerous-commands.sh +45 -0
- package/Dev/i18n/es/Common/hooks/scripts/notify-slack.sh +38 -0
- package/Dev/i18n/es/Common/hooks/scripts/post-edit-lint.sh +58 -0
- package/Dev/i18n/es/Common/hooks/scripts/pre-commit-check.sh +72 -0
- package/Dev/i18n/es/Common/hooks/scripts/quality-gate.sh +98 -0
- package/Dev/i18n/es/Common/hooks/scripts/session-init.sh +77 -0
- package/Dev/i18n/es/Common/hooks/templates/settings-hooks.json +75 -0
- package/Dev/i18n/es/Common/mcp/MCP-QUICKSTART.md +79 -0
- package/Dev/i18n/es/Common/mcp/templates/context7.mcp.json +9 -0
- package/Dev/i18n/es/Common/mcp/templates/full-stack.mcp.json +27 -0
- package/Dev/i18n/es/Common/mcp/templates/github.mcp.json +12 -0
- package/Dev/i18n/es/Common/mcp/templates/postgres.mcp.json +12 -0
- package/Dev/i18n/es/Common/mcp/templates/slack.mcp.json +13 -0
- package/Dev/i18n/es/Common/rules/00-project-context.md.template +118 -0
- package/Dev/i18n/es/Common/rules/01-workflow-analysis.md +226 -0
- package/Dev/i18n/es/Common/rules/04-solid-principles.md +396 -0
- package/Dev/i18n/es/Common/rules/05-kiss-dry-yagni.md +417 -0
- package/Dev/i18n/es/Common/rules/07-testing.md +463 -0
- package/Dev/i18n/es/Common/rules/09-git-workflow.md +541 -0
- package/Dev/i18n/es/Common/rules/10-documentation.md +555 -0
- package/Dev/i18n/es/Common/rules/11-security.md +540 -0
- package/Dev/i18n/es/Common/skills/documentation/REFERENCE.md +555 -0
- package/Dev/i18n/es/Common/skills/documentation/SKILL.md +10 -0
- package/Dev/i18n/es/Common/skills/git-workflow/REFERENCE.md +541 -0
- package/Dev/i18n/es/Common/skills/git-workflow/SKILL.md +10 -0
- package/Dev/i18n/es/Common/skills/kiss-dry-yagni/REFERENCE.md +417 -0
- package/Dev/i18n/es/Common/skills/kiss-dry-yagni/SKILL.md +10 -0
- package/Dev/i18n/es/Common/skills/security/REFERENCE.md +540 -0
- package/Dev/i18n/es/Common/skills/security/SKILL.md +10 -0
- package/Dev/i18n/es/Common/skills/solid-principles/REFERENCE.md +396 -0
- package/Dev/i18n/es/Common/skills/solid-principles/SKILL.md +10 -0
- package/Dev/i18n/es/Common/skills/testing/REFERENCE.md +463 -0
- package/Dev/i18n/es/Common/skills/testing/SKILL.md +10 -0
- package/Dev/i18n/es/Common/skills/workflow-analysis/REFERENCE.md +226 -0
- package/Dev/i18n/es/Common/skills/workflow-analysis/SKILL.md +10 -0
- package/Dev/i18n/es/Common/templates/CLAUDE.md.template +58 -0
- package/Dev/i18n/es/Common/templates/bug-report.md +46 -0
- package/Dev/i18n/es/Common/templates/feature-request.md +47 -0
- package/Dev/i18n/es/Common/templates/pull-request-template.md +59 -0
- package/Dev/i18n/es/Common/templates/settings.json.template +55 -0
- package/Dev/i18n/es/Common/templates/settings.local.json.template +10 -0
- package/Dev/i18n/es/Flutter/CLAUDE.md.template +447 -0
- package/Dev/i18n/es/Flutter/INDEX.md +392 -0
- package/Dev/i18n/es/Flutter/README.md +330 -0
- package/Dev/i18n/es/Flutter/STRUCTURE.md +289 -0
- package/Dev/i18n/es/Flutter/SUMMARY.md +348 -0
- package/Dev/i18n/es/Flutter/TRANSLATION_STATUS.md +99 -0
- package/Dev/i18n/es/Flutter/agents/flutter-reviewer.md +590 -0
- package/Dev/i18n/es/Flutter/checklists/new-feature.md +55 -0
- package/Dev/i18n/es/Flutter/checklists/pre-commit.md +52 -0
- package/Dev/i18n/es/Flutter/checklists/refactoring.md +30 -0
- package/Dev/i18n/es/Flutter/checklists/security.md +47 -0
- package/Dev/i18n/es/Flutter/commands/analyze-performance.md +357 -0
- package/Dev/i18n/es/Flutter/commands/check-architecture.md +92 -0
- package/Dev/i18n/es/Flutter/commands/check-code-quality.md +120 -0
- package/Dev/i18n/es/Flutter/commands/check-compliance.md +350 -0
- package/Dev/i18n/es/Flutter/commands/check-security.md +180 -0
- package/Dev/i18n/es/Flutter/commands/check-testing.md +140 -0
- package/Dev/i18n/es/Flutter/commands/generate-feature.md +540 -0
- package/Dev/i18n/es/Flutter/commands/generate-widget.md +557 -0
- package/Dev/i18n/es/Flutter/commands/golden-update.md +357 -0
- package/Dev/i18n/es/Flutter/commands/localization-check.md +316 -0
- package/Dev/i18n/es/Flutter/rules/00-project-context.md.template +511 -0
- package/Dev/i18n/es/Flutter/rules/02-architecture.md +455 -0
- package/Dev/i18n/es/Flutter/rules/03-coding-standards.md +247 -0
- package/Dev/i18n/es/Flutter/rules/06-tooling.md +542 -0
- package/Dev/i18n/es/Flutter/rules/07-testing-flutter.md +0 -0
- package/Dev/i18n/es/Flutter/rules/08-quality-tools.md +239 -0
- package/Dev/i18n/es/Flutter/rules/11-security-flutter.md +247 -0
- package/Dev/i18n/es/Flutter/rules/12-performance.md +230 -0
- package/Dev/i18n/es/Flutter/rules/13-state-management.md +0 -0
- package/Dev/i18n/es/Flutter/skills/architecture/REFERENCE.md +455 -0
- package/Dev/i18n/es/Flutter/skills/architecture/SKILL.md +10 -0
- package/Dev/i18n/es/Flutter/skills/coding-standards/REFERENCE.md +247 -0
- package/Dev/i18n/es/Flutter/skills/coding-standards/SKILL.md +10 -0
- package/Dev/i18n/es/Flutter/skills/performance/REFERENCE.md +230 -0
- package/Dev/i18n/es/Flutter/skills/performance/SKILL.md +10 -0
- package/Dev/i18n/es/Flutter/skills/quality-tools/REFERENCE.md +239 -0
- package/Dev/i18n/es/Flutter/skills/quality-tools/SKILL.md +10 -0
- package/Dev/i18n/es/Flutter/skills/security-flutter/REFERENCE.md +247 -0
- package/Dev/i18n/es/Flutter/skills/security-flutter/SKILL.md +10 -0
- package/Dev/i18n/es/Flutter/skills/state-management/REFERENCE.md +0 -0
- package/Dev/i18n/es/Flutter/skills/state-management/SKILL.md +10 -0
- package/Dev/i18n/es/Flutter/skills/testing-flutter/REFERENCE.md +0 -0
- package/Dev/i18n/es/Flutter/skills/testing-flutter/SKILL.md +10 -0
- package/Dev/i18n/es/Flutter/skills/tooling/REFERENCE.md +542 -0
- package/Dev/i18n/es/Flutter/skills/tooling/SKILL.md +10 -0
- package/Dev/i18n/es/Flutter/templates/bloc.md +118 -0
- package/Dev/i18n/es/Flutter/templates/repository.md +113 -0
- package/Dev/i18n/es/Flutter/templates/test-unit.md +67 -0
- package/Dev/i18n/es/Flutter/templates/test-widget.md +71 -0
- package/Dev/i18n/es/Flutter/templates/widget.md +119 -0
- package/Dev/i18n/es/Python/CLAUDE.md.template +442 -0
- package/Dev/i18n/es/Python/README.md +369 -0
- package/Dev/i18n/es/Python/SUMMARY.md +352 -0
- package/Dev/i18n/es/Python/agents/python-reviewer.md +118 -0
- package/Dev/i18n/es/Python/checklists/new-feature.md +423 -0
- package/Dev/i18n/es/Python/checklists/pre-commit.md +358 -0
- package/Dev/i18n/es/Python/commands/async-check.md +84 -0
- package/Dev/i18n/es/Python/commands/check-architecture.md +138 -0
- package/Dev/i18n/es/Python/commands/check-code-quality.md +174 -0
- package/Dev/i18n/es/Python/commands/check-compliance.md +199 -0
- package/Dev/i18n/es/Python/commands/check-security.md +207 -0
- package/Dev/i18n/es/Python/commands/check-testing.md +184 -0
- package/Dev/i18n/es/Python/commands/dependency-audit.md +198 -0
- package/Dev/i18n/es/Python/commands/generate-endpoint.md +90 -0
- package/Dev/i18n/es/Python/commands/generate-model.md +96 -0
- package/Dev/i18n/es/Python/commands/type-coverage.md +119 -0
- package/Dev/i18n/es/Python/examples/Makefile.example +435 -0
- package/Dev/i18n/es/Python/rules/00-project-context.md.template +190 -0
- package/Dev/i18n/es/Python/rules/02-architecture.md +445 -0
- package/Dev/i18n/es/Python/rules/03-coding-standards.md +572 -0
- package/Dev/i18n/es/Python/rules/06-tooling.md +351 -0
- package/Dev/i18n/es/Python/rules/07-testing-python.md +387 -0
- package/Dev/i18n/es/Python/skills/architecture/REFERENCE.md +445 -0
- package/Dev/i18n/es/Python/skills/architecture/SKILL.md +10 -0
- package/Dev/i18n/es/Python/skills/coding-standards/REFERENCE.md +572 -0
- package/Dev/i18n/es/Python/skills/coding-standards/SKILL.md +10 -0
- package/Dev/i18n/es/Python/skills/testing-python/REFERENCE.md +387 -0
- package/Dev/i18n/es/Python/skills/testing-python/SKILL.md +10 -0
- package/Dev/i18n/es/Python/skills/tooling/REFERENCE.md +351 -0
- package/Dev/i18n/es/Python/skills/tooling/SKILL.md +10 -0
- package/Dev/i18n/es/Python/templates/repository.md +120 -0
- package/Dev/i18n/es/Python/templates/service.md +125 -0
- package/Dev/i18n/es/React/CLAUDE.md.template +530 -0
- package/Dev/i18n/es/React/README.md +295 -0
- package/Dev/i18n/es/React/agents/react-reviewer.md +355 -0
- package/Dev/i18n/es/React/checklists/new-feature.md +296 -0
- package/Dev/i18n/es/React/checklists/pre-commit.md +250 -0
- package/Dev/i18n/es/React/commands/accessibility-check.md +345 -0
- package/Dev/i18n/es/React/commands/bundle-analyze.md +441 -0
- package/Dev/i18n/es/React/commands/check-architecture.md +452 -0
- package/Dev/i18n/es/React/commands/check-code-quality.md +466 -0
- package/Dev/i18n/es/React/commands/check-compliance.md +447 -0
- package/Dev/i18n/es/React/commands/check-security.md +353 -0
- package/Dev/i18n/es/React/commands/check-testing.md +394 -0
- package/Dev/i18n/es/React/commands/generate-component.md +402 -0
- package/Dev/i18n/es/React/commands/generate-hook.md +505 -0
- package/Dev/i18n/es/React/commands/storybook-story.md +522 -0
- package/Dev/i18n/es/React/rules/00-project-context.md.template +223 -0
- package/Dev/i18n/es/React/rules/02-architecture.md +583 -0
- package/Dev/i18n/es/React/rules/03-coding-standards.md +716 -0
- package/Dev/i18n/es/React/rules/06-tooling.md +777 -0
- package/Dev/i18n/es/React/rules/07-testing-react.md +999 -0
- package/Dev/i18n/es/React/rules/08-quality-tools.md +758 -0
- package/Dev/i18n/es/React/rules/11-security-react.md +793 -0
- package/Dev/i18n/es/React/skills/architecture/REFERENCE.md +583 -0
- package/Dev/i18n/es/React/skills/architecture/SKILL.md +10 -0
- package/Dev/i18n/es/React/skills/coding-standards/REFERENCE.md +716 -0
- package/Dev/i18n/es/React/skills/coding-standards/SKILL.md +10 -0
- package/Dev/i18n/es/React/skills/quality-tools/REFERENCE.md +758 -0
- package/Dev/i18n/es/React/skills/quality-tools/SKILL.md +10 -0
- package/Dev/i18n/es/React/skills/security-react/REFERENCE.md +793 -0
- package/Dev/i18n/es/React/skills/security-react/SKILL.md +10 -0
- package/Dev/i18n/es/React/skills/testing-react/REFERENCE.md +999 -0
- package/Dev/i18n/es/React/skills/testing-react/SKILL.md +10 -0
- package/Dev/i18n/es/React/skills/tooling/REFERENCE.md +777 -0
- package/Dev/i18n/es/React/skills/tooling/SKILL.md +10 -0
- package/Dev/i18n/es/React/templates/component.md +283 -0
- package/Dev/i18n/es/React/templates/hook.md +393 -0
- package/Dev/i18n/es/ReactNative/CLAUDE.md.template +543 -0
- package/Dev/i18n/es/ReactNative/FILES.md +144 -0
- package/Dev/i18n/es/ReactNative/INSTALLATION.md +407 -0
- package/Dev/i18n/es/ReactNative/README.md +437 -0
- package/Dev/i18n/es/ReactNative/SUMMARY.md +599 -0
- package/Dev/i18n/es/ReactNative/agents/reactnative-reviewer.md +380 -0
- package/Dev/i18n/es/ReactNative/checklists/new-feature.md +223 -0
- package/Dev/i18n/es/ReactNative/checklists/pre-commit.md +100 -0
- package/Dev/i18n/es/ReactNative/checklists/refactoring.md +303 -0
- package/Dev/i18n/es/ReactNative/checklists/security.md +380 -0
- package/Dev/i18n/es/ReactNative/commands/app-size.md +465 -0
- package/Dev/i18n/es/ReactNative/commands/check-architecture.md +220 -0
- package/Dev/i18n/es/ReactNative/commands/check-code-quality.md +287 -0
- package/Dev/i18n/es/ReactNative/commands/check-compliance.md +235 -0
- package/Dev/i18n/es/ReactNative/commands/check-security.md +177 -0
- package/Dev/i18n/es/ReactNative/commands/check-testing.md +258 -0
- package/Dev/i18n/es/ReactNative/commands/deep-link.md +132 -0
- package/Dev/i18n/es/ReactNative/commands/generate-screen.md +157 -0
- package/Dev/i18n/es/ReactNative/commands/native-module.md +249 -0
- package/Dev/i18n/es/ReactNative/commands/store-prepare.md +254 -0
- package/Dev/i18n/es/ReactNative/rules/00-project-context.md.template +425 -0
- package/Dev/i18n/es/ReactNative/rules/02-architecture.md +1253 -0
- package/Dev/i18n/es/ReactNative/rules/03-coding-standards.md +1230 -0
- package/Dev/i18n/es/ReactNative/rules/06-tooling.md +281 -0
- package/Dev/i18n/es/ReactNative/rules/07-testing-reactnative.md +386 -0
- package/Dev/i18n/es/ReactNative/rules/08-quality-tools.md +122 -0
- package/Dev/i18n/es/ReactNative/rules/11-security-reactnative.md +719 -0
- package/Dev/i18n/es/ReactNative/rules/12-performance.md +727 -0
- package/Dev/i18n/es/ReactNative/rules/13-state-management.md +607 -0
- package/Dev/i18n/es/ReactNative/rules/14-navigation.md +601 -0
- package/Dev/i18n/es/ReactNative/skills/architecture/REFERENCE.md +1253 -0
- package/Dev/i18n/es/ReactNative/skills/architecture/SKILL.md +10 -0
- package/Dev/i18n/es/ReactNative/skills/coding-standards/REFERENCE.md +1230 -0
- package/Dev/i18n/es/ReactNative/skills/coding-standards/SKILL.md +10 -0
- package/Dev/i18n/es/ReactNative/skills/navigation/REFERENCE.md +601 -0
- package/Dev/i18n/es/ReactNative/skills/navigation/SKILL.md +10 -0
- package/Dev/i18n/es/ReactNative/skills/performance/REFERENCE.md +727 -0
- package/Dev/i18n/es/ReactNative/skills/performance/SKILL.md +10 -0
- package/Dev/i18n/es/ReactNative/skills/quality-tools/REFERENCE.md +122 -0
- package/Dev/i18n/es/ReactNative/skills/quality-tools/SKILL.md +10 -0
- package/Dev/i18n/es/ReactNative/skills/security-reactnative/REFERENCE.md +719 -0
- package/Dev/i18n/es/ReactNative/skills/security-reactnative/SKILL.md +10 -0
- package/Dev/i18n/es/ReactNative/skills/state-management/REFERENCE.md +607 -0
- package/Dev/i18n/es/ReactNative/skills/state-management/SKILL.md +10 -0
- package/Dev/i18n/es/ReactNative/skills/testing-reactnative/REFERENCE.md +386 -0
- package/Dev/i18n/es/ReactNative/skills/testing-reactnative/SKILL.md +10 -0
- package/Dev/i18n/es/ReactNative/skills/tooling/REFERENCE.md +281 -0
- package/Dev/i18n/es/ReactNative/skills/tooling/SKILL.md +10 -0
- package/Dev/i18n/es/ReactNative/templates/component.md +170 -0
- package/Dev/i18n/es/ReactNative/templates/hook.md +204 -0
- package/Dev/i18n/es/ReactNative/templates/screen.md +159 -0
- package/Dev/i18n/es/ReactNative/templates/test-component.md +225 -0
- package/Dev/i18n/es/Symfony/CLAUDE.md.template +238 -0
- package/Dev/i18n/es/Symfony/adr/README.md +230 -0
- package/Dev/i18n/es/Symfony/adr/template.md +237 -0
- package/Dev/i18n/es/Symfony/agents/symfony-reviewer.md +406 -0
- package/Dev/i18n/es/Symfony/checklists/README.md +429 -0
- package/Dev/i18n/es/Symfony/checklists/new-feature.md +765 -0
- package/Dev/i18n/es/Symfony/checklists/pre-commit.md +527 -0
- package/Dev/i18n/es/Symfony/checklists/refactoring.md +975 -0
- package/Dev/i18n/es/Symfony/checklists/security-rgpd.md +920 -0
- package/Dev/i18n/es/Symfony/commands/api-endpoint.md +476 -0
- package/Dev/i18n/es/Symfony/commands/check-architecture.md +237 -0
- package/Dev/i18n/es/Symfony/commands/check-code-quality.md +327 -0
- package/Dev/i18n/es/Symfony/commands/check-compliance.md +177 -0
- package/Dev/i18n/es/Symfony/commands/check-security.md +138 -0
- package/Dev/i18n/es/Symfony/commands/check-testing.md +246 -0
- package/Dev/i18n/es/Symfony/commands/generate-command.md +350 -0
- package/Dev/i18n/es/Symfony/commands/generate-crud.md +127 -0
- package/Dev/i18n/es/Symfony/commands/migration-plan.md +114 -0
- package/Dev/i18n/es/Symfony/commands/optimize-doctrine.md +100 -0
- package/Dev/i18n/es/Symfony/examples/aggregate-examples.md +1128 -0
- package/Dev/i18n/es/Symfony/examples/clean-architecture-structure.md +645 -0
- package/Dev/i18n/es/Symfony/examples/domain-event-examples.md +1091 -0
- package/Dev/i18n/es/Symfony/examples/value-object-examples.md +1129 -0
- package/Dev/i18n/es/Symfony/rules/00-project-context.md.template +118 -0
- package/Dev/i18n/es/Symfony/rules/02-architecture-clean-ddd.md +270 -0
- package/Dev/i18n/es/Symfony/rules/03-coding-standards.md +402 -0
- package/Dev/i18n/es/Symfony/rules/06-docker-hadolint.md +265 -0
- package/Dev/i18n/es/Symfony/rules/07-testing-symfony.md +370 -0
- package/Dev/i18n/es/Symfony/rules/08-quality-tools.md +982 -0
- package/Dev/i18n/es/Symfony/rules/11-security-symfony.md +1055 -0
- package/Dev/i18n/es/Symfony/rules/12-performance.md +888 -0
- package/Dev/i18n/es/Symfony/rules/13-ddd-patterns.md +1220 -0
- package/Dev/i18n/es/Symfony/rules/14-multitenant.md +432 -0
- package/Dev/i18n/es/Symfony/rules/15-doctrine-extensions.md +927 -0
- package/Dev/i18n/es/Symfony/rules/16-i18n.md +185 -0
- package/Dev/i18n/es/Symfony/rules/17-async.md +190 -0
- package/Dev/i18n/es/Symfony/rules/18-value-objects.md +536 -0
- package/Dev/i18n/es/Symfony/rules/19-aggregates.md +115 -0
- package/Dev/i18n/es/Symfony/rules/20-domain-events.md +129 -0
- package/Dev/i18n/es/Symfony/rules/21-cqrs.md +426 -0
- package/Dev/i18n/es/Symfony/skills/aggregates/REFERENCE.md +115 -0
- package/Dev/i18n/es/Symfony/skills/aggregates/SKILL.md +10 -0
- package/Dev/i18n/es/Symfony/skills/architecture-clean-ddd/REFERENCE.md +270 -0
- package/Dev/i18n/es/Symfony/skills/architecture-clean-ddd/SKILL.md +10 -0
- package/Dev/i18n/es/Symfony/skills/async/REFERENCE.md +190 -0
- package/Dev/i18n/es/Symfony/skills/async/SKILL.md +10 -0
- package/Dev/i18n/es/Symfony/skills/coding-standards/REFERENCE.md +402 -0
- package/Dev/i18n/es/Symfony/skills/coding-standards/SKILL.md +10 -0
- package/Dev/i18n/es/Symfony/skills/cqrs/REFERENCE.md +426 -0
- package/Dev/i18n/es/Symfony/skills/cqrs/SKILL.md +10 -0
- package/Dev/i18n/es/Symfony/skills/ddd-patterns/REFERENCE.md +1220 -0
- package/Dev/i18n/es/Symfony/skills/ddd-patterns/SKILL.md +10 -0
- package/Dev/i18n/es/Symfony/skills/docker-hadolint/REFERENCE.md +265 -0
- package/Dev/i18n/es/Symfony/skills/docker-hadolint/SKILL.md +10 -0
- package/Dev/i18n/es/Symfony/skills/doctrine-extensions/REFERENCE.md +927 -0
- package/Dev/i18n/es/Symfony/skills/doctrine-extensions/SKILL.md +10 -0
- package/Dev/i18n/es/Symfony/skills/domain-events/REFERENCE.md +129 -0
- package/Dev/i18n/es/Symfony/skills/domain-events/SKILL.md +10 -0
- package/Dev/i18n/es/Symfony/skills/i18n/REFERENCE.md +185 -0
- package/Dev/i18n/es/Symfony/skills/i18n/SKILL.md +10 -0
- package/Dev/i18n/es/Symfony/skills/multitenant/REFERENCE.md +432 -0
- package/Dev/i18n/es/Symfony/skills/multitenant/SKILL.md +10 -0
- package/Dev/i18n/es/Symfony/skills/performance/REFERENCE.md +888 -0
- package/Dev/i18n/es/Symfony/skills/performance/SKILL.md +10 -0
- package/Dev/i18n/es/Symfony/skills/quality-tools/REFERENCE.md +982 -0
- package/Dev/i18n/es/Symfony/skills/quality-tools/SKILL.md +10 -0
- package/Dev/i18n/es/Symfony/skills/security-symfony/REFERENCE.md +1055 -0
- package/Dev/i18n/es/Symfony/skills/security-symfony/SKILL.md +10 -0
- package/Dev/i18n/es/Symfony/skills/testing-symfony/REFERENCE.md +370 -0
- package/Dev/i18n/es/Symfony/skills/testing-symfony/SKILL.md +10 -0
- package/Dev/i18n/es/Symfony/skills/value-objects/REFERENCE.md +536 -0
- package/Dev/i18n/es/Symfony/skills/value-objects/SKILL.md +10 -0
- package/Dev/i18n/es/Symfony/templates/README.md +279 -0
- package/Dev/i18n/es/Symfony/templates/aggregate-examples.md +1128 -0
- package/Dev/i18n/es/Symfony/templates/aggregate-root.md +226 -0
- package/Dev/i18n/es/Symfony/templates/analysis.md +323 -0
- package/Dev/i18n/es/Symfony/templates/clean-architecture-structure.md +226 -0
- package/Dev/i18n/es/Symfony/templates/domain-event-examples.md +375 -0
- package/Dev/i18n/es/Symfony/templates/domain-event.md +95 -0
- package/Dev/i18n/es/Symfony/templates/service.md +123 -0
- package/Dev/i18n/es/Symfony/templates/template.md +223 -0
- package/Dev/i18n/es/Symfony/templates/test-behat.md +191 -0
- package/Dev/i18n/es/Symfony/templates/test-integration.md +124 -0
- package/Dev/i18n/es/Symfony/templates/test-unit.md +138 -0
- package/Dev/i18n/es/Symfony/templates/value-object-examples.md +626 -0
- package/Dev/i18n/es/Symfony/templates/value-object.md +136 -0
- package/Dev/i18n/fr/Common/agents/accessibility-expert.md +230 -0
- package/Dev/i18n/fr/Common/agents/api-designer.md +396 -0
- package/Dev/i18n/fr/Common/agents/database-architect.md +263 -0
- package/Dev/i18n/fr/Common/agents/devops-engineer.md +207 -0
- package/Dev/i18n/fr/Common/agents/performance-auditor.md +375 -0
- package/Dev/i18n/fr/Common/agents/refactoring-specialist.md +303 -0
- package/Dev/i18n/fr/Common/agents/research-assistant.md +256 -0
- package/Dev/i18n/fr/Common/agents/tdd-coach.md +230 -0
- package/Dev/i18n/fr/Common/agents/ui-designer.md +192 -0
- package/Dev/i18n/fr/Common/agents/uiux-orchestrator.md +143 -0
- package/Dev/i18n/fr/Common/agents/ux-ergonome.md +187 -0
- package/Dev/i18n/fr/Common/agents/workflow-orchestrator.md +225 -0
- package/Dev/i18n/fr/Common/checklists/code-review.md +153 -0
- package/Dev/i18n/fr/Common/checklists/definition-of-done.md +104 -0
- package/Dev/i18n/fr/Common/checklists/release.md +176 -0
- package/Dev/i18n/fr/Common/checklists/security-review.md +167 -0
- package/Dev/i18n/fr/Common/commands/a11y-audit.md +282 -0
- package/Dev/i18n/fr/Common/commands/a11y-component.md +396 -0
- package/Dev/i18n/fr/Common/commands/architecture-decision.md +366 -0
- package/Dev/i18n/fr/Common/commands/daily-standup.md +216 -0
- package/Dev/i18n/fr/Common/commands/docker-optimize.md +392 -0
- package/Dev/i18n/fr/Common/commands/fix-bug-tdd.md +383 -0
- package/Dev/i18n/fr/Common/commands/full-audit.md +191 -0
- package/Dev/i18n/fr/Common/commands/generate-changelog.md +237 -0
- package/Dev/i18n/fr/Common/commands/pre-commit-check.md +205 -0
- package/Dev/i18n/fr/Common/commands/pre-merge-check.md +237 -0
- package/Dev/i18n/fr/Common/commands/release-checklist.md +245 -0
- package/Dev/i18n/fr/Common/commands/research-context7.md +253 -0
- package/Dev/i18n/fr/Common/commands/setup-ci.md +522 -0
- package/Dev/i18n/fr/Common/commands/sprint-retro.md +329 -0
- package/Dev/i18n/fr/Common/commands/sprint-review.md +313 -0
- package/Dev/i18n/fr/Common/commands/sprint-start.md +285 -0
- package/Dev/i18n/fr/Common/commands/ui-design-tokens.md +282 -0
- package/Dev/i18n/fr/Common/commands/uiux-audit.md +189 -0
- package/Dev/i18n/fr/Common/commands/uiux-component-spec.md +264 -0
- package/Dev/i18n/fr/Common/commands/uiux-orchestrator.md +98 -0
- package/Dev/i18n/fr/Common/commands/ux-user-flow.md +272 -0
- package/Dev/i18n/fr/Common/commands/workflow-analyze.md +204 -0
- package/Dev/i18n/fr/Common/commands/workflow-design.md +275 -0
- package/Dev/i18n/fr/Common/commands/workflow-implement.md +241 -0
- package/Dev/i18n/fr/Common/commands/workflow-init.md +257 -0
- package/Dev/i18n/fr/Common/commands/workflow-plan.md +224 -0
- package/Dev/i18n/fr/Common/commands/workflow-status.md +292 -0
- package/Dev/i18n/fr/Common/hooks/HOOKS-QUICKSTART.md +46 -0
- package/Dev/i18n/fr/Common/hooks/scripts/block-dangerous-commands.sh +45 -0
- package/Dev/i18n/fr/Common/hooks/scripts/notify-slack.sh +38 -0
- package/Dev/i18n/fr/Common/hooks/scripts/post-edit-lint.sh +58 -0
- package/Dev/i18n/fr/Common/hooks/scripts/pre-commit-check.sh +72 -0
- package/Dev/i18n/fr/Common/hooks/scripts/quality-gate.sh +98 -0
- package/Dev/i18n/fr/Common/hooks/scripts/session-init.sh +77 -0
- package/Dev/i18n/fr/Common/hooks/templates/settings-hooks.json +75 -0
- package/Dev/i18n/fr/Common/mcp/MCP-QUICKSTART.md +79 -0
- package/Dev/i18n/fr/Common/mcp/templates/context7.mcp.json +9 -0
- package/Dev/i18n/fr/Common/mcp/templates/full-stack.mcp.json +27 -0
- package/Dev/i18n/fr/Common/mcp/templates/github.mcp.json +12 -0
- package/Dev/i18n/fr/Common/mcp/templates/postgres.mcp.json +12 -0
- package/Dev/i18n/fr/Common/mcp/templates/slack.mcp.json +13 -0
- package/Dev/i18n/fr/Common/rules/00-project-context.md.template +118 -0
- package/Dev/i18n/fr/Common/rules/01-workflow-analysis.md +226 -0
- package/Dev/i18n/fr/Common/rules/04-solid-principles.md +396 -0
- package/Dev/i18n/fr/Common/rules/05-kiss-dry-yagni.md +417 -0
- package/Dev/i18n/fr/Common/rules/07-testing.md +463 -0
- package/Dev/i18n/fr/Common/rules/09-git-workflow.md +541 -0
- package/Dev/i18n/fr/Common/rules/10-documentation.md +555 -0
- package/Dev/i18n/fr/Common/rules/11-security.md +540 -0
- package/Dev/i18n/fr/Common/skills/documentation/REFERENCE.md +555 -0
- package/Dev/i18n/fr/Common/skills/documentation/SKILL.md +10 -0
- package/Dev/i18n/fr/Common/skills/git-workflow/REFERENCE.md +541 -0
- package/Dev/i18n/fr/Common/skills/git-workflow/SKILL.md +10 -0
- package/Dev/i18n/fr/Common/skills/kiss-dry-yagni/REFERENCE.md +417 -0
- package/Dev/i18n/fr/Common/skills/kiss-dry-yagni/SKILL.md +10 -0
- package/Dev/i18n/fr/Common/skills/security/REFERENCE.md +540 -0
- package/Dev/i18n/fr/Common/skills/security/SKILL.md +10 -0
- package/Dev/i18n/fr/Common/skills/solid-principles/REFERENCE.md +396 -0
- package/Dev/i18n/fr/Common/skills/solid-principles/SKILL.md +10 -0
- package/Dev/i18n/fr/Common/skills/testing/REFERENCE.md +463 -0
- package/Dev/i18n/fr/Common/skills/testing/SKILL.md +10 -0
- package/Dev/i18n/fr/Common/skills/workflow-analysis/REFERENCE.md +226 -0
- package/Dev/i18n/fr/Common/skills/workflow-analysis/SKILL.md +10 -0
- package/Dev/i18n/fr/Common/templates/CLAUDE.md.template +58 -0
- package/Dev/i18n/fr/Common/templates/bug-report.md +64 -0
- package/Dev/i18n/fr/Common/templates/feature-request.md +71 -0
- package/Dev/i18n/fr/Common/templates/pull-request-template.md +84 -0
- package/Dev/i18n/fr/Common/templates/settings.json.template +55 -0
- package/Dev/i18n/fr/Common/templates/settings.local.json.template +10 -0
- package/Dev/i18n/fr/Flutter/CLAUDE.md.template +447 -0
- package/Dev/i18n/fr/Flutter/INDEX.md +392 -0
- package/Dev/i18n/fr/Flutter/README.md +330 -0
- package/Dev/i18n/fr/Flutter/STRUCTURE.md +289 -0
- package/Dev/i18n/fr/Flutter/SUMMARY.md +348 -0
- package/Dev/i18n/fr/Flutter/agents/flutter-reviewer.md +590 -0
- package/Dev/i18n/fr/Flutter/checklists/new-feature.md +55 -0
- package/Dev/i18n/fr/Flutter/checklists/pre-commit.md +52 -0
- package/Dev/i18n/fr/Flutter/checklists/refactoring.md +30 -0
- package/Dev/i18n/fr/Flutter/checklists/security.md +47 -0
- package/Dev/i18n/fr/Flutter/commands/analyze-performance.md +357 -0
- package/Dev/i18n/fr/Flutter/commands/check-architecture.md +92 -0
- package/Dev/i18n/fr/Flutter/commands/check-code-quality.md +120 -0
- package/Dev/i18n/fr/Flutter/commands/check-compliance.md +350 -0
- package/Dev/i18n/fr/Flutter/commands/check-security.md +180 -0
- package/Dev/i18n/fr/Flutter/commands/check-testing.md +140 -0
- package/Dev/i18n/fr/Flutter/commands/generate-feature.md +540 -0
- package/Dev/i18n/fr/Flutter/commands/generate-widget.md +557 -0
- package/Dev/i18n/fr/Flutter/commands/golden-update.md +357 -0
- package/Dev/i18n/fr/Flutter/commands/localization-check.md +316 -0
- package/Dev/i18n/fr/Flutter/rules/00-project-context.md.template +511 -0
- package/Dev/i18n/fr/Flutter/rules/02-architecture.md +1763 -0
- package/Dev/i18n/fr/Flutter/rules/03-coding-standards.md +1147 -0
- package/Dev/i18n/fr/Flutter/rules/06-tooling.md +542 -0
- package/Dev/i18n/fr/Flutter/rules/07-testing-flutter.md +692 -0
- package/Dev/i18n/fr/Flutter/rules/08-quality-tools.md +239 -0
- package/Dev/i18n/fr/Flutter/rules/11-security-flutter.md +247 -0
- package/Dev/i18n/fr/Flutter/rules/12-performance.md +230 -0
- package/Dev/i18n/fr/Flutter/rules/13-state-management.md +408 -0
- package/Dev/i18n/fr/Flutter/skills/architecture/REFERENCE.md +1763 -0
- package/Dev/i18n/fr/Flutter/skills/architecture/SKILL.md +10 -0
- package/Dev/i18n/fr/Flutter/skills/coding-standards/REFERENCE.md +1147 -0
- package/Dev/i18n/fr/Flutter/skills/coding-standards/SKILL.md +10 -0
- package/Dev/i18n/fr/Flutter/skills/performance/REFERENCE.md +230 -0
- package/Dev/i18n/fr/Flutter/skills/performance/SKILL.md +10 -0
- package/Dev/i18n/fr/Flutter/skills/quality-tools/REFERENCE.md +239 -0
- package/Dev/i18n/fr/Flutter/skills/quality-tools/SKILL.md +10 -0
- package/Dev/i18n/fr/Flutter/skills/security-flutter/REFERENCE.md +247 -0
- package/Dev/i18n/fr/Flutter/skills/security-flutter/SKILL.md +10 -0
- package/Dev/i18n/fr/Flutter/skills/state-management/REFERENCE.md +408 -0
- package/Dev/i18n/fr/Flutter/skills/state-management/SKILL.md +10 -0
- package/Dev/i18n/fr/Flutter/skills/testing-flutter/REFERENCE.md +692 -0
- package/Dev/i18n/fr/Flutter/skills/testing-flutter/SKILL.md +10 -0
- package/Dev/i18n/fr/Flutter/skills/tooling/REFERENCE.md +542 -0
- package/Dev/i18n/fr/Flutter/skills/tooling/SKILL.md +10 -0
- package/Dev/i18n/fr/Flutter/templates/bloc.md +118 -0
- package/Dev/i18n/fr/Flutter/templates/repository.md +113 -0
- package/Dev/i18n/fr/Flutter/templates/test-unit.md +67 -0
- package/Dev/i18n/fr/Flutter/templates/test-widget.md +71 -0
- package/Dev/i18n/fr/Flutter/templates/widget.md +119 -0
- package/Dev/i18n/fr/Python/CLAUDE.md.template +442 -0
- package/Dev/i18n/fr/Python/README.md +369 -0
- package/Dev/i18n/fr/Python/SUMMARY.md +352 -0
- package/Dev/i18n/fr/Python/agents/python-reviewer.md +396 -0
- package/Dev/i18n/fr/Python/checklists/new-feature.md +423 -0
- package/Dev/i18n/fr/Python/checklists/pre-commit.md +358 -0
- package/Dev/i18n/fr/Python/commands/async-check.md +557 -0
- package/Dev/i18n/fr/Python/commands/check-architecture.md +138 -0
- package/Dev/i18n/fr/Python/commands/check-code-quality.md +174 -0
- package/Dev/i18n/fr/Python/commands/check-compliance.md +357 -0
- package/Dev/i18n/fr/Python/commands/check-security.md +207 -0
- package/Dev/i18n/fr/Python/commands/check-testing.md +184 -0
- package/Dev/i18n/fr/Python/commands/dependency-audit.md +398 -0
- package/Dev/i18n/fr/Python/commands/generate-endpoint.md +538 -0
- package/Dev/i18n/fr/Python/commands/generate-model.md +410 -0
- package/Dev/i18n/fr/Python/commands/type-coverage.md +509 -0
- package/Dev/i18n/fr/Python/examples/Makefile.example +435 -0
- package/Dev/i18n/fr/Python/rules/00-project-context.md.template +190 -0
- package/Dev/i18n/fr/Python/rules/02-architecture.md +1383 -0
- package/Dev/i18n/fr/Python/rules/03-coding-standards.md +934 -0
- package/Dev/i18n/fr/Python/rules/06-tooling.md +730 -0
- package/Dev/i18n/fr/Python/rules/07-testing-python.md +778 -0
- package/Dev/i18n/fr/Python/skills/architecture/REFERENCE.md +1383 -0
- package/Dev/i18n/fr/Python/skills/architecture/SKILL.md +10 -0
- package/Dev/i18n/fr/Python/skills/coding-standards/REFERENCE.md +934 -0
- package/Dev/i18n/fr/Python/skills/coding-standards/SKILL.md +10 -0
- package/Dev/i18n/fr/Python/skills/testing-python/REFERENCE.md +778 -0
- package/Dev/i18n/fr/Python/skills/testing-python/SKILL.md +10 -0
- package/Dev/i18n/fr/Python/skills/tooling/REFERENCE.md +730 -0
- package/Dev/i18n/fr/Python/skills/tooling/SKILL.md +10 -0
- package/Dev/i18n/fr/Python/templates/repository.md +529 -0
- package/Dev/i18n/fr/Python/templates/service.md +365 -0
- package/Dev/i18n/fr/React/CLAUDE.md.template +530 -0
- package/Dev/i18n/fr/React/README.md +295 -0
- package/Dev/i18n/fr/React/agents/react-reviewer.md +355 -0
- package/Dev/i18n/fr/React/checklists/new-feature.md +314 -0
- package/Dev/i18n/fr/React/checklists/pre-commit.md +196 -0
- package/Dev/i18n/fr/React/commands/accessibility-check.md +608 -0
- package/Dev/i18n/fr/React/commands/bundle-analyze.md +474 -0
- package/Dev/i18n/fr/React/commands/check-architecture.md +130 -0
- package/Dev/i18n/fr/React/commands/check-code-quality.md +172 -0
- package/Dev/i18n/fr/React/commands/check-compliance.md +375 -0
- package/Dev/i18n/fr/React/commands/check-security.md +279 -0
- package/Dev/i18n/fr/React/commands/check-testing.md +217 -0
- package/Dev/i18n/fr/React/commands/generate-component.md +607 -0
- package/Dev/i18n/fr/React/commands/generate-hook.md +677 -0
- package/Dev/i18n/fr/React/commands/storybook-story.md +533 -0
- package/Dev/i18n/fr/React/rules/00-project-context.md.template +223 -0
- package/Dev/i18n/fr/React/rules/02-architecture.md +1005 -0
- package/Dev/i18n/fr/React/rules/03-coding-standards.md +995 -0
- package/Dev/i18n/fr/React/rules/06-tooling.md +777 -0
- package/Dev/i18n/fr/React/rules/07-testing-react.md +999 -0
- package/Dev/i18n/fr/React/rules/08-quality-tools.md +758 -0
- package/Dev/i18n/fr/React/rules/11-security-react.md +793 -0
- package/Dev/i18n/fr/React/skills/architecture/REFERENCE.md +1005 -0
- package/Dev/i18n/fr/React/skills/architecture/SKILL.md +10 -0
- package/Dev/i18n/fr/React/skills/coding-standards/REFERENCE.md +995 -0
- package/Dev/i18n/fr/React/skills/coding-standards/SKILL.md +10 -0
- package/Dev/i18n/fr/React/skills/quality-tools/REFERENCE.md +758 -0
- package/Dev/i18n/fr/React/skills/quality-tools/SKILL.md +10 -0
- package/Dev/i18n/fr/React/skills/security-react/REFERENCE.md +793 -0
- package/Dev/i18n/fr/React/skills/security-react/SKILL.md +10 -0
- package/Dev/i18n/fr/React/skills/testing-react/REFERENCE.md +999 -0
- package/Dev/i18n/fr/React/skills/testing-react/SKILL.md +10 -0
- package/Dev/i18n/fr/React/skills/tooling/REFERENCE.md +777 -0
- package/Dev/i18n/fr/React/skills/tooling/SKILL.md +10 -0
- package/Dev/i18n/fr/React/templates/component.md +283 -0
- package/Dev/i18n/fr/React/templates/hook.md +393 -0
- package/Dev/i18n/fr/ReactNative/CLAUDE.md.template +543 -0
- package/Dev/i18n/fr/ReactNative/FILES.md +144 -0
- package/Dev/i18n/fr/ReactNative/INSTALLATION.md +407 -0
- package/Dev/i18n/fr/ReactNative/README.md +437 -0
- package/Dev/i18n/fr/ReactNative/SUMMARY.md +599 -0
- package/Dev/i18n/fr/ReactNative/agents/reactnative-reviewer.md +380 -0
- package/Dev/i18n/fr/ReactNative/checklists/new-feature.md +223 -0
- package/Dev/i18n/fr/ReactNative/checklists/pre-commit.md +100 -0
- package/Dev/i18n/fr/ReactNative/checklists/refactoring.md +303 -0
- package/Dev/i18n/fr/ReactNative/checklists/security.md +380 -0
- package/Dev/i18n/fr/ReactNative/commands/app-size.md +465 -0
- package/Dev/i18n/fr/ReactNative/commands/check-architecture.md +220 -0
- package/Dev/i18n/fr/ReactNative/commands/check-code-quality.md +287 -0
- package/Dev/i18n/fr/ReactNative/commands/check-compliance.md +192 -0
- package/Dev/i18n/fr/ReactNative/commands/check-security.md +438 -0
- package/Dev/i18n/fr/ReactNative/commands/check-testing.md +316 -0
- package/Dev/i18n/fr/ReactNative/commands/deep-link.md +568 -0
- package/Dev/i18n/fr/ReactNative/commands/generate-screen.md +583 -0
- package/Dev/i18n/fr/ReactNative/commands/native-module.md +596 -0
- package/Dev/i18n/fr/ReactNative/commands/store-prepare.md +483 -0
- package/Dev/i18n/fr/ReactNative/rules/00-project-context.md.template +425 -0
- package/Dev/i18n/fr/ReactNative/rules/02-architecture.md +1253 -0
- package/Dev/i18n/fr/ReactNative/rules/03-coding-standards.md +1230 -0
- package/Dev/i18n/fr/ReactNative/rules/06-tooling.md +281 -0
- package/Dev/i18n/fr/ReactNative/rules/07-testing-reactnative.md +386 -0
- package/Dev/i18n/fr/ReactNative/rules/08-quality-tools.md +122 -0
- package/Dev/i18n/fr/ReactNative/rules/11-security-reactnative.md +719 -0
- package/Dev/i18n/fr/ReactNative/rules/12-performance.md +727 -0
- package/Dev/i18n/fr/ReactNative/rules/13-state-management.md +607 -0
- package/Dev/i18n/fr/ReactNative/rules/14-navigation.md +601 -0
- package/Dev/i18n/fr/ReactNative/skills/architecture/REFERENCE.md +1253 -0
- package/Dev/i18n/fr/ReactNative/skills/architecture/SKILL.md +10 -0
- package/Dev/i18n/fr/ReactNative/skills/coding-standards/REFERENCE.md +1230 -0
- package/Dev/i18n/fr/ReactNative/skills/coding-standards/SKILL.md +10 -0
- package/Dev/i18n/fr/ReactNative/skills/navigation/REFERENCE.md +601 -0
- package/Dev/i18n/fr/ReactNative/skills/navigation/SKILL.md +10 -0
- package/Dev/i18n/fr/ReactNative/skills/performance/REFERENCE.md +727 -0
- package/Dev/i18n/fr/ReactNative/skills/performance/SKILL.md +10 -0
- package/Dev/i18n/fr/ReactNative/skills/quality-tools/REFERENCE.md +122 -0
- package/Dev/i18n/fr/ReactNative/skills/quality-tools/SKILL.md +10 -0
- package/Dev/i18n/fr/ReactNative/skills/security-reactnative/REFERENCE.md +719 -0
- package/Dev/i18n/fr/ReactNative/skills/security-reactnative/SKILL.md +10 -0
- package/Dev/i18n/fr/ReactNative/skills/state-management/REFERENCE.md +607 -0
- package/Dev/i18n/fr/ReactNative/skills/state-management/SKILL.md +10 -0
- package/Dev/i18n/fr/ReactNative/skills/testing-reactnative/REFERENCE.md +386 -0
- package/Dev/i18n/fr/ReactNative/skills/testing-reactnative/SKILL.md +10 -0
- package/Dev/i18n/fr/ReactNative/skills/tooling/REFERENCE.md +281 -0
- package/Dev/i18n/fr/ReactNative/skills/tooling/SKILL.md +10 -0
- package/Dev/i18n/fr/ReactNative/templates/component.md +170 -0
- package/Dev/i18n/fr/ReactNative/templates/hook.md +204 -0
- package/Dev/i18n/fr/ReactNative/templates/screen.md +159 -0
- package/Dev/i18n/fr/ReactNative/templates/test-component.md +225 -0
- package/Dev/i18n/fr/Symfony/CLAUDE.md.template +238 -0
- package/Dev/i18n/fr/Symfony/adr/README.md +279 -0
- package/Dev/i18n/fr/Symfony/adr/template.md +237 -0
- package/Dev/i18n/fr/Symfony/agents/symfony-reviewer.md +406 -0
- package/Dev/i18n/fr/Symfony/checklists/README.md +429 -0
- package/Dev/i18n/fr/Symfony/checklists/new-feature.md +765 -0
- package/Dev/i18n/fr/Symfony/checklists/pre-commit.md +527 -0
- package/Dev/i18n/fr/Symfony/checklists/refactoring.md +975 -0
- package/Dev/i18n/fr/Symfony/checklists/security-rgpd.md +920 -0
- package/Dev/i18n/fr/Symfony/commands/api-endpoint.md +476 -0
- package/Dev/i18n/fr/Symfony/commands/check-architecture.md +237 -0
- package/Dev/i18n/fr/Symfony/commands/check-code-quality.md +327 -0
- package/Dev/i18n/fr/Symfony/commands/check-compliance.md +177 -0
- package/Dev/i18n/fr/Symfony/commands/check-security.md +582 -0
- package/Dev/i18n/fr/Symfony/commands/check-testing.md +445 -0
- package/Dev/i18n/fr/Symfony/commands/generate-command.md +350 -0
- package/Dev/i18n/fr/Symfony/commands/generate-crud.md +440 -0
- package/Dev/i18n/fr/Symfony/commands/migration-plan.md +347 -0
- package/Dev/i18n/fr/Symfony/commands/optimize-doctrine.md +327 -0
- package/Dev/i18n/fr/Symfony/examples/aggregate-examples.md +1128 -0
- package/Dev/i18n/fr/Symfony/examples/clean-architecture-structure.md +645 -0
- package/Dev/i18n/fr/Symfony/examples/domain-event-examples.md +1091 -0
- package/Dev/i18n/fr/Symfony/examples/value-object-examples.md +1129 -0
- package/Dev/i18n/fr/Symfony/rules/00-project-context.md.template +118 -0
- package/Dev/i18n/fr/Symfony/rules/02-architecture-clean-ddd.md +979 -0
- package/Dev/i18n/fr/Symfony/rules/03-coding-standards.md +402 -0
- package/Dev/i18n/fr/Symfony/rules/06-docker-hadolint.md +767 -0
- package/Dev/i18n/fr/Symfony/rules/07-testing-symfony.md +1121 -0
- package/Dev/i18n/fr/Symfony/rules/08-quality-tools.md +982 -0
- package/Dev/i18n/fr/Symfony/rules/11-security-symfony.md +1055 -0
- package/Dev/i18n/fr/Symfony/rules/12-performance.md +888 -0
- package/Dev/i18n/fr/Symfony/rules/13-ddd-patterns.md +1220 -0
- package/Dev/i18n/fr/Symfony/rules/14-multitenant.md +432 -0
- package/Dev/i18n/fr/Symfony/rules/15-doctrine-extensions.md +927 -0
- package/Dev/i18n/fr/Symfony/rules/16-i18n.md +185 -0
- package/Dev/i18n/fr/Symfony/rules/17-async.md +190 -0
- package/Dev/i18n/fr/Symfony/rules/18-value-objects.md +536 -0
- package/Dev/i18n/fr/Symfony/rules/19-aggregates.md +115 -0
- package/Dev/i18n/fr/Symfony/rules/20-domain-events.md +129 -0
- package/Dev/i18n/fr/Symfony/rules/21-cqrs.md +426 -0
- package/Dev/i18n/fr/Symfony/skills/aggregates/REFERENCE.md +115 -0
- package/Dev/i18n/fr/Symfony/skills/aggregates/SKILL.md +10 -0
- package/Dev/i18n/fr/Symfony/skills/architecture-clean-ddd/REFERENCE.md +979 -0
- package/Dev/i18n/fr/Symfony/skills/architecture-clean-ddd/SKILL.md +10 -0
- package/Dev/i18n/fr/Symfony/skills/async/REFERENCE.md +190 -0
- package/Dev/i18n/fr/Symfony/skills/async/SKILL.md +10 -0
- package/Dev/i18n/fr/Symfony/skills/coding-standards/REFERENCE.md +402 -0
- package/Dev/i18n/fr/Symfony/skills/coding-standards/SKILL.md +10 -0
- package/Dev/i18n/fr/Symfony/skills/cqrs/REFERENCE.md +426 -0
- package/Dev/i18n/fr/Symfony/skills/cqrs/SKILL.md +10 -0
- package/Dev/i18n/fr/Symfony/skills/ddd-patterns/REFERENCE.md +1220 -0
- package/Dev/i18n/fr/Symfony/skills/ddd-patterns/SKILL.md +10 -0
- package/Dev/i18n/fr/Symfony/skills/docker-hadolint/REFERENCE.md +767 -0
- package/Dev/i18n/fr/Symfony/skills/docker-hadolint/SKILL.md +10 -0
- package/Dev/i18n/fr/Symfony/skills/doctrine-extensions/REFERENCE.md +927 -0
- package/Dev/i18n/fr/Symfony/skills/doctrine-extensions/SKILL.md +10 -0
- package/Dev/i18n/fr/Symfony/skills/domain-events/REFERENCE.md +129 -0
- package/Dev/i18n/fr/Symfony/skills/domain-events/SKILL.md +10 -0
- package/Dev/i18n/fr/Symfony/skills/i18n/REFERENCE.md +185 -0
- package/Dev/i18n/fr/Symfony/skills/i18n/SKILL.md +10 -0
- package/Dev/i18n/fr/Symfony/skills/multitenant/REFERENCE.md +432 -0
- package/Dev/i18n/fr/Symfony/skills/multitenant/SKILL.md +10 -0
- package/Dev/i18n/fr/Symfony/skills/performance/REFERENCE.md +888 -0
- package/Dev/i18n/fr/Symfony/skills/performance/SKILL.md +10 -0
- package/Dev/i18n/fr/Symfony/skills/quality-tools/REFERENCE.md +982 -0
- package/Dev/i18n/fr/Symfony/skills/quality-tools/SKILL.md +10 -0
- package/Dev/i18n/fr/Symfony/skills/security-symfony/REFERENCE.md +1055 -0
- package/Dev/i18n/fr/Symfony/skills/security-symfony/SKILL.md +10 -0
- package/Dev/i18n/fr/Symfony/skills/testing-symfony/REFERENCE.md +1121 -0
- package/Dev/i18n/fr/Symfony/skills/testing-symfony/SKILL.md +10 -0
- package/Dev/i18n/fr/Symfony/skills/value-objects/REFERENCE.md +536 -0
- package/Dev/i18n/fr/Symfony/skills/value-objects/SKILL.md +10 -0
- package/Dev/i18n/fr/Symfony/templates/README.md +279 -0
- package/Dev/i18n/fr/Symfony/templates/aggregate-examples.md +1128 -0
- package/Dev/i18n/fr/Symfony/templates/aggregate-root.md +860 -0
- package/Dev/i18n/fr/Symfony/templates/analysis.md +323 -0
- package/Dev/i18n/fr/Symfony/templates/clean-architecture-structure.md +645 -0
- package/Dev/i18n/fr/Symfony/templates/domain-event-examples.md +1091 -0
- package/Dev/i18n/fr/Symfony/templates/domain-event.md +681 -0
- package/Dev/i18n/fr/Symfony/templates/service.md +527 -0
- package/Dev/i18n/fr/Symfony/templates/template.md +237 -0
- package/Dev/i18n/fr/Symfony/templates/test-behat.md +674 -0
- package/Dev/i18n/fr/Symfony/templates/test-integration.md +698 -0
- package/Dev/i18n/fr/Symfony/templates/test-unit.md +735 -0
- package/Dev/i18n/fr/Symfony/templates/value-object-examples.md +1129 -0
- package/Dev/i18n/fr/Symfony/templates/value-object.md +534 -0
- package/Dev/i18n/messages/de.sh +91 -0
- package/Dev/i18n/messages/en.sh +91 -0
- package/Dev/i18n/messages/es.sh +91 -0
- package/Dev/i18n/messages/fr.sh +91 -0
- package/Dev/i18n/messages/pt.sh +91 -0
- package/Dev/i18n/pt/Common/agents/accessibility-expert.md +230 -0
- package/Dev/i18n/pt/Common/agents/api-designer.md +396 -0
- package/Dev/i18n/pt/Common/agents/database-architect.md +263 -0
- package/Dev/i18n/pt/Common/agents/devops-engineer.md +207 -0
- package/Dev/i18n/pt/Common/agents/performance-auditor.md +375 -0
- package/Dev/i18n/pt/Common/agents/refactoring-specialist.md +303 -0
- package/Dev/i18n/pt/Common/agents/research-assistant.md +256 -0
- package/Dev/i18n/pt/Common/agents/tdd-coach.md +230 -0
- package/Dev/i18n/pt/Common/agents/ui-designer.md +192 -0
- package/Dev/i18n/pt/Common/agents/uiux-orchestrator.md +122 -0
- package/Dev/i18n/pt/Common/agents/ux-ergonome.md +187 -0
- package/Dev/i18n/pt/Common/agents/workflow-orchestrator.md +225 -0
- package/Dev/i18n/pt/Common/checklists/code-review.md +153 -0
- package/Dev/i18n/pt/Common/checklists/definition-of-done.md +104 -0
- package/Dev/i18n/pt/Common/checklists/release.md +176 -0
- package/Dev/i18n/pt/Common/checklists/security-review.md +167 -0
- package/Dev/i18n/pt/Common/commands/a11y-audit.md +98 -0
- package/Dev/i18n/pt/Common/commands/a11y-component.md +138 -0
- package/Dev/i18n/pt/Common/commands/architecture-decision.md +366 -0
- package/Dev/i18n/pt/Common/commands/daily-standup.md +216 -0
- package/Dev/i18n/pt/Common/commands/docker-optimize.md +392 -0
- package/Dev/i18n/pt/Common/commands/fix-bug-tdd.md +383 -0
- package/Dev/i18n/pt/Common/commands/full-audit.md +191 -0
- package/Dev/i18n/pt/Common/commands/generate-changelog.md +237 -0
- package/Dev/i18n/pt/Common/commands/pre-commit-check.md +205 -0
- package/Dev/i18n/pt/Common/commands/pre-merge-check.md +237 -0
- package/Dev/i18n/pt/Common/commands/release-checklist.md +245 -0
- package/Dev/i18n/pt/Common/commands/research-context7.md +253 -0
- package/Dev/i18n/pt/Common/commands/setup-ci.md +522 -0
- package/Dev/i18n/pt/Common/commands/sprint-retro.md +329 -0
- package/Dev/i18n/pt/Common/commands/sprint-review.md +313 -0
- package/Dev/i18n/pt/Common/commands/sprint-start.md +285 -0
- package/Dev/i18n/pt/Common/commands/ui-design-tokens.md +118 -0
- package/Dev/i18n/pt/Common/commands/uiux-audit.md +189 -0
- package/Dev/i18n/pt/Common/commands/uiux-component-spec.md +264 -0
- package/Dev/i18n/pt/Common/commands/uiux-orchestrator.md +98 -0
- package/Dev/i18n/pt/Common/commands/ux-user-flow.md +109 -0
- package/Dev/i18n/pt/Common/commands/workflow-analyze.md +204 -0
- package/Dev/i18n/pt/Common/commands/workflow-design.md +275 -0
- package/Dev/i18n/pt/Common/commands/workflow-implement.md +241 -0
- package/Dev/i18n/pt/Common/commands/workflow-init.md +257 -0
- package/Dev/i18n/pt/Common/commands/workflow-plan.md +224 -0
- package/Dev/i18n/pt/Common/commands/workflow-status.md +292 -0
- package/Dev/i18n/pt/Common/hooks/HOOKS-QUICKSTART.md +46 -0
- package/Dev/i18n/pt/Common/hooks/scripts/block-dangerous-commands.sh +45 -0
- package/Dev/i18n/pt/Common/hooks/scripts/notify-slack.sh +38 -0
- package/Dev/i18n/pt/Common/hooks/scripts/post-edit-lint.sh +58 -0
- package/Dev/i18n/pt/Common/hooks/scripts/pre-commit-check.sh +72 -0
- package/Dev/i18n/pt/Common/hooks/scripts/quality-gate.sh +98 -0
- package/Dev/i18n/pt/Common/hooks/scripts/session-init.sh +77 -0
- package/Dev/i18n/pt/Common/hooks/templates/settings-hooks.json +75 -0
- package/Dev/i18n/pt/Common/mcp/MCP-QUICKSTART.md +79 -0
- package/Dev/i18n/pt/Common/mcp/templates/context7.mcp.json +9 -0
- package/Dev/i18n/pt/Common/mcp/templates/full-stack.mcp.json +27 -0
- package/Dev/i18n/pt/Common/mcp/templates/github.mcp.json +12 -0
- package/Dev/i18n/pt/Common/mcp/templates/postgres.mcp.json +12 -0
- package/Dev/i18n/pt/Common/mcp/templates/slack.mcp.json +13 -0
- package/Dev/i18n/pt/Common/rules/00-project-context.md.template +118 -0
- package/Dev/i18n/pt/Common/rules/01-workflow-analysis.md +226 -0
- package/Dev/i18n/pt/Common/rules/04-solid-principles.md +396 -0
- package/Dev/i18n/pt/Common/rules/05-kiss-dry-yagni.md +417 -0
- package/Dev/i18n/pt/Common/rules/07-testing.md +463 -0
- package/Dev/i18n/pt/Common/rules/09-git-workflow.md +541 -0
- package/Dev/i18n/pt/Common/rules/10-documentation.md +555 -0
- package/Dev/i18n/pt/Common/rules/11-security.md +540 -0
- package/Dev/i18n/pt/Common/skills/documentation/REFERENCE.md +555 -0
- package/Dev/i18n/pt/Common/skills/documentation/SKILL.md +10 -0
- package/Dev/i18n/pt/Common/skills/git-workflow/REFERENCE.md +541 -0
- package/Dev/i18n/pt/Common/skills/git-workflow/SKILL.md +10 -0
- package/Dev/i18n/pt/Common/skills/kiss-dry-yagni/REFERENCE.md +417 -0
- package/Dev/i18n/pt/Common/skills/kiss-dry-yagni/SKILL.md +10 -0
- package/Dev/i18n/pt/Common/skills/security/REFERENCE.md +540 -0
- package/Dev/i18n/pt/Common/skills/security/SKILL.md +10 -0
- package/Dev/i18n/pt/Common/skills/solid-principles/REFERENCE.md +396 -0
- package/Dev/i18n/pt/Common/skills/solid-principles/SKILL.md +10 -0
- package/Dev/i18n/pt/Common/skills/testing/REFERENCE.md +463 -0
- package/Dev/i18n/pt/Common/skills/testing/SKILL.md +10 -0
- package/Dev/i18n/pt/Common/skills/workflow-analysis/REFERENCE.md +226 -0
- package/Dev/i18n/pt/Common/skills/workflow-analysis/SKILL.md +10 -0
- package/Dev/i18n/pt/Common/templates/CLAUDE.md.template +58 -0
- package/Dev/i18n/pt/Common/templates/bug-report.md +64 -0
- package/Dev/i18n/pt/Common/templates/feature-request.md +71 -0
- package/Dev/i18n/pt/Common/templates/pull-request-template.md +84 -0
- package/Dev/i18n/pt/Common/templates/settings.json.template +55 -0
- package/Dev/i18n/pt/Common/templates/settings.local.json.template +10 -0
- package/Dev/i18n/pt/Flutter/CLAUDE.md.template +447 -0
- package/Dev/i18n/pt/Flutter/INDEX.md +392 -0
- package/Dev/i18n/pt/Flutter/README.md +330 -0
- package/Dev/i18n/pt/Flutter/STRUCTURE.md +289 -0
- package/Dev/i18n/pt/Flutter/SUMMARY.md +348 -0
- package/Dev/i18n/pt/Flutter/agents/flutter-reviewer.md +590 -0
- package/Dev/i18n/pt/Flutter/checklists/new-feature.md +55 -0
- package/Dev/i18n/pt/Flutter/checklists/pre-commit.md +52 -0
- package/Dev/i18n/pt/Flutter/checklists/refactoring.md +30 -0
- package/Dev/i18n/pt/Flutter/checklists/security.md +47 -0
- package/Dev/i18n/pt/Flutter/commands/analyze-performance.md +72 -0
- package/Dev/i18n/pt/Flutter/commands/check-architecture.md +62 -0
- package/Dev/i18n/pt/Flutter/commands/check-code-quality.md +61 -0
- package/Dev/i18n/pt/Flutter/commands/check-compliance.md +44 -0
- package/Dev/i18n/pt/Flutter/commands/check-security.md +62 -0
- package/Dev/i18n/pt/Flutter/commands/check-testing.md +61 -0
- package/Dev/i18n/pt/Flutter/commands/generate-feature.md +65 -0
- package/Dev/i18n/pt/Flutter/commands/generate-widget.md +69 -0
- package/Dev/i18n/pt/Flutter/commands/golden-update.md +81 -0
- package/Dev/i18n/pt/Flutter/commands/localization-check.md +75 -0
- package/Dev/i18n/pt/Flutter/rules/00-project-context.md.template +511 -0
- package/Dev/i18n/pt/Flutter/rules/02-architecture.md +455 -0
- package/Dev/i18n/pt/Flutter/rules/03-coding-standards.md +247 -0
- package/Dev/i18n/pt/Flutter/rules/06-tooling.md +542 -0
- package/Dev/i18n/pt/Flutter/rules/08-quality-tools.md +239 -0
- package/Dev/i18n/pt/Flutter/rules/11-security-flutter.md +247 -0
- package/Dev/i18n/pt/Flutter/rules/12-performance.md +230 -0
- package/Dev/i18n/pt/Flutter/rules/13-state-management.md +408 -0
- package/Dev/i18n/pt/Flutter/skills/architecture/REFERENCE.md +455 -0
- package/Dev/i18n/pt/Flutter/skills/architecture/SKILL.md +10 -0
- package/Dev/i18n/pt/Flutter/skills/coding-standards/REFERENCE.md +247 -0
- package/Dev/i18n/pt/Flutter/skills/coding-standards/SKILL.md +10 -0
- package/Dev/i18n/pt/Flutter/skills/performance/REFERENCE.md +230 -0
- package/Dev/i18n/pt/Flutter/skills/performance/SKILL.md +10 -0
- package/Dev/i18n/pt/Flutter/skills/quality-tools/REFERENCE.md +239 -0
- package/Dev/i18n/pt/Flutter/skills/quality-tools/SKILL.md +10 -0
- package/Dev/i18n/pt/Flutter/skills/security-flutter/REFERENCE.md +247 -0
- package/Dev/i18n/pt/Flutter/skills/security-flutter/SKILL.md +10 -0
- package/Dev/i18n/pt/Flutter/skills/state-management/REFERENCE.md +408 -0
- package/Dev/i18n/pt/Flutter/skills/state-management/SKILL.md +10 -0
- package/Dev/i18n/pt/Flutter/skills/tooling/REFERENCE.md +542 -0
- package/Dev/i18n/pt/Flutter/skills/tooling/SKILL.md +10 -0
- package/Dev/i18n/pt/Flutter/templates/bloc.md +118 -0
- package/Dev/i18n/pt/Flutter/templates/repository.md +113 -0
- package/Dev/i18n/pt/Flutter/templates/test-unit.md +67 -0
- package/Dev/i18n/pt/Flutter/templates/test-widget.md +71 -0
- package/Dev/i18n/pt/Flutter/templates/widget.md +119 -0
- package/Dev/i18n/pt/Python/CLAUDE.md.template +442 -0
- package/Dev/i18n/pt/Python/README.md +369 -0
- package/Dev/i18n/pt/Python/SUMMARY.md +352 -0
- package/Dev/i18n/pt/Python/agents/python-reviewer.md +118 -0
- package/Dev/i18n/pt/Python/checklists/new-feature.md +423 -0
- package/Dev/i18n/pt/Python/checklists/pre-commit.md +358 -0
- package/Dev/i18n/pt/Python/commands/async-check.md +84 -0
- package/Dev/i18n/pt/Python/commands/check-architecture.md +138 -0
- package/Dev/i18n/pt/Python/commands/check-code-quality.md +174 -0
- package/Dev/i18n/pt/Python/commands/check-compliance.md +260 -0
- package/Dev/i18n/pt/Python/commands/check-security.md +207 -0
- package/Dev/i18n/pt/Python/commands/check-testing.md +184 -0
- package/Dev/i18n/pt/Python/commands/dependency-audit.md +198 -0
- package/Dev/i18n/pt/Python/commands/generate-endpoint.md +90 -0
- package/Dev/i18n/pt/Python/commands/generate-model.md +96 -0
- package/Dev/i18n/pt/Python/commands/type-coverage.md +119 -0
- package/Dev/i18n/pt/Python/examples/Makefile.example +435 -0
- package/Dev/i18n/pt/Python/rules/00-project-context.md.template +190 -0
- package/Dev/i18n/pt/Python/rules/02-architecture.md +444 -0
- package/Dev/i18n/pt/Python/rules/03-coding-standards.md +572 -0
- package/Dev/i18n/pt/Python/rules/06-tooling.md +351 -0
- package/Dev/i18n/pt/Python/rules/07-testing-python.md +387 -0
- package/Dev/i18n/pt/Python/skills/architecture/REFERENCE.md +444 -0
- package/Dev/i18n/pt/Python/skills/architecture/SKILL.md +10 -0
- package/Dev/i18n/pt/Python/skills/coding-standards/REFERENCE.md +572 -0
- package/Dev/i18n/pt/Python/skills/coding-standards/SKILL.md +10 -0
- package/Dev/i18n/pt/Python/skills/testing-python/REFERENCE.md +387 -0
- package/Dev/i18n/pt/Python/skills/testing-python/SKILL.md +10 -0
- package/Dev/i18n/pt/Python/skills/tooling/REFERENCE.md +351 -0
- package/Dev/i18n/pt/Python/skills/tooling/SKILL.md +10 -0
- package/Dev/i18n/pt/Python/templates/repository.md +120 -0
- package/Dev/i18n/pt/Python/templates/service.md +125 -0
- package/Dev/i18n/pt/React/CLAUDE.md.template +530 -0
- package/Dev/i18n/pt/React/README.md +295 -0
- package/Dev/i18n/pt/React/TRANSLATION_STATUS.md +65 -0
- package/Dev/i18n/pt/React/agents/react-reviewer.md +295 -0
- package/Dev/i18n/pt/React/checklists/new-feature.md +205 -0
- package/Dev/i18n/pt/React/checklists/pre-commit.md +190 -0
- package/Dev/i18n/pt/React/commands/accessibility-check.md +125 -0
- package/Dev/i18n/pt/React/commands/bundle-analyze.md +55 -0
- package/Dev/i18n/pt/React/commands/check-architecture.md +55 -0
- package/Dev/i18n/pt/React/commands/check-code-quality.md +60 -0
- package/Dev/i18n/pt/React/commands/check-compliance.md +79 -0
- package/Dev/i18n/pt/React/commands/check-security.md +58 -0
- package/Dev/i18n/pt/React/commands/check-testing.md +58 -0
- package/Dev/i18n/pt/React/commands/generate-component.md +81 -0
- package/Dev/i18n/pt/React/commands/generate-hook.md +139 -0
- package/Dev/i18n/pt/React/commands/storybook-story.md +133 -0
- package/Dev/i18n/pt/React/rules/00-project-context.md.template +223 -0
- package/Dev/i18n/pt/React/rules/02-architecture.md +651 -0
- package/Dev/i18n/pt/React/rules/03-coding-standards.md +716 -0
- package/Dev/i18n/pt/React/rules/06-tooling.md +777 -0
- package/Dev/i18n/pt/React/rules/07-testing-react.md +999 -0
- package/Dev/i18n/pt/React/rules/08-quality-tools.md +758 -0
- package/Dev/i18n/pt/React/rules/11-security-react.md +793 -0
- package/Dev/i18n/pt/React/skills/architecture/REFERENCE.md +651 -0
- package/Dev/i18n/pt/React/skills/architecture/SKILL.md +10 -0
- package/Dev/i18n/pt/React/skills/coding-standards/REFERENCE.md +716 -0
- package/Dev/i18n/pt/React/skills/coding-standards/SKILL.md +10 -0
- package/Dev/i18n/pt/React/skills/quality-tools/REFERENCE.md +758 -0
- package/Dev/i18n/pt/React/skills/quality-tools/SKILL.md +10 -0
- package/Dev/i18n/pt/React/skills/security-react/REFERENCE.md +793 -0
- package/Dev/i18n/pt/React/skills/security-react/SKILL.md +10 -0
- package/Dev/i18n/pt/React/skills/testing-react/REFERENCE.md +999 -0
- package/Dev/i18n/pt/React/skills/testing-react/SKILL.md +10 -0
- package/Dev/i18n/pt/React/skills/tooling/REFERENCE.md +777 -0
- package/Dev/i18n/pt/React/skills/tooling/SKILL.md +10 -0
- package/Dev/i18n/pt/React/templates/component.md +283 -0
- package/Dev/i18n/pt/React/templates/hook.md +393 -0
- package/Dev/i18n/pt/ReactNative/CLAUDE.md.template +543 -0
- package/Dev/i18n/pt/ReactNative/FILES.md +144 -0
- package/Dev/i18n/pt/ReactNative/INSTALLATION.md +407 -0
- package/Dev/i18n/pt/ReactNative/README.md +437 -0
- package/Dev/i18n/pt/ReactNative/SUMMARY.md +599 -0
- package/Dev/i18n/pt/ReactNative/agents/reactnative-reviewer.md +167 -0
- package/Dev/i18n/pt/ReactNative/checklists/new-feature.md +278 -0
- package/Dev/i18n/pt/ReactNative/checklists/pre-commit.md +270 -0
- package/Dev/i18n/pt/ReactNative/checklists/refactoring.md +388 -0
- package/Dev/i18n/pt/ReactNative/checklists/security.md +357 -0
- package/Dev/i18n/pt/ReactNative/commands/app-size.md +494 -0
- package/Dev/i18n/pt/ReactNative/commands/check-architecture.md +203 -0
- package/Dev/i18n/pt/ReactNative/commands/check-code-quality.md +116 -0
- package/Dev/i18n/pt/ReactNative/commands/check-compliance.md +129 -0
- package/Dev/i18n/pt/ReactNative/commands/check-security.md +190 -0
- package/Dev/i18n/pt/ReactNative/commands/check-testing.md +126 -0
- package/Dev/i18n/pt/ReactNative/commands/deep-link.md +586 -0
- package/Dev/i18n/pt/ReactNative/commands/generate-screen.md +416 -0
- package/Dev/i18n/pt/ReactNative/commands/native-module.md +139 -0
- package/Dev/i18n/pt/ReactNative/commands/store-prepare.md +239 -0
- package/Dev/i18n/pt/ReactNative/rules/00-project-context.md.template +425 -0
- package/Dev/i18n/pt/ReactNative/rules/02-architecture.md +200 -0
- package/Dev/i18n/pt/ReactNative/rules/03-coding-standards.md +1230 -0
- package/Dev/i18n/pt/ReactNative/rules/06-tooling.md +281 -0
- package/Dev/i18n/pt/ReactNative/rules/07-testing-reactnative.md +386 -0
- package/Dev/i18n/pt/ReactNative/rules/08-quality-tools.md +122 -0
- package/Dev/i18n/pt/ReactNative/rules/11-security-reactnative.md +719 -0
- package/Dev/i18n/pt/ReactNative/rules/12-performance.md +727 -0
- package/Dev/i18n/pt/ReactNative/rules/13-state-management.md +566 -0
- package/Dev/i18n/pt/ReactNative/rules/14-navigation.md +601 -0
- package/Dev/i18n/pt/ReactNative/skills/architecture/REFERENCE.md +200 -0
- package/Dev/i18n/pt/ReactNative/skills/architecture/SKILL.md +10 -0
- package/Dev/i18n/pt/ReactNative/skills/coding-standards/REFERENCE.md +1230 -0
- package/Dev/i18n/pt/ReactNative/skills/coding-standards/SKILL.md +10 -0
- package/Dev/i18n/pt/ReactNative/skills/navigation/REFERENCE.md +601 -0
- package/Dev/i18n/pt/ReactNative/skills/navigation/SKILL.md +10 -0
- package/Dev/i18n/pt/ReactNative/skills/performance/REFERENCE.md +727 -0
- package/Dev/i18n/pt/ReactNative/skills/performance/SKILL.md +10 -0
- package/Dev/i18n/pt/ReactNative/skills/quality-tools/REFERENCE.md +122 -0
- package/Dev/i18n/pt/ReactNative/skills/quality-tools/SKILL.md +10 -0
- package/Dev/i18n/pt/ReactNative/skills/security-reactnative/REFERENCE.md +719 -0
- package/Dev/i18n/pt/ReactNative/skills/security-reactnative/SKILL.md +10 -0
- package/Dev/i18n/pt/ReactNative/skills/state-management/REFERENCE.md +566 -0
- package/Dev/i18n/pt/ReactNative/skills/state-management/SKILL.md +10 -0
- package/Dev/i18n/pt/ReactNative/skills/testing-reactnative/REFERENCE.md +386 -0
- package/Dev/i18n/pt/ReactNative/skills/testing-reactnative/SKILL.md +10 -0
- package/Dev/i18n/pt/ReactNative/skills/tooling/REFERENCE.md +281 -0
- package/Dev/i18n/pt/ReactNative/skills/tooling/SKILL.md +10 -0
- package/Dev/i18n/pt/ReactNative/templates/component.md +170 -0
- package/Dev/i18n/pt/ReactNative/templates/hook.md +204 -0
- package/Dev/i18n/pt/ReactNative/templates/screen.md +159 -0
- package/Dev/i18n/pt/ReactNative/templates/test-component.md +225 -0
- package/Dev/i18n/pt/Symfony/CLAUDE.md.template +238 -0
- package/Dev/i18n/pt/Symfony/adr/README.md +230 -0
- package/Dev/i18n/pt/Symfony/adr/template.md +237 -0
- package/Dev/i18n/pt/Symfony/agents/symfony-reviewer.md +406 -0
- package/Dev/i18n/pt/Symfony/checklists/README.md +429 -0
- package/Dev/i18n/pt/Symfony/checklists/new-feature.md +765 -0
- package/Dev/i18n/pt/Symfony/checklists/pre-commit.md +527 -0
- package/Dev/i18n/pt/Symfony/checklists/refactoring.md +975 -0
- package/Dev/i18n/pt/Symfony/checklists/security-rgpd.md +920 -0
- package/Dev/i18n/pt/Symfony/commands/api-endpoint.md +476 -0
- package/Dev/i18n/pt/Symfony/commands/check-architecture.md +237 -0
- package/Dev/i18n/pt/Symfony/commands/check-code-quality.md +327 -0
- package/Dev/i18n/pt/Symfony/commands/check-compliance.md +177 -0
- package/Dev/i18n/pt/Symfony/commands/check-security.md +582 -0
- package/Dev/i18n/pt/Symfony/commands/check-testing.md +445 -0
- package/Dev/i18n/pt/Symfony/commands/generate-command.md +350 -0
- package/Dev/i18n/pt/Symfony/commands/generate-crud.md +440 -0
- package/Dev/i18n/pt/Symfony/commands/migration-plan.md +347 -0
- package/Dev/i18n/pt/Symfony/commands/optimize-doctrine.md +327 -0
- package/Dev/i18n/pt/Symfony/examples/aggregate-examples.md +1128 -0
- package/Dev/i18n/pt/Symfony/examples/clean-architecture-structure.md +645 -0
- package/Dev/i18n/pt/Symfony/examples/domain-event-examples.md +1091 -0
- package/Dev/i18n/pt/Symfony/examples/value-object-examples.md +1129 -0
- package/Dev/i18n/pt/Symfony/rules/00-project-context.md.template +118 -0
- package/Dev/i18n/pt/Symfony/rules/02-architecture-clean-ddd.md +979 -0
- package/Dev/i18n/pt/Symfony/rules/03-coding-standards.md +402 -0
- package/Dev/i18n/pt/Symfony/rules/06-docker-hadolint.md +767 -0
- package/Dev/i18n/pt/Symfony/rules/07-testing-symfony.md +1121 -0
- package/Dev/i18n/pt/Symfony/rules/08-quality-tools.md +982 -0
- package/Dev/i18n/pt/Symfony/rules/11-security-symfony.md +1055 -0
- package/Dev/i18n/pt/Symfony/rules/12-performance.md +888 -0
- package/Dev/i18n/pt/Symfony/rules/13-ddd-patterns.md +1220 -0
- package/Dev/i18n/pt/Symfony/rules/14-multitenant.md +432 -0
- package/Dev/i18n/pt/Symfony/rules/15-doctrine-extensions.md +927 -0
- package/Dev/i18n/pt/Symfony/rules/16-i18n.md +185 -0
- package/Dev/i18n/pt/Symfony/rules/17-async.md +190 -0
- package/Dev/i18n/pt/Symfony/rules/18-value-objects.md +536 -0
- package/Dev/i18n/pt/Symfony/rules/19-aggregates.md +115 -0
- package/Dev/i18n/pt/Symfony/rules/20-domain-events.md +129 -0
- package/Dev/i18n/pt/Symfony/rules/21-cqrs.md +426 -0
- package/Dev/i18n/pt/Symfony/skills/aggregates/REFERENCE.md +115 -0
- package/Dev/i18n/pt/Symfony/skills/aggregates/SKILL.md +10 -0
- package/Dev/i18n/pt/Symfony/skills/architecture-clean-ddd/REFERENCE.md +979 -0
- package/Dev/i18n/pt/Symfony/skills/architecture-clean-ddd/SKILL.md +10 -0
- package/Dev/i18n/pt/Symfony/skills/async/REFERENCE.md +190 -0
- package/Dev/i18n/pt/Symfony/skills/async/SKILL.md +10 -0
- package/Dev/i18n/pt/Symfony/skills/coding-standards/REFERENCE.md +402 -0
- package/Dev/i18n/pt/Symfony/skills/coding-standards/SKILL.md +10 -0
- package/Dev/i18n/pt/Symfony/skills/cqrs/REFERENCE.md +426 -0
- package/Dev/i18n/pt/Symfony/skills/cqrs/SKILL.md +10 -0
- package/Dev/i18n/pt/Symfony/skills/ddd-patterns/REFERENCE.md +1220 -0
- package/Dev/i18n/pt/Symfony/skills/ddd-patterns/SKILL.md +10 -0
- package/Dev/i18n/pt/Symfony/skills/docker-hadolint/REFERENCE.md +767 -0
- package/Dev/i18n/pt/Symfony/skills/docker-hadolint/SKILL.md +10 -0
- package/Dev/i18n/pt/Symfony/skills/doctrine-extensions/REFERENCE.md +927 -0
- package/Dev/i18n/pt/Symfony/skills/doctrine-extensions/SKILL.md +10 -0
- package/Dev/i18n/pt/Symfony/skills/domain-events/REFERENCE.md +129 -0
- package/Dev/i18n/pt/Symfony/skills/domain-events/SKILL.md +10 -0
- package/Dev/i18n/pt/Symfony/skills/i18n/REFERENCE.md +185 -0
- package/Dev/i18n/pt/Symfony/skills/i18n/SKILL.md +10 -0
- package/Dev/i18n/pt/Symfony/skills/multitenant/REFERENCE.md +432 -0
- package/Dev/i18n/pt/Symfony/skills/multitenant/SKILL.md +10 -0
- package/Dev/i18n/pt/Symfony/skills/performance/REFERENCE.md +888 -0
- package/Dev/i18n/pt/Symfony/skills/performance/SKILL.md +10 -0
- package/Dev/i18n/pt/Symfony/skills/quality-tools/REFERENCE.md +982 -0
- package/Dev/i18n/pt/Symfony/skills/quality-tools/SKILL.md +10 -0
- package/Dev/i18n/pt/Symfony/skills/security-symfony/REFERENCE.md +1055 -0
- package/Dev/i18n/pt/Symfony/skills/security-symfony/SKILL.md +10 -0
- package/Dev/i18n/pt/Symfony/skills/testing-symfony/REFERENCE.md +1121 -0
- package/Dev/i18n/pt/Symfony/skills/testing-symfony/SKILL.md +10 -0
- package/Dev/i18n/pt/Symfony/skills/value-objects/REFERENCE.md +536 -0
- package/Dev/i18n/pt/Symfony/skills/value-objects/SKILL.md +10 -0
- package/Dev/i18n/pt/Symfony/templates/README.md +279 -0
- package/Dev/i18n/pt/Symfony/templates/aggregate-examples.md +1128 -0
- package/Dev/i18n/pt/Symfony/templates/aggregate-root.md +860 -0
- package/Dev/i18n/pt/Symfony/templates/analysis.md +323 -0
- package/Dev/i18n/pt/Symfony/templates/clean-architecture-structure.md +645 -0
- package/Dev/i18n/pt/Symfony/templates/domain-event-examples.md +1091 -0
- package/Dev/i18n/pt/Symfony/templates/domain-event.md +681 -0
- package/Dev/i18n/pt/Symfony/templates/service.md +527 -0
- package/Dev/i18n/pt/Symfony/templates/template.md +237 -0
- package/Dev/i18n/pt/Symfony/templates/test-behat.md +674 -0
- package/Dev/i18n/pt/Symfony/templates/test-integration.md +698 -0
- package/Dev/i18n/pt/Symfony/templates/test-unit.md +735 -0
- package/Dev/i18n/pt/Symfony/templates/value-object-examples.md +1129 -0
- package/Dev/i18n/pt/Symfony/templates/value-object.md +534 -0
- package/Dev/scripts/check-config.sh +678 -0
- package/Dev/scripts/install-common-rules.sh +712 -0
- package/Dev/scripts/install-flutter-rules.sh +523 -0
- package/Dev/scripts/install-from-config.sh +699 -0
- package/Dev/scripts/install-python-rules.sh +522 -0
- package/Dev/scripts/install-react-rules.sh +522 -0
- package/Dev/scripts/install-reactnative-rules.sh +526 -0
- package/Dev/scripts/install-symfony-rules.sh +921 -0
- package/Dev/scripts/lib/install-common.sh +504 -0
- package/Dev/scripts/migrate-project.sh +441 -0
- package/Infra/i18n/de/Docker/agents/docker-architect.md +315 -0
- package/Infra/i18n/de/Docker/agents/docker-cicd.md +302 -0
- package/Infra/i18n/de/Docker/agents/docker-compose.md +269 -0
- package/Infra/i18n/de/Docker/agents/docker-debug.md +255 -0
- package/Infra/i18n/de/Docker/agents/docker-dockerfile.md +79 -0
- package/Infra/i18n/de/Docker/commands/docker-architecture.md +436 -0
- package/Infra/i18n/de/Docker/commands/docker-cicd-pipeline.md +337 -0
- package/Infra/i18n/de/Docker/commands/docker-compose-setup.md +255 -0
- package/Infra/i18n/de/Docker/commands/docker-debug.md +227 -0
- package/Infra/i18n/en/Docker/agents/docker-architect.md +315 -0
- package/Infra/i18n/en/Docker/agents/docker-cicd.md +302 -0
- package/Infra/i18n/en/Docker/agents/docker-compose.md +269 -0
- package/Infra/i18n/en/Docker/agents/docker-debug.md +255 -0
- package/Infra/i18n/en/Docker/agents/docker-dockerfile.md +195 -0
- package/Infra/i18n/en/Docker/commands/docker-architecture.md +436 -0
- package/Infra/i18n/en/Docker/commands/docker-cicd-pipeline.md +337 -0
- package/Infra/i18n/en/Docker/commands/docker-compose-setup.md +255 -0
- package/Infra/i18n/en/Docker/commands/docker-debug.md +227 -0
- package/Infra/i18n/es/Docker/agents/docker-architect.md +315 -0
- package/Infra/i18n/es/Docker/agents/docker-cicd.md +302 -0
- package/Infra/i18n/es/Docker/agents/docker-compose.md +269 -0
- package/Infra/i18n/es/Docker/agents/docker-debug.md +255 -0
- package/Infra/i18n/es/Docker/agents/docker-dockerfile.md +79 -0
- package/Infra/i18n/es/Docker/commands/docker-architecture.md +436 -0
- package/Infra/i18n/es/Docker/commands/docker-cicd-pipeline.md +337 -0
- package/Infra/i18n/es/Docker/commands/docker-compose-setup.md +255 -0
- package/Infra/i18n/es/Docker/commands/docker-debug.md +227 -0
- package/Infra/i18n/fr/Docker/agents/docker-architect.md +314 -0
- package/Infra/i18n/fr/Docker/agents/docker-cicd.md +304 -0
- package/Infra/i18n/fr/Docker/agents/docker-compose.md +269 -0
- package/Infra/i18n/fr/Docker/agents/docker-debug.md +255 -0
- package/Infra/i18n/fr/Docker/agents/docker-dockerfile.md +195 -0
- package/Infra/i18n/fr/Docker/commands/docker-architecture.md +436 -0
- package/Infra/i18n/fr/Docker/commands/docker-cicd-pipeline.md +340 -0
- package/Infra/i18n/fr/Docker/commands/docker-compose-setup.md +255 -0
- package/Infra/i18n/fr/Docker/commands/docker-debug.md +227 -0
- package/Infra/i18n/pt/Docker/agents/docker-architect.md +315 -0
- package/Infra/i18n/pt/Docker/agents/docker-cicd.md +302 -0
- package/Infra/i18n/pt/Docker/agents/docker-compose.md +269 -0
- package/Infra/i18n/pt/Docker/agents/docker-debug.md +255 -0
- package/Infra/i18n/pt/Docker/agents/docker-dockerfile.md +79 -0
- package/Infra/i18n/pt/Docker/commands/docker-architecture.md +436 -0
- package/Infra/i18n/pt/Docker/commands/docker-cicd-pipeline.md +337 -0
- package/Infra/i18n/pt/Docker/commands/docker-compose-setup.md +255 -0
- package/Infra/i18n/pt/Docker/commands/docker-debug.md +227 -0
- package/Infra/install-infra-rules.sh +425 -0
- package/LICENSE +21 -0
- package/Project/i18n/de/agents/product-owner.md +219 -0
- package/Project/i18n/de/agents/tech-lead.md +294 -0
- package/Project/i18n/de/commands/add-epic.md +88 -0
- package/Project/i18n/de/commands/add-story.md +112 -0
- package/Project/i18n/de/commands/add-task.md +127 -0
- package/Project/i18n/de/commands/board.md +134 -0
- package/Project/i18n/de/commands/decompose-tasks.md +600 -0
- package/Project/i18n/de/commands/generate-backlog.md +378 -0
- package/Project/i18n/de/commands/generate-prd.md +210 -0
- package/Project/i18n/de/commands/generate-tech-spec.md +285 -0
- package/Project/i18n/de/commands/list-epics.md +95 -0
- package/Project/i18n/de/commands/list-stories.md +120 -0
- package/Project/i18n/de/commands/list-tasks.md +132 -0
- package/Project/i18n/de/commands/move-story.md +183 -0
- package/Project/i18n/de/commands/move-task.md +204 -0
- package/Project/i18n/de/commands/sprint-dev.md +194 -0
- package/Project/i18n/de/commands/sprint-status.md +158 -0
- package/Project/i18n/de/commands/update-epic.md +101 -0
- package/Project/i18n/de/commands/update-story.md +146 -0
- package/Project/i18n/de/commands/validate-backlog.md +330 -0
- package/Project/i18n/de/templates/board.md +52 -0
- package/Project/i18n/de/templates/epic.md +39 -0
- package/Project/i18n/de/templates/index.md +74 -0
- package/Project/i18n/de/templates/prd.md +256 -0
- package/Project/i18n/de/templates/task.md +46 -0
- package/Project/i18n/de/templates/tech-spec.md +519 -0
- package/Project/i18n/de/templates/user-story.md +57 -0
- package/Project/i18n/en/agents/product-owner.md +219 -0
- package/Project/i18n/en/agents/tech-lead.md +294 -0
- package/Project/i18n/en/commands/add-epic.md +88 -0
- package/Project/i18n/en/commands/add-story.md +112 -0
- package/Project/i18n/en/commands/add-task.md +127 -0
- package/Project/i18n/en/commands/board.md +134 -0
- package/Project/i18n/en/commands/decompose-tasks.md +600 -0
- package/Project/i18n/en/commands/generate-backlog.md +378 -0
- package/Project/i18n/en/commands/generate-prd.md +210 -0
- package/Project/i18n/en/commands/generate-tech-spec.md +285 -0
- package/Project/i18n/en/commands/list-epics.md +95 -0
- package/Project/i18n/en/commands/list-stories.md +120 -0
- package/Project/i18n/en/commands/list-tasks.md +132 -0
- package/Project/i18n/en/commands/move-story.md +183 -0
- package/Project/i18n/en/commands/move-task.md +204 -0
- package/Project/i18n/en/commands/sprint-dev.md +445 -0
- package/Project/i18n/en/commands/sprint-status.md +157 -0
- package/Project/i18n/en/commands/update-epic.md +101 -0
- package/Project/i18n/en/commands/update-story.md +146 -0
- package/Project/i18n/en/commands/validate-backlog.md +330 -0
- package/Project/i18n/en/templates/board.md +52 -0
- package/Project/i18n/en/templates/epic.md +39 -0
- package/Project/i18n/en/templates/index.md +74 -0
- package/Project/i18n/en/templates/prd.md +256 -0
- package/Project/i18n/en/templates/task.md +46 -0
- package/Project/i18n/en/templates/tech-spec.md +519 -0
- package/Project/i18n/en/templates/user-story.md +57 -0
- package/Project/i18n/es/agents/product-owner.md +219 -0
- package/Project/i18n/es/agents/tech-lead.md +294 -0
- package/Project/i18n/es/commands/add-epic.md +88 -0
- package/Project/i18n/es/commands/add-story.md +112 -0
- package/Project/i18n/es/commands/add-task.md +127 -0
- package/Project/i18n/es/commands/board.md +134 -0
- package/Project/i18n/es/commands/decompose-tasks.md +600 -0
- package/Project/i18n/es/commands/generate-backlog.md +378 -0
- package/Project/i18n/es/commands/generate-prd.md +210 -0
- package/Project/i18n/es/commands/generate-tech-spec.md +285 -0
- package/Project/i18n/es/commands/list-epics.md +95 -0
- package/Project/i18n/es/commands/list-stories.md +120 -0
- package/Project/i18n/es/commands/list-tasks.md +132 -0
- package/Project/i18n/es/commands/move-story.md +183 -0
- package/Project/i18n/es/commands/move-task.md +204 -0
- package/Project/i18n/es/commands/sprint-dev.md +194 -0
- package/Project/i18n/es/commands/sprint-status.md +157 -0
- package/Project/i18n/es/commands/update-epic.md +101 -0
- package/Project/i18n/es/commands/update-story.md +146 -0
- package/Project/i18n/es/commands/validate-backlog.md +330 -0
- package/Project/i18n/es/templates/board.md +52 -0
- package/Project/i18n/es/templates/epic.md +39 -0
- package/Project/i18n/es/templates/index.md +74 -0
- package/Project/i18n/es/templates/prd.md +256 -0
- package/Project/i18n/es/templates/task.md +46 -0
- package/Project/i18n/es/templates/tech-spec.md +519 -0
- package/Project/i18n/es/templates/user-story.md +57 -0
- package/Project/i18n/fr/agents/product-owner.md +219 -0
- package/Project/i18n/fr/agents/tech-lead.md +294 -0
- package/Project/i18n/fr/commands/add-epic.md +88 -0
- package/Project/i18n/fr/commands/add-story.md +112 -0
- package/Project/i18n/fr/commands/add-task.md +127 -0
- package/Project/i18n/fr/commands/board.md +134 -0
- package/Project/i18n/fr/commands/decompose-tasks.md +600 -0
- package/Project/i18n/fr/commands/generate-backlog.md +378 -0
- package/Project/i18n/fr/commands/generate-prd.md +210 -0
- package/Project/i18n/fr/commands/generate-tech-spec.md +285 -0
- package/Project/i18n/fr/commands/list-epics.md +95 -0
- package/Project/i18n/fr/commands/list-stories.md +120 -0
- package/Project/i18n/fr/commands/list-tasks.md +132 -0
- package/Project/i18n/fr/commands/move-story.md +183 -0
- package/Project/i18n/fr/commands/move-task.md +204 -0
- package/Project/i18n/fr/commands/sprint-dev.md +445 -0
- package/Project/i18n/fr/commands/sprint-status.md +157 -0
- package/Project/i18n/fr/commands/update-epic.md +101 -0
- package/Project/i18n/fr/commands/update-story.md +146 -0
- package/Project/i18n/fr/commands/validate-backlog.md +330 -0
- package/Project/i18n/fr/templates/board.md +52 -0
- package/Project/i18n/fr/templates/epic.md +39 -0
- package/Project/i18n/fr/templates/index.md +74 -0
- package/Project/i18n/fr/templates/prd.md +256 -0
- package/Project/i18n/fr/templates/task.md +46 -0
- package/Project/i18n/fr/templates/tech-spec.md +519 -0
- package/Project/i18n/fr/templates/user-story.md +57 -0
- package/Project/i18n/pt/agents/product-owner.md +219 -0
- package/Project/i18n/pt/agents/tech-lead.md +294 -0
- package/Project/i18n/pt/commands/add-epic.md +88 -0
- package/Project/i18n/pt/commands/add-story.md +112 -0
- package/Project/i18n/pt/commands/add-task.md +127 -0
- package/Project/i18n/pt/commands/board.md +134 -0
- package/Project/i18n/pt/commands/decompose-tasks.md +600 -0
- package/Project/i18n/pt/commands/generate-backlog.md +378 -0
- package/Project/i18n/pt/commands/generate-prd.md +210 -0
- package/Project/i18n/pt/commands/generate-tech-spec.md +285 -0
- package/Project/i18n/pt/commands/list-epics.md +95 -0
- package/Project/i18n/pt/commands/list-stories.md +120 -0
- package/Project/i18n/pt/commands/list-tasks.md +132 -0
- package/Project/i18n/pt/commands/move-story.md +183 -0
- package/Project/i18n/pt/commands/move-task.md +204 -0
- package/Project/i18n/pt/commands/sprint-dev.md +194 -0
- package/Project/i18n/pt/commands/sprint-status.md +157 -0
- package/Project/i18n/pt/commands/update-epic.md +101 -0
- package/Project/i18n/pt/commands/update-story.md +146 -0
- package/Project/i18n/pt/commands/validate-backlog.md +329 -0
- package/Project/i18n/pt/templates/board.md +52 -0
- package/Project/i18n/pt/templates/epic.md +39 -0
- package/Project/i18n/pt/templates/index.md +74 -0
- package/Project/i18n/pt/templates/prd.md +256 -0
- package/Project/i18n/pt/templates/task.md +46 -0
- package/Project/i18n/pt/templates/tech-spec.md +519 -0
- package/Project/i18n/pt/templates/user-story.md +57 -0
- package/Project/install-project-commands.sh +454 -0
- package/README.md +415 -0
- package/Tools/MultiAccount/README.md +130 -0
- package/Tools/MultiAccount/claude-accounts.sh +760 -0
- package/Tools/PluginExport/README.md +111 -0
- package/Tools/PluginExport/export-plugin.sh +294 -0
- package/Tools/ProjectConfig/README.md +151 -0
- package/Tools/ProjectConfig/claude-projects.sh +714 -0
- package/Tools/StatusLine/README.md +160 -0
- package/Tools/StatusLine/settings.json +6 -0
- package/Tools/StatusLine/statusline.conf.example +75 -0
- package/Tools/StatusLine/statusline.sh +351 -0
- package/Tools/i18n/accounts/de.sh +149 -0
- package/Tools/i18n/accounts/en.sh +149 -0
- package/Tools/i18n/accounts/es.sh +149 -0
- package/Tools/i18n/accounts/fr.sh +149 -0
- package/Tools/i18n/accounts/pt.sh +149 -0
- package/Tools/i18n/projects/de.sh +132 -0
- package/Tools/i18n/projects/en.sh +132 -0
- package/Tools/i18n/projects/es.sh +132 -0
- package/Tools/i18n/projects/fr.sh +132 -0
- package/Tools/i18n/projects/pt.sh +132 -0
- package/cli/flattener.js +487 -0
- package/cli/index.js +527 -0
- package/package.json +50 -0
|
@@ -0,0 +1,1383 @@
|
|
|
1
|
+
# Architecture Python - Clean Architecture & Hexagonale
|
|
2
|
+
|
|
3
|
+
## Principes Fondamentaux
|
|
4
|
+
|
|
5
|
+
### Clean Architecture (Uncle Bob)
|
|
6
|
+
|
|
7
|
+
L'architecture propre repose sur plusieurs principes clés:
|
|
8
|
+
|
|
9
|
+
1. **Indépendance des frameworks** - La logique métier ne dépend pas de frameworks
|
|
10
|
+
2. **Testabilité** - La logique métier peut être testée sans UI, DB, serveur web
|
|
11
|
+
3. **Indépendance de l'UI** - L'UI peut changer sans modifier la logique métier
|
|
12
|
+
4. **Indépendance de la DB** - Postgres, MongoDB, etc. sont interchangeables
|
|
13
|
+
5. **Indépendance des services externes** - La logique métier ne connaît pas le monde extérieur
|
|
14
|
+
|
|
15
|
+
### Architecture Hexagonale (Ports & Adapters)
|
|
16
|
+
|
|
17
|
+
```
|
|
18
|
+
┌─────────────────────────────────────────────────────────────────┐
|
|
19
|
+
│ INFRASTRUCTURE │
|
|
20
|
+
│ ┌──────────────┐ ┌──────────────┐ ┌──────────────┐ │
|
|
21
|
+
│ │ FastAPI │ │ PostgreSQL │ │ Redis │ │
|
|
22
|
+
│ │ (Adapter) │ │ (Adapter) │ │ (Adapter) │ │
|
|
23
|
+
│ └──────┬───────┘ └──────┬───────┘ └──────┬───────┘ │
|
|
24
|
+
│ │ │ │ │
|
|
25
|
+
│ ▼ ▼ ▼ │
|
|
26
|
+
│ ┌─────────────────────────────────────────────────┐ │
|
|
27
|
+
│ │ APPLICATION LAYER (Ports) │ │
|
|
28
|
+
│ │ ┌──────────────┐ ┌──────────────┐ │ │
|
|
29
|
+
│ │ │ Use Cases │ │ Interfaces │ │ │
|
|
30
|
+
│ │ └──────────────┘ └──────────────┘ │ │
|
|
31
|
+
│ └────────────────────┬────────────────────────────┘ │
|
|
32
|
+
│ │ │
|
|
33
|
+
│ ▼ │
|
|
34
|
+
│ ┌─────────────────────────────────────────────────┐ │
|
|
35
|
+
│ │ DOMAIN LAYER (Core) │ │
|
|
36
|
+
│ │ ┌──────────┐ ┌──────────┐ ┌──────────┐ │ │
|
|
37
|
+
│ │ │ Entities │ │ Services │ │ Events │ │ │
|
|
38
|
+
│ │ └──────────┘ └──────────┘ └──────────┘ │ │
|
|
39
|
+
│ └─────────────────────────────────────────────────┘ │
|
|
40
|
+
└─────────────────────────────────────────────────────────────────┘
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## Structure de Projet Complète
|
|
44
|
+
|
|
45
|
+
### Structure Recommandée
|
|
46
|
+
|
|
47
|
+
```
|
|
48
|
+
myproject/
|
|
49
|
+
├── src/
|
|
50
|
+
│ └── myproject/
|
|
51
|
+
│ ├── __init__.py
|
|
52
|
+
│ │
|
|
53
|
+
│ ├── domain/ # DOMAIN LAYER - Logique métier pure
|
|
54
|
+
│ │ ├── __init__.py
|
|
55
|
+
│ │ ├── entities/ # Entités métier
|
|
56
|
+
│ │ │ ├── __init__.py
|
|
57
|
+
│ │ │ ├── user.py
|
|
58
|
+
│ │ │ ├── order.py
|
|
59
|
+
│ │ │ └── product.py
|
|
60
|
+
│ │ ├── value_objects/ # Value Objects immutables
|
|
61
|
+
│ │ │ ├── __init__.py
|
|
62
|
+
│ │ │ ├── email.py
|
|
63
|
+
│ │ │ ├── money.py
|
|
64
|
+
│ │ │ └── address.py
|
|
65
|
+
│ │ ├── events/ # Domain Events
|
|
66
|
+
│ │ │ ├── __init__.py
|
|
67
|
+
│ │ │ ├── order_created.py
|
|
68
|
+
│ │ │ └── user_registered.py
|
|
69
|
+
│ │ ├── repositories/ # Interfaces (Ports)
|
|
70
|
+
│ │ │ ├── __init__.py
|
|
71
|
+
│ │ │ ├── user_repository.py
|
|
72
|
+
│ │ │ └── order_repository.py
|
|
73
|
+
│ │ ├── services/ # Services métier
|
|
74
|
+
│ │ │ ├── __init__.py
|
|
75
|
+
│ │ │ ├── order_service.py
|
|
76
|
+
│ │ │ └── pricing_service.py
|
|
77
|
+
│ │ └── exceptions/ # Exceptions métier
|
|
78
|
+
│ │ ├── __init__.py
|
|
79
|
+
│ │ └── domain_exceptions.py
|
|
80
|
+
│ │
|
|
81
|
+
│ ├── application/ # APPLICATION LAYER - Use cases
|
|
82
|
+
│ │ ├── __init__.py
|
|
83
|
+
│ │ ├── use_cases/ # Use cases (interactors)
|
|
84
|
+
│ │ │ ├── __init__.py
|
|
85
|
+
│ │ │ ├── user/
|
|
86
|
+
│ │ │ │ ├── __init__.py
|
|
87
|
+
│ │ │ │ ├── create_user.py
|
|
88
|
+
│ │ │ │ ├── update_user.py
|
|
89
|
+
│ │ │ │ └── delete_user.py
|
|
90
|
+
│ │ │ └── order/
|
|
91
|
+
│ │ │ ├── __init__.py
|
|
92
|
+
│ │ │ ├── create_order.py
|
|
93
|
+
│ │ │ └── cancel_order.py
|
|
94
|
+
│ │ ├── dtos/ # Data Transfer Objects
|
|
95
|
+
│ │ │ ├── __init__.py
|
|
96
|
+
│ │ │ ├── user_dto.py
|
|
97
|
+
│ │ │ └── order_dto.py
|
|
98
|
+
│ │ ├── interfaces/ # Ports pour infrastructure
|
|
99
|
+
│ │ │ ├── __init__.py
|
|
100
|
+
│ │ │ ├── email_service.py
|
|
101
|
+
│ │ │ ├── payment_gateway.py
|
|
102
|
+
│ │ │ └── cache_service.py
|
|
103
|
+
│ │ └── exceptions/
|
|
104
|
+
│ │ ├── __init__.py
|
|
105
|
+
│ │ └── application_exceptions.py
|
|
106
|
+
│ │
|
|
107
|
+
│ ├── infrastructure/ # INFRASTRUCTURE LAYER - Adapters
|
|
108
|
+
│ │ ├── __init__.py
|
|
109
|
+
│ │ ├── api/ # API HTTP (FastAPI/Flask/Django)
|
|
110
|
+
│ │ │ ├── __init__.py
|
|
111
|
+
│ │ │ ├── main.py # Point d'entrée API
|
|
112
|
+
│ │ │ ├── dependencies.py # Dependency injection
|
|
113
|
+
│ │ │ ├── middleware.py
|
|
114
|
+
│ │ │ ├── routes/ # Routes/Endpoints
|
|
115
|
+
│ │ │ │ ├── __init__.py
|
|
116
|
+
│ │ │ │ ├── users.py
|
|
117
|
+
│ │ │ │ └── orders.py
|
|
118
|
+
│ │ │ └── schemas/ # Schémas Pydantic (API)
|
|
119
|
+
│ │ │ ├── __init__.py
|
|
120
|
+
│ │ │ ├── user_schema.py
|
|
121
|
+
│ │ │ └── order_schema.py
|
|
122
|
+
│ │ ├── database/ # Base de données
|
|
123
|
+
│ │ │ ├── __init__.py
|
|
124
|
+
│ │ │ ├── connection.py
|
|
125
|
+
│ │ │ ├── session.py
|
|
126
|
+
│ │ │ ├── models/ # ORM models (SQLAlchemy)
|
|
127
|
+
│ │ │ │ ├── __init__.py
|
|
128
|
+
│ │ │ │ ├── user_model.py
|
|
129
|
+
│ │ │ │ └── order_model.py
|
|
130
|
+
│ │ │ ├── repositories/ # Implémentations repositories
|
|
131
|
+
│ │ │ │ ├── __init__.py
|
|
132
|
+
│ │ │ │ ├── user_repository_impl.py
|
|
133
|
+
│ │ │ │ └── order_repository_impl.py
|
|
134
|
+
│ │ │ └── migrations/ # Alembic migrations
|
|
135
|
+
│ │ │ ├── versions/
|
|
136
|
+
│ │ │ └── env.py
|
|
137
|
+
│ │ ├── cache/ # Cache (Redis)
|
|
138
|
+
│ │ │ ├── __init__.py
|
|
139
|
+
│ │ │ ├── redis_client.py
|
|
140
|
+
│ │ │ └── cache_service_impl.py
|
|
141
|
+
│ │ ├── messaging/ # Message queue
|
|
142
|
+
│ │ │ ├── __init__.py
|
|
143
|
+
│ │ │ ├── celery_app.py
|
|
144
|
+
│ │ │ └── tasks/
|
|
145
|
+
│ │ │ ├── __init__.py
|
|
146
|
+
│ │ │ └── email_tasks.py
|
|
147
|
+
│ │ ├── external/ # Services externes
|
|
148
|
+
│ │ │ ├── __init__.py
|
|
149
|
+
│ │ │ ├── stripe_payment.py
|
|
150
|
+
│ │ │ └── sendgrid_email.py
|
|
151
|
+
│ │ └── di/ # Dependency Injection
|
|
152
|
+
│ │ ├── __init__.py
|
|
153
|
+
│ │ └── container.py
|
|
154
|
+
│ │
|
|
155
|
+
│ └── shared/ # Code partagé
|
|
156
|
+
│ ├── __init__.py
|
|
157
|
+
│ ├── utils/
|
|
158
|
+
│ │ ├── __init__.py
|
|
159
|
+
│ │ ├── date_utils.py
|
|
160
|
+
│ │ └── string_utils.py
|
|
161
|
+
│ ├── validators/
|
|
162
|
+
│ │ ├── __init__.py
|
|
163
|
+
│ │ └── common_validators.py
|
|
164
|
+
│ └── constants/
|
|
165
|
+
│ ├── __init__.py
|
|
166
|
+
│ └── app_constants.py
|
|
167
|
+
│
|
|
168
|
+
├── tests/ # Tests
|
|
169
|
+
│ ├── __init__.py
|
|
170
|
+
│ ├── conftest.py # Fixtures globales pytest
|
|
171
|
+
│ ├── unit/ # Tests unitaires
|
|
172
|
+
│ │ ├── domain/
|
|
173
|
+
│ │ ├── application/
|
|
174
|
+
│ │ └── infrastructure/
|
|
175
|
+
│ ├── integration/ # Tests d'intégration
|
|
176
|
+
│ │ ├── api/
|
|
177
|
+
│ │ ├── database/
|
|
178
|
+
│ │ └── external/
|
|
179
|
+
│ └── e2e/ # Tests end-to-end
|
|
180
|
+
│ └── test_order_flow.py
|
|
181
|
+
│
|
|
182
|
+
├── docs/ # Documentation
|
|
183
|
+
│ ├── api/
|
|
184
|
+
│ ├── architecture/
|
|
185
|
+
│ └── adr/ # Architecture Decision Records
|
|
186
|
+
│
|
|
187
|
+
├── scripts/ # Scripts utilitaires
|
|
188
|
+
│ ├── init_db.py
|
|
189
|
+
│ └── seed_data.py
|
|
190
|
+
│
|
|
191
|
+
├── docker/ # Configuration Docker
|
|
192
|
+
│ ├── Dockerfile
|
|
193
|
+
│ ├── docker-compose.yml
|
|
194
|
+
│ └── docker-compose.dev.yml
|
|
195
|
+
│
|
|
196
|
+
├── .github/ # CI/CD
|
|
197
|
+
│ └── workflows/
|
|
198
|
+
│ └── ci.yml
|
|
199
|
+
│
|
|
200
|
+
├── pyproject.toml # Configuration Poetry/uv
|
|
201
|
+
├── poetry.lock / uv.lock
|
|
202
|
+
├── Makefile # Commandes Docker
|
|
203
|
+
├── .env.example # Variables d'environnement
|
|
204
|
+
├── .gitignore
|
|
205
|
+
├── .pre-commit-config.yaml
|
|
206
|
+
├── pytest.ini
|
|
207
|
+
├── mypy.ini
|
|
208
|
+
├── ruff.toml
|
|
209
|
+
└── README.md
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
## Domain Layer - Le Coeur Métier
|
|
213
|
+
|
|
214
|
+
### Entities (Entités)
|
|
215
|
+
|
|
216
|
+
Les entités sont des objets avec une identité unique.
|
|
217
|
+
|
|
218
|
+
```python
|
|
219
|
+
# src/myproject/domain/entities/user.py
|
|
220
|
+
from __future__ import annotations
|
|
221
|
+
|
|
222
|
+
from dataclasses import dataclass, field
|
|
223
|
+
from datetime import datetime
|
|
224
|
+
from typing import Optional
|
|
225
|
+
from uuid import UUID, uuid4
|
|
226
|
+
|
|
227
|
+
from myproject.domain.value_objects.email import Email
|
|
228
|
+
from myproject.domain.events.user_registered import UserRegistered
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
@dataclass
|
|
232
|
+
class User:
|
|
233
|
+
"""
|
|
234
|
+
Entité User représentant un utilisateur du système.
|
|
235
|
+
|
|
236
|
+
Une entité a une identité unique (id) qui persiste dans le temps,
|
|
237
|
+
même si ses attributs changent.
|
|
238
|
+
"""
|
|
239
|
+
|
|
240
|
+
id: UUID = field(default_factory=uuid4)
|
|
241
|
+
email: Email = field(default=None)
|
|
242
|
+
name: str = field(default="")
|
|
243
|
+
is_active: bool = field(default=True)
|
|
244
|
+
created_at: datetime = field(default_factory=datetime.utcnow)
|
|
245
|
+
updated_at: Optional[datetime] = field(default=None)
|
|
246
|
+
|
|
247
|
+
# Domain events (pattern Event Sourcing)
|
|
248
|
+
_events: list = field(default_factory=list, init=False, repr=False)
|
|
249
|
+
|
|
250
|
+
def __post_init__(self) -> None:
|
|
251
|
+
"""Validation après initialisation."""
|
|
252
|
+
if not self.email:
|
|
253
|
+
raise ValueError("Email is required")
|
|
254
|
+
if not self.name or len(self.name) < 2:
|
|
255
|
+
raise ValueError("Name must be at least 2 characters")
|
|
256
|
+
|
|
257
|
+
def activate(self) -> None:
|
|
258
|
+
"""Active l'utilisateur."""
|
|
259
|
+
if self.is_active:
|
|
260
|
+
raise ValueError("User is already active")
|
|
261
|
+
|
|
262
|
+
self.is_active = True
|
|
263
|
+
self.updated_at = datetime.utcnow()
|
|
264
|
+
|
|
265
|
+
def deactivate(self) -> None:
|
|
266
|
+
"""Désactive l'utilisateur."""
|
|
267
|
+
if not self.is_active:
|
|
268
|
+
raise ValueError("User is already inactive")
|
|
269
|
+
|
|
270
|
+
self.is_active = False
|
|
271
|
+
self.updated_at = datetime.utcnow()
|
|
272
|
+
|
|
273
|
+
def change_email(self, new_email: Email) -> None:
|
|
274
|
+
"""Change l'email de l'utilisateur."""
|
|
275
|
+
if self.email == new_email:
|
|
276
|
+
return
|
|
277
|
+
|
|
278
|
+
old_email = self.email
|
|
279
|
+
self.email = new_email
|
|
280
|
+
self.updated_at = datetime.utcnow()
|
|
281
|
+
|
|
282
|
+
# Émettre un événement domain
|
|
283
|
+
self._add_event(UserEmailChanged(
|
|
284
|
+
user_id=self.id,
|
|
285
|
+
old_email=old_email,
|
|
286
|
+
new_email=new_email,
|
|
287
|
+
changed_at=self.updated_at
|
|
288
|
+
))
|
|
289
|
+
|
|
290
|
+
def _add_event(self, event) -> None:
|
|
291
|
+
"""Ajoute un événement domain."""
|
|
292
|
+
self._events.append(event)
|
|
293
|
+
|
|
294
|
+
def clear_events(self) -> list:
|
|
295
|
+
"""Récupère et nettoie les événements."""
|
|
296
|
+
events = self._events.copy()
|
|
297
|
+
self._events.clear()
|
|
298
|
+
return events
|
|
299
|
+
|
|
300
|
+
def __eq__(self, other: object) -> bool:
|
|
301
|
+
"""Égalité basée sur l'identité, pas sur les attributs."""
|
|
302
|
+
if not isinstance(other, User):
|
|
303
|
+
return NotImplemented
|
|
304
|
+
return self.id == other.id
|
|
305
|
+
|
|
306
|
+
def __hash__(self) -> int:
|
|
307
|
+
"""Hash basé sur l'identité."""
|
|
308
|
+
return hash(self.id)
|
|
309
|
+
```
|
|
310
|
+
|
|
311
|
+
### Value Objects (Objets Valeur)
|
|
312
|
+
|
|
313
|
+
Les value objects sont immuables et définis par leurs attributs.
|
|
314
|
+
|
|
315
|
+
```python
|
|
316
|
+
# src/myproject/domain/value_objects/email.py
|
|
317
|
+
from __future__ import annotations
|
|
318
|
+
|
|
319
|
+
from dataclasses import dataclass
|
|
320
|
+
from email_validator import validate_email, EmailNotValidError
|
|
321
|
+
|
|
322
|
+
|
|
323
|
+
@dataclass(frozen=True) # Immutable
|
|
324
|
+
class Email:
|
|
325
|
+
"""
|
|
326
|
+
Value Object représentant une adresse email.
|
|
327
|
+
|
|
328
|
+
Un Value Object:
|
|
329
|
+
- Est immutable (frozen=True)
|
|
330
|
+
- N'a pas d'identité propre
|
|
331
|
+
- L'égalité est basée sur les valeurs
|
|
332
|
+
- Contient sa propre validation
|
|
333
|
+
"""
|
|
334
|
+
|
|
335
|
+
value: str
|
|
336
|
+
|
|
337
|
+
def __post_init__(self) -> None:
|
|
338
|
+
"""Validation à l'initialisation."""
|
|
339
|
+
try:
|
|
340
|
+
# Normalisation et validation
|
|
341
|
+
email_info = validate_email(self.value, check_deliverability=False)
|
|
342
|
+
# Utiliser object.__setattr__ car frozen=True
|
|
343
|
+
object.__setattr__(self, 'value', email_info.normalized)
|
|
344
|
+
except EmailNotValidError as e:
|
|
345
|
+
raise ValueError(f"Invalid email address: {e}")
|
|
346
|
+
|
|
347
|
+
def __str__(self) -> str:
|
|
348
|
+
return self.value
|
|
349
|
+
|
|
350
|
+
@property
|
|
351
|
+
def domain(self) -> str:
|
|
352
|
+
"""Extrait le domaine de l'email."""
|
|
353
|
+
return self.value.split('@')[1]
|
|
354
|
+
|
|
355
|
+
@property
|
|
356
|
+
def local_part(self) -> str:
|
|
357
|
+
"""Extrait la partie locale de l'email."""
|
|
358
|
+
return self.value.split('@')[0]
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
# src/myproject/domain/value_objects/money.py
|
|
362
|
+
from __future__ import annotations
|
|
363
|
+
|
|
364
|
+
from dataclasses import dataclass
|
|
365
|
+
from decimal import Decimal, ROUND_HALF_UP
|
|
366
|
+
from typing import Union
|
|
367
|
+
|
|
368
|
+
|
|
369
|
+
@dataclass(frozen=True)
|
|
370
|
+
class Money:
|
|
371
|
+
"""
|
|
372
|
+
Value Object représentant une valeur monétaire.
|
|
373
|
+
|
|
374
|
+
Gère correctement les opérations monétaires avec Decimal
|
|
375
|
+
pour éviter les erreurs de float.
|
|
376
|
+
"""
|
|
377
|
+
|
|
378
|
+
amount: Decimal
|
|
379
|
+
currency: str = "EUR"
|
|
380
|
+
|
|
381
|
+
def __post_init__(self) -> None:
|
|
382
|
+
"""Validation."""
|
|
383
|
+
# Conversion en Decimal si nécessaire
|
|
384
|
+
if not isinstance(self.amount, Decimal):
|
|
385
|
+
object.__setattr__(
|
|
386
|
+
self,
|
|
387
|
+
'amount',
|
|
388
|
+
Decimal(str(self.amount)).quantize(
|
|
389
|
+
Decimal('0.01'),
|
|
390
|
+
rounding=ROUND_HALF_UP
|
|
391
|
+
)
|
|
392
|
+
)
|
|
393
|
+
|
|
394
|
+
if self.amount < 0:
|
|
395
|
+
raise ValueError("Amount cannot be negative")
|
|
396
|
+
|
|
397
|
+
if len(self.currency) != 3:
|
|
398
|
+
raise ValueError("Currency must be ISO 4217 code (3 letters)")
|
|
399
|
+
|
|
400
|
+
def __add__(self, other: Money) -> Money:
|
|
401
|
+
"""Addition de deux Money."""
|
|
402
|
+
self._check_same_currency(other)
|
|
403
|
+
return Money(
|
|
404
|
+
amount=self.amount + other.amount,
|
|
405
|
+
currency=self.currency
|
|
406
|
+
)
|
|
407
|
+
|
|
408
|
+
def __sub__(self, other: Money) -> Money:
|
|
409
|
+
"""Soustraction de deux Money."""
|
|
410
|
+
self._check_same_currency(other)
|
|
411
|
+
return Money(
|
|
412
|
+
amount=self.amount - other.amount,
|
|
413
|
+
currency=self.currency
|
|
414
|
+
)
|
|
415
|
+
|
|
416
|
+
def __mul__(self, factor: Union[int, float, Decimal]) -> Money:
|
|
417
|
+
"""Multiplication par un facteur."""
|
|
418
|
+
return Money(
|
|
419
|
+
amount=self.amount * Decimal(str(factor)),
|
|
420
|
+
currency=self.currency
|
|
421
|
+
)
|
|
422
|
+
|
|
423
|
+
def __truediv__(self, divisor: Union[int, float, Decimal]) -> Money:
|
|
424
|
+
"""Division par un diviseur."""
|
|
425
|
+
if divisor == 0:
|
|
426
|
+
raise ValueError("Cannot divide by zero")
|
|
427
|
+
return Money(
|
|
428
|
+
amount=self.amount / Decimal(str(divisor)),
|
|
429
|
+
currency=self.currency
|
|
430
|
+
)
|
|
431
|
+
|
|
432
|
+
def _check_same_currency(self, other: Money) -> None:
|
|
433
|
+
"""Vérifie que les devises sont identiques."""
|
|
434
|
+
if self.currency != other.currency:
|
|
435
|
+
raise ValueError(
|
|
436
|
+
f"Cannot operate on different currencies: "
|
|
437
|
+
f"{self.currency} vs {other.currency}"
|
|
438
|
+
)
|
|
439
|
+
|
|
440
|
+
def __str__(self) -> str:
|
|
441
|
+
return f"{self.amount:.2f} {self.currency}"
|
|
442
|
+
```
|
|
443
|
+
|
|
444
|
+
### Domain Services
|
|
445
|
+
|
|
446
|
+
Services contenant de la logique métier qui ne rentre pas dans une entité.
|
|
447
|
+
|
|
448
|
+
```python
|
|
449
|
+
# src/myproject/domain/services/pricing_service.py
|
|
450
|
+
from decimal import Decimal
|
|
451
|
+
from typing import Protocol
|
|
452
|
+
|
|
453
|
+
from myproject.domain.entities.order import Order
|
|
454
|
+
from myproject.domain.value_objects.money import Money
|
|
455
|
+
|
|
456
|
+
|
|
457
|
+
class DiscountRule(Protocol):
|
|
458
|
+
"""Interface pour les règles de discount."""
|
|
459
|
+
|
|
460
|
+
def applies_to(self, order: Order) -> bool:
|
|
461
|
+
"""Vérifie si la règle s'applique à la commande."""
|
|
462
|
+
...
|
|
463
|
+
|
|
464
|
+
def calculate_discount(self, order: Order) -> Money:
|
|
465
|
+
"""Calcule le montant du discount."""
|
|
466
|
+
...
|
|
467
|
+
|
|
468
|
+
|
|
469
|
+
class PricingService:
|
|
470
|
+
"""
|
|
471
|
+
Service métier pour le calcul des prix.
|
|
472
|
+
|
|
473
|
+
Contient la logique de pricing qui ne dépend pas d'une seule entité
|
|
474
|
+
mais coordonne plusieurs concepts métier.
|
|
475
|
+
"""
|
|
476
|
+
|
|
477
|
+
def __init__(self, discount_rules: list[DiscountRule]) -> None:
|
|
478
|
+
self._discount_rules = discount_rules
|
|
479
|
+
|
|
480
|
+
def calculate_total(self, order: Order) -> Money:
|
|
481
|
+
"""
|
|
482
|
+
Calcule le total d'une commande avec discounts.
|
|
483
|
+
|
|
484
|
+
Args:
|
|
485
|
+
order: La commande à pricer
|
|
486
|
+
|
|
487
|
+
Returns:
|
|
488
|
+
Le montant total après discounts
|
|
489
|
+
"""
|
|
490
|
+
subtotal = self._calculate_subtotal(order)
|
|
491
|
+
discount = self._calculate_discount(order)
|
|
492
|
+
tax = self._calculate_tax(subtotal - discount, order.tax_rate)
|
|
493
|
+
|
|
494
|
+
total = subtotal - discount + tax
|
|
495
|
+
|
|
496
|
+
return total
|
|
497
|
+
|
|
498
|
+
def _calculate_subtotal(self, order: Order) -> Money:
|
|
499
|
+
"""Calcule le sous-total (somme des items)."""
|
|
500
|
+
subtotal = Money(amount=Decimal("0"), currency="EUR")
|
|
501
|
+
|
|
502
|
+
for item in order.items:
|
|
503
|
+
item_total = item.unit_price * item.quantity
|
|
504
|
+
subtotal = subtotal + item_total
|
|
505
|
+
|
|
506
|
+
return subtotal
|
|
507
|
+
|
|
508
|
+
def _calculate_discount(self, order: Order) -> Money:
|
|
509
|
+
"""Applique les règles de discount."""
|
|
510
|
+
total_discount = Money(amount=Decimal("0"), currency="EUR")
|
|
511
|
+
|
|
512
|
+
for rule in self._discount_rules:
|
|
513
|
+
if rule.applies_to(order):
|
|
514
|
+
discount = rule.calculate_discount(order)
|
|
515
|
+
total_discount = total_discount + discount
|
|
516
|
+
|
|
517
|
+
return total_discount
|
|
518
|
+
|
|
519
|
+
def _calculate_tax(self, amount: Money, tax_rate: Decimal) -> Money:
|
|
520
|
+
"""Calcule la taxe."""
|
|
521
|
+
return amount * tax_rate
|
|
522
|
+
```
|
|
523
|
+
|
|
524
|
+
### Repository Interfaces (Ports)
|
|
525
|
+
|
|
526
|
+
Interfaces définissant comment accéder aux entités, sans implémentation.
|
|
527
|
+
|
|
528
|
+
```python
|
|
529
|
+
# src/myproject/domain/repositories/user_repository.py
|
|
530
|
+
from abc import ABC, abstractmethod
|
|
531
|
+
from typing import Optional, Protocol
|
|
532
|
+
from uuid import UUID
|
|
533
|
+
|
|
534
|
+
from myproject.domain.entities.user import User
|
|
535
|
+
from myproject.domain.value_objects.email import Email
|
|
536
|
+
|
|
537
|
+
|
|
538
|
+
class UserRepository(Protocol):
|
|
539
|
+
"""
|
|
540
|
+
Port (interface) pour le repository User.
|
|
541
|
+
|
|
542
|
+
Le domain définit le contrat, l'infrastructure fournit l'implémentation.
|
|
543
|
+
Utilise Protocol (PEP 544) pour structural subtyping.
|
|
544
|
+
"""
|
|
545
|
+
|
|
546
|
+
def save(self, user: User) -> User:
|
|
547
|
+
"""
|
|
548
|
+
Sauvegarde un utilisateur.
|
|
549
|
+
|
|
550
|
+
Args:
|
|
551
|
+
user: L'utilisateur à sauvegarder
|
|
552
|
+
|
|
553
|
+
Returns:
|
|
554
|
+
L'utilisateur sauvegardé
|
|
555
|
+
|
|
556
|
+
Raises:
|
|
557
|
+
RepositoryError: Si la sauvegarde échoue
|
|
558
|
+
"""
|
|
559
|
+
...
|
|
560
|
+
|
|
561
|
+
def find_by_id(self, user_id: UUID) -> Optional[User]:
|
|
562
|
+
"""
|
|
563
|
+
Trouve un utilisateur par son ID.
|
|
564
|
+
|
|
565
|
+
Args:
|
|
566
|
+
user_id: L'ID de l'utilisateur
|
|
567
|
+
|
|
568
|
+
Returns:
|
|
569
|
+
L'utilisateur trouvé ou None
|
|
570
|
+
"""
|
|
571
|
+
...
|
|
572
|
+
|
|
573
|
+
def find_by_email(self, email: Email) -> Optional[User]:
|
|
574
|
+
"""
|
|
575
|
+
Trouve un utilisateur par son email.
|
|
576
|
+
|
|
577
|
+
Args:
|
|
578
|
+
email: L'email de l'utilisateur
|
|
579
|
+
|
|
580
|
+
Returns:
|
|
581
|
+
L'utilisateur trouvé ou None
|
|
582
|
+
"""
|
|
583
|
+
...
|
|
584
|
+
|
|
585
|
+
def exists_with_email(self, email: Email) -> bool:
|
|
586
|
+
"""
|
|
587
|
+
Vérifie si un utilisateur existe avec cet email.
|
|
588
|
+
|
|
589
|
+
Args:
|
|
590
|
+
email: L'email à vérifier
|
|
591
|
+
|
|
592
|
+
Returns:
|
|
593
|
+
True si un utilisateur existe
|
|
594
|
+
"""
|
|
595
|
+
...
|
|
596
|
+
|
|
597
|
+
def delete(self, user_id: UUID) -> None:
|
|
598
|
+
"""
|
|
599
|
+
Supprime un utilisateur.
|
|
600
|
+
|
|
601
|
+
Args:
|
|
602
|
+
user_id: L'ID de l'utilisateur à supprimer
|
|
603
|
+
|
|
604
|
+
Raises:
|
|
605
|
+
RepositoryError: Si la suppression échoue
|
|
606
|
+
UserNotFoundError: Si l'utilisateur n'existe pas
|
|
607
|
+
"""
|
|
608
|
+
...
|
|
609
|
+
|
|
610
|
+
|
|
611
|
+
# Alternative avec ABC (Abstract Base Class)
|
|
612
|
+
class UserRepositoryABC(ABC):
|
|
613
|
+
"""Version avec ABC au lieu de Protocol."""
|
|
614
|
+
|
|
615
|
+
@abstractmethod
|
|
616
|
+
def save(self, user: User) -> User:
|
|
617
|
+
"""Sauvegarde un utilisateur."""
|
|
618
|
+
pass
|
|
619
|
+
|
|
620
|
+
@abstractmethod
|
|
621
|
+
def find_by_id(self, user_id: UUID) -> Optional[User]:
|
|
622
|
+
"""Trouve un utilisateur par ID."""
|
|
623
|
+
pass
|
|
624
|
+
```
|
|
625
|
+
|
|
626
|
+
## Application Layer - Use Cases
|
|
627
|
+
|
|
628
|
+
### Use Case Pattern
|
|
629
|
+
|
|
630
|
+
```python
|
|
631
|
+
# src/myproject/application/use_cases/user/create_user.py
|
|
632
|
+
from dataclasses import dataclass
|
|
633
|
+
from typing import Optional
|
|
634
|
+
from uuid import UUID
|
|
635
|
+
|
|
636
|
+
from myproject.domain.entities.user import User
|
|
637
|
+
from myproject.domain.repositories.user_repository import UserRepository
|
|
638
|
+
from myproject.domain.value_objects.email import Email
|
|
639
|
+
from myproject.application.dtos.user_dto import UserDTO
|
|
640
|
+
from myproject.application.exceptions import (
|
|
641
|
+
UserAlreadyExistsError,
|
|
642
|
+
ValidationError
|
|
643
|
+
)
|
|
644
|
+
from myproject.application.interfaces.email_service import EmailService
|
|
645
|
+
|
|
646
|
+
|
|
647
|
+
@dataclass
|
|
648
|
+
class CreateUserCommand:
|
|
649
|
+
"""Command pour créer un utilisateur."""
|
|
650
|
+
email: str
|
|
651
|
+
name: str
|
|
652
|
+
send_welcome_email: bool = True
|
|
653
|
+
|
|
654
|
+
|
|
655
|
+
class CreateUserUseCase:
|
|
656
|
+
"""
|
|
657
|
+
Use case pour créer un utilisateur.
|
|
658
|
+
|
|
659
|
+
Coordonne les opérations nécessaires à la création d'un utilisateur:
|
|
660
|
+
- Validation
|
|
661
|
+
- Vérification d'unicité
|
|
662
|
+
- Création de l'entité
|
|
663
|
+
- Persistence
|
|
664
|
+
- Envoi d'email de bienvenue
|
|
665
|
+
"""
|
|
666
|
+
|
|
667
|
+
def __init__(
|
|
668
|
+
self,
|
|
669
|
+
user_repository: UserRepository,
|
|
670
|
+
email_service: EmailService
|
|
671
|
+
) -> None:
|
|
672
|
+
self._user_repository = user_repository
|
|
673
|
+
self._email_service = email_service
|
|
674
|
+
|
|
675
|
+
def execute(self, command: CreateUserCommand) -> UserDTO:
|
|
676
|
+
"""
|
|
677
|
+
Exécute le use case.
|
|
678
|
+
|
|
679
|
+
Args:
|
|
680
|
+
command: Les données de création
|
|
681
|
+
|
|
682
|
+
Returns:
|
|
683
|
+
Le DTO de l'utilisateur créé
|
|
684
|
+
|
|
685
|
+
Raises:
|
|
686
|
+
UserAlreadyExistsError: Si l'email existe déjà
|
|
687
|
+
ValidationError: Si les données sont invalides
|
|
688
|
+
"""
|
|
689
|
+
# 1. Créer les value objects (validation automatique)
|
|
690
|
+
try:
|
|
691
|
+
email = Email(command.email)
|
|
692
|
+
except ValueError as e:
|
|
693
|
+
raise ValidationError(f"Invalid email: {e}")
|
|
694
|
+
|
|
695
|
+
# 2. Vérifier que l'email n'existe pas
|
|
696
|
+
if self._user_repository.exists_with_email(email):
|
|
697
|
+
raise UserAlreadyExistsError(f"User with email {email} already exists")
|
|
698
|
+
|
|
699
|
+
# 3. Créer l'entité (validation métier)
|
|
700
|
+
user = User(
|
|
701
|
+
email=email,
|
|
702
|
+
name=command.name
|
|
703
|
+
)
|
|
704
|
+
|
|
705
|
+
# 4. Sauvegarder
|
|
706
|
+
user = self._user_repository.save(user)
|
|
707
|
+
|
|
708
|
+
# 5. Envoyer email de bienvenue (opération secondaire)
|
|
709
|
+
if command.send_welcome_email:
|
|
710
|
+
try:
|
|
711
|
+
self._email_service.send_welcome_email(user.email, user.name)
|
|
712
|
+
except Exception as e:
|
|
713
|
+
# Logger mais ne pas faire échouer le use case
|
|
714
|
+
# (pattern: eventual consistency)
|
|
715
|
+
logger.warning(f"Failed to send welcome email: {e}")
|
|
716
|
+
|
|
717
|
+
# 6. Retourner DTO
|
|
718
|
+
return UserDTO.from_entity(user)
|
|
719
|
+
```
|
|
720
|
+
|
|
721
|
+
### DTOs (Data Transfer Objects)
|
|
722
|
+
|
|
723
|
+
```python
|
|
724
|
+
# src/myproject/application/dtos/user_dto.py
|
|
725
|
+
from __future__ import annotations
|
|
726
|
+
|
|
727
|
+
from dataclasses import dataclass
|
|
728
|
+
from datetime import datetime
|
|
729
|
+
from typing import Optional
|
|
730
|
+
from uuid import UUID
|
|
731
|
+
|
|
732
|
+
from myproject.domain.entities.user import User
|
|
733
|
+
|
|
734
|
+
|
|
735
|
+
@dataclass
|
|
736
|
+
class UserDTO:
|
|
737
|
+
"""
|
|
738
|
+
DTO pour transférer les données utilisateur entre layers.
|
|
739
|
+
|
|
740
|
+
Les DTOs sont de simples structures de données sans logique métier.
|
|
741
|
+
Ils découplent le domain de l'extérieur.
|
|
742
|
+
"""
|
|
743
|
+
|
|
744
|
+
id: UUID
|
|
745
|
+
email: str
|
|
746
|
+
name: str
|
|
747
|
+
is_active: bool
|
|
748
|
+
created_at: datetime
|
|
749
|
+
updated_at: Optional[datetime]
|
|
750
|
+
|
|
751
|
+
@classmethod
|
|
752
|
+
def from_entity(cls, user: User) -> UserDTO:
|
|
753
|
+
"""Crée un DTO depuis une entité."""
|
|
754
|
+
return cls(
|
|
755
|
+
id=user.id,
|
|
756
|
+
email=str(user.email),
|
|
757
|
+
name=user.name,
|
|
758
|
+
is_active=user.is_active,
|
|
759
|
+
created_at=user.created_at,
|
|
760
|
+
updated_at=user.updated_at
|
|
761
|
+
)
|
|
762
|
+
|
|
763
|
+
def to_dict(self) -> dict:
|
|
764
|
+
"""Convertit en dictionnaire pour sérialisation."""
|
|
765
|
+
return {
|
|
766
|
+
'id': str(self.id),
|
|
767
|
+
'email': self.email,
|
|
768
|
+
'name': self.name,
|
|
769
|
+
'is_active': self.is_active,
|
|
770
|
+
'created_at': self.created_at.isoformat(),
|
|
771
|
+
'updated_at': self.updated_at.isoformat() if self.updated_at else None
|
|
772
|
+
}
|
|
773
|
+
```
|
|
774
|
+
|
|
775
|
+
## Infrastructure Layer - Adapters
|
|
776
|
+
|
|
777
|
+
### Repository Implementation
|
|
778
|
+
|
|
779
|
+
```python
|
|
780
|
+
# src/myproject/infrastructure/database/repositories/user_repository_impl.py
|
|
781
|
+
from typing import Optional
|
|
782
|
+
from uuid import UUID
|
|
783
|
+
|
|
784
|
+
from sqlalchemy.orm import Session
|
|
785
|
+
|
|
786
|
+
from myproject.domain.entities.user import User
|
|
787
|
+
from myproject.domain.repositories.user_repository import UserRepository
|
|
788
|
+
from myproject.domain.value_objects.email import Email
|
|
789
|
+
from myproject.infrastructure.database.models.user_model import UserModel
|
|
790
|
+
from myproject.infrastructure.database.exceptions import RepositoryError
|
|
791
|
+
|
|
792
|
+
|
|
793
|
+
class UserRepositoryImpl:
|
|
794
|
+
"""
|
|
795
|
+
Implémentation du UserRepository avec SQLAlchemy.
|
|
796
|
+
|
|
797
|
+
Adapte l'interface domain au modèle ORM.
|
|
798
|
+
"""
|
|
799
|
+
|
|
800
|
+
def __init__(self, session: Session) -> None:
|
|
801
|
+
self._session = session
|
|
802
|
+
|
|
803
|
+
def save(self, user: User) -> User:
|
|
804
|
+
"""Sauvegarde un utilisateur."""
|
|
805
|
+
try:
|
|
806
|
+
# Convertir entité -> modèle ORM
|
|
807
|
+
user_model = self._to_model(user)
|
|
808
|
+
|
|
809
|
+
# Merge (insert ou update)
|
|
810
|
+
self._session.merge(user_model)
|
|
811
|
+
self._session.commit()
|
|
812
|
+
|
|
813
|
+
# Refresh pour obtenir les valeurs DB (id auto-généré, etc.)
|
|
814
|
+
self._session.refresh(user_model)
|
|
815
|
+
|
|
816
|
+
# Convertir modèle -> entité
|
|
817
|
+
return self._to_entity(user_model)
|
|
818
|
+
|
|
819
|
+
except Exception as e:
|
|
820
|
+
self._session.rollback()
|
|
821
|
+
raise RepositoryError(f"Failed to save user: {e}") from e
|
|
822
|
+
|
|
823
|
+
def find_by_id(self, user_id: UUID) -> Optional[User]:
|
|
824
|
+
"""Trouve un utilisateur par ID."""
|
|
825
|
+
user_model = self._session.query(UserModel).filter(
|
|
826
|
+
UserModel.id == user_id
|
|
827
|
+
).first()
|
|
828
|
+
|
|
829
|
+
return self._to_entity(user_model) if user_model else None
|
|
830
|
+
|
|
831
|
+
def find_by_email(self, email: Email) -> Optional[User]:
|
|
832
|
+
"""Trouve un utilisateur par email."""
|
|
833
|
+
user_model = self._session.query(UserModel).filter(
|
|
834
|
+
UserModel.email == str(email)
|
|
835
|
+
).first()
|
|
836
|
+
|
|
837
|
+
return self._to_entity(user_model) if user_model else None
|
|
838
|
+
|
|
839
|
+
def exists_with_email(self, email: Email) -> bool:
|
|
840
|
+
"""Vérifie si un email existe."""
|
|
841
|
+
count = self._session.query(UserModel).filter(
|
|
842
|
+
UserModel.email == str(email)
|
|
843
|
+
).count()
|
|
844
|
+
|
|
845
|
+
return count > 0
|
|
846
|
+
|
|
847
|
+
def delete(self, user_id: UUID) -> None:
|
|
848
|
+
"""Supprime un utilisateur."""
|
|
849
|
+
try:
|
|
850
|
+
user_model = self._session.query(UserModel).filter(
|
|
851
|
+
UserModel.id == user_id
|
|
852
|
+
).first()
|
|
853
|
+
|
|
854
|
+
if not user_model:
|
|
855
|
+
raise UserNotFoundError(f"User {user_id} not found")
|
|
856
|
+
|
|
857
|
+
self._session.delete(user_model)
|
|
858
|
+
self._session.commit()
|
|
859
|
+
|
|
860
|
+
except Exception as e:
|
|
861
|
+
self._session.rollback()
|
|
862
|
+
raise RepositoryError(f"Failed to delete user: {e}") from e
|
|
863
|
+
|
|
864
|
+
def _to_entity(self, model: UserModel) -> User:
|
|
865
|
+
"""Convertit ORM model -> domain entity."""
|
|
866
|
+
return User(
|
|
867
|
+
id=model.id,
|
|
868
|
+
email=Email(model.email),
|
|
869
|
+
name=model.name,
|
|
870
|
+
is_active=model.is_active,
|
|
871
|
+
created_at=model.created_at,
|
|
872
|
+
updated_at=model.updated_at
|
|
873
|
+
)
|
|
874
|
+
|
|
875
|
+
def _to_model(self, entity: User) -> UserModel:
|
|
876
|
+
"""Convertit domain entity -> ORM model."""
|
|
877
|
+
return UserModel(
|
|
878
|
+
id=entity.id,
|
|
879
|
+
email=str(entity.email),
|
|
880
|
+
name=entity.name,
|
|
881
|
+
is_active=entity.is_active,
|
|
882
|
+
created_at=entity.created_at,
|
|
883
|
+
updated_at=entity.updated_at
|
|
884
|
+
)
|
|
885
|
+
```
|
|
886
|
+
|
|
887
|
+
### Database Models (ORM)
|
|
888
|
+
|
|
889
|
+
```python
|
|
890
|
+
# src/myproject/infrastructure/database/models/user_model.py
|
|
891
|
+
from datetime import datetime
|
|
892
|
+
from uuid import uuid4
|
|
893
|
+
|
|
894
|
+
from sqlalchemy import Boolean, Column, DateTime, String
|
|
895
|
+
from sqlalchemy.dialects.postgresql import UUID
|
|
896
|
+
|
|
897
|
+
from myproject.infrastructure.database.base import Base
|
|
898
|
+
|
|
899
|
+
|
|
900
|
+
class UserModel(Base):
|
|
901
|
+
"""
|
|
902
|
+
Modèle ORM pour User.
|
|
903
|
+
|
|
904
|
+
Séparé de l'entité domain pour:
|
|
905
|
+
- Éviter la pollution du domain par l'ORM
|
|
906
|
+
- Permettre des schémas DB différents de l'entité
|
|
907
|
+
- Faciliter les changements de DB
|
|
908
|
+
"""
|
|
909
|
+
|
|
910
|
+
__tablename__ = "users"
|
|
911
|
+
|
|
912
|
+
id = Column(UUID(as_uuid=True), primary_key=True, default=uuid4)
|
|
913
|
+
email = Column(String(255), unique=True, nullable=False, index=True)
|
|
914
|
+
name = Column(String(255), nullable=False)
|
|
915
|
+
is_active = Column(Boolean, default=True, nullable=False)
|
|
916
|
+
created_at = Column(DateTime, default=datetime.utcnow, nullable=False)
|
|
917
|
+
updated_at = Column(DateTime, onupdate=datetime.utcnow)
|
|
918
|
+
|
|
919
|
+
def __repr__(self) -> str:
|
|
920
|
+
return f"<UserModel(id={self.id}, email={self.email})>"
|
|
921
|
+
```
|
|
922
|
+
|
|
923
|
+
### FastAPI Routes
|
|
924
|
+
|
|
925
|
+
```python
|
|
926
|
+
# src/myproject/infrastructure/api/routes/users.py
|
|
927
|
+
from typing import Annotated
|
|
928
|
+
from uuid import UUID
|
|
929
|
+
|
|
930
|
+
from fastapi import APIRouter, Depends, HTTPException, status
|
|
931
|
+
|
|
932
|
+
from myproject.application.use_cases.user.create_user import (
|
|
933
|
+
CreateUserUseCase,
|
|
934
|
+
CreateUserCommand
|
|
935
|
+
)
|
|
936
|
+
from myproject.application.dtos.user_dto import UserDTO
|
|
937
|
+
from myproject.application.exceptions import (
|
|
938
|
+
UserAlreadyExistsError,
|
|
939
|
+
ValidationError
|
|
940
|
+
)
|
|
941
|
+
from myproject.infrastructure.api.dependencies import get_create_user_use_case
|
|
942
|
+
from myproject.infrastructure.api.schemas.user_schema import (
|
|
943
|
+
UserCreateSchema,
|
|
944
|
+
UserResponseSchema
|
|
945
|
+
)
|
|
946
|
+
|
|
947
|
+
|
|
948
|
+
router = APIRouter(prefix="/users", tags=["users"])
|
|
949
|
+
|
|
950
|
+
|
|
951
|
+
@router.post(
|
|
952
|
+
"/",
|
|
953
|
+
response_model=UserResponseSchema,
|
|
954
|
+
status_code=status.HTTP_201_CREATED,
|
|
955
|
+
summary="Create a new user",
|
|
956
|
+
description="Creates a new user with the provided email and name"
|
|
957
|
+
)
|
|
958
|
+
async def create_user(
|
|
959
|
+
user_data: UserCreateSchema,
|
|
960
|
+
use_case: Annotated[CreateUserUseCase, Depends(get_create_user_use_case)]
|
|
961
|
+
) -> UserResponseSchema:
|
|
962
|
+
"""
|
|
963
|
+
Create a new user.
|
|
964
|
+
|
|
965
|
+
Args:
|
|
966
|
+
user_data: User creation data
|
|
967
|
+
use_case: Injected use case
|
|
968
|
+
|
|
969
|
+
Returns:
|
|
970
|
+
The created user
|
|
971
|
+
|
|
972
|
+
Raises:
|
|
973
|
+
409: User already exists
|
|
974
|
+
400: Invalid data
|
|
975
|
+
"""
|
|
976
|
+
try:
|
|
977
|
+
command = CreateUserCommand(
|
|
978
|
+
email=user_data.email,
|
|
979
|
+
name=user_data.name,
|
|
980
|
+
send_welcome_email=user_data.send_welcome_email
|
|
981
|
+
)
|
|
982
|
+
|
|
983
|
+
user_dto = use_case.execute(command)
|
|
984
|
+
|
|
985
|
+
return UserResponseSchema.from_dto(user_dto)
|
|
986
|
+
|
|
987
|
+
except UserAlreadyExistsError as e:
|
|
988
|
+
raise HTTPException(
|
|
989
|
+
status_code=status.HTTP_409_CONFLICT,
|
|
990
|
+
detail=str(e)
|
|
991
|
+
)
|
|
992
|
+
except ValidationError as e:
|
|
993
|
+
raise HTTPException(
|
|
994
|
+
status_code=status.HTTP_400_BAD_REQUEST,
|
|
995
|
+
detail=str(e)
|
|
996
|
+
)
|
|
997
|
+
|
|
998
|
+
|
|
999
|
+
@router.get(
|
|
1000
|
+
"/{user_id}",
|
|
1001
|
+
response_model=UserResponseSchema,
|
|
1002
|
+
summary="Get user by ID"
|
|
1003
|
+
)
|
|
1004
|
+
async def get_user(
|
|
1005
|
+
user_id: UUID,
|
|
1006
|
+
# Inject GetUserUseCase
|
|
1007
|
+
) -> UserResponseSchema:
|
|
1008
|
+
"""Get a user by ID."""
|
|
1009
|
+
# Implementation...
|
|
1010
|
+
pass
|
|
1011
|
+
```
|
|
1012
|
+
|
|
1013
|
+
### API Schemas (Pydantic)
|
|
1014
|
+
|
|
1015
|
+
```python
|
|
1016
|
+
# src/myproject/infrastructure/api/schemas/user_schema.py
|
|
1017
|
+
from __future__ import annotations
|
|
1018
|
+
|
|
1019
|
+
from datetime import datetime
|
|
1020
|
+
from typing import Optional
|
|
1021
|
+
from uuid import UUID
|
|
1022
|
+
|
|
1023
|
+
from pydantic import BaseModel, EmailStr, Field, ConfigDict
|
|
1024
|
+
|
|
1025
|
+
from myproject.application.dtos.user_dto import UserDTO
|
|
1026
|
+
|
|
1027
|
+
|
|
1028
|
+
class UserCreateSchema(BaseModel):
|
|
1029
|
+
"""Schéma pour la création d'un utilisateur via API."""
|
|
1030
|
+
|
|
1031
|
+
email: EmailStr = Field(..., description="User email address")
|
|
1032
|
+
name: str = Field(..., min_length=2, max_length=255, description="User name")
|
|
1033
|
+
send_welcome_email: bool = Field(default=True, description="Send welcome email")
|
|
1034
|
+
|
|
1035
|
+
model_config = ConfigDict(
|
|
1036
|
+
json_schema_extra={
|
|
1037
|
+
"example": {
|
|
1038
|
+
"email": "john.doe@example.com",
|
|
1039
|
+
"name": "John Doe",
|
|
1040
|
+
"send_welcome_email": True
|
|
1041
|
+
}
|
|
1042
|
+
}
|
|
1043
|
+
)
|
|
1044
|
+
|
|
1045
|
+
|
|
1046
|
+
class UserResponseSchema(BaseModel):
|
|
1047
|
+
"""Schéma pour la réponse API utilisateur."""
|
|
1048
|
+
|
|
1049
|
+
id: UUID
|
|
1050
|
+
email: str
|
|
1051
|
+
name: str
|
|
1052
|
+
is_active: bool
|
|
1053
|
+
created_at: datetime
|
|
1054
|
+
updated_at: Optional[datetime] = None
|
|
1055
|
+
|
|
1056
|
+
model_config = ConfigDict(from_attributes=True)
|
|
1057
|
+
|
|
1058
|
+
@classmethod
|
|
1059
|
+
def from_dto(cls, dto: UserDTO) -> UserResponseSchema:
|
|
1060
|
+
"""Crée un schéma depuis un DTO."""
|
|
1061
|
+
return cls(
|
|
1062
|
+
id=dto.id,
|
|
1063
|
+
email=dto.email,
|
|
1064
|
+
name=dto.name,
|
|
1065
|
+
is_active=dto.is_active,
|
|
1066
|
+
created_at=dto.created_at,
|
|
1067
|
+
updated_at=dto.updated_at
|
|
1068
|
+
)
|
|
1069
|
+
```
|
|
1070
|
+
|
|
1071
|
+
### Dependency Injection
|
|
1072
|
+
|
|
1073
|
+
```python
|
|
1074
|
+
# src/myproject/infrastructure/di/container.py
|
|
1075
|
+
from functools import lru_cache
|
|
1076
|
+
|
|
1077
|
+
from sqlalchemy.orm import Session
|
|
1078
|
+
|
|
1079
|
+
from myproject.application.use_cases.user.create_user import CreateUserUseCase
|
|
1080
|
+
from myproject.domain.repositories.user_repository import UserRepository
|
|
1081
|
+
from myproject.infrastructure.database.repositories.user_repository_impl import (
|
|
1082
|
+
UserRepositoryImpl
|
|
1083
|
+
)
|
|
1084
|
+
from myproject.infrastructure.database.session import get_db_session
|
|
1085
|
+
from myproject.infrastructure.external.sendgrid_email import SendGridEmailService
|
|
1086
|
+
|
|
1087
|
+
|
|
1088
|
+
# FastAPI dependencies
|
|
1089
|
+
def get_user_repository(
|
|
1090
|
+
session: Session = Depends(get_db_session)
|
|
1091
|
+
) -> UserRepository:
|
|
1092
|
+
"""Factory pour UserRepository."""
|
|
1093
|
+
return UserRepositoryImpl(session)
|
|
1094
|
+
|
|
1095
|
+
|
|
1096
|
+
def get_email_service() -> EmailService:
|
|
1097
|
+
"""Factory pour EmailService."""
|
|
1098
|
+
return SendGridEmailService()
|
|
1099
|
+
|
|
1100
|
+
|
|
1101
|
+
def get_create_user_use_case(
|
|
1102
|
+
user_repository: UserRepository = Depends(get_user_repository),
|
|
1103
|
+
email_service: EmailService = Depends(get_email_service)
|
|
1104
|
+
) -> CreateUserUseCase:
|
|
1105
|
+
"""Factory pour CreateUserUseCase."""
|
|
1106
|
+
return CreateUserUseCase(
|
|
1107
|
+
user_repository=user_repository,
|
|
1108
|
+
email_service=email_service
|
|
1109
|
+
)
|
|
1110
|
+
|
|
1111
|
+
|
|
1112
|
+
# Alternative: Container-based DI (dependency-injector, punq, etc.)
|
|
1113
|
+
from dependency_injector import containers, providers
|
|
1114
|
+
|
|
1115
|
+
|
|
1116
|
+
class Container(containers.DeclarativeContainer):
|
|
1117
|
+
"""DI Container."""
|
|
1118
|
+
|
|
1119
|
+
config = providers.Configuration()
|
|
1120
|
+
|
|
1121
|
+
# Database
|
|
1122
|
+
db_session = providers.Factory(get_db_session)
|
|
1123
|
+
|
|
1124
|
+
# Repositories
|
|
1125
|
+
user_repository = providers.Factory(
|
|
1126
|
+
UserRepositoryImpl,
|
|
1127
|
+
session=db_session
|
|
1128
|
+
)
|
|
1129
|
+
|
|
1130
|
+
# External services
|
|
1131
|
+
email_service = providers.Singleton(
|
|
1132
|
+
SendGridEmailService,
|
|
1133
|
+
api_key=config.sendgrid.api_key
|
|
1134
|
+
)
|
|
1135
|
+
|
|
1136
|
+
# Use cases
|
|
1137
|
+
create_user_use_case = providers.Factory(
|
|
1138
|
+
CreateUserUseCase,
|
|
1139
|
+
user_repository=user_repository,
|
|
1140
|
+
email_service=email_service
|
|
1141
|
+
)
|
|
1142
|
+
```
|
|
1143
|
+
|
|
1144
|
+
## Principes d'Architecture
|
|
1145
|
+
|
|
1146
|
+
### 1. Dependency Rule (Règle de Dépendance)
|
|
1147
|
+
|
|
1148
|
+
```
|
|
1149
|
+
┌─────────────────────────────────────────────────┐
|
|
1150
|
+
│ Infrastructure Layer │
|
|
1151
|
+
│ (Frameworks, DB, API) │
|
|
1152
|
+
│ ↓ │
|
|
1153
|
+
│ Application Layer │
|
|
1154
|
+
│ (Use Cases, DTOs) │
|
|
1155
|
+
│ ↓ │
|
|
1156
|
+
│ Domain Layer │
|
|
1157
|
+
│ (Entities, Services, Events) │
|
|
1158
|
+
└─────────────────────────────────────────────────┘
|
|
1159
|
+
|
|
1160
|
+
RÈGLE: Les dépendances pointent TOUJOURS vers l'intérieur
|
|
1161
|
+
- Infrastructure dépend de Application et Domain
|
|
1162
|
+
- Application dépend de Domain
|
|
1163
|
+
- Domain ne dépend de RIEN
|
|
1164
|
+
```
|
|
1165
|
+
|
|
1166
|
+
### 2. Inversion de Dépendances (SOLID - D)
|
|
1167
|
+
|
|
1168
|
+
```python
|
|
1169
|
+
# ❌ MAUVAIS: Domain dépend de l'infrastructure
|
|
1170
|
+
from myproject.infrastructure.database.session import Session
|
|
1171
|
+
|
|
1172
|
+
class UserService:
|
|
1173
|
+
def create_user(self, session: Session): # Dépendance concrète
|
|
1174
|
+
pass
|
|
1175
|
+
|
|
1176
|
+
|
|
1177
|
+
# ✅ BON: Domain définit l'interface, infrastructure l'implémente
|
|
1178
|
+
from typing import Protocol
|
|
1179
|
+
|
|
1180
|
+
class DatabaseSession(Protocol): # Interface dans le domain
|
|
1181
|
+
def commit(self) -> None: ...
|
|
1182
|
+
def rollback(self) -> None: ...
|
|
1183
|
+
|
|
1184
|
+
class UserService:
|
|
1185
|
+
def create_user(self, session: DatabaseSession): # Dépendance abstraite
|
|
1186
|
+
pass
|
|
1187
|
+
```
|
|
1188
|
+
|
|
1189
|
+
### 3. Screaming Architecture
|
|
1190
|
+
|
|
1191
|
+
```
|
|
1192
|
+
# ✅ L'architecture crie "C'est une application de e-commerce!"
|
|
1193
|
+
src/myproject/
|
|
1194
|
+
├── domain/
|
|
1195
|
+
│ ├── entities/
|
|
1196
|
+
│ │ ├── order.py # Crie "Orders!"
|
|
1197
|
+
│ │ ├── product.py # Crie "Products!"
|
|
1198
|
+
│ │ └── customer.py # Crie "Customers!"
|
|
1199
|
+
│ └── services/
|
|
1200
|
+
│ └── pricing_service.py
|
|
1201
|
+
|
|
1202
|
+
# ❌ L'architecture crie "C'est du Django/Flask!"
|
|
1203
|
+
src/
|
|
1204
|
+
├── models.py
|
|
1205
|
+
├── views.py
|
|
1206
|
+
├── serializers.py
|
|
1207
|
+
└── urls.py
|
|
1208
|
+
```
|
|
1209
|
+
|
|
1210
|
+
## Patterns Complémentaires
|
|
1211
|
+
|
|
1212
|
+
### Event-Driven Architecture
|
|
1213
|
+
|
|
1214
|
+
```python
|
|
1215
|
+
# Domain events
|
|
1216
|
+
from dataclasses import dataclass
|
|
1217
|
+
from datetime import datetime
|
|
1218
|
+
from uuid import UUID
|
|
1219
|
+
|
|
1220
|
+
|
|
1221
|
+
@dataclass
|
|
1222
|
+
class DomainEvent:
|
|
1223
|
+
"""Base class for domain events."""
|
|
1224
|
+
occurred_at: datetime = field(default_factory=datetime.utcnow)
|
|
1225
|
+
|
|
1226
|
+
|
|
1227
|
+
@dataclass
|
|
1228
|
+
class OrderCreatedEvent(DomainEvent):
|
|
1229
|
+
"""Event émis quand une commande est créée."""
|
|
1230
|
+
order_id: UUID
|
|
1231
|
+
customer_id: UUID
|
|
1232
|
+
total_amount: Decimal
|
|
1233
|
+
|
|
1234
|
+
|
|
1235
|
+
# Event handler
|
|
1236
|
+
class SendOrderConfirmationHandler:
|
|
1237
|
+
"""Handler pour OrderCreatedEvent."""
|
|
1238
|
+
|
|
1239
|
+
def handle(self, event: OrderCreatedEvent) -> None:
|
|
1240
|
+
"""Envoie un email de confirmation."""
|
|
1241
|
+
# Logic...
|
|
1242
|
+
pass
|
|
1243
|
+
|
|
1244
|
+
|
|
1245
|
+
# Event dispatcher
|
|
1246
|
+
class EventDispatcher:
|
|
1247
|
+
"""Dispatche les events vers les handlers."""
|
|
1248
|
+
|
|
1249
|
+
def __init__(self):
|
|
1250
|
+
self._handlers: dict[type, list] = {}
|
|
1251
|
+
|
|
1252
|
+
def register(self, event_type: type, handler) -> None:
|
|
1253
|
+
"""Enregistre un handler."""
|
|
1254
|
+
if event_type not in self._handlers:
|
|
1255
|
+
self._handlers[event_type] = []
|
|
1256
|
+
self._handlers[event_type].append(handler)
|
|
1257
|
+
|
|
1258
|
+
def dispatch(self, event: DomainEvent) -> None:
|
|
1259
|
+
"""Dispatche un event."""
|
|
1260
|
+
event_type = type(event)
|
|
1261
|
+
if event_type in self._handlers:
|
|
1262
|
+
for handler in self._handlers[event_type]:
|
|
1263
|
+
handler.handle(event)
|
|
1264
|
+
```
|
|
1265
|
+
|
|
1266
|
+
### CQRS (Command Query Responsibility Segregation)
|
|
1267
|
+
|
|
1268
|
+
```python
|
|
1269
|
+
# Command (write)
|
|
1270
|
+
class CreateOrderCommand:
|
|
1271
|
+
"""Command pour créer une commande."""
|
|
1272
|
+
customer_id: UUID
|
|
1273
|
+
items: list[OrderItemData]
|
|
1274
|
+
|
|
1275
|
+
|
|
1276
|
+
# Query (read)
|
|
1277
|
+
class OrderQuery:
|
|
1278
|
+
"""Query pour lire des commandes."""
|
|
1279
|
+
|
|
1280
|
+
def get_order_by_id(self, order_id: UUID) -> OrderDTO:
|
|
1281
|
+
"""Lecture optimisée."""
|
|
1282
|
+
# Peut utiliser une DB read-only, cache, etc.
|
|
1283
|
+
pass
|
|
1284
|
+
|
|
1285
|
+
def get_customer_orders(self, customer_id: UUID) -> list[OrderSummaryDTO]:
|
|
1286
|
+
"""Lecture dénormalisée pour performance."""
|
|
1287
|
+
pass
|
|
1288
|
+
```
|
|
1289
|
+
|
|
1290
|
+
## Anti-Patterns à Éviter
|
|
1291
|
+
|
|
1292
|
+
### 1. Anemic Domain Model
|
|
1293
|
+
|
|
1294
|
+
```python
|
|
1295
|
+
# ❌ MAUVAIS: Entité anémique (juste des getters/setters)
|
|
1296
|
+
class User:
|
|
1297
|
+
def __init__(self):
|
|
1298
|
+
self.email = ""
|
|
1299
|
+
self.is_active = False
|
|
1300
|
+
|
|
1301
|
+
def get_email(self): return self.email
|
|
1302
|
+
def set_email(self, email): self.email = email
|
|
1303
|
+
def get_is_active(self): return self.is_active
|
|
1304
|
+
def set_is_active(self, active): self.is_active = active
|
|
1305
|
+
|
|
1306
|
+
# Logique métier dans les services
|
|
1307
|
+
class UserService:
|
|
1308
|
+
def activate_user(self, user):
|
|
1309
|
+
user.set_is_active(True) # Service fait tout
|
|
1310
|
+
|
|
1311
|
+
|
|
1312
|
+
# ✅ BON: Entité riche avec comportement
|
|
1313
|
+
class User:
|
|
1314
|
+
def __init__(self, email: Email):
|
|
1315
|
+
self.email = email
|
|
1316
|
+
self.is_active = False
|
|
1317
|
+
|
|
1318
|
+
def activate(self) -> None:
|
|
1319
|
+
"""Logique métier dans l'entité."""
|
|
1320
|
+
if self.is_active:
|
|
1321
|
+
raise AlreadyActiveError()
|
|
1322
|
+
self.is_active = True
|
|
1323
|
+
```
|
|
1324
|
+
|
|
1325
|
+
### 2. God Service
|
|
1326
|
+
|
|
1327
|
+
```python
|
|
1328
|
+
# ❌ MAUVAIS: Service omnipotent
|
|
1329
|
+
class UserService:
|
|
1330
|
+
def create_user(self): pass
|
|
1331
|
+
def update_user(self): pass
|
|
1332
|
+
def delete_user(self): pass
|
|
1333
|
+
def send_email(self): pass
|
|
1334
|
+
def validate_password(self): pass
|
|
1335
|
+
def calculate_age(self): pass
|
|
1336
|
+
# ... 50 autres méthodes
|
|
1337
|
+
|
|
1338
|
+
|
|
1339
|
+
# ✅ BON: Use cases spécifiques
|
|
1340
|
+
class CreateUserUseCase:
|
|
1341
|
+
def execute(self, command): pass
|
|
1342
|
+
|
|
1343
|
+
class UpdateUserUseCase:
|
|
1344
|
+
def execute(self, command): pass
|
|
1345
|
+
```
|
|
1346
|
+
|
|
1347
|
+
### 3. Leaky Abstractions
|
|
1348
|
+
|
|
1349
|
+
```python
|
|
1350
|
+
# ❌ MAUVAIS: ORM dans le domain
|
|
1351
|
+
from sqlalchemy.orm import Session
|
|
1352
|
+
|
|
1353
|
+
def create_user(session: Session): # Fuite d'abstraction
|
|
1354
|
+
pass
|
|
1355
|
+
|
|
1356
|
+
|
|
1357
|
+
# ✅ BON: Interface générique
|
|
1358
|
+
from typing import Protocol
|
|
1359
|
+
|
|
1360
|
+
class UnitOfWork(Protocol):
|
|
1361
|
+
def commit(self): pass
|
|
1362
|
+
def rollback(self): pass
|
|
1363
|
+
|
|
1364
|
+
def create_user(uow: UnitOfWork): # Abstraction propre
|
|
1365
|
+
pass
|
|
1366
|
+
```
|
|
1367
|
+
|
|
1368
|
+
## Conclusion
|
|
1369
|
+
|
|
1370
|
+
L'architecture Clean/Hexagonale offre:
|
|
1371
|
+
|
|
1372
|
+
✅ **Testabilité** - Domain testable sans infrastructure
|
|
1373
|
+
✅ **Maintenabilité** - Séparation claire des responsabilités
|
|
1374
|
+
✅ **Flexibilité** - Changement facile de DB, framework, etc.
|
|
1375
|
+
✅ **Clarté** - L'intention métier est explicite
|
|
1376
|
+
✅ **Indépendance** - Logique métier protégée des détails techniques
|
|
1377
|
+
|
|
1378
|
+
**Règles d'or:**
|
|
1379
|
+
1. Le domain ne dépend de RIEN
|
|
1380
|
+
2. Les dépendances pointent vers l'intérieur
|
|
1381
|
+
3. Utiliser des interfaces (Protocols) pour l'inversion de dépendances
|
|
1382
|
+
4. Séparer les modèles: Entity (domain) ≠ Model (ORM) ≠ Schema (API)
|
|
1383
|
+
5. Un use case = une action métier
|