@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,1763 @@
|
|
|
1
|
+
# Architecture Flutter - Clean Architecture & Best Practices
|
|
2
|
+
|
|
3
|
+
## Principe fondamental
|
|
4
|
+
|
|
5
|
+
L'architecture Flutter doit suivre les principes de **Clean Architecture** popularisés par Robert C. Martin (Uncle Bob), adaptés au contexte Flutter/Dart.
|
|
6
|
+
|
|
7
|
+
**Objectifs** :
|
|
8
|
+
- Séparation des responsabilités (Separation of Concerns)
|
|
9
|
+
- Testabilité maximale
|
|
10
|
+
- Indépendance des frameworks
|
|
11
|
+
- Indépendance de l'UI
|
|
12
|
+
- Indépendance de la base de données
|
|
13
|
+
- Maintenabilité et évolutivité
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## Vue d'ensemble : Clean Architecture
|
|
18
|
+
|
|
19
|
+
### Les 3 couches principales
|
|
20
|
+
|
|
21
|
+
```
|
|
22
|
+
┌─────────────────────────────────────────────────────────┐
|
|
23
|
+
│ PRESENTATION │
|
|
24
|
+
│ (UI, State Management, Navigation) │
|
|
25
|
+
│ │
|
|
26
|
+
│ - Pages (Screens) │
|
|
27
|
+
│ - Widgets │
|
|
28
|
+
│ - BLoC / Riverpod / Provider │
|
|
29
|
+
│ - View Models │
|
|
30
|
+
│ │
|
|
31
|
+
│ Dépend de : DOMAIN │
|
|
32
|
+
└─────────────────────────────────────────────────────────┘
|
|
33
|
+
↓
|
|
34
|
+
┌─────────────────────────────────────────────────────────┐
|
|
35
|
+
│ DOMAIN │
|
|
36
|
+
│ (Business Logic, Entities, Use Cases) │
|
|
37
|
+
│ │
|
|
38
|
+
│ - Entities (modèles métier purs) │
|
|
39
|
+
│ - Use Cases (logique métier) │
|
|
40
|
+
│ - Repository Interfaces │
|
|
41
|
+
│ │
|
|
42
|
+
│ Ne dépend de RIEN (couche la plus pure) │
|
|
43
|
+
└─────────────────────────────────────────────────────────┘
|
|
44
|
+
↑
|
|
45
|
+
┌─────────────────────────────────────────────────────────┐
|
|
46
|
+
│ DATA │
|
|
47
|
+
│ (Data Sources, Repositories, Models) │
|
|
48
|
+
│ │
|
|
49
|
+
│ - Models (sérialization) │
|
|
50
|
+
│ - Data Sources (Remote, Local) │
|
|
51
|
+
│ - Repository Implementations │
|
|
52
|
+
│ │
|
|
53
|
+
│ Dépend de : DOMAIN (implémente interfaces) │
|
|
54
|
+
└─────────────────────────────────────────────────────────┘
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
### Règle de dépendance
|
|
58
|
+
|
|
59
|
+
**CRUCIAL** : Les dépendances doivent toujours pointer vers l'intérieur.
|
|
60
|
+
|
|
61
|
+
```
|
|
62
|
+
PRESENTATION → DOMAIN ← DATA
|
|
63
|
+
↓ ↑
|
|
64
|
+
Dépend de Dépend de
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
---
|
|
68
|
+
|
|
69
|
+
## Structure de dossiers complète
|
|
70
|
+
|
|
71
|
+
### Organisation recommandée
|
|
72
|
+
|
|
73
|
+
```
|
|
74
|
+
lib/
|
|
75
|
+
├── core/ # Fonctionnalités partagées
|
|
76
|
+
│ ├── constants/ # Constantes globales
|
|
77
|
+
│ │ ├── api_constants.dart
|
|
78
|
+
│ │ ├── app_constants.dart
|
|
79
|
+
│ │ └── storage_constants.dart
|
|
80
|
+
│ │
|
|
81
|
+
│ ├── errors/ # Gestion des erreurs
|
|
82
|
+
│ │ ├── exceptions.dart
|
|
83
|
+
│ │ └── failures.dart
|
|
84
|
+
│ │
|
|
85
|
+
│ ├── extensions/ # Extensions Dart
|
|
86
|
+
│ │ ├── build_context_extension.dart
|
|
87
|
+
│ │ ├── date_time_extension.dart
|
|
88
|
+
│ │ └── string_extension.dart
|
|
89
|
+
│ │
|
|
90
|
+
│ ├── network/ # Configuration réseau
|
|
91
|
+
│ │ ├── api_client.dart
|
|
92
|
+
│ │ ├── network_info.dart
|
|
93
|
+
│ │ └── interceptors/
|
|
94
|
+
│ │ ├── auth_interceptor.dart
|
|
95
|
+
│ │ └── logging_interceptor.dart
|
|
96
|
+
│ │
|
|
97
|
+
│ ├── theme/ # Thème de l'app
|
|
98
|
+
│ │ ├── app_theme.dart
|
|
99
|
+
│ │ ├── colors.dart
|
|
100
|
+
│ │ ├── text_styles.dart
|
|
101
|
+
│ │ └── dimensions.dart
|
|
102
|
+
│ │
|
|
103
|
+
│ ├── utils/ # Utilitaires
|
|
104
|
+
│ │ ├── validators.dart
|
|
105
|
+
│ │ ├── formatters.dart
|
|
106
|
+
│ │ └── helpers.dart
|
|
107
|
+
│ │
|
|
108
|
+
│ └── widgets/ # Widgets réutilisables
|
|
109
|
+
│ ├── app_button.dart
|
|
110
|
+
│ ├── app_text_field.dart
|
|
111
|
+
│ ├── loading_indicator.dart
|
|
112
|
+
│ └── error_widget.dart
|
|
113
|
+
│
|
|
114
|
+
├── features/ # Features métier
|
|
115
|
+
│ │
|
|
116
|
+
│ ├── authentication/ # Feature : Authentification
|
|
117
|
+
│ │ ├── data/
|
|
118
|
+
│ │ │ ├── datasources/
|
|
119
|
+
│ │ │ │ ├── auth_local_datasource.dart
|
|
120
|
+
│ │ │ │ └── auth_remote_datasource.dart
|
|
121
|
+
│ │ │ ├── models/
|
|
122
|
+
│ │ │ │ ├── login_request_model.dart
|
|
123
|
+
│ │ │ │ ├── login_response_model.dart
|
|
124
|
+
│ │ │ │ └── user_model.dart
|
|
125
|
+
│ │ │ └── repositories/
|
|
126
|
+
│ │ │ └── auth_repository_impl.dart
|
|
127
|
+
│ │ │
|
|
128
|
+
│ │ ├── domain/
|
|
129
|
+
│ │ │ ├── entities/
|
|
130
|
+
│ │ │ │ └── user.dart
|
|
131
|
+
│ │ │ ├── repositories/
|
|
132
|
+
│ │ │ │ └── auth_repository.dart
|
|
133
|
+
│ │ │ └── usecases/
|
|
134
|
+
│ │ │ ├── login.dart
|
|
135
|
+
│ │ │ ├── logout.dart
|
|
136
|
+
│ │ │ ├── register.dart
|
|
137
|
+
│ │ │ └── get_current_user.dart
|
|
138
|
+
│ │ │
|
|
139
|
+
│ │ └── presentation/
|
|
140
|
+
│ │ ├── bloc/
|
|
141
|
+
│ │ │ ├── auth_bloc.dart
|
|
142
|
+
│ │ │ ├── auth_event.dart
|
|
143
|
+
│ │ │ └── auth_state.dart
|
|
144
|
+
│ │ ├── pages/
|
|
145
|
+
│ │ │ ├── login_page.dart
|
|
146
|
+
│ │ │ └── register_page.dart
|
|
147
|
+
│ │ └── widgets/
|
|
148
|
+
│ │ ├── login_form.dart
|
|
149
|
+
│ │ └── social_login_buttons.dart
|
|
150
|
+
│ │
|
|
151
|
+
│ ├── products/ # Feature : Produits
|
|
152
|
+
│ │ ├── data/
|
|
153
|
+
│ │ │ ├── datasources/
|
|
154
|
+
│ │ │ │ ├── product_local_datasource.dart
|
|
155
|
+
│ │ │ │ └── product_remote_datasource.dart
|
|
156
|
+
│ │ │ ├── models/
|
|
157
|
+
│ │ │ │ └── product_model.dart
|
|
158
|
+
│ │ │ └── repositories/
|
|
159
|
+
│ │ │ └── product_repository_impl.dart
|
|
160
|
+
│ │ │
|
|
161
|
+
│ │ ├── domain/
|
|
162
|
+
│ │ │ ├── entities/
|
|
163
|
+
│ │ │ │ └── product.dart
|
|
164
|
+
│ │ │ ├── repositories/
|
|
165
|
+
│ │ │ │ └── product_repository.dart
|
|
166
|
+
│ │ │ └── usecases/
|
|
167
|
+
│ │ │ ├── get_products.dart
|
|
168
|
+
│ │ │ ├── get_product_detail.dart
|
|
169
|
+
│ │ │ └── search_products.dart
|
|
170
|
+
│ │ │
|
|
171
|
+
│ │ └── presentation/
|
|
172
|
+
│ │ ├── bloc/
|
|
173
|
+
│ │ │ ├── product_list/
|
|
174
|
+
│ │ │ │ ├── product_list_bloc.dart
|
|
175
|
+
│ │ │ │ ├── product_list_event.dart
|
|
176
|
+
│ │ │ │ └── product_list_state.dart
|
|
177
|
+
│ │ │ └── product_detail/
|
|
178
|
+
│ │ │ ├── product_detail_bloc.dart
|
|
179
|
+
│ │ │ ├── product_detail_event.dart
|
|
180
|
+
│ │ │ └── product_detail_state.dart
|
|
181
|
+
│ │ ├── pages/
|
|
182
|
+
│ │ │ ├── product_list_page.dart
|
|
183
|
+
│ │ │ └── product_detail_page.dart
|
|
184
|
+
│ │ └── widgets/
|
|
185
|
+
│ │ ├── product_card.dart
|
|
186
|
+
│ │ ├── product_grid.dart
|
|
187
|
+
│ │ └── product_search_bar.dart
|
|
188
|
+
│ │
|
|
189
|
+
│ └── [other_features]/ # Autres features...
|
|
190
|
+
│
|
|
191
|
+
├── config/ # Configuration
|
|
192
|
+
│ ├── routes/
|
|
193
|
+
│ │ ├── app_router.dart
|
|
194
|
+
│ │ └── route_names.dart
|
|
195
|
+
│ └── env/
|
|
196
|
+
│ ├── env.dart
|
|
197
|
+
│ └── env_config.dart
|
|
198
|
+
│
|
|
199
|
+
├── dependency_injection.dart # Configuration DI (get_it/injectable)
|
|
200
|
+
└── main.dart # Point d'entrée
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
---
|
|
204
|
+
|
|
205
|
+
## Couche DOMAIN : Le Coeur Métier
|
|
206
|
+
|
|
207
|
+
### 1. Entities (Entités)
|
|
208
|
+
|
|
209
|
+
**Rôle** : Objets métier purs, sans logique de persistance ou présentation.
|
|
210
|
+
|
|
211
|
+
**Caractéristiques** :
|
|
212
|
+
- Immuables (préférer `@immutable` ou `@freezed`)
|
|
213
|
+
- Pas de dépendances externes
|
|
214
|
+
- Pas d'annotations JSON
|
|
215
|
+
- Équivalence basée sur le contenu (utiliser `Equatable`)
|
|
216
|
+
|
|
217
|
+
```dart
|
|
218
|
+
// lib/features/products/domain/entities/product.dart
|
|
219
|
+
|
|
220
|
+
import 'package:equatable/equatable.dart';
|
|
221
|
+
|
|
222
|
+
/// Représente un produit dans le domaine métier.
|
|
223
|
+
///
|
|
224
|
+
/// Cette classe est une entité pure sans dépendances externes.
|
|
225
|
+
class Product extends Equatable {
|
|
226
|
+
/// Identifiant unique du produit
|
|
227
|
+
final String id;
|
|
228
|
+
|
|
229
|
+
/// Nom du produit
|
|
230
|
+
final String name;
|
|
231
|
+
|
|
232
|
+
/// Description détaillée
|
|
233
|
+
final String description;
|
|
234
|
+
|
|
235
|
+
/// Prix en centimes (évite problèmes float)
|
|
236
|
+
final int priceInCents;
|
|
237
|
+
|
|
238
|
+
/// URL de l'image principale
|
|
239
|
+
final String imageUrl;
|
|
240
|
+
|
|
241
|
+
/// Catégorie du produit
|
|
242
|
+
final String category;
|
|
243
|
+
|
|
244
|
+
/// Stock disponible
|
|
245
|
+
final int stock;
|
|
246
|
+
|
|
247
|
+
/// Date de création
|
|
248
|
+
final DateTime createdAt;
|
|
249
|
+
|
|
250
|
+
const Product({
|
|
251
|
+
required this.id,
|
|
252
|
+
required this.name,
|
|
253
|
+
required this.description,
|
|
254
|
+
required this.priceInCents,
|
|
255
|
+
required this.imageUrl,
|
|
256
|
+
required this.category,
|
|
257
|
+
required this.stock,
|
|
258
|
+
required this.createdAt,
|
|
259
|
+
});
|
|
260
|
+
|
|
261
|
+
/// Retourne le prix formaté en euros
|
|
262
|
+
String get formattedPrice {
|
|
263
|
+
final euros = priceInCents / 100;
|
|
264
|
+
return '${euros.toStringAsFixed(2)} €';
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
/// Indique si le produit est en stock
|
|
268
|
+
bool get isInStock => stock > 0;
|
|
269
|
+
|
|
270
|
+
/// Indique si le stock est faible (< 10)
|
|
271
|
+
bool get isLowStock => stock > 0 && stock < 10;
|
|
272
|
+
|
|
273
|
+
@override
|
|
274
|
+
List<Object?> get props => [
|
|
275
|
+
id,
|
|
276
|
+
name,
|
|
277
|
+
description,
|
|
278
|
+
priceInCents,
|
|
279
|
+
imageUrl,
|
|
280
|
+
category,
|
|
281
|
+
stock,
|
|
282
|
+
createdAt,
|
|
283
|
+
];
|
|
284
|
+
}
|
|
285
|
+
```
|
|
286
|
+
|
|
287
|
+
**Alternative avec Freezed** (recommandé pour moins de boilerplate) :
|
|
288
|
+
|
|
289
|
+
```dart
|
|
290
|
+
// lib/features/products/domain/entities/product.dart
|
|
291
|
+
|
|
292
|
+
import 'package:freezed_annotation/freezed_annotation.dart';
|
|
293
|
+
|
|
294
|
+
part 'product.freezed.dart';
|
|
295
|
+
|
|
296
|
+
@freezed
|
|
297
|
+
class Product with _$Product {
|
|
298
|
+
const Product._(); // Private constructor pour méthodes custom
|
|
299
|
+
|
|
300
|
+
const factory Product({
|
|
301
|
+
required String id,
|
|
302
|
+
required String name,
|
|
303
|
+
required String description,
|
|
304
|
+
required int priceInCents,
|
|
305
|
+
required String imageUrl,
|
|
306
|
+
required String category,
|
|
307
|
+
required int stock,
|
|
308
|
+
required DateTime createdAt,
|
|
309
|
+
}) = _Product;
|
|
310
|
+
|
|
311
|
+
// Getters custom
|
|
312
|
+
String get formattedPrice {
|
|
313
|
+
final euros = priceInCents / 100;
|
|
314
|
+
return '${euros.toStringAsFixed(2)} €';
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
bool get isInStock => stock > 0;
|
|
318
|
+
bool get isLowStock => stock > 0 && stock < 10;
|
|
319
|
+
}
|
|
320
|
+
```
|
|
321
|
+
|
|
322
|
+
### 2. Repository Interfaces
|
|
323
|
+
|
|
324
|
+
**Rôle** : Contrats définissant comment accéder aux données, sans implémentation.
|
|
325
|
+
|
|
326
|
+
**Caractéristiques** :
|
|
327
|
+
- Abstract class ou interface pure
|
|
328
|
+
- Retourner `Either<Failure, Success>` (avec dartz) ou `Result<T>`
|
|
329
|
+
- Async avec `Future`
|
|
330
|
+
- Nommage : `[Entity]Repository`
|
|
331
|
+
|
|
332
|
+
```dart
|
|
333
|
+
// lib/features/products/domain/repositories/product_repository.dart
|
|
334
|
+
|
|
335
|
+
import 'package:dartz/dartz.dart';
|
|
336
|
+
import '../../../../core/errors/failures.dart';
|
|
337
|
+
import '../entities/product.dart';
|
|
338
|
+
|
|
339
|
+
/// Interface pour accéder aux données produits.
|
|
340
|
+
///
|
|
341
|
+
/// Cette interface définit le contrat que doit respecter toute
|
|
342
|
+
/// implémentation concrète du repository produit.
|
|
343
|
+
abstract class ProductRepository {
|
|
344
|
+
/// Récupère la liste de tous les produits.
|
|
345
|
+
///
|
|
346
|
+
/// Retourne [Right<List<Product>>] en cas de succès,
|
|
347
|
+
/// ou [Left<Failure>] en cas d'erreur.
|
|
348
|
+
Future<Either<Failure, List<Product>>> getProducts({
|
|
349
|
+
int page = 1,
|
|
350
|
+
int limit = 20,
|
|
351
|
+
});
|
|
352
|
+
|
|
353
|
+
/// Récupère un produit par son ID.
|
|
354
|
+
///
|
|
355
|
+
/// Retourne [Right<Product>] si le produit existe,
|
|
356
|
+
/// ou [Left<Failure>] si non trouvé ou erreur.
|
|
357
|
+
Future<Either<Failure, Product>> getProductById(String id);
|
|
358
|
+
|
|
359
|
+
/// Recherche des produits par nom ou description.
|
|
360
|
+
///
|
|
361
|
+
/// [query] : Terme de recherche
|
|
362
|
+
/// [category] : Filtre optionnel par catégorie
|
|
363
|
+
Future<Either<Failure, List<Product>>> searchProducts({
|
|
364
|
+
required String query,
|
|
365
|
+
String? category,
|
|
366
|
+
});
|
|
367
|
+
|
|
368
|
+
/// Récupère les produits d'une catégorie spécifique.
|
|
369
|
+
Future<Either<Failure, List<Product>>> getProductsByCategory(
|
|
370
|
+
String category, {
|
|
371
|
+
int page = 1,
|
|
372
|
+
int limit = 20,
|
|
373
|
+
});
|
|
374
|
+
}
|
|
375
|
+
```
|
|
376
|
+
|
|
377
|
+
**Alternative avec Result<T>** (sans dartz) :
|
|
378
|
+
|
|
379
|
+
```dart
|
|
380
|
+
// lib/core/utils/result.dart
|
|
381
|
+
@freezed
|
|
382
|
+
class Result<T> with _$Result<T> {
|
|
383
|
+
const factory Result.success(T data) = Success<T>;
|
|
384
|
+
const factory Result.failure(String error) = Failure<T>;
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
// Usage dans repository
|
|
388
|
+
abstract class ProductRepository {
|
|
389
|
+
Future<Result<List<Product>>> getProducts({
|
|
390
|
+
int page = 1,
|
|
391
|
+
int limit = 20,
|
|
392
|
+
});
|
|
393
|
+
|
|
394
|
+
Future<Result<Product>> getProductById(String id);
|
|
395
|
+
}
|
|
396
|
+
```
|
|
397
|
+
|
|
398
|
+
### 3. Use Cases (Cas d'utilisation)
|
|
399
|
+
|
|
400
|
+
**Rôle** : Encapsuler la logique métier pour une action spécifique.
|
|
401
|
+
|
|
402
|
+
**Principe** : Un Use Case = Une action métier
|
|
403
|
+
|
|
404
|
+
**Caractéristiques** :
|
|
405
|
+
- Une seule méthode publique : `call()`
|
|
406
|
+
- Prend le repository en injection de dépendance
|
|
407
|
+
- Contient validations et règles métier
|
|
408
|
+
- Nommage : Verbe à l'infinitif (GetProducts, CreateOrder, etc.)
|
|
409
|
+
|
|
410
|
+
```dart
|
|
411
|
+
// lib/features/products/domain/usecases/get_products.dart
|
|
412
|
+
|
|
413
|
+
import 'package:dartz/dartz.dart';
|
|
414
|
+
import '../../../../core/errors/failures.dart';
|
|
415
|
+
import '../entities/product.dart';
|
|
416
|
+
import '../repositories/product_repository.dart';
|
|
417
|
+
|
|
418
|
+
/// Récupère la liste paginée des produits.
|
|
419
|
+
///
|
|
420
|
+
/// Ce use case gère la logique métier pour récupérer les produits,
|
|
421
|
+
/// incluant la validation des paramètres.
|
|
422
|
+
class GetProducts {
|
|
423
|
+
final ProductRepository repository;
|
|
424
|
+
|
|
425
|
+
GetProducts(this.repository);
|
|
426
|
+
|
|
427
|
+
/// Exécute le use case.
|
|
428
|
+
///
|
|
429
|
+
/// [page] : Numéro de page (commence à 1)
|
|
430
|
+
/// [limit] : Nombre d'éléments par page (max 100)
|
|
431
|
+
///
|
|
432
|
+
/// Retourne [Right<List<Product>>] en cas de succès,
|
|
433
|
+
/// ou [Left<Failure>] en cas d'erreur.
|
|
434
|
+
Future<Either<Failure, List<Product>>> call({
|
|
435
|
+
int page = 1,
|
|
436
|
+
int limit = 20,
|
|
437
|
+
}) async {
|
|
438
|
+
// Validation des paramètres métier
|
|
439
|
+
if (page < 1) {
|
|
440
|
+
return const Left(ValidationFailure('Page must be >= 1'));
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
if (limit < 1 || limit > 100) {
|
|
444
|
+
return const Left(ValidationFailure('Limit must be between 1 and 100'));
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
// Délégation au repository
|
|
448
|
+
return await repository.getProducts(page: page, limit: limit);
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
```
|
|
452
|
+
|
|
453
|
+
**Use Case avec paramètres complexes** :
|
|
454
|
+
|
|
455
|
+
```dart
|
|
456
|
+
// lib/features/products/domain/usecases/search_products.dart
|
|
457
|
+
|
|
458
|
+
import 'package:dartz/dartz.dart';
|
|
459
|
+
import 'package:equatable/equatable.dart';
|
|
460
|
+
import '../../../../core/errors/failures.dart';
|
|
461
|
+
import '../entities/product.dart';
|
|
462
|
+
import '../repositories/product_repository.dart';
|
|
463
|
+
|
|
464
|
+
/// Paramètres pour la recherche de produits.
|
|
465
|
+
class SearchProductsParams extends Equatable {
|
|
466
|
+
final String query;
|
|
467
|
+
final String? category;
|
|
468
|
+
final int? minPrice;
|
|
469
|
+
final int? maxPrice;
|
|
470
|
+
final bool inStockOnly;
|
|
471
|
+
|
|
472
|
+
const SearchProductsParams({
|
|
473
|
+
required this.query,
|
|
474
|
+
this.category,
|
|
475
|
+
this.minPrice,
|
|
476
|
+
this.maxPrice,
|
|
477
|
+
this.inStockOnly = false,
|
|
478
|
+
});
|
|
479
|
+
|
|
480
|
+
@override
|
|
481
|
+
List<Object?> get props => [query, category, minPrice, maxPrice, inStockOnly];
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
/// Recherche des produits selon divers critères.
|
|
485
|
+
class SearchProducts {
|
|
486
|
+
final ProductRepository repository;
|
|
487
|
+
|
|
488
|
+
SearchProducts(this.repository);
|
|
489
|
+
|
|
490
|
+
Future<Either<Failure, List<Product>>> call(
|
|
491
|
+
SearchProductsParams params,
|
|
492
|
+
) async {
|
|
493
|
+
// Validation
|
|
494
|
+
if (params.query.trim().isEmpty) {
|
|
495
|
+
return const Left(ValidationFailure('Query cannot be empty'));
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
if (params.query.length < 2) {
|
|
499
|
+
return const Left(ValidationFailure('Query must be at least 2 characters'));
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
if (params.minPrice != null && params.maxPrice != null) {
|
|
503
|
+
if (params.minPrice! > params.maxPrice!) {
|
|
504
|
+
return const Left(
|
|
505
|
+
ValidationFailure('Min price cannot be greater than max price'),
|
|
506
|
+
);
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
// Récupération des produits
|
|
511
|
+
final result = await repository.searchProducts(
|
|
512
|
+
query: params.query,
|
|
513
|
+
category: params.category,
|
|
514
|
+
);
|
|
515
|
+
|
|
516
|
+
// Post-traitement (filtrage côté client si nécessaire)
|
|
517
|
+
return result.fold(
|
|
518
|
+
(failure) => Left(failure),
|
|
519
|
+
(products) {
|
|
520
|
+
var filtered = products;
|
|
521
|
+
|
|
522
|
+
// Filtre par prix
|
|
523
|
+
if (params.minPrice != null) {
|
|
524
|
+
filtered = filtered
|
|
525
|
+
.where((p) => p.priceInCents >= params.minPrice!)
|
|
526
|
+
.toList();
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
if (params.maxPrice != null) {
|
|
530
|
+
filtered = filtered
|
|
531
|
+
.where((p) => p.priceInCents <= params.maxPrice!)
|
|
532
|
+
.toList();
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
// Filtre stock
|
|
536
|
+
if (params.inStockOnly) {
|
|
537
|
+
filtered = filtered.where((p) => p.isInStock).toList();
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
return Right(filtered);
|
|
541
|
+
},
|
|
542
|
+
);
|
|
543
|
+
}
|
|
544
|
+
}
|
|
545
|
+
```
|
|
546
|
+
|
|
547
|
+
---
|
|
548
|
+
|
|
549
|
+
## Couche DATA : Accès aux Données
|
|
550
|
+
|
|
551
|
+
### 1. Models (DTOs - Data Transfer Objects)
|
|
552
|
+
|
|
553
|
+
**Rôle** : Représentation des données pour sérialization/désérialisation.
|
|
554
|
+
|
|
555
|
+
**Caractéristiques** :
|
|
556
|
+
- Annotations JSON
|
|
557
|
+
- Méthodes `fromJson` / `toJson`
|
|
558
|
+
- Conversion vers/depuis Entity
|
|
559
|
+
- Peut contenir logique de mapping
|
|
560
|
+
|
|
561
|
+
```dart
|
|
562
|
+
// lib/features/products/data/models/product_model.dart
|
|
563
|
+
|
|
564
|
+
import 'package:freezed_annotation/freezed_annotation.dart';
|
|
565
|
+
import '../../domain/entities/product.dart';
|
|
566
|
+
|
|
567
|
+
part 'product_model.freezed.dart';
|
|
568
|
+
part 'product_model.g.dart';
|
|
569
|
+
|
|
570
|
+
/// Modèle de données pour Product avec sérialization JSON.
|
|
571
|
+
@freezed
|
|
572
|
+
class ProductModel with _$ProductModel {
|
|
573
|
+
const ProductModel._();
|
|
574
|
+
|
|
575
|
+
const factory ProductModel({
|
|
576
|
+
required String id,
|
|
577
|
+
required String name,
|
|
578
|
+
required String description,
|
|
579
|
+
@JsonKey(name: 'price_cents') required int priceInCents,
|
|
580
|
+
@JsonKey(name: 'image_url') required String imageUrl,
|
|
581
|
+
required String category,
|
|
582
|
+
required int stock,
|
|
583
|
+
@JsonKey(name: 'created_at') required DateTime createdAt,
|
|
584
|
+
}) = _ProductModel;
|
|
585
|
+
|
|
586
|
+
/// Désérialisation depuis JSON
|
|
587
|
+
factory ProductModel.fromJson(Map<String, dynamic> json) =>
|
|
588
|
+
_$ProductModelFromJson(json);
|
|
589
|
+
|
|
590
|
+
/// Conversion vers l'entité domain
|
|
591
|
+
Product toEntity() {
|
|
592
|
+
return Product(
|
|
593
|
+
id: id,
|
|
594
|
+
name: name,
|
|
595
|
+
description: description,
|
|
596
|
+
priceInCents: priceInCents,
|
|
597
|
+
imageUrl: imageUrl,
|
|
598
|
+
category: category,
|
|
599
|
+
stock: stock,
|
|
600
|
+
createdAt: createdAt,
|
|
601
|
+
);
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
/// Création depuis l'entité domain
|
|
605
|
+
factory ProductModel.fromEntity(Product product) {
|
|
606
|
+
return ProductModel(
|
|
607
|
+
id: product.id,
|
|
608
|
+
name: product.name,
|
|
609
|
+
description: product.description,
|
|
610
|
+
priceInCents: product.priceInCents,
|
|
611
|
+
imageUrl: product.imageUrl,
|
|
612
|
+
category: product.category,
|
|
613
|
+
stock: product.stock,
|
|
614
|
+
createdAt: product.createdAt,
|
|
615
|
+
);
|
|
616
|
+
}
|
|
617
|
+
}
|
|
618
|
+
```
|
|
619
|
+
|
|
620
|
+
**Gestion des valeurs nullables de l'API** :
|
|
621
|
+
|
|
622
|
+
```dart
|
|
623
|
+
// Cas où l'API peut renvoyer null
|
|
624
|
+
@freezed
|
|
625
|
+
class ProductModel with _$ProductModel {
|
|
626
|
+
const ProductModel._();
|
|
627
|
+
|
|
628
|
+
const factory ProductModel({
|
|
629
|
+
required String id,
|
|
630
|
+
required String name,
|
|
631
|
+
String? description, // Nullable dans API
|
|
632
|
+
@JsonKey(name: 'price_cents') required int priceInCents,
|
|
633
|
+
@JsonKey(name: 'image_url') String? imageUrl, // Nullable dans API
|
|
634
|
+
required String category,
|
|
635
|
+
@Default(0) int stock, // Valeur par défaut
|
|
636
|
+
@JsonKey(name: 'created_at') required DateTime createdAt,
|
|
637
|
+
}) = _ProductModel;
|
|
638
|
+
|
|
639
|
+
factory ProductModel.fromJson(Map<String, dynamic> json) =>
|
|
640
|
+
_$ProductModelFromJson(json);
|
|
641
|
+
|
|
642
|
+
Product toEntity() {
|
|
643
|
+
return Product(
|
|
644
|
+
id: id,
|
|
645
|
+
name: name,
|
|
646
|
+
description: description ?? '', // Valeur par défaut pour entity
|
|
647
|
+
priceInCents: priceInCents,
|
|
648
|
+
imageUrl: imageUrl ?? 'assets/images/placeholder.png',
|
|
649
|
+
category: category,
|
|
650
|
+
stock: stock,
|
|
651
|
+
createdAt: createdAt,
|
|
652
|
+
);
|
|
653
|
+
}
|
|
654
|
+
}
|
|
655
|
+
```
|
|
656
|
+
|
|
657
|
+
### 2. Data Sources
|
|
658
|
+
|
|
659
|
+
**Rôle** : Accès direct aux sources de données (API, BDD locale, cache).
|
|
660
|
+
|
|
661
|
+
**Types** :
|
|
662
|
+
- `RemoteDataSource` : API REST, GraphQL, etc.
|
|
663
|
+
- `LocalDataSource` : SQLite, Hive, SharedPreferences, etc.
|
|
664
|
+
|
|
665
|
+
#### Remote Data Source (API)
|
|
666
|
+
|
|
667
|
+
```dart
|
|
668
|
+
// lib/features/products/data/datasources/product_remote_datasource.dart
|
|
669
|
+
|
|
670
|
+
import 'package:dio/dio.dart';
|
|
671
|
+
import 'package:retrofit/retrofit.dart';
|
|
672
|
+
import '../models/product_model.dart';
|
|
673
|
+
|
|
674
|
+
part 'product_remote_datasource.g.dart';
|
|
675
|
+
|
|
676
|
+
/// Source de données distante pour les produits (API).
|
|
677
|
+
@RestApi()
|
|
678
|
+
abstract class ProductRemoteDataSource {
|
|
679
|
+
factory ProductRemoteDataSource(Dio dio, {String baseUrl}) =
|
|
680
|
+
_ProductRemoteDataSource;
|
|
681
|
+
|
|
682
|
+
/// Récupère la liste paginée des produits
|
|
683
|
+
@GET('/products')
|
|
684
|
+
Future<List<ProductModel>> getProducts({
|
|
685
|
+
@Query('page') int page = 1,
|
|
686
|
+
@Query('limit') int limit = 20,
|
|
687
|
+
});
|
|
688
|
+
|
|
689
|
+
/// Récupère un produit par ID
|
|
690
|
+
@GET('/products/{id}')
|
|
691
|
+
Future<ProductModel> getProductById(@Path('id') String id);
|
|
692
|
+
|
|
693
|
+
/// Recherche de produits
|
|
694
|
+
@GET('/products/search')
|
|
695
|
+
Future<List<ProductModel>> searchProducts({
|
|
696
|
+
@Query('q') required String query,
|
|
697
|
+
@Query('category') String? category,
|
|
698
|
+
});
|
|
699
|
+
|
|
700
|
+
/// Récupère produits par catégorie
|
|
701
|
+
@GET('/products/category/{category}')
|
|
702
|
+
Future<List<ProductModel>> getProductsByCategory(
|
|
703
|
+
@Path('category') String category, {
|
|
704
|
+
@Query('page') int page = 1,
|
|
705
|
+
@Query('limit') int limit = 20,
|
|
706
|
+
});
|
|
707
|
+
}
|
|
708
|
+
```
|
|
709
|
+
|
|
710
|
+
**Alternative sans Retrofit (Dio pur)** :
|
|
711
|
+
|
|
712
|
+
```dart
|
|
713
|
+
// lib/features/products/data/datasources/product_remote_datasource.dart
|
|
714
|
+
|
|
715
|
+
import 'package:dio/dio.dart';
|
|
716
|
+
import '../../../../core/errors/exceptions.dart';
|
|
717
|
+
import '../models/product_model.dart';
|
|
718
|
+
|
|
719
|
+
/// Interface pour la source de données distante
|
|
720
|
+
abstract class ProductRemoteDataSource {
|
|
721
|
+
Future<List<ProductModel>> getProducts({int page = 1, int limit = 20});
|
|
722
|
+
Future<ProductModel> getProductById(String id);
|
|
723
|
+
Future<List<ProductModel>> searchProducts({
|
|
724
|
+
required String query,
|
|
725
|
+
String? category,
|
|
726
|
+
});
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
/// Implémentation avec Dio
|
|
730
|
+
class ProductRemoteDataSourceImpl implements ProductRemoteDataSource {
|
|
731
|
+
final Dio dio;
|
|
732
|
+
|
|
733
|
+
ProductRemoteDataSourceImpl({required this.dio});
|
|
734
|
+
|
|
735
|
+
@override
|
|
736
|
+
Future<List<ProductModel>> getProducts({
|
|
737
|
+
int page = 1,
|
|
738
|
+
int limit = 20,
|
|
739
|
+
}) async {
|
|
740
|
+
try {
|
|
741
|
+
final response = await dio.get(
|
|
742
|
+
'/products',
|
|
743
|
+
queryParameters: {'page': page, 'limit': limit},
|
|
744
|
+
);
|
|
745
|
+
|
|
746
|
+
if (response.statusCode == 200) {
|
|
747
|
+
final List<dynamic> data = response.data['data'] ?? response.data;
|
|
748
|
+
return data.map((json) => ProductModel.fromJson(json)).toList();
|
|
749
|
+
} else {
|
|
750
|
+
throw ServerException('Failed to load products');
|
|
751
|
+
}
|
|
752
|
+
} on DioException catch (e) {
|
|
753
|
+
throw ServerException(_handleDioError(e));
|
|
754
|
+
} catch (e) {
|
|
755
|
+
throw ServerException('Unexpected error: $e');
|
|
756
|
+
}
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
@override
|
|
760
|
+
Future<ProductModel> getProductById(String id) async {
|
|
761
|
+
try {
|
|
762
|
+
final response = await dio.get('/products/$id');
|
|
763
|
+
|
|
764
|
+
if (response.statusCode == 200) {
|
|
765
|
+
return ProductModel.fromJson(response.data);
|
|
766
|
+
} else {
|
|
767
|
+
throw ServerException('Product not found');
|
|
768
|
+
}
|
|
769
|
+
} on DioException catch (e) {
|
|
770
|
+
throw ServerException(_handleDioError(e));
|
|
771
|
+
}
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
@override
|
|
775
|
+
Future<List<ProductModel>> searchProducts({
|
|
776
|
+
required String query,
|
|
777
|
+
String? category,
|
|
778
|
+
}) async {
|
|
779
|
+
try {
|
|
780
|
+
final response = await dio.get(
|
|
781
|
+
'/products/search',
|
|
782
|
+
queryParameters: {
|
|
783
|
+
'q': query,
|
|
784
|
+
if (category != null) 'category': category,
|
|
785
|
+
},
|
|
786
|
+
);
|
|
787
|
+
|
|
788
|
+
if (response.statusCode == 200) {
|
|
789
|
+
final List<dynamic> data = response.data['data'] ?? response.data;
|
|
790
|
+
return data.map((json) => ProductModel.fromJson(json)).toList();
|
|
791
|
+
} else {
|
|
792
|
+
throw ServerException('Search failed');
|
|
793
|
+
}
|
|
794
|
+
} on DioException catch (e) {
|
|
795
|
+
throw ServerException(_handleDioError(e));
|
|
796
|
+
}
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
String _handleDioError(DioException e) {
|
|
800
|
+
switch (e.type) {
|
|
801
|
+
case DioExceptionType.connectionTimeout:
|
|
802
|
+
case DioExceptionType.sendTimeout:
|
|
803
|
+
case DioExceptionType.receiveTimeout:
|
|
804
|
+
return 'Connection timeout';
|
|
805
|
+
case DioExceptionType.badResponse:
|
|
806
|
+
return 'Server error: ${e.response?.statusCode}';
|
|
807
|
+
case DioExceptionType.cancel:
|
|
808
|
+
return 'Request cancelled';
|
|
809
|
+
default:
|
|
810
|
+
return 'Network error';
|
|
811
|
+
}
|
|
812
|
+
}
|
|
813
|
+
}
|
|
814
|
+
```
|
|
815
|
+
|
|
816
|
+
#### Local Data Source (Cache)
|
|
817
|
+
|
|
818
|
+
```dart
|
|
819
|
+
// lib/features/products/data/datasources/product_local_datasource.dart
|
|
820
|
+
|
|
821
|
+
import 'package:hive/hive.dart';
|
|
822
|
+
import '../../../../core/errors/exceptions.dart';
|
|
823
|
+
import '../models/product_model.dart';
|
|
824
|
+
|
|
825
|
+
/// Interface pour la source de données locale
|
|
826
|
+
abstract class ProductLocalDataSource {
|
|
827
|
+
Future<List<ProductModel>> getCachedProducts();
|
|
828
|
+
Future<void> cacheProducts(List<ProductModel> products);
|
|
829
|
+
Future<ProductModel> getCachedProduct(String id);
|
|
830
|
+
Future<void> cacheProduct(ProductModel product);
|
|
831
|
+
Future<void> clearCache();
|
|
832
|
+
}
|
|
833
|
+
|
|
834
|
+
/// Implémentation avec Hive
|
|
835
|
+
class ProductLocalDataSourceImpl implements ProductLocalDataSource {
|
|
836
|
+
final Box<ProductModel> productBox;
|
|
837
|
+
|
|
838
|
+
ProductLocalDataSourceImpl({required this.productBox});
|
|
839
|
+
|
|
840
|
+
@override
|
|
841
|
+
Future<List<ProductModel>> getCachedProducts() async {
|
|
842
|
+
try {
|
|
843
|
+
return productBox.values.toList();
|
|
844
|
+
} catch (e) {
|
|
845
|
+
throw CacheException('Failed to get cached products: $e');
|
|
846
|
+
}
|
|
847
|
+
}
|
|
848
|
+
|
|
849
|
+
@override
|
|
850
|
+
Future<void> cacheProducts(List<ProductModel> products) async {
|
|
851
|
+
try {
|
|
852
|
+
// Clear et re-cache
|
|
853
|
+
await productBox.clear();
|
|
854
|
+
|
|
855
|
+
final Map<String, ProductModel> productMap = {
|
|
856
|
+
for (var product in products) product.id: product
|
|
857
|
+
};
|
|
858
|
+
|
|
859
|
+
await productBox.putAll(productMap);
|
|
860
|
+
} catch (e) {
|
|
861
|
+
throw CacheException('Failed to cache products: $e');
|
|
862
|
+
}
|
|
863
|
+
}
|
|
864
|
+
|
|
865
|
+
@override
|
|
866
|
+
Future<ProductModel> getCachedProduct(String id) async {
|
|
867
|
+
try {
|
|
868
|
+
final product = productBox.get(id);
|
|
869
|
+
|
|
870
|
+
if (product == null) {
|
|
871
|
+
throw CacheException('Product not found in cache');
|
|
872
|
+
}
|
|
873
|
+
|
|
874
|
+
return product;
|
|
875
|
+
} catch (e) {
|
|
876
|
+
throw CacheException('Failed to get cached product: $e');
|
|
877
|
+
}
|
|
878
|
+
}
|
|
879
|
+
|
|
880
|
+
@override
|
|
881
|
+
Future<void> cacheProduct(ProductModel product) async {
|
|
882
|
+
try {
|
|
883
|
+
await productBox.put(product.id, product);
|
|
884
|
+
} catch (e) {
|
|
885
|
+
throw CacheException('Failed to cache product: $e');
|
|
886
|
+
}
|
|
887
|
+
}
|
|
888
|
+
|
|
889
|
+
@override
|
|
890
|
+
Future<void> clearCache() async {
|
|
891
|
+
try {
|
|
892
|
+
await productBox.clear();
|
|
893
|
+
} catch (e) {
|
|
894
|
+
throw CacheException('Failed to clear cache: $e');
|
|
895
|
+
}
|
|
896
|
+
}
|
|
897
|
+
}
|
|
898
|
+
```
|
|
899
|
+
|
|
900
|
+
### 3. Repository Implementation
|
|
901
|
+
|
|
902
|
+
**Rôle** : Orchestrer les data sources et implémenter l'interface du domain.
|
|
903
|
+
|
|
904
|
+
**Responsabilités** :
|
|
905
|
+
- Choisir entre remote/local selon contexte
|
|
906
|
+
- Gérer le cache
|
|
907
|
+
- Mapper les exceptions en Failures
|
|
908
|
+
- Convertir Models en Entities
|
|
909
|
+
|
|
910
|
+
```dart
|
|
911
|
+
// lib/features/products/data/repositories/product_repository_impl.dart
|
|
912
|
+
|
|
913
|
+
import 'package:dartz/dartz.dart';
|
|
914
|
+
import '../../../../core/errors/exceptions.dart';
|
|
915
|
+
import '../../../../core/errors/failures.dart';
|
|
916
|
+
import '../../../../core/network/network_info.dart';
|
|
917
|
+
import '../../domain/entities/product.dart';
|
|
918
|
+
import '../../domain/repositories/product_repository.dart';
|
|
919
|
+
import '../datasources/product_local_datasource.dart';
|
|
920
|
+
import '../datasources/product_remote_datasource.dart';
|
|
921
|
+
|
|
922
|
+
/// Implémentation du repository produit.
|
|
923
|
+
///
|
|
924
|
+
/// Orchestre les sources de données remote et local,
|
|
925
|
+
/// gère le cache et les stratégies offline-first.
|
|
926
|
+
class ProductRepositoryImpl implements ProductRepository {
|
|
927
|
+
final ProductRemoteDataSource remoteDataSource;
|
|
928
|
+
final ProductLocalDataSource localDataSource;
|
|
929
|
+
final NetworkInfo networkInfo;
|
|
930
|
+
|
|
931
|
+
ProductRepositoryImpl({
|
|
932
|
+
required this.remoteDataSource,
|
|
933
|
+
required this.localDataSource,
|
|
934
|
+
required this.networkInfo,
|
|
935
|
+
});
|
|
936
|
+
|
|
937
|
+
@override
|
|
938
|
+
Future<Either<Failure, List<Product>>> getProducts({
|
|
939
|
+
int page = 1,
|
|
940
|
+
int limit = 20,
|
|
941
|
+
}) async {
|
|
942
|
+
if (await networkInfo.isConnected) {
|
|
943
|
+
// Online : récupérer depuis API et cacher
|
|
944
|
+
try {
|
|
945
|
+
final remoteProducts = await remoteDataSource.getProducts(
|
|
946
|
+
page: page,
|
|
947
|
+
limit: limit,
|
|
948
|
+
);
|
|
949
|
+
|
|
950
|
+
// Cache seulement la première page
|
|
951
|
+
if (page == 1) {
|
|
952
|
+
await localDataSource.cacheProducts(remoteProducts);
|
|
953
|
+
}
|
|
954
|
+
|
|
955
|
+
// Convertir models en entities
|
|
956
|
+
final products = remoteProducts.map((model) => model.toEntity()).toList();
|
|
957
|
+
|
|
958
|
+
return Right(products);
|
|
959
|
+
} on ServerException catch (e) {
|
|
960
|
+
return Left(ServerFailure(e.message));
|
|
961
|
+
} catch (e) {
|
|
962
|
+
return Left(ServerFailure('Unexpected error: $e'));
|
|
963
|
+
}
|
|
964
|
+
} else {
|
|
965
|
+
// Offline : récupérer depuis cache
|
|
966
|
+
try {
|
|
967
|
+
final cachedProducts = await localDataSource.getCachedProducts();
|
|
968
|
+
|
|
969
|
+
if (cachedProducts.isEmpty) {
|
|
970
|
+
return const Left(
|
|
971
|
+
CacheFailure('No cached data available offline'),
|
|
972
|
+
);
|
|
973
|
+
}
|
|
974
|
+
|
|
975
|
+
final products = cachedProducts.map((model) => model.toEntity()).toList();
|
|
976
|
+
|
|
977
|
+
return Right(products);
|
|
978
|
+
} on CacheException catch (e) {
|
|
979
|
+
return Left(CacheFailure(e.message));
|
|
980
|
+
}
|
|
981
|
+
}
|
|
982
|
+
}
|
|
983
|
+
|
|
984
|
+
@override
|
|
985
|
+
Future<Either<Failure, Product>> getProductById(String id) async {
|
|
986
|
+
if (await networkInfo.isConnected) {
|
|
987
|
+
try {
|
|
988
|
+
final remoteProduct = await remoteDataSource.getProductById(id);
|
|
989
|
+
|
|
990
|
+
// Cacher le produit
|
|
991
|
+
await localDataSource.cacheProduct(remoteProduct);
|
|
992
|
+
|
|
993
|
+
return Right(remoteProduct.toEntity());
|
|
994
|
+
} on ServerException catch (e) {
|
|
995
|
+
return Left(ServerFailure(e.message));
|
|
996
|
+
}
|
|
997
|
+
} else {
|
|
998
|
+
try {
|
|
999
|
+
final cachedProduct = await localDataSource.getCachedProduct(id);
|
|
1000
|
+
return Right(cachedProduct.toEntity());
|
|
1001
|
+
} on CacheException catch (e) {
|
|
1002
|
+
return Left(CacheFailure(e.message));
|
|
1003
|
+
}
|
|
1004
|
+
}
|
|
1005
|
+
}
|
|
1006
|
+
|
|
1007
|
+
@override
|
|
1008
|
+
Future<Either<Failure, List<Product>>> searchProducts({
|
|
1009
|
+
required String query,
|
|
1010
|
+
String? category,
|
|
1011
|
+
}) async {
|
|
1012
|
+
// Recherche nécessite connexion
|
|
1013
|
+
if (!await networkInfo.isConnected) {
|
|
1014
|
+
return const Left(NetworkFailure('No internet connection'));
|
|
1015
|
+
}
|
|
1016
|
+
|
|
1017
|
+
try {
|
|
1018
|
+
final results = await remoteDataSource.searchProducts(
|
|
1019
|
+
query: query,
|
|
1020
|
+
category: category,
|
|
1021
|
+
);
|
|
1022
|
+
|
|
1023
|
+
final products = results.map((model) => model.toEntity()).toList();
|
|
1024
|
+
|
|
1025
|
+
return Right(products);
|
|
1026
|
+
} on ServerException catch (e) {
|
|
1027
|
+
return Left(ServerFailure(e.message));
|
|
1028
|
+
}
|
|
1029
|
+
}
|
|
1030
|
+
|
|
1031
|
+
@override
|
|
1032
|
+
Future<Either<Failure, List<Product>>> getProductsByCategory(
|
|
1033
|
+
String category, {
|
|
1034
|
+
int page = 1,
|
|
1035
|
+
int limit = 20,
|
|
1036
|
+
}) async {
|
|
1037
|
+
if (await networkInfo.isConnected) {
|
|
1038
|
+
try {
|
|
1039
|
+
final remoteProducts = await remoteDataSource.getProductsByCategory(
|
|
1040
|
+
category,
|
|
1041
|
+
page: page,
|
|
1042
|
+
limit: limit,
|
|
1043
|
+
);
|
|
1044
|
+
|
|
1045
|
+
final products = remoteProducts.map((model) => model.toEntity()).toList();
|
|
1046
|
+
|
|
1047
|
+
return Right(products);
|
|
1048
|
+
} on ServerException catch (e) {
|
|
1049
|
+
return Left(ServerFailure(e.message));
|
|
1050
|
+
}
|
|
1051
|
+
} else {
|
|
1052
|
+
// Fallback : filtrer cache local
|
|
1053
|
+
try {
|
|
1054
|
+
final cachedProducts = await localDataSource.getCachedProducts();
|
|
1055
|
+
|
|
1056
|
+
final filteredProducts = cachedProducts
|
|
1057
|
+
.where((p) => p.category == category)
|
|
1058
|
+
.map((model) => model.toEntity())
|
|
1059
|
+
.toList();
|
|
1060
|
+
|
|
1061
|
+
return Right(filteredProducts);
|
|
1062
|
+
} on CacheException catch (e) {
|
|
1063
|
+
return Left(CacheFailure(e.message));
|
|
1064
|
+
}
|
|
1065
|
+
}
|
|
1066
|
+
}
|
|
1067
|
+
}
|
|
1068
|
+
```
|
|
1069
|
+
|
|
1070
|
+
---
|
|
1071
|
+
|
|
1072
|
+
## Couche PRESENTATION : Interface Utilisateur
|
|
1073
|
+
|
|
1074
|
+
### 1. State Management avec BLoC
|
|
1075
|
+
|
|
1076
|
+
**Pattern BLoC (Business Logic Component)** :
|
|
1077
|
+
- Séparer logique métier de l'UI
|
|
1078
|
+
- Events → BLoC → States
|
|
1079
|
+
- Testable facilement
|
|
1080
|
+
|
|
1081
|
+
#### Events
|
|
1082
|
+
|
|
1083
|
+
```dart
|
|
1084
|
+
// lib/features/products/presentation/bloc/product_list/product_list_event.dart
|
|
1085
|
+
|
|
1086
|
+
import 'package:equatable/equatable.dart';
|
|
1087
|
+
|
|
1088
|
+
abstract class ProductListEvent extends Equatable {
|
|
1089
|
+
const ProductListEvent();
|
|
1090
|
+
|
|
1091
|
+
@override
|
|
1092
|
+
List<Object?> get props => [];
|
|
1093
|
+
}
|
|
1094
|
+
|
|
1095
|
+
/// Demande de chargement des produits
|
|
1096
|
+
class LoadProducts extends ProductListEvent {
|
|
1097
|
+
final int page;
|
|
1098
|
+
|
|
1099
|
+
const LoadProducts({this.page = 1});
|
|
1100
|
+
|
|
1101
|
+
@override
|
|
1102
|
+
List<Object?> get props => [page];
|
|
1103
|
+
}
|
|
1104
|
+
|
|
1105
|
+
/// Demande de rafraîchissement (pull-to-refresh)
|
|
1106
|
+
class RefreshProducts extends ProductListEvent {
|
|
1107
|
+
const RefreshProducts();
|
|
1108
|
+
}
|
|
1109
|
+
|
|
1110
|
+
/// Chargement de la page suivante (pagination)
|
|
1111
|
+
class LoadMoreProducts extends ProductListEvent {
|
|
1112
|
+
const LoadMoreProducts();
|
|
1113
|
+
}
|
|
1114
|
+
|
|
1115
|
+
/// Filtrage par catégorie
|
|
1116
|
+
class FilterByCategory extends ProductListEvent {
|
|
1117
|
+
final String category;
|
|
1118
|
+
|
|
1119
|
+
const FilterByCategory(this.category);
|
|
1120
|
+
|
|
1121
|
+
@override
|
|
1122
|
+
List<Object?> get props => [category];
|
|
1123
|
+
}
|
|
1124
|
+
|
|
1125
|
+
/// Recherche de produits
|
|
1126
|
+
class SearchProducts extends ProductListEvent {
|
|
1127
|
+
final String query;
|
|
1128
|
+
|
|
1129
|
+
const SearchProducts(this.query);
|
|
1130
|
+
|
|
1131
|
+
@override
|
|
1132
|
+
List<Object?> get props => [query];
|
|
1133
|
+
}
|
|
1134
|
+
```
|
|
1135
|
+
|
|
1136
|
+
#### States
|
|
1137
|
+
|
|
1138
|
+
```dart
|
|
1139
|
+
// lib/features/products/presentation/bloc/product_list/product_list_state.dart
|
|
1140
|
+
|
|
1141
|
+
import 'package:equatable/equatable.dart';
|
|
1142
|
+
import '../../../domain/entities/product.dart';
|
|
1143
|
+
|
|
1144
|
+
abstract class ProductListState extends Equatable {
|
|
1145
|
+
const ProductListState();
|
|
1146
|
+
|
|
1147
|
+
@override
|
|
1148
|
+
List<Object?> get props => [];
|
|
1149
|
+
}
|
|
1150
|
+
|
|
1151
|
+
/// État initial
|
|
1152
|
+
class ProductListInitial extends ProductListState {}
|
|
1153
|
+
|
|
1154
|
+
/// Chargement en cours
|
|
1155
|
+
class ProductListLoading extends ProductListState {}
|
|
1156
|
+
|
|
1157
|
+
/// Produits chargés avec succès
|
|
1158
|
+
class ProductListLoaded extends ProductListState {
|
|
1159
|
+
final List<Product> products;
|
|
1160
|
+
final int currentPage;
|
|
1161
|
+
final bool hasReachedMax;
|
|
1162
|
+
|
|
1163
|
+
const ProductListLoaded({
|
|
1164
|
+
required this.products,
|
|
1165
|
+
this.currentPage = 1,
|
|
1166
|
+
this.hasReachedMax = false,
|
|
1167
|
+
});
|
|
1168
|
+
|
|
1169
|
+
@override
|
|
1170
|
+
List<Object?> get props => [products, currentPage, hasReachedMax];
|
|
1171
|
+
|
|
1172
|
+
/// CopyWith pour modifications
|
|
1173
|
+
ProductListLoaded copyWith({
|
|
1174
|
+
List<Product>? products,
|
|
1175
|
+
int? currentPage,
|
|
1176
|
+
bool? hasReachedMax,
|
|
1177
|
+
}) {
|
|
1178
|
+
return ProductListLoaded(
|
|
1179
|
+
products: products ?? this.products,
|
|
1180
|
+
currentPage: currentPage ?? this.currentPage,
|
|
1181
|
+
hasReachedMax: hasReachedMax ?? this.hasReachedMax,
|
|
1182
|
+
);
|
|
1183
|
+
}
|
|
1184
|
+
}
|
|
1185
|
+
|
|
1186
|
+
/// Chargement de plus de produits (pagination)
|
|
1187
|
+
class ProductListLoadingMore extends ProductListState {
|
|
1188
|
+
final List<Product> currentProducts;
|
|
1189
|
+
|
|
1190
|
+
const ProductListLoadingMore(this.currentProducts);
|
|
1191
|
+
|
|
1192
|
+
@override
|
|
1193
|
+
List<Object?> get props => [currentProducts];
|
|
1194
|
+
}
|
|
1195
|
+
|
|
1196
|
+
/// Erreur lors du chargement
|
|
1197
|
+
class ProductListError extends ProductListState {
|
|
1198
|
+
final String message;
|
|
1199
|
+
|
|
1200
|
+
const ProductListError(this.message);
|
|
1201
|
+
|
|
1202
|
+
@override
|
|
1203
|
+
List<Object?> get props => [message];
|
|
1204
|
+
}
|
|
1205
|
+
```
|
|
1206
|
+
|
|
1207
|
+
#### BLoC
|
|
1208
|
+
|
|
1209
|
+
```dart
|
|
1210
|
+
// lib/features/products/presentation/bloc/product_list/product_list_bloc.dart
|
|
1211
|
+
|
|
1212
|
+
import 'package:flutter_bloc/flutter_bloc.dart';
|
|
1213
|
+
import '../../../domain/usecases/get_products.dart';
|
|
1214
|
+
import '../../../domain/usecases/search_products.dart';
|
|
1215
|
+
import 'product_list_event.dart';
|
|
1216
|
+
import 'product_list_state.dart';
|
|
1217
|
+
|
|
1218
|
+
class ProductListBloc extends Bloc<ProductListEvent, ProductListState> {
|
|
1219
|
+
final GetProducts getProducts;
|
|
1220
|
+
final SearchProducts searchProductsUseCase;
|
|
1221
|
+
|
|
1222
|
+
ProductListBloc({
|
|
1223
|
+
required this.getProducts,
|
|
1224
|
+
required this.searchProductsUseCase,
|
|
1225
|
+
}) : super(ProductListInitial()) {
|
|
1226
|
+
on<LoadProducts>(_onLoadProducts);
|
|
1227
|
+
on<RefreshProducts>(_onRefreshProducts);
|
|
1228
|
+
on<LoadMoreProducts>(_onLoadMoreProducts);
|
|
1229
|
+
on<SearchProducts>(_onSearchProducts);
|
|
1230
|
+
}
|
|
1231
|
+
|
|
1232
|
+
Future<void> _onLoadProducts(
|
|
1233
|
+
LoadProducts event,
|
|
1234
|
+
Emitter<ProductListState> emit,
|
|
1235
|
+
) async {
|
|
1236
|
+
emit(ProductListLoading());
|
|
1237
|
+
|
|
1238
|
+
final result = await getProducts(page: event.page, limit: 20);
|
|
1239
|
+
|
|
1240
|
+
result.fold(
|
|
1241
|
+
(failure) => emit(ProductListError(failure.message)),
|
|
1242
|
+
(products) => emit(ProductListLoaded(
|
|
1243
|
+
products: products,
|
|
1244
|
+
currentPage: event.page,
|
|
1245
|
+
hasReachedMax: products.length < 20,
|
|
1246
|
+
)),
|
|
1247
|
+
);
|
|
1248
|
+
}
|
|
1249
|
+
|
|
1250
|
+
Future<void> _onRefreshProducts(
|
|
1251
|
+
RefreshProducts event,
|
|
1252
|
+
Emitter<ProductListState> emit,
|
|
1253
|
+
) async {
|
|
1254
|
+
// Recharger la première page
|
|
1255
|
+
final result = await getProducts(page: 1, limit: 20);
|
|
1256
|
+
|
|
1257
|
+
result.fold(
|
|
1258
|
+
(failure) => emit(ProductListError(failure.message)),
|
|
1259
|
+
(products) => emit(ProductListLoaded(
|
|
1260
|
+
products: products,
|
|
1261
|
+
currentPage: 1,
|
|
1262
|
+
hasReachedMax: products.length < 20,
|
|
1263
|
+
)),
|
|
1264
|
+
);
|
|
1265
|
+
}
|
|
1266
|
+
|
|
1267
|
+
Future<void> _onLoadMoreProducts(
|
|
1268
|
+
LoadMoreProducts event,
|
|
1269
|
+
Emitter<ProductListState> emit,
|
|
1270
|
+
) async {
|
|
1271
|
+
final currentState = state;
|
|
1272
|
+
|
|
1273
|
+
if (currentState is ProductListLoaded && !currentState.hasReachedMax) {
|
|
1274
|
+
// Indiquer qu'on charge plus
|
|
1275
|
+
emit(ProductListLoadingMore(currentState.products));
|
|
1276
|
+
|
|
1277
|
+
final nextPage = currentState.currentPage + 1;
|
|
1278
|
+
final result = await getProducts(page: nextPage, limit: 20);
|
|
1279
|
+
|
|
1280
|
+
result.fold(
|
|
1281
|
+
(failure) => emit(ProductListError(failure.message)),
|
|
1282
|
+
(newProducts) {
|
|
1283
|
+
// Fusionner avec produits existants
|
|
1284
|
+
final allProducts = List.of(currentState.products)
|
|
1285
|
+
..addAll(newProducts);
|
|
1286
|
+
|
|
1287
|
+
emit(ProductListLoaded(
|
|
1288
|
+
products: allProducts,
|
|
1289
|
+
currentPage: nextPage,
|
|
1290
|
+
hasReachedMax: newProducts.length < 20,
|
|
1291
|
+
));
|
|
1292
|
+
},
|
|
1293
|
+
);
|
|
1294
|
+
}
|
|
1295
|
+
}
|
|
1296
|
+
|
|
1297
|
+
Future<void> _onSearchProducts(
|
|
1298
|
+
SearchProducts event,
|
|
1299
|
+
Emitter<ProductListState> emit,
|
|
1300
|
+
) async {
|
|
1301
|
+
emit(ProductListLoading());
|
|
1302
|
+
|
|
1303
|
+
final result = await searchProductsUseCase(
|
|
1304
|
+
SearchProductsParams(query: event.query),
|
|
1305
|
+
);
|
|
1306
|
+
|
|
1307
|
+
result.fold(
|
|
1308
|
+
(failure) => emit(ProductListError(failure.message)),
|
|
1309
|
+
(products) => emit(ProductListLoaded(
|
|
1310
|
+
products: products,
|
|
1311
|
+
currentPage: 1,
|
|
1312
|
+
hasReachedMax: true, // Pas de pagination pour recherche
|
|
1313
|
+
)),
|
|
1314
|
+
);
|
|
1315
|
+
}
|
|
1316
|
+
}
|
|
1317
|
+
```
|
|
1318
|
+
|
|
1319
|
+
### 2. Pages (Screens)
|
|
1320
|
+
|
|
1321
|
+
```dart
|
|
1322
|
+
// lib/features/products/presentation/pages/product_list_page.dart
|
|
1323
|
+
|
|
1324
|
+
import 'package:flutter/material.dart';
|
|
1325
|
+
import 'package:flutter_bloc/flutter_bloc.dart';
|
|
1326
|
+
import '../../../../dependency_injection.dart';
|
|
1327
|
+
import '../bloc/product_list/product_list_bloc.dart';
|
|
1328
|
+
import '../bloc/product_list/product_list_event.dart';
|
|
1329
|
+
import '../bloc/product_list/product_list_state.dart';
|
|
1330
|
+
import '../widgets/product_grid.dart';
|
|
1331
|
+
import '../widgets/product_search_bar.dart';
|
|
1332
|
+
|
|
1333
|
+
class ProductListPage extends StatelessWidget {
|
|
1334
|
+
const ProductListPage({super.key});
|
|
1335
|
+
|
|
1336
|
+
@override
|
|
1337
|
+
Widget build(BuildContext context) {
|
|
1338
|
+
return BlocProvider(
|
|
1339
|
+
// Créer le BLoC via DI
|
|
1340
|
+
create: (_) => getIt<ProductListBloc>()..add(const LoadProducts()),
|
|
1341
|
+
child: const ProductListView(),
|
|
1342
|
+
);
|
|
1343
|
+
}
|
|
1344
|
+
}
|
|
1345
|
+
|
|
1346
|
+
class ProductListView extends StatefulWidget {
|
|
1347
|
+
const ProductListView({super.key});
|
|
1348
|
+
|
|
1349
|
+
@override
|
|
1350
|
+
State<ProductListView> createState() => _ProductListViewState();
|
|
1351
|
+
}
|
|
1352
|
+
|
|
1353
|
+
class _ProductListViewState extends State<ProductListView> {
|
|
1354
|
+
final ScrollController _scrollController = ScrollController();
|
|
1355
|
+
|
|
1356
|
+
@override
|
|
1357
|
+
void initState() {
|
|
1358
|
+
super.initState();
|
|
1359
|
+
_scrollController.addListener(_onScroll);
|
|
1360
|
+
}
|
|
1361
|
+
|
|
1362
|
+
@override
|
|
1363
|
+
void dispose() {
|
|
1364
|
+
_scrollController.dispose();
|
|
1365
|
+
super.dispose();
|
|
1366
|
+
}
|
|
1367
|
+
|
|
1368
|
+
void _onScroll() {
|
|
1369
|
+
if (_isBottom) {
|
|
1370
|
+
context.read<ProductListBloc>().add(const LoadMoreProducts());
|
|
1371
|
+
}
|
|
1372
|
+
}
|
|
1373
|
+
|
|
1374
|
+
bool get _isBottom {
|
|
1375
|
+
if (!_scrollController.hasClients) return false;
|
|
1376
|
+
final maxScroll = _scrollController.position.maxScrollExtent;
|
|
1377
|
+
final currentScroll = _scrollController.offset;
|
|
1378
|
+
return currentScroll >= (maxScroll * 0.9);
|
|
1379
|
+
}
|
|
1380
|
+
|
|
1381
|
+
@override
|
|
1382
|
+
Widget build(BuildContext context) {
|
|
1383
|
+
return Scaffold(
|
|
1384
|
+
appBar: AppBar(
|
|
1385
|
+
title: const Text('Products'),
|
|
1386
|
+
bottom: PreferredSize(
|
|
1387
|
+
preferredSize: const Size.fromHeight(60),
|
|
1388
|
+
child: ProductSearchBar(
|
|
1389
|
+
onSearch: (query) {
|
|
1390
|
+
context.read<ProductListBloc>().add(SearchProducts(query));
|
|
1391
|
+
},
|
|
1392
|
+
),
|
|
1393
|
+
),
|
|
1394
|
+
),
|
|
1395
|
+
body: BlocBuilder<ProductListBloc, ProductListState>(
|
|
1396
|
+
builder: (context, state) {
|
|
1397
|
+
if (state is ProductListLoading) {
|
|
1398
|
+
return const Center(child: CircularProgressIndicator());
|
|
1399
|
+
}
|
|
1400
|
+
|
|
1401
|
+
if (state is ProductListError) {
|
|
1402
|
+
return Center(
|
|
1403
|
+
child: Column(
|
|
1404
|
+
mainAxisAlignment: MainAxisAlignment.center,
|
|
1405
|
+
children: [
|
|
1406
|
+
const Icon(Icons.error_outline, size: 64, color: Colors.red),
|
|
1407
|
+
const SizedBox(height: 16),
|
|
1408
|
+
Text(state.message),
|
|
1409
|
+
const SizedBox(height: 16),
|
|
1410
|
+
ElevatedButton(
|
|
1411
|
+
onPressed: () {
|
|
1412
|
+
context.read<ProductListBloc>().add(const LoadProducts());
|
|
1413
|
+
},
|
|
1414
|
+
child: const Text('Retry'),
|
|
1415
|
+
),
|
|
1416
|
+
],
|
|
1417
|
+
),
|
|
1418
|
+
);
|
|
1419
|
+
}
|
|
1420
|
+
|
|
1421
|
+
if (state is ProductListLoaded || state is ProductListLoadingMore) {
|
|
1422
|
+
final products = state is ProductListLoaded
|
|
1423
|
+
? state.products
|
|
1424
|
+
: (state as ProductListLoadingMore).currentProducts;
|
|
1425
|
+
|
|
1426
|
+
return RefreshIndicator(
|
|
1427
|
+
onRefresh: () async {
|
|
1428
|
+
context.read<ProductListBloc>().add(const RefreshProducts());
|
|
1429
|
+
// Attendre la fin du refresh
|
|
1430
|
+
await context
|
|
1431
|
+
.read<ProductListBloc>()
|
|
1432
|
+
.stream
|
|
1433
|
+
.firstWhere((s) => s is! ProductListLoading);
|
|
1434
|
+
},
|
|
1435
|
+
child: Column(
|
|
1436
|
+
children: [
|
|
1437
|
+
Expanded(
|
|
1438
|
+
child: ProductGrid(
|
|
1439
|
+
products: products,
|
|
1440
|
+
scrollController: _scrollController,
|
|
1441
|
+
),
|
|
1442
|
+
),
|
|
1443
|
+
if (state is ProductListLoadingMore)
|
|
1444
|
+
const Padding(
|
|
1445
|
+
padding: EdgeInsets.all(8.0),
|
|
1446
|
+
child: CircularProgressIndicator(),
|
|
1447
|
+
),
|
|
1448
|
+
],
|
|
1449
|
+
),
|
|
1450
|
+
);
|
|
1451
|
+
}
|
|
1452
|
+
|
|
1453
|
+
return const Center(child: Text('No products'));
|
|
1454
|
+
},
|
|
1455
|
+
),
|
|
1456
|
+
);
|
|
1457
|
+
}
|
|
1458
|
+
}
|
|
1459
|
+
```
|
|
1460
|
+
|
|
1461
|
+
### 3. Widgets réutilisables
|
|
1462
|
+
|
|
1463
|
+
```dart
|
|
1464
|
+
// lib/features/products/presentation/widgets/product_card.dart
|
|
1465
|
+
|
|
1466
|
+
import 'package:flutter/material.dart';
|
|
1467
|
+
import 'package:cached_network_image/cached_network_image.dart';
|
|
1468
|
+
import '../../../domain/entities/product.dart';
|
|
1469
|
+
|
|
1470
|
+
class ProductCard extends StatelessWidget {
|
|
1471
|
+
const ProductCard({
|
|
1472
|
+
super.key,
|
|
1473
|
+
required this.product,
|
|
1474
|
+
this.onTap,
|
|
1475
|
+
});
|
|
1476
|
+
|
|
1477
|
+
final Product product;
|
|
1478
|
+
final VoidCallback? onTap;
|
|
1479
|
+
|
|
1480
|
+
@override
|
|
1481
|
+
Widget build(BuildContext context) {
|
|
1482
|
+
return Card(
|
|
1483
|
+
clipBehavior: Clip.antiAlias,
|
|
1484
|
+
child: InkWell(
|
|
1485
|
+
onTap: onTap,
|
|
1486
|
+
child: Column(
|
|
1487
|
+
crossAxisAlignment: CrossAxisAlignment.start,
|
|
1488
|
+
children: [
|
|
1489
|
+
// Image
|
|
1490
|
+
Expanded(
|
|
1491
|
+
child: Hero(
|
|
1492
|
+
tag: 'product-${product.id}',
|
|
1493
|
+
child: CachedNetworkImage(
|
|
1494
|
+
imageUrl: product.imageUrl,
|
|
1495
|
+
fit: BoxFit.cover,
|
|
1496
|
+
width: double.infinity,
|
|
1497
|
+
placeholder: (context, url) => const Center(
|
|
1498
|
+
child: CircularProgressIndicator(),
|
|
1499
|
+
),
|
|
1500
|
+
errorWidget: (context, url, error) => const Icon(Icons.error),
|
|
1501
|
+
),
|
|
1502
|
+
),
|
|
1503
|
+
),
|
|
1504
|
+
|
|
1505
|
+
// Info
|
|
1506
|
+
Padding(
|
|
1507
|
+
padding: const EdgeInsets.all(8.0),
|
|
1508
|
+
child: Column(
|
|
1509
|
+
crossAxisAlignment: CrossAxisAlignment.start,
|
|
1510
|
+
children: [
|
|
1511
|
+
Text(
|
|
1512
|
+
product.name,
|
|
1513
|
+
style: Theme.of(context).textTheme.titleMedium,
|
|
1514
|
+
maxLines: 2,
|
|
1515
|
+
overflow: TextOverflow.ellipsis,
|
|
1516
|
+
),
|
|
1517
|
+
const SizedBox(height: 4),
|
|
1518
|
+
Text(
|
|
1519
|
+
product.formattedPrice,
|
|
1520
|
+
style: Theme.of(context).textTheme.titleLarge?.copyWith(
|
|
1521
|
+
color: Theme.of(context).colorScheme.primary,
|
|
1522
|
+
fontWeight: FontWeight.bold,
|
|
1523
|
+
),
|
|
1524
|
+
),
|
|
1525
|
+
if (product.isLowStock) ...[
|
|
1526
|
+
const SizedBox(height: 4),
|
|
1527
|
+
Container(
|
|
1528
|
+
padding: const EdgeInsets.symmetric(
|
|
1529
|
+
horizontal: 8,
|
|
1530
|
+
vertical: 4,
|
|
1531
|
+
),
|
|
1532
|
+
decoration: BoxDecoration(
|
|
1533
|
+
color: Colors.orange.shade100,
|
|
1534
|
+
borderRadius: BorderRadius.circular(4),
|
|
1535
|
+
),
|
|
1536
|
+
child: Text(
|
|
1537
|
+
'Only ${product.stock} left',
|
|
1538
|
+
style: TextStyle(
|
|
1539
|
+
fontSize: 12,
|
|
1540
|
+
color: Colors.orange.shade900,
|
|
1541
|
+
),
|
|
1542
|
+
),
|
|
1543
|
+
),
|
|
1544
|
+
],
|
|
1545
|
+
if (!product.isInStock) ...[
|
|
1546
|
+
const SizedBox(height: 4),
|
|
1547
|
+
Container(
|
|
1548
|
+
padding: const EdgeInsets.symmetric(
|
|
1549
|
+
horizontal: 8,
|
|
1550
|
+
vertical: 4,
|
|
1551
|
+
),
|
|
1552
|
+
decoration: BoxDecoration(
|
|
1553
|
+
color: Colors.red.shade100,
|
|
1554
|
+
borderRadius: BorderRadius.circular(4),
|
|
1555
|
+
),
|
|
1556
|
+
child: Text(
|
|
1557
|
+
'Out of stock',
|
|
1558
|
+
style: TextStyle(
|
|
1559
|
+
fontSize: 12,
|
|
1560
|
+
color: Colors.red.shade900,
|
|
1561
|
+
),
|
|
1562
|
+
),
|
|
1563
|
+
),
|
|
1564
|
+
],
|
|
1565
|
+
],
|
|
1566
|
+
),
|
|
1567
|
+
),
|
|
1568
|
+
],
|
|
1569
|
+
),
|
|
1570
|
+
),
|
|
1571
|
+
);
|
|
1572
|
+
}
|
|
1573
|
+
}
|
|
1574
|
+
```
|
|
1575
|
+
|
|
1576
|
+
---
|
|
1577
|
+
|
|
1578
|
+
## Dependency Injection avec get_it
|
|
1579
|
+
|
|
1580
|
+
```dart
|
|
1581
|
+
// lib/dependency_injection.dart
|
|
1582
|
+
|
|
1583
|
+
import 'package:dio/dio.dart';
|
|
1584
|
+
import 'package:get_it/get_it.dart';
|
|
1585
|
+
import 'package:hive/hive.dart';
|
|
1586
|
+
import 'package:internet_connection_checker/internet_connection_checker.dart';
|
|
1587
|
+
|
|
1588
|
+
import 'core/network/api_client.dart';
|
|
1589
|
+
import 'core/network/network_info.dart';
|
|
1590
|
+
import 'features/products/data/datasources/product_local_datasource.dart';
|
|
1591
|
+
import 'features/products/data/datasources/product_remote_datasource.dart';
|
|
1592
|
+
import 'features/products/data/models/product_model.dart';
|
|
1593
|
+
import 'features/products/data/repositories/product_repository_impl.dart';
|
|
1594
|
+
import 'features/products/domain/repositories/product_repository.dart';
|
|
1595
|
+
import 'features/products/domain/usecases/get_products.dart';
|
|
1596
|
+
import 'features/products/domain/usecases/search_products.dart';
|
|
1597
|
+
import 'features/products/presentation/bloc/product_list/product_list_bloc.dart';
|
|
1598
|
+
|
|
1599
|
+
final getIt = GetIt.instance;
|
|
1600
|
+
|
|
1601
|
+
/// Configure toutes les dépendances
|
|
1602
|
+
Future<void> configureDependencies() async {
|
|
1603
|
+
// ===== CORE =====
|
|
1604
|
+
|
|
1605
|
+
// Network
|
|
1606
|
+
getIt.registerLazySingleton<Dio>(() => createDio());
|
|
1607
|
+
getIt.registerLazySingleton<InternetConnectionChecker>(
|
|
1608
|
+
() => InternetConnectionChecker(),
|
|
1609
|
+
);
|
|
1610
|
+
getIt.registerLazySingleton<NetworkInfo>(
|
|
1611
|
+
() => NetworkInfoImpl(getIt()),
|
|
1612
|
+
);
|
|
1613
|
+
|
|
1614
|
+
// ===== PRODUCTS FEATURE =====
|
|
1615
|
+
|
|
1616
|
+
// Data Sources
|
|
1617
|
+
final productBox = await Hive.openBox<ProductModel>('products');
|
|
1618
|
+
|
|
1619
|
+
getIt.registerLazySingleton<ProductLocalDataSource>(
|
|
1620
|
+
() => ProductLocalDataSourceImpl(productBox: productBox),
|
|
1621
|
+
);
|
|
1622
|
+
|
|
1623
|
+
getIt.registerLazySingleton<ProductRemoteDataSource>(
|
|
1624
|
+
() => ProductRemoteDataSource(getIt<Dio>()),
|
|
1625
|
+
);
|
|
1626
|
+
|
|
1627
|
+
// Repository
|
|
1628
|
+
getIt.registerLazySingleton<ProductRepository>(
|
|
1629
|
+
() => ProductRepositoryImpl(
|
|
1630
|
+
remoteDataSource: getIt(),
|
|
1631
|
+
localDataSource: getIt(),
|
|
1632
|
+
networkInfo: getIt(),
|
|
1633
|
+
),
|
|
1634
|
+
);
|
|
1635
|
+
|
|
1636
|
+
// Use Cases
|
|
1637
|
+
getIt.registerLazySingleton(() => GetProducts(getIt()));
|
|
1638
|
+
getIt.registerLazySingleton(() => SearchProducts(getIt()));
|
|
1639
|
+
|
|
1640
|
+
// BLoC
|
|
1641
|
+
getIt.registerFactory(
|
|
1642
|
+
() => ProductListBloc(
|
|
1643
|
+
getProducts: getIt(),
|
|
1644
|
+
searchProductsUseCase: getIt(),
|
|
1645
|
+
),
|
|
1646
|
+
);
|
|
1647
|
+
}
|
|
1648
|
+
|
|
1649
|
+
Dio createDio() {
|
|
1650
|
+
final dio = Dio(
|
|
1651
|
+
BaseOptions(
|
|
1652
|
+
baseUrl: 'https://api.example.com/v1',
|
|
1653
|
+
connectTimeout: const Duration(seconds: 30),
|
|
1654
|
+
receiveTimeout: const Duration(seconds: 30),
|
|
1655
|
+
headers: {
|
|
1656
|
+
'Content-Type': 'application/json',
|
|
1657
|
+
'Accept': 'application/json',
|
|
1658
|
+
},
|
|
1659
|
+
),
|
|
1660
|
+
);
|
|
1661
|
+
|
|
1662
|
+
// Interceptors
|
|
1663
|
+
dio.interceptors.add(LogInterceptor(
|
|
1664
|
+
requestBody: true,
|
|
1665
|
+
responseBody: true,
|
|
1666
|
+
));
|
|
1667
|
+
|
|
1668
|
+
return dio;
|
|
1669
|
+
}
|
|
1670
|
+
```
|
|
1671
|
+
|
|
1672
|
+
**Alternative avec injectable** (génération automatique) :
|
|
1673
|
+
|
|
1674
|
+
```dart
|
|
1675
|
+
// pubspec.yaml
|
|
1676
|
+
dependencies:
|
|
1677
|
+
get_it: ^7.6.4
|
|
1678
|
+
injectable: ^2.3.2
|
|
1679
|
+
|
|
1680
|
+
dev_dependencies:
|
|
1681
|
+
injectable_generator: ^2.4.1
|
|
1682
|
+
build_runner: ^2.4.7
|
|
1683
|
+
|
|
1684
|
+
// lib/dependency_injection.dart
|
|
1685
|
+
import 'package:get_it/get_it.dart';
|
|
1686
|
+
import 'package:injectable/injectable.dart';
|
|
1687
|
+
|
|
1688
|
+
import 'dependency_injection.config.dart';
|
|
1689
|
+
|
|
1690
|
+
final getIt = GetIt.instance;
|
|
1691
|
+
|
|
1692
|
+
@InjectableInit()
|
|
1693
|
+
Future<void> configureDependencies() async => getIt.init();
|
|
1694
|
+
|
|
1695
|
+
// Dans vos classes :
|
|
1696
|
+
@lazySingleton
|
|
1697
|
+
class ProductRepositoryImpl implements ProductRepository {
|
|
1698
|
+
final ProductRemoteDataSource remoteDataSource;
|
|
1699
|
+
final ProductLocalDataSource localDataSource;
|
|
1700
|
+
final NetworkInfo networkInfo;
|
|
1701
|
+
|
|
1702
|
+
ProductRepositoryImpl({
|
|
1703
|
+
required this.remoteDataSource,
|
|
1704
|
+
required this.localDataSource,
|
|
1705
|
+
required this.networkInfo,
|
|
1706
|
+
});
|
|
1707
|
+
|
|
1708
|
+
// ... implementation
|
|
1709
|
+
}
|
|
1710
|
+
```
|
|
1711
|
+
|
|
1712
|
+
---
|
|
1713
|
+
|
|
1714
|
+
## Récapitulatif des Responsabilités
|
|
1715
|
+
|
|
1716
|
+
```
|
|
1717
|
+
┌─────────────────────────────────────────────────────────┐
|
|
1718
|
+
│ PRESENTATION │
|
|
1719
|
+
├─────────────────────────────────────────────────────────┤
|
|
1720
|
+
│ - Afficher l'UI │
|
|
1721
|
+
│ - Gérer les interactions utilisateur │
|
|
1722
|
+
│ - Dispatcher des events au BLoC │
|
|
1723
|
+
│ - Observer les states et rebuild l'UI │
|
|
1724
|
+
│ - Navigation │
|
|
1725
|
+
│ │
|
|
1726
|
+
│ NE DOIT PAS : │
|
|
1727
|
+
│ - Contenir de la logique métier │
|
|
1728
|
+
│ - Accéder directement aux data sources │
|
|
1729
|
+
│ - Faire des appels HTTP │
|
|
1730
|
+
└─────────────────────────────────────────────────────────┘
|
|
1731
|
+
|
|
1732
|
+
┌─────────────────────────────────────────────────────────┐
|
|
1733
|
+
│ DOMAIN │
|
|
1734
|
+
├─────────────────────────────────────────────────────────┤
|
|
1735
|
+
│ - Définir les entités métier │
|
|
1736
|
+
│ - Encapsuler la logique métier dans les use cases │
|
|
1737
|
+
│ - Définir les contrats (interfaces) │
|
|
1738
|
+
│ - Validations métier │
|
|
1739
|
+
│ │
|
|
1740
|
+
│ NE DOIT PAS : │
|
|
1741
|
+
│ - Dépendre de Flutter/Dart:ui │
|
|
1742
|
+
│ - Connaître l'implémentation des repositories │
|
|
1743
|
+
│ - Gérer la sérialization JSON │
|
|
1744
|
+
└─────────────────────────────────────────────────────────┘
|
|
1745
|
+
|
|
1746
|
+
┌─────────────────────────────────────────────────────────┐
|
|
1747
|
+
│ DATA │
|
|
1748
|
+
├─────────────────────────────────────────────────────────┤
|
|
1749
|
+
│ - Implémenter les repositories │
|
|
1750
|
+
│ - Gérer les sources de données (API, BDD, Cache) │
|
|
1751
|
+
│ - Mapper les données (JSON ↔ Models ↔ Entities) │
|
|
1752
|
+
│ - Gérer le cache et la synchronisation │
|
|
1753
|
+
│ - Transformer les exceptions en Failures │
|
|
1754
|
+
│ │
|
|
1755
|
+
│ NE DOIT PAS : │
|
|
1756
|
+
│ - Contenir de la logique métier │
|
|
1757
|
+
│ - Connaître la couche présentation │
|
|
1758
|
+
└─────────────────────────────────────────────────────────┘
|
|
1759
|
+
```
|
|
1760
|
+
|
|
1761
|
+
---
|
|
1762
|
+
|
|
1763
|
+
*Cette architecture assure une séparation claire des responsabilités, facilite les tests, et permet une évolution progressive du code.*
|