@the-bearded-bear/claude-craft 3.1.2 → 3.3.1-next.f4f0d1e
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/Angular/CLAUDE.md.template +49 -0
- package/Dev/i18n/de/Angular/agents/angular-reviewer.md +213 -0
- package/Dev/i18n/de/Angular/checklists/new-feature.md +125 -0
- package/Dev/i18n/de/Angular/checklists/pre-commit.md +77 -0
- package/Dev/i18n/de/Angular/commands/check-architecture.md +261 -0
- package/Dev/i18n/de/Angular/commands/check-code-quality.md +238 -0
- package/Dev/i18n/de/Angular/commands/check-compliance.md +199 -0
- package/Dev/i18n/de/Angular/commands/check-security.md +263 -0
- package/Dev/i18n/de/Angular/commands/check-testing.md +292 -0
- package/Dev/i18n/de/Angular/commands/generate-component.md +220 -0
- package/Dev/i18n/de/Angular/rules/00-project-context.md.template +78 -0
- package/Dev/i18n/de/Angular/rules/02-architecture-angular.md +477 -0
- package/Dev/i18n/de/Angular/rules/03-coding-standards.md +640 -0
- package/Dev/i18n/de/Angular/rules/06-tooling.md +516 -0
- package/Dev/i18n/de/Angular/rules/07-testing-angular.md +739 -0
- package/Dev/i18n/de/Angular/rules/08-quality-tools.md +501 -0
- package/Dev/i18n/de/Angular/rules/11-security-angular.md +497 -0
- package/Dev/i18n/de/Angular/templates/component.template.ts +115 -0
- package/Dev/i18n/de/Angular/templates/service.template.ts +203 -0
- package/Dev/i18n/de/CSharp/CLAUDE.md.template +65 -0
- package/Dev/i18n/de/CSharp/agents/csharp-reviewer.md +166 -0
- package/Dev/i18n/de/CSharp/checklists/new-feature.md +178 -0
- package/Dev/i18n/de/CSharp/checklists/pre-commit.md +126 -0
- package/Dev/i18n/de/CSharp/commands/check-architecture.md +294 -0
- package/Dev/i18n/de/CSharp/commands/check-code-quality.md +355 -0
- package/Dev/i18n/de/CSharp/commands/check-compliance.md +178 -0
- package/Dev/i18n/de/CSharp/commands/check-security.md +369 -0
- package/Dev/i18n/de/CSharp/commands/check-testing.md +295 -0
- package/Dev/i18n/de/CSharp/commands/generate-feature.md +481 -0
- package/Dev/i18n/de/CSharp/rules/00-project-context.md.template +100 -0
- package/Dev/i18n/de/CSharp/rules/02-architecture-csharp.md +536 -0
- package/Dev/i18n/de/CSharp/rules/03-coding-standards.md +494 -0
- package/Dev/i18n/de/CSharp/rules/06-tooling.md +493 -0
- package/Dev/i18n/de/CSharp/rules/07-testing-csharp.md +566 -0
- package/Dev/i18n/de/CSharp/rules/08-quality-tools.md +497 -0
- package/Dev/i18n/de/CSharp/rules/11-security-csharp.md +568 -0
- package/Dev/i18n/de/CSharp/rules/12-aspire-cloud-native.md +514 -0
- package/Dev/i18n/de/CSharp/templates/command-handler.template.cs +100 -0
- package/Dev/i18n/de/CSharp/templates/entity.template.cs +159 -0
- package/Dev/i18n/de/Common/commands/add-technology.md +195 -0
- package/Dev/i18n/de/Laravel/CLAUDE.md.template +104 -0
- package/Dev/i18n/de/Laravel/agents/laravel-reviewer.md +200 -0
- package/Dev/i18n/de/Laravel/checklists/new-feature.md +277 -0
- package/Dev/i18n/de/Laravel/checklists/pre-commit.md +156 -0
- package/Dev/i18n/de/Laravel/commands/check-architecture.md +306 -0
- package/Dev/i18n/de/Laravel/commands/check-code-quality.md +302 -0
- package/Dev/i18n/de/Laravel/commands/check-compliance.md +141 -0
- package/Dev/i18n/de/Laravel/commands/check-security.md +372 -0
- package/Dev/i18n/de/Laravel/commands/check-testing.md +397 -0
- package/Dev/i18n/de/Laravel/commands/generate-controller.md +388 -0
- package/Dev/i18n/de/Laravel/rules/00-project-context.md.template +140 -0
- package/Dev/i18n/de/Laravel/rules/02-architecture-laravel.md +644 -0
- package/Dev/i18n/de/Laravel/rules/03-coding-standards.md +573 -0
- package/Dev/i18n/de/Laravel/rules/06-tooling.md +580 -0
- package/Dev/i18n/de/Laravel/rules/07-testing-laravel.md +525 -0
- package/Dev/i18n/de/Laravel/rules/08-quality-tools.md +591 -0
- package/Dev/i18n/de/Laravel/rules/11-security-laravel.md +787 -0
- package/Dev/i18n/de/Laravel/templates/action.template.php +79 -0
- package/Dev/i18n/de/Laravel/templates/controller.template.php +99 -0
- package/Dev/i18n/de/Laravel/templates/model.template.php +206 -0
- package/Dev/i18n/de/Laravel/templates/test.template.php +263 -0
- package/Dev/i18n/de/PHP/CLAUDE.md.template +460 -0
- package/Dev/i18n/de/PHP/agents/php-reviewer.md +345 -0
- package/Dev/i18n/de/PHP/checklists/new-feature.md +132 -0
- package/Dev/i18n/de/PHP/checklists/pre-commit.md +231 -0
- package/Dev/i18n/de/PHP/commands/check-architecture.md +557 -0
- package/Dev/i18n/de/PHP/commands/check-code-quality.md +448 -0
- package/Dev/i18n/de/PHP/commands/check-compliance.md +477 -0
- package/Dev/i18n/de/PHP/commands/check-security.md +420 -0
- package/Dev/i18n/de/PHP/commands/check-testing.md +486 -0
- package/Dev/i18n/de/PHP/rules/00-project-context.md.template +266 -0
- package/Dev/i18n/de/PHP/rules/02-architecture-php.md +696 -0
- package/Dev/i18n/de/PHP/rules/03-coding-standards.md +641 -0
- package/Dev/i18n/de/PHP/rules/06-tooling.md +543 -0
- package/Dev/i18n/de/PHP/rules/07-testing-php.md +636 -0
- package/Dev/i18n/de/PHP/rules/08-quality-tools.md +533 -0
- package/Dev/i18n/de/PHP/rules/11-security-php.md +759 -0
- package/Dev/i18n/de/PHP/templates/entity.md +435 -0
- package/Dev/i18n/de/PHP/templates/use-case.md +512 -0
- package/Dev/i18n/de/PHP/templates/value-object.md +555 -0
- package/Dev/i18n/de/VueJS/CLAUDE.md.template +102 -0
- package/Dev/i18n/de/VueJS/agents/vuejs-reviewer.md +206 -0
- package/Dev/i18n/de/VueJS/checklists/new-feature.md +131 -0
- package/Dev/i18n/de/VueJS/checklists/pre-commit.md +68 -0
- package/Dev/i18n/de/VueJS/commands/check-architecture.md +137 -0
- package/Dev/i18n/de/VueJS/commands/check-code-quality.md +152 -0
- package/Dev/i18n/de/VueJS/commands/check-compliance.md +124 -0
- package/Dev/i18n/de/VueJS/commands/check-security.md +186 -0
- package/Dev/i18n/de/VueJS/commands/check-testing.md +185 -0
- package/Dev/i18n/de/VueJS/commands/generate-component.md +233 -0
- package/Dev/i18n/de/VueJS/rules/00-project-context.md.template +125 -0
- package/Dev/i18n/de/VueJS/rules/02-architecture-vuejs.md +375 -0
- package/Dev/i18n/de/VueJS/rules/03-coding-standards.md +502 -0
- package/Dev/i18n/de/VueJS/rules/06-tooling.md +422 -0
- package/Dev/i18n/de/VueJS/rules/07-testing-vuejs.md +606 -0
- package/Dev/i18n/de/VueJS/rules/08-quality-tools.md +441 -0
- package/Dev/i18n/de/VueJS/rules/11-security-vuejs.md +465 -0
- package/Dev/i18n/de/VueJS/templates/component.template.vue +133 -0
- package/Dev/i18n/de/VueJS/templates/composable.template.ts +162 -0
- package/Dev/i18n/de/VueJS/templates/store.template.ts +282 -0
- package/Dev/i18n/de/VueJS/templates/test.template.ts +233 -0
- package/Dev/i18n/en/Angular/CLAUDE.md.template +49 -0
- package/Dev/i18n/en/Angular/agents/angular-reviewer.md +213 -0
- package/Dev/i18n/en/Angular/checklists/new-feature.md +125 -0
- package/Dev/i18n/en/Angular/checklists/pre-commit.md +77 -0
- package/Dev/i18n/en/Angular/commands/check-architecture.md +261 -0
- package/Dev/i18n/en/Angular/commands/check-code-quality.md +238 -0
- package/Dev/i18n/en/Angular/commands/check-compliance.md +199 -0
- package/Dev/i18n/en/Angular/commands/check-security.md +263 -0
- package/Dev/i18n/en/Angular/commands/check-testing.md +292 -0
- package/Dev/i18n/en/Angular/commands/generate-component.md +220 -0
- package/Dev/i18n/en/Angular/rules/00-project-context.md.template +78 -0
- package/Dev/i18n/en/Angular/rules/02-architecture-angular.md +477 -0
- package/Dev/i18n/en/Angular/rules/03-coding-standards.md +640 -0
- package/Dev/i18n/en/Angular/rules/06-tooling.md +516 -0
- package/Dev/i18n/en/Angular/rules/07-testing-angular.md +739 -0
- package/Dev/i18n/en/Angular/rules/08-quality-tools.md +501 -0
- package/Dev/i18n/en/Angular/rules/11-security-angular.md +497 -0
- package/Dev/i18n/en/Angular/templates/component.template.ts +115 -0
- package/Dev/i18n/en/Angular/templates/service.template.ts +203 -0
- package/Dev/i18n/en/CSharp/CLAUDE.md.template +65 -0
- package/Dev/i18n/en/CSharp/agents/csharp-reviewer.md +166 -0
- package/Dev/i18n/en/CSharp/checklists/new-feature.md +178 -0
- package/Dev/i18n/en/CSharp/checklists/pre-commit.md +126 -0
- package/Dev/i18n/en/CSharp/commands/check-architecture.md +294 -0
- package/Dev/i18n/en/CSharp/commands/check-code-quality.md +355 -0
- package/Dev/i18n/en/CSharp/commands/check-compliance.md +178 -0
- package/Dev/i18n/en/CSharp/commands/check-security.md +369 -0
- package/Dev/i18n/en/CSharp/commands/check-testing.md +295 -0
- package/Dev/i18n/en/CSharp/commands/generate-feature.md +481 -0
- package/Dev/i18n/en/CSharp/rules/00-project-context.md.template +100 -0
- package/Dev/i18n/en/CSharp/rules/02-architecture-csharp.md +536 -0
- package/Dev/i18n/en/CSharp/rules/03-coding-standards.md +494 -0
- package/Dev/i18n/en/CSharp/rules/06-tooling.md +493 -0
- package/Dev/i18n/en/CSharp/rules/07-testing-csharp.md +566 -0
- package/Dev/i18n/en/CSharp/rules/08-quality-tools.md +497 -0
- package/Dev/i18n/en/CSharp/rules/11-security-csharp.md +568 -0
- package/Dev/i18n/en/CSharp/rules/12-aspire-cloud-native.md +514 -0
- package/Dev/i18n/en/CSharp/templates/command-handler.template.cs +100 -0
- package/Dev/i18n/en/CSharp/templates/entity.template.cs +159 -0
- package/Dev/i18n/en/Common/commands/add-technology.md +293 -0
- package/Dev/i18n/en/Laravel/CLAUDE.md.template +104 -0
- package/Dev/i18n/en/Laravel/agents/laravel-reviewer.md +200 -0
- package/Dev/i18n/en/Laravel/checklists/new-feature.md +277 -0
- package/Dev/i18n/en/Laravel/checklists/pre-commit.md +156 -0
- package/Dev/i18n/en/Laravel/commands/check-architecture.md +306 -0
- package/Dev/i18n/en/Laravel/commands/check-code-quality.md +302 -0
- package/Dev/i18n/en/Laravel/commands/check-compliance.md +141 -0
- package/Dev/i18n/en/Laravel/commands/check-security.md +372 -0
- package/Dev/i18n/en/Laravel/commands/check-testing.md +397 -0
- package/Dev/i18n/en/Laravel/commands/generate-controller.md +388 -0
- package/Dev/i18n/en/Laravel/rules/00-project-context.md.template +140 -0
- package/Dev/i18n/en/Laravel/rules/02-architecture-laravel.md +644 -0
- package/Dev/i18n/en/Laravel/rules/03-coding-standards.md +573 -0
- package/Dev/i18n/en/Laravel/rules/06-tooling.md +580 -0
- package/Dev/i18n/en/Laravel/rules/07-testing-laravel.md +525 -0
- package/Dev/i18n/en/Laravel/rules/08-quality-tools.md +591 -0
- package/Dev/i18n/en/Laravel/rules/11-security-laravel.md +787 -0
- package/Dev/i18n/en/Laravel/templates/action.template.php +79 -0
- package/Dev/i18n/en/Laravel/templates/controller.template.php +99 -0
- package/Dev/i18n/en/Laravel/templates/model.template.php +206 -0
- package/Dev/i18n/en/Laravel/templates/test.template.php +263 -0
- package/Dev/i18n/en/PHP/CLAUDE.md.template +460 -0
- package/Dev/i18n/en/PHP/agents/php-reviewer.md +345 -0
- package/Dev/i18n/en/PHP/checklists/new-feature.md +132 -0
- package/Dev/i18n/en/PHP/checklists/pre-commit.md +231 -0
- package/Dev/i18n/en/PHP/commands/check-architecture.md +557 -0
- package/Dev/i18n/en/PHP/commands/check-code-quality.md +448 -0
- package/Dev/i18n/en/PHP/commands/check-compliance.md +477 -0
- package/Dev/i18n/en/PHP/commands/check-security.md +420 -0
- package/Dev/i18n/en/PHP/commands/check-testing.md +486 -0
- package/Dev/i18n/en/PHP/rules/00-project-context.md.template +266 -0
- package/Dev/i18n/en/PHP/rules/02-architecture-php.md +696 -0
- package/Dev/i18n/en/PHP/rules/03-coding-standards.md +641 -0
- package/Dev/i18n/en/PHP/rules/06-tooling.md +543 -0
- package/Dev/i18n/en/PHP/rules/07-testing-php.md +636 -0
- package/Dev/i18n/en/PHP/rules/08-quality-tools.md +533 -0
- package/Dev/i18n/en/PHP/rules/11-security-php.md +759 -0
- package/Dev/i18n/en/PHP/templates/entity.md +435 -0
- package/Dev/i18n/en/PHP/templates/use-case.md +512 -0
- package/Dev/i18n/en/PHP/templates/value-object.md +555 -0
- package/Dev/i18n/en/VueJS/CLAUDE.md.template +102 -0
- package/Dev/i18n/en/VueJS/agents/vuejs-reviewer.md +206 -0
- package/Dev/i18n/en/VueJS/checklists/new-feature.md +131 -0
- package/Dev/i18n/en/VueJS/checklists/pre-commit.md +68 -0
- package/Dev/i18n/en/VueJS/commands/check-architecture.md +137 -0
- package/Dev/i18n/en/VueJS/commands/check-code-quality.md +152 -0
- package/Dev/i18n/en/VueJS/commands/check-compliance.md +124 -0
- package/Dev/i18n/en/VueJS/commands/check-security.md +186 -0
- package/Dev/i18n/en/VueJS/commands/check-testing.md +185 -0
- package/Dev/i18n/en/VueJS/commands/generate-component.md +233 -0
- package/Dev/i18n/en/VueJS/rules/00-project-context.md.template +125 -0
- package/Dev/i18n/en/VueJS/rules/02-architecture-vuejs.md +375 -0
- package/Dev/i18n/en/VueJS/rules/03-coding-standards.md +502 -0
- package/Dev/i18n/en/VueJS/rules/06-tooling.md +422 -0
- package/Dev/i18n/en/VueJS/rules/07-testing-vuejs.md +606 -0
- package/Dev/i18n/en/VueJS/rules/08-quality-tools.md +441 -0
- package/Dev/i18n/en/VueJS/rules/11-security-vuejs.md +465 -0
- package/Dev/i18n/en/VueJS/templates/component.template.vue +133 -0
- package/Dev/i18n/en/VueJS/templates/composable.template.ts +162 -0
- package/Dev/i18n/en/VueJS/templates/store.template.ts +282 -0
- package/Dev/i18n/en/VueJS/templates/test.template.ts +233 -0
- package/Dev/i18n/es/Angular/CLAUDE.md.template +49 -0
- package/Dev/i18n/es/Angular/agents/angular-reviewer.md +213 -0
- package/Dev/i18n/es/Angular/checklists/new-feature.md +125 -0
- package/Dev/i18n/es/Angular/checklists/pre-commit.md +77 -0
- package/Dev/i18n/es/Angular/commands/check-architecture.md +261 -0
- package/Dev/i18n/es/Angular/commands/check-code-quality.md +238 -0
- package/Dev/i18n/es/Angular/commands/check-compliance.md +199 -0
- package/Dev/i18n/es/Angular/commands/check-security.md +263 -0
- package/Dev/i18n/es/Angular/commands/check-testing.md +292 -0
- package/Dev/i18n/es/Angular/commands/generate-component.md +220 -0
- package/Dev/i18n/es/Angular/rules/00-project-context.md.template +78 -0
- package/Dev/i18n/es/Angular/rules/02-architecture-angular.md +477 -0
- package/Dev/i18n/es/Angular/rules/03-coding-standards.md +640 -0
- package/Dev/i18n/es/Angular/rules/06-tooling.md +516 -0
- package/Dev/i18n/es/Angular/rules/07-testing-angular.md +739 -0
- package/Dev/i18n/es/Angular/rules/08-quality-tools.md +501 -0
- package/Dev/i18n/es/Angular/rules/11-security-angular.md +497 -0
- package/Dev/i18n/es/Angular/templates/component.template.ts +115 -0
- package/Dev/i18n/es/Angular/templates/service.template.ts +203 -0
- package/Dev/i18n/es/CSharp/CLAUDE.md.template +65 -0
- package/Dev/i18n/es/CSharp/agents/csharp-reviewer.md +166 -0
- package/Dev/i18n/es/CSharp/checklists/new-feature.md +178 -0
- package/Dev/i18n/es/CSharp/checklists/pre-commit.md +126 -0
- package/Dev/i18n/es/CSharp/commands/check-architecture.md +294 -0
- package/Dev/i18n/es/CSharp/commands/check-code-quality.md +355 -0
- package/Dev/i18n/es/CSharp/commands/check-compliance.md +178 -0
- package/Dev/i18n/es/CSharp/commands/check-security.md +369 -0
- package/Dev/i18n/es/CSharp/commands/check-testing.md +295 -0
- package/Dev/i18n/es/CSharp/commands/generate-feature.md +481 -0
- package/Dev/i18n/es/CSharp/rules/00-project-context.md.template +100 -0
- package/Dev/i18n/es/CSharp/rules/02-architecture-csharp.md +536 -0
- package/Dev/i18n/es/CSharp/rules/03-coding-standards.md +494 -0
- package/Dev/i18n/es/CSharp/rules/06-tooling.md +493 -0
- package/Dev/i18n/es/CSharp/rules/07-testing-csharp.md +566 -0
- package/Dev/i18n/es/CSharp/rules/08-quality-tools.md +497 -0
- package/Dev/i18n/es/CSharp/rules/11-security-csharp.md +568 -0
- package/Dev/i18n/es/CSharp/rules/12-aspire-cloud-native.md +514 -0
- package/Dev/i18n/es/CSharp/templates/command-handler.template.cs +100 -0
- package/Dev/i18n/es/CSharp/templates/entity.template.cs +159 -0
- package/Dev/i18n/es/Common/commands/add-technology.md +195 -0
- package/Dev/i18n/es/Laravel/CLAUDE.md.template +104 -0
- package/Dev/i18n/es/Laravel/agents/laravel-reviewer.md +200 -0
- package/Dev/i18n/es/Laravel/checklists/new-feature.md +277 -0
- package/Dev/i18n/es/Laravel/checklists/pre-commit.md +156 -0
- package/Dev/i18n/es/Laravel/commands/check-architecture.md +306 -0
- package/Dev/i18n/es/Laravel/commands/check-code-quality.md +302 -0
- package/Dev/i18n/es/Laravel/commands/check-compliance.md +141 -0
- package/Dev/i18n/es/Laravel/commands/check-security.md +372 -0
- package/Dev/i18n/es/Laravel/commands/check-testing.md +397 -0
- package/Dev/i18n/es/Laravel/commands/generate-controller.md +388 -0
- package/Dev/i18n/es/Laravel/rules/00-project-context.md.template +140 -0
- package/Dev/i18n/es/Laravel/rules/02-architecture-laravel.md +644 -0
- package/Dev/i18n/es/Laravel/rules/03-coding-standards.md +573 -0
- package/Dev/i18n/es/Laravel/rules/06-tooling.md +580 -0
- package/Dev/i18n/es/Laravel/rules/07-testing-laravel.md +525 -0
- package/Dev/i18n/es/Laravel/rules/08-quality-tools.md +591 -0
- package/Dev/i18n/es/Laravel/rules/11-security-laravel.md +787 -0
- package/Dev/i18n/es/Laravel/templates/action.template.php +79 -0
- package/Dev/i18n/es/Laravel/templates/controller.template.php +99 -0
- package/Dev/i18n/es/Laravel/templates/model.template.php +206 -0
- package/Dev/i18n/es/Laravel/templates/test.template.php +263 -0
- package/Dev/i18n/es/PHP/CLAUDE.md.template +460 -0
- package/Dev/i18n/es/PHP/agents/php-reviewer.md +345 -0
- package/Dev/i18n/es/PHP/checklists/new-feature.md +132 -0
- package/Dev/i18n/es/PHP/checklists/pre-commit.md +231 -0
- package/Dev/i18n/es/PHP/commands/check-architecture.md +557 -0
- package/Dev/i18n/es/PHP/commands/check-code-quality.md +448 -0
- package/Dev/i18n/es/PHP/commands/check-compliance.md +477 -0
- package/Dev/i18n/es/PHP/commands/check-security.md +420 -0
- package/Dev/i18n/es/PHP/commands/check-testing.md +486 -0
- package/Dev/i18n/es/PHP/rules/00-project-context.md.template +266 -0
- package/Dev/i18n/es/PHP/rules/02-architecture-php.md +696 -0
- package/Dev/i18n/es/PHP/rules/03-coding-standards.md +641 -0
- package/Dev/i18n/es/PHP/rules/06-tooling.md +543 -0
- package/Dev/i18n/es/PHP/rules/07-testing-php.md +636 -0
- package/Dev/i18n/es/PHP/rules/08-quality-tools.md +533 -0
- package/Dev/i18n/es/PHP/rules/11-security-php.md +759 -0
- package/Dev/i18n/es/PHP/templates/entity.md +435 -0
- package/Dev/i18n/es/PHP/templates/use-case.md +512 -0
- package/Dev/i18n/es/PHP/templates/value-object.md +555 -0
- package/Dev/i18n/es/VueJS/CLAUDE.md.template +102 -0
- package/Dev/i18n/es/VueJS/agents/vuejs-reviewer.md +206 -0
- package/Dev/i18n/es/VueJS/checklists/new-feature.md +131 -0
- package/Dev/i18n/es/VueJS/checklists/pre-commit.md +68 -0
- package/Dev/i18n/es/VueJS/commands/check-architecture.md +137 -0
- package/Dev/i18n/es/VueJS/commands/check-code-quality.md +152 -0
- package/Dev/i18n/es/VueJS/commands/check-compliance.md +124 -0
- package/Dev/i18n/es/VueJS/commands/check-security.md +186 -0
- package/Dev/i18n/es/VueJS/commands/check-testing.md +185 -0
- package/Dev/i18n/es/VueJS/commands/generate-component.md +233 -0
- package/Dev/i18n/es/VueJS/rules/00-project-context.md.template +125 -0
- package/Dev/i18n/es/VueJS/rules/02-architecture-vuejs.md +375 -0
- package/Dev/i18n/es/VueJS/rules/03-coding-standards.md +502 -0
- package/Dev/i18n/es/VueJS/rules/06-tooling.md +422 -0
- package/Dev/i18n/es/VueJS/rules/07-testing-vuejs.md +606 -0
- package/Dev/i18n/es/VueJS/rules/08-quality-tools.md +441 -0
- package/Dev/i18n/es/VueJS/rules/11-security-vuejs.md +465 -0
- package/Dev/i18n/es/VueJS/templates/component.template.vue +133 -0
- package/Dev/i18n/es/VueJS/templates/composable.template.ts +162 -0
- package/Dev/i18n/es/VueJS/templates/store.template.ts +282 -0
- package/Dev/i18n/es/VueJS/templates/test.template.ts +233 -0
- package/Dev/i18n/fr/Angular/CLAUDE.md.template +49 -0
- package/Dev/i18n/fr/Angular/agents/angular-reviewer.md +213 -0
- package/Dev/i18n/fr/Angular/checklists/new-feature.md +125 -0
- package/Dev/i18n/fr/Angular/checklists/pre-commit.md +77 -0
- package/Dev/i18n/fr/Angular/commands/check-architecture.md +261 -0
- package/Dev/i18n/fr/Angular/commands/check-code-quality.md +238 -0
- package/Dev/i18n/fr/Angular/commands/check-compliance.md +199 -0
- package/Dev/i18n/fr/Angular/commands/check-security.md +263 -0
- package/Dev/i18n/fr/Angular/commands/check-testing.md +292 -0
- package/Dev/i18n/fr/Angular/commands/generate-component.md +220 -0
- package/Dev/i18n/fr/Angular/rules/00-project-context.md.template +78 -0
- package/Dev/i18n/fr/Angular/rules/02-architecture-angular.md +477 -0
- package/Dev/i18n/fr/Angular/rules/03-coding-standards.md +640 -0
- package/Dev/i18n/fr/Angular/rules/06-tooling.md +516 -0
- package/Dev/i18n/fr/Angular/rules/07-testing-angular.md +739 -0
- package/Dev/i18n/fr/Angular/rules/08-quality-tools.md +501 -0
- package/Dev/i18n/fr/Angular/rules/11-security-angular.md +497 -0
- package/Dev/i18n/fr/Angular/templates/component.template.ts +115 -0
- package/Dev/i18n/fr/Angular/templates/service.template.ts +203 -0
- package/Dev/i18n/fr/CSharp/CLAUDE.md.template +65 -0
- package/Dev/i18n/fr/CSharp/agents/csharp-reviewer.md +166 -0
- package/Dev/i18n/fr/CSharp/checklists/new-feature.md +178 -0
- package/Dev/i18n/fr/CSharp/checklists/pre-commit.md +126 -0
- package/Dev/i18n/fr/CSharp/commands/check-architecture.md +294 -0
- package/Dev/i18n/fr/CSharp/commands/check-code-quality.md +355 -0
- package/Dev/i18n/fr/CSharp/commands/check-compliance.md +178 -0
- package/Dev/i18n/fr/CSharp/commands/check-security.md +369 -0
- package/Dev/i18n/fr/CSharp/commands/check-testing.md +295 -0
- package/Dev/i18n/fr/CSharp/commands/generate-feature.md +481 -0
- package/Dev/i18n/fr/CSharp/rules/00-project-context.md.template +100 -0
- package/Dev/i18n/fr/CSharp/rules/02-architecture-csharp.md +536 -0
- package/Dev/i18n/fr/CSharp/rules/03-coding-standards.md +494 -0
- package/Dev/i18n/fr/CSharp/rules/06-tooling.md +493 -0
- package/Dev/i18n/fr/CSharp/rules/07-testing-csharp.md +566 -0
- package/Dev/i18n/fr/CSharp/rules/08-quality-tools.md +497 -0
- package/Dev/i18n/fr/CSharp/rules/11-security-csharp.md +568 -0
- package/Dev/i18n/fr/CSharp/rules/12-aspire-cloud-native.md +514 -0
- package/Dev/i18n/fr/CSharp/templates/command-handler.template.cs +100 -0
- package/Dev/i18n/fr/CSharp/templates/entity.template.cs +159 -0
- package/Dev/i18n/fr/Common/commands/add-technology.md +293 -0
- package/Dev/i18n/fr/Laravel/CLAUDE.md.template +104 -0
- package/Dev/i18n/fr/Laravel/agents/laravel-reviewer.md +200 -0
- package/Dev/i18n/fr/Laravel/checklists/new-feature.md +277 -0
- package/Dev/i18n/fr/Laravel/checklists/pre-commit.md +156 -0
- package/Dev/i18n/fr/Laravel/commands/check-architecture.md +306 -0
- package/Dev/i18n/fr/Laravel/commands/check-code-quality.md +302 -0
- package/Dev/i18n/fr/Laravel/commands/check-compliance.md +141 -0
- package/Dev/i18n/fr/Laravel/commands/check-security.md +372 -0
- package/Dev/i18n/fr/Laravel/commands/check-testing.md +397 -0
- package/Dev/i18n/fr/Laravel/commands/generate-controller.md +388 -0
- package/Dev/i18n/fr/Laravel/rules/00-project-context.md.template +140 -0
- package/Dev/i18n/fr/Laravel/rules/02-architecture-laravel.md +644 -0
- package/Dev/i18n/fr/Laravel/rules/03-coding-standards.md +573 -0
- package/Dev/i18n/fr/Laravel/rules/06-tooling.md +580 -0
- package/Dev/i18n/fr/Laravel/rules/07-testing-laravel.md +525 -0
- package/Dev/i18n/fr/Laravel/rules/08-quality-tools.md +591 -0
- package/Dev/i18n/fr/Laravel/rules/11-security-laravel.md +787 -0
- package/Dev/i18n/fr/Laravel/templates/action.template.php +79 -0
- package/Dev/i18n/fr/Laravel/templates/controller.template.php +99 -0
- package/Dev/i18n/fr/Laravel/templates/model.template.php +206 -0
- package/Dev/i18n/fr/Laravel/templates/test.template.php +263 -0
- package/Dev/i18n/fr/PHP/CLAUDE.md.template +460 -0
- package/Dev/i18n/fr/PHP/agents/php-reviewer.md +345 -0
- package/Dev/i18n/fr/PHP/checklists/new-feature.md +132 -0
- package/Dev/i18n/fr/PHP/checklists/pre-commit.md +231 -0
- package/Dev/i18n/fr/PHP/commands/check-architecture.md +557 -0
- package/Dev/i18n/fr/PHP/commands/check-code-quality.md +448 -0
- package/Dev/i18n/fr/PHP/commands/check-compliance.md +477 -0
- package/Dev/i18n/fr/PHP/commands/check-security.md +420 -0
- package/Dev/i18n/fr/PHP/commands/check-testing.md +486 -0
- package/Dev/i18n/fr/PHP/rules/00-project-context.md.template +266 -0
- package/Dev/i18n/fr/PHP/rules/02-architecture-php.md +506 -0
- package/Dev/i18n/fr/PHP/rules/03-coding-standards.md +585 -0
- package/Dev/i18n/fr/PHP/rules/06-tooling.md +543 -0
- package/Dev/i18n/fr/PHP/rules/07-testing-php.md +636 -0
- package/Dev/i18n/fr/PHP/rules/08-quality-tools.md +533 -0
- package/Dev/i18n/fr/PHP/rules/11-security-php.md +642 -0
- package/Dev/i18n/fr/PHP/templates/entity.md +435 -0
- package/Dev/i18n/fr/PHP/templates/use-case.md +512 -0
- package/Dev/i18n/fr/PHP/templates/value-object.md +555 -0
- package/Dev/i18n/fr/VueJS/CLAUDE.md.template +102 -0
- package/Dev/i18n/fr/VueJS/agents/vuejs-reviewer.md +206 -0
- package/Dev/i18n/fr/VueJS/checklists/new-feature.md +131 -0
- package/Dev/i18n/fr/VueJS/checklists/pre-commit.md +68 -0
- package/Dev/i18n/fr/VueJS/commands/check-architecture.md +137 -0
- package/Dev/i18n/fr/VueJS/commands/check-code-quality.md +152 -0
- package/Dev/i18n/fr/VueJS/commands/check-compliance.md +124 -0
- package/Dev/i18n/fr/VueJS/commands/check-security.md +186 -0
- package/Dev/i18n/fr/VueJS/commands/check-testing.md +185 -0
- package/Dev/i18n/fr/VueJS/commands/generate-component.md +233 -0
- package/Dev/i18n/fr/VueJS/rules/00-project-context.md.template +125 -0
- package/Dev/i18n/fr/VueJS/rules/02-architecture-vuejs.md +375 -0
- package/Dev/i18n/fr/VueJS/rules/03-coding-standards.md +502 -0
- package/Dev/i18n/fr/VueJS/rules/06-tooling.md +422 -0
- package/Dev/i18n/fr/VueJS/rules/07-testing-vuejs.md +606 -0
- package/Dev/i18n/fr/VueJS/rules/08-quality-tools.md +441 -0
- package/Dev/i18n/fr/VueJS/rules/11-security-vuejs.md +465 -0
- package/Dev/i18n/fr/VueJS/templates/component.template.vue +133 -0
- package/Dev/i18n/fr/VueJS/templates/composable.template.ts +162 -0
- package/Dev/i18n/fr/VueJS/templates/store.template.ts +282 -0
- package/Dev/i18n/fr/VueJS/templates/test.template.ts +233 -0
- package/Dev/i18n/pt/Angular/CLAUDE.md.template +49 -0
- package/Dev/i18n/pt/Angular/agents/angular-reviewer.md +213 -0
- package/Dev/i18n/pt/Angular/checklists/new-feature.md +125 -0
- package/Dev/i18n/pt/Angular/checklists/pre-commit.md +77 -0
- package/Dev/i18n/pt/Angular/commands/check-architecture.md +261 -0
- package/Dev/i18n/pt/Angular/commands/check-code-quality.md +238 -0
- package/Dev/i18n/pt/Angular/commands/check-compliance.md +199 -0
- package/Dev/i18n/pt/Angular/commands/check-security.md +263 -0
- package/Dev/i18n/pt/Angular/commands/check-testing.md +292 -0
- package/Dev/i18n/pt/Angular/commands/generate-component.md +220 -0
- package/Dev/i18n/pt/Angular/rules/00-project-context.md.template +78 -0
- package/Dev/i18n/pt/Angular/rules/02-architecture-angular.md +477 -0
- package/Dev/i18n/pt/Angular/rules/03-coding-standards.md +640 -0
- package/Dev/i18n/pt/Angular/rules/06-tooling.md +516 -0
- package/Dev/i18n/pt/Angular/rules/07-testing-angular.md +739 -0
- package/Dev/i18n/pt/Angular/rules/08-quality-tools.md +501 -0
- package/Dev/i18n/pt/Angular/rules/11-security-angular.md +497 -0
- package/Dev/i18n/pt/Angular/templates/component.template.ts +115 -0
- package/Dev/i18n/pt/Angular/templates/service.template.ts +203 -0
- package/Dev/i18n/pt/CSharp/CLAUDE.md.template +65 -0
- package/Dev/i18n/pt/CSharp/agents/csharp-reviewer.md +166 -0
- package/Dev/i18n/pt/CSharp/checklists/new-feature.md +178 -0
- package/Dev/i18n/pt/CSharp/checklists/pre-commit.md +126 -0
- package/Dev/i18n/pt/CSharp/commands/check-architecture.md +294 -0
- package/Dev/i18n/pt/CSharp/commands/check-code-quality.md +355 -0
- package/Dev/i18n/pt/CSharp/commands/check-compliance.md +178 -0
- package/Dev/i18n/pt/CSharp/commands/check-security.md +369 -0
- package/Dev/i18n/pt/CSharp/commands/check-testing.md +295 -0
- package/Dev/i18n/pt/CSharp/commands/generate-feature.md +481 -0
- package/Dev/i18n/pt/CSharp/rules/00-project-context.md.template +100 -0
- package/Dev/i18n/pt/CSharp/rules/02-architecture-csharp.md +536 -0
- package/Dev/i18n/pt/CSharp/rules/03-coding-standards.md +494 -0
- package/Dev/i18n/pt/CSharp/rules/06-tooling.md +493 -0
- package/Dev/i18n/pt/CSharp/rules/07-testing-csharp.md +566 -0
- package/Dev/i18n/pt/CSharp/rules/08-quality-tools.md +497 -0
- package/Dev/i18n/pt/CSharp/rules/11-security-csharp.md +568 -0
- package/Dev/i18n/pt/CSharp/rules/12-aspire-cloud-native.md +514 -0
- package/Dev/i18n/pt/CSharp/templates/command-handler.template.cs +100 -0
- package/Dev/i18n/pt/CSharp/templates/entity.template.cs +159 -0
- package/Dev/i18n/pt/Common/commands/add-technology.md +195 -0
- package/Dev/i18n/pt/Laravel/CLAUDE.md.template +104 -0
- package/Dev/i18n/pt/Laravel/agents/laravel-reviewer.md +200 -0
- package/Dev/i18n/pt/Laravel/checklists/new-feature.md +277 -0
- package/Dev/i18n/pt/Laravel/checklists/pre-commit.md +156 -0
- package/Dev/i18n/pt/Laravel/commands/check-architecture.md +306 -0
- package/Dev/i18n/pt/Laravel/commands/check-code-quality.md +302 -0
- package/Dev/i18n/pt/Laravel/commands/check-compliance.md +141 -0
- package/Dev/i18n/pt/Laravel/commands/check-security.md +372 -0
- package/Dev/i18n/pt/Laravel/commands/check-testing.md +397 -0
- package/Dev/i18n/pt/Laravel/commands/generate-controller.md +388 -0
- package/Dev/i18n/pt/Laravel/rules/00-project-context.md.template +140 -0
- package/Dev/i18n/pt/Laravel/rules/02-architecture-laravel.md +644 -0
- package/Dev/i18n/pt/Laravel/rules/03-coding-standards.md +573 -0
- package/Dev/i18n/pt/Laravel/rules/06-tooling.md +580 -0
- package/Dev/i18n/pt/Laravel/rules/07-testing-laravel.md +525 -0
- package/Dev/i18n/pt/Laravel/rules/08-quality-tools.md +591 -0
- package/Dev/i18n/pt/Laravel/rules/11-security-laravel.md +787 -0
- package/Dev/i18n/pt/Laravel/templates/action.template.php +79 -0
- package/Dev/i18n/pt/Laravel/templates/controller.template.php +99 -0
- package/Dev/i18n/pt/Laravel/templates/model.template.php +206 -0
- package/Dev/i18n/pt/Laravel/templates/test.template.php +263 -0
- package/Dev/i18n/pt/PHP/CLAUDE.md.template +460 -0
- package/Dev/i18n/pt/PHP/agents/php-reviewer.md +345 -0
- package/Dev/i18n/pt/PHP/checklists/new-feature.md +132 -0
- package/Dev/i18n/pt/PHP/checklists/pre-commit.md +231 -0
- package/Dev/i18n/pt/PHP/commands/check-architecture.md +557 -0
- package/Dev/i18n/pt/PHP/commands/check-code-quality.md +448 -0
- package/Dev/i18n/pt/PHP/commands/check-compliance.md +477 -0
- package/Dev/i18n/pt/PHP/commands/check-security.md +420 -0
- package/Dev/i18n/pt/PHP/commands/check-testing.md +486 -0
- package/Dev/i18n/pt/PHP/rules/00-project-context.md.template +266 -0
- package/Dev/i18n/pt/PHP/rules/02-architecture-php.md +696 -0
- package/Dev/i18n/pt/PHP/rules/03-coding-standards.md +641 -0
- package/Dev/i18n/pt/PHP/rules/06-tooling.md +543 -0
- package/Dev/i18n/pt/PHP/rules/07-testing-php.md +636 -0
- package/Dev/i18n/pt/PHP/rules/08-quality-tools.md +533 -0
- package/Dev/i18n/pt/PHP/rules/11-security-php.md +759 -0
- package/Dev/i18n/pt/PHP/templates/entity.md +435 -0
- package/Dev/i18n/pt/PHP/templates/use-case.md +512 -0
- package/Dev/i18n/pt/PHP/templates/value-object.md +555 -0
- package/Dev/i18n/pt/VueJS/CLAUDE.md.template +102 -0
- package/Dev/i18n/pt/VueJS/agents/vuejs-reviewer.md +206 -0
- package/Dev/i18n/pt/VueJS/checklists/new-feature.md +131 -0
- package/Dev/i18n/pt/VueJS/checklists/pre-commit.md +68 -0
- package/Dev/i18n/pt/VueJS/commands/check-architecture.md +137 -0
- package/Dev/i18n/pt/VueJS/commands/check-code-quality.md +152 -0
- package/Dev/i18n/pt/VueJS/commands/check-compliance.md +124 -0
- package/Dev/i18n/pt/VueJS/commands/check-security.md +186 -0
- package/Dev/i18n/pt/VueJS/commands/check-testing.md +185 -0
- package/Dev/i18n/pt/VueJS/commands/generate-component.md +233 -0
- package/Dev/i18n/pt/VueJS/rules/00-project-context.md.template +125 -0
- package/Dev/i18n/pt/VueJS/rules/02-architecture-vuejs.md +375 -0
- package/Dev/i18n/pt/VueJS/rules/03-coding-standards.md +502 -0
- package/Dev/i18n/pt/VueJS/rules/06-tooling.md +422 -0
- package/Dev/i18n/pt/VueJS/rules/07-testing-vuejs.md +606 -0
- package/Dev/i18n/pt/VueJS/rules/08-quality-tools.md +441 -0
- package/Dev/i18n/pt/VueJS/rules/11-security-vuejs.md +465 -0
- package/Dev/i18n/pt/VueJS/templates/component.template.vue +133 -0
- package/Dev/i18n/pt/VueJS/templates/composable.template.ts +162 -0
- package/Dev/i18n/pt/VueJS/templates/store.template.ts +282 -0
- package/Dev/i18n/pt/VueJS/templates/test.template.ts +233 -0
- package/Dev/scripts/install-angular-rules.sh +543 -0
- package/Dev/scripts/install-common-rules.sh +13 -1
- package/Dev/scripts/install-csharp-rules.sh +544 -0
- package/Dev/scripts/install-flutter-rules.sh +17 -4
- package/Dev/scripts/install-from-config.sh +61 -23
- package/Dev/scripts/install-laravel-rules.sh +552 -0
- package/Dev/scripts/install-php-rules.sh +537 -0
- package/Dev/scripts/install-python-rules.sh +17 -4
- package/Dev/scripts/install-react-rules.sh +17 -4
- package/Dev/scripts/install-reactnative-rules.sh +17 -4
- package/Dev/scripts/install-symfony-rules.sh +22 -4
- package/Dev/scripts/install-vuejs-rules.sh +588 -0
- package/README.md +68 -2
- package/Tools/Ralph/README.md +106 -10
- package/Tools/Ralph/lib/checkpoint.sh +15 -9
- package/Tools/Ralph/lib/circuit-breaker.sh +16 -7
- package/Tools/Ralph/lib/context-manager.sh +473 -0
- package/Tools/Ralph/lib/context-reconstruction.sh +329 -0
- package/Tools/Ralph/lib/dod-validator.sh +17 -4
- package/Tools/Ralph/lib/loop.sh +33 -10
- package/Tools/Ralph/lib/session.sh +88 -33
- package/Tools/Ralph/lib/sprint-progress.sh +832 -0
- package/Tools/Ralph/lib/utils.sh +362 -0
- package/Tools/Ralph/ralph.sh +172 -14
- package/Tools/Ralph/templates/ralph.yml.template +87 -0
- package/Tools/Ralph/templates/sprint-progress.md.template +72 -0
- package/Tools/i18n/ralph/de.sh +31 -0
- package/Tools/i18n/ralph/en.sh +31 -0
- package/Tools/i18n/ralph/es.sh +31 -0
- package/Tools/i18n/ralph/fr.sh +31 -0
- package/Tools/i18n/ralph/pt.sh +31 -0
- package/package.json +1 -1
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
// Domain/Entities/${EntityName}.cs
|
|
2
|
+
// Template for Clean Architecture entity with rich domain model
|
|
3
|
+
|
|
4
|
+
namespace ${ProjectName}.Domain.Entities;
|
|
5
|
+
|
|
6
|
+
/// <summary>
|
|
7
|
+
/// Represents a ${EntityName} aggregate root.
|
|
8
|
+
/// </summary>
|
|
9
|
+
public class ${EntityName} : BaseEntity, IAggregateRoot
|
|
10
|
+
{
|
|
11
|
+
private readonly List<${EntityName}Item> _items = new();
|
|
12
|
+
|
|
13
|
+
/// <summary>
|
|
14
|
+
/// Gets the name of the ${EntityName}.
|
|
15
|
+
/// </summary>
|
|
16
|
+
public string Name { get; private set; } = string.Empty;
|
|
17
|
+
|
|
18
|
+
/// <summary>
|
|
19
|
+
/// Gets the current status.
|
|
20
|
+
/// </summary>
|
|
21
|
+
public ${EntityName}Status Status { get; private set; }
|
|
22
|
+
|
|
23
|
+
/// <summary>
|
|
24
|
+
/// Gets the creation timestamp.
|
|
25
|
+
/// </summary>
|
|
26
|
+
public DateTime CreatedAt { get; private set; }
|
|
27
|
+
|
|
28
|
+
/// <summary>
|
|
29
|
+
/// Gets the last modification timestamp.
|
|
30
|
+
/// </summary>
|
|
31
|
+
public DateTime? ModifiedAt { get; private set; }
|
|
32
|
+
|
|
33
|
+
/// <summary>
|
|
34
|
+
/// Gets the collection of items (read-only).
|
|
35
|
+
/// </summary>
|
|
36
|
+
public IReadOnlyCollection<${EntityName}Item> Items => _items.AsReadOnly();
|
|
37
|
+
|
|
38
|
+
/// <summary>
|
|
39
|
+
/// EF Core constructor (private to enforce factory pattern).
|
|
40
|
+
/// </summary>
|
|
41
|
+
private ${EntityName}() { }
|
|
42
|
+
|
|
43
|
+
/// <summary>
|
|
44
|
+
/// Creates a new ${EntityName} instance.
|
|
45
|
+
/// </summary>
|
|
46
|
+
/// <param name="name">The name of the ${EntityName}.</param>
|
|
47
|
+
/// <returns>A new ${EntityName} instance.</returns>
|
|
48
|
+
/// <exception cref="ArgumentException">Thrown when name is null or empty.</exception>
|
|
49
|
+
public static ${EntityName} Create(string name)
|
|
50
|
+
{
|
|
51
|
+
Guard.Against.NullOrWhiteSpace(name, nameof(name));
|
|
52
|
+
|
|
53
|
+
var entity = new ${EntityName}
|
|
54
|
+
{
|
|
55
|
+
Id = Guid.NewGuid(),
|
|
56
|
+
Name = name,
|
|
57
|
+
Status = ${EntityName}Status.Draft,
|
|
58
|
+
CreatedAt = DateTime.UtcNow
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
entity.AddDomainEvent(new ${EntityName}CreatedEvent(entity.Id));
|
|
62
|
+
return entity;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/// <summary>
|
|
66
|
+
/// Updates the name of the ${EntityName}.
|
|
67
|
+
/// </summary>
|
|
68
|
+
/// <param name="name">The new name.</param>
|
|
69
|
+
/// <exception cref="ArgumentException">Thrown when name is null or empty.</exception>
|
|
70
|
+
public void UpdateName(string name)
|
|
71
|
+
{
|
|
72
|
+
Guard.Against.NullOrWhiteSpace(name, nameof(name));
|
|
73
|
+
|
|
74
|
+
if (Name == name)
|
|
75
|
+
return;
|
|
76
|
+
|
|
77
|
+
Name = name;
|
|
78
|
+
ModifiedAt = DateTime.UtcNow;
|
|
79
|
+
AddDomainEvent(new ${EntityName}UpdatedEvent(Id));
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/// <summary>
|
|
83
|
+
/// Activates the ${EntityName}.
|
|
84
|
+
/// </summary>
|
|
85
|
+
/// <exception cref="InvalidOperationException">Thrown when ${EntityName} cannot be activated.</exception>
|
|
86
|
+
public void Activate()
|
|
87
|
+
{
|
|
88
|
+
if (Status == ${EntityName}Status.Active)
|
|
89
|
+
return;
|
|
90
|
+
|
|
91
|
+
if (Status == ${EntityName}Status.Cancelled)
|
|
92
|
+
throw new InvalidOperationException("Cannot activate a cancelled ${EntityName}");
|
|
93
|
+
|
|
94
|
+
Status = ${EntityName}Status.Active;
|
|
95
|
+
ModifiedAt = DateTime.UtcNow;
|
|
96
|
+
AddDomainEvent(new ${EntityName}ActivatedEvent(Id));
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
/// <summary>
|
|
100
|
+
/// Cancels the ${EntityName}.
|
|
101
|
+
/// </summary>
|
|
102
|
+
/// <exception cref="InvalidOperationException">Thrown when ${EntityName} cannot be cancelled.</exception>
|
|
103
|
+
public void Cancel()
|
|
104
|
+
{
|
|
105
|
+
if (Status == ${EntityName}Status.Cancelled)
|
|
106
|
+
return;
|
|
107
|
+
|
|
108
|
+
Status = ${EntityName}Status.Cancelled;
|
|
109
|
+
ModifiedAt = DateTime.UtcNow;
|
|
110
|
+
AddDomainEvent(new ${EntityName}CancelledEvent(Id));
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
/// <summary>
|
|
114
|
+
/// Adds an item to the ${EntityName}.
|
|
115
|
+
/// </summary>
|
|
116
|
+
/// <param name="itemId">The item identifier.</param>
|
|
117
|
+
/// <param name="quantity">The quantity.</param>
|
|
118
|
+
public void AddItem(Guid itemId, int quantity)
|
|
119
|
+
{
|
|
120
|
+
Guard.Against.NegativeOrZero(quantity, nameof(quantity));
|
|
121
|
+
|
|
122
|
+
var existingItem = _items.FirstOrDefault(i => i.ItemId == itemId);
|
|
123
|
+
if (existingItem is not null)
|
|
124
|
+
{
|
|
125
|
+
existingItem.IncreaseQuantity(quantity);
|
|
126
|
+
}
|
|
127
|
+
else
|
|
128
|
+
{
|
|
129
|
+
_items.Add(new ${EntityName}Item(itemId, quantity));
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
ModifiedAt = DateTime.UtcNow;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
/// <summary>
|
|
136
|
+
/// Removes an item from the ${EntityName}.
|
|
137
|
+
/// </summary>
|
|
138
|
+
/// <param name="itemId">The item identifier.</param>
|
|
139
|
+
public void RemoveItem(Guid itemId)
|
|
140
|
+
{
|
|
141
|
+
var item = _items.FirstOrDefault(i => i.ItemId == itemId);
|
|
142
|
+
if (item is null)
|
|
143
|
+
return;
|
|
144
|
+
|
|
145
|
+
_items.Remove(item);
|
|
146
|
+
ModifiedAt = DateTime.UtcNow;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
/// <summary>
|
|
151
|
+
/// Status enumeration for ${EntityName}.
|
|
152
|
+
/// </summary>
|
|
153
|
+
public enum ${EntityName}Status
|
|
154
|
+
{
|
|
155
|
+
Draft,
|
|
156
|
+
Active,
|
|
157
|
+
Completed,
|
|
158
|
+
Cancelled
|
|
159
|
+
}
|
|
@@ -0,0 +1,293 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Add a new technology to claude-craft with best practices from Context7 and web search
|
|
3
|
+
argument-hint: <technology-name>
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Add Technology
|
|
7
|
+
|
|
8
|
+
You are an expert technology integrator for claude-craft. Your mission is to add a new technology stack by:
|
|
9
|
+
1. Researching best practices using Context7 MCP and web search
|
|
10
|
+
2. Generating all necessary files (rules, commands, templates, skills, agents)
|
|
11
|
+
3. Creating the installation script
|
|
12
|
+
4. Updating documentation and landing page
|
|
13
|
+
|
|
14
|
+
## Arguments
|
|
15
|
+
$ARGUMENTS
|
|
16
|
+
|
|
17
|
+
Arguments:
|
|
18
|
+
- `technology-name`: Name of the technology to add (e.g., "nextjs", "nestjs", "golang", "laravel")
|
|
19
|
+
- (Optional) `category`: Category of the technology (frontend, backend, mobile, devops, fullstack)
|
|
20
|
+
|
|
21
|
+
Example: `/common:add-technology "nestjs"` or `/common:add-technology "golang" backend`
|
|
22
|
+
|
|
23
|
+
## MISSION
|
|
24
|
+
|
|
25
|
+
### Step 1: Analyze the Technology
|
|
26
|
+
|
|
27
|
+
Identify:
|
|
28
|
+
- Official name and common aliases
|
|
29
|
+
- Type: framework, library, language, tool
|
|
30
|
+
- Category: frontend, backend, mobile, devops, fullstack
|
|
31
|
+
- Ecosystem: related tools, testing frameworks, deployment options
|
|
32
|
+
- Target audience: web, mobile, API, CLI, etc.
|
|
33
|
+
|
|
34
|
+
### Step 2: Research with Context7 (MCP)
|
|
35
|
+
|
|
36
|
+
**Use Context7 to access official documentation:**
|
|
37
|
+
|
|
38
|
+
```
|
|
39
|
+
Query Context7 for:
|
|
40
|
+
1. Official getting started guide
|
|
41
|
+
2. Recommended project structure
|
|
42
|
+
3. Best practices and design patterns
|
|
43
|
+
4. Testing strategies (unit, integration, e2e)
|
|
44
|
+
5. Security best practices
|
|
45
|
+
6. Performance optimization tips
|
|
46
|
+
7. Deployment recommendations
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
#### Information to Extract
|
|
50
|
+
|
|
51
|
+
| Topic | Details to Find |
|
|
52
|
+
|-------|-----------------|
|
|
53
|
+
| Architecture | Recommended patterns (MVC, Clean, Hexagonal, etc.) |
|
|
54
|
+
| Coding Standards | Style guide, naming conventions, file structure |
|
|
55
|
+
| Tooling | CLI tools, formatters, linters, bundlers |
|
|
56
|
+
| Testing | Test frameworks, coverage tools, mocking strategies |
|
|
57
|
+
| Security | Authentication, authorization, common vulnerabilities |
|
|
58
|
+
| Quality | Static analysis, type checking, code review practices |
|
|
59
|
+
|
|
60
|
+
### Step 3: Complement with Web Search
|
|
61
|
+
|
|
62
|
+
**Search for 2026 trends and community practices:**
|
|
63
|
+
|
|
64
|
+
1. **Latest Trends**
|
|
65
|
+
- Current stable version
|
|
66
|
+
- Upcoming features
|
|
67
|
+
- Deprecation warnings
|
|
68
|
+
- Migration guides
|
|
69
|
+
|
|
70
|
+
2. **Community Best Practices**
|
|
71
|
+
- Popular boilerplates
|
|
72
|
+
- Production configurations
|
|
73
|
+
- Performance benchmarks
|
|
74
|
+
- Real-world architectures
|
|
75
|
+
|
|
76
|
+
3. **Common Pitfalls**
|
|
77
|
+
- Frequent mistakes
|
|
78
|
+
- Anti-patterns
|
|
79
|
+
- Security vulnerabilities
|
|
80
|
+
- Performance bottlenecks
|
|
81
|
+
|
|
82
|
+
4. **Ecosystem**
|
|
83
|
+
- Recommended libraries
|
|
84
|
+
- Testing tools
|
|
85
|
+
- DevOps integrations
|
|
86
|
+
- Monitoring solutions
|
|
87
|
+
|
|
88
|
+
### Step 4: Generate Technology Files
|
|
89
|
+
|
|
90
|
+
**Create the complete file structure in all 5 languages (en, fr, es, de, pt):**
|
|
91
|
+
|
|
92
|
+
```
|
|
93
|
+
Dev/i18n/{lang}/{TECHNOLOGY}/
|
|
94
|
+
├── CLAUDE.md.template
|
|
95
|
+
├── rules/
|
|
96
|
+
│ ├── 00-project-context.md.template
|
|
97
|
+
│ ├── 02-architecture-{tech}.md
|
|
98
|
+
│ ├── 03-coding-standards.md
|
|
99
|
+
│ ├── 06-tooling.md
|
|
100
|
+
│ ├── 07-testing-{tech}.md
|
|
101
|
+
│ ├── 08-quality-tools.md
|
|
102
|
+
│ └── 11-security-{tech}.md
|
|
103
|
+
├── commands/
|
|
104
|
+
│ ├── check-compliance.md
|
|
105
|
+
│ ├── check-architecture.md
|
|
106
|
+
│ ├── check-code-quality.md
|
|
107
|
+
│ ├── check-testing.md
|
|
108
|
+
│ ├── check-security.md
|
|
109
|
+
│ └── [generate-*.md if applicable]
|
|
110
|
+
├── templates/
|
|
111
|
+
│ └── [technology-specific templates]
|
|
112
|
+
├── checklists/
|
|
113
|
+
│ ├── pre-commit.md
|
|
114
|
+
│ └── new-feature.md
|
|
115
|
+
├── agents/
|
|
116
|
+
│ └── {tech}-reviewer.md
|
|
117
|
+
└── skills/
|
|
118
|
+
└── [technology-specific skills]
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
#### Rules to Generate
|
|
122
|
+
|
|
123
|
+
| File | Content |
|
|
124
|
+
|------|---------|
|
|
125
|
+
| `02-architecture-{tech}.md` | Architecture patterns, folder structure, clean architecture principles |
|
|
126
|
+
| `03-coding-standards.md` | Style guide, naming conventions, file organization |
|
|
127
|
+
| `06-tooling.md` | CLI commands, formatters, linters, build tools |
|
|
128
|
+
| `07-testing-{tech}.md` | Test strategies, frameworks, coverage requirements |
|
|
129
|
+
| `08-quality-tools.md` | Static analysis, type checking, CI/CD integration |
|
|
130
|
+
| `11-security-{tech}.md` | Security practices, common vulnerabilities, authentication |
|
|
131
|
+
|
|
132
|
+
#### Commands to Generate
|
|
133
|
+
|
|
134
|
+
| Command | Purpose |
|
|
135
|
+
|---------|---------|
|
|
136
|
+
| `check-compliance.md` | Full compliance audit (score /100) |
|
|
137
|
+
| `check-architecture.md` | Architecture review |
|
|
138
|
+
| `check-code-quality.md` | Code quality analysis |
|
|
139
|
+
| `check-testing.md` | Test coverage and quality |
|
|
140
|
+
| `check-security.md` | Security audit |
|
|
141
|
+
|
|
142
|
+
### Step 5: Create Installation Script
|
|
143
|
+
|
|
144
|
+
**Generate `Dev/scripts/install-{tech}-rules.sh`:**
|
|
145
|
+
|
|
146
|
+
Follow the pattern from existing scripts:
|
|
147
|
+
- Support `--lang`, `--force`, `--update`, `--dry-run`, `--backup` options
|
|
148
|
+
- Copy generic rules from Common/
|
|
149
|
+
- Copy technology-specific rules
|
|
150
|
+
- Generate CLAUDE.md and 00-project-context.md
|
|
151
|
+
- Display installation summary
|
|
152
|
+
|
|
153
|
+
### Step 6: Update Documentation
|
|
154
|
+
|
|
155
|
+
**Files to update:**
|
|
156
|
+
|
|
157
|
+
| File | Changes |
|
|
158
|
+
|------|---------|
|
|
159
|
+
| `README.md` | Add technology to supported stacks list |
|
|
160
|
+
| `docs/index.html` | Increment stats, add technology card |
|
|
161
|
+
| `docs/COMMANDS.md` | Document new commands |
|
|
162
|
+
| `Makefile` | Add `install-{tech}` target |
|
|
163
|
+
|
|
164
|
+
#### Landing Page Updates (docs/index.html)
|
|
165
|
+
|
|
166
|
+
1. **Stats Section**: Increment "Tech Stacks" counter
|
|
167
|
+
2. **Technology Grid**: Add new technology card:
|
|
168
|
+
|
|
169
|
+
```html
|
|
170
|
+
<div class="bg-slate-800/50 p-6 rounded-xl border border-white/5 hover:border-brand-500/50 transition-colors text-center group">
|
|
171
|
+
<div class="h-16 w-16 mx-auto bg-black rounded-full flex items-center justify-center mb-4 shadow-lg group-hover:scale-110 transition-transform">
|
|
172
|
+
<span class="text-2xl font-bold text-white">{ICON}</span>
|
|
173
|
+
</div>
|
|
174
|
+
<h3 class="font-bold text-white">{TECH_NAME}</h3>
|
|
175
|
+
<p class="text-xs text-slate-400 mt-2" data-i18n="tech_{tech}_desc">{DESCRIPTION}</p>
|
|
176
|
+
</div>
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
3. **Translations**: Add i18n keys for all 5 languages
|
|
180
|
+
|
|
181
|
+
#### Makefile Target
|
|
182
|
+
|
|
183
|
+
```makefile
|
|
184
|
+
install-{tech}:
|
|
185
|
+
./Dev/scripts/install-{tech}-rules.sh --lang=$(RULES_LANG) $(OPTIONS) $(TARGET)
|
|
186
|
+
```
|
|
187
|
+
|
|
188
|
+
### Step 7: Validation
|
|
189
|
+
|
|
190
|
+
#### Definition of Done Checklist
|
|
191
|
+
|
|
192
|
+
```
|
|
193
|
+
══════════════════════════════════════════════════════════════
|
|
194
|
+
✅ DEFINITION OF DONE: Add Technology [{TECH_NAME}]
|
|
195
|
+
══════════════════════════════════════════════════════════════
|
|
196
|
+
|
|
197
|
+
📁 FILES CREATED
|
|
198
|
+
──────────────────────────────────────────────────────────────
|
|
199
|
+
- [ ] Rules (7 files × 5 languages = 35 files)
|
|
200
|
+
- [ ] Commands (5 files × 5 languages = 25 files)
|
|
201
|
+
- [ ] Templates (at least 2 per language)
|
|
202
|
+
- [ ] Checklists (2 files × 5 languages = 10 files)
|
|
203
|
+
- [ ] Agent {tech}-reviewer (1 file × 5 languages = 5 files)
|
|
204
|
+
- [ ] CLAUDE.md.template (× 5 languages)
|
|
205
|
+
- [ ] Installation script (Dev/scripts/install-{tech}-rules.sh)
|
|
206
|
+
|
|
207
|
+
📄 DOCUMENTATION UPDATED
|
|
208
|
+
──────────────────────────────────────────────────────────────
|
|
209
|
+
- [ ] README.md: Technology added to supported stacks
|
|
210
|
+
- [ ] docs/index.html: Stats incremented
|
|
211
|
+
- [ ] docs/index.html: Technology card added
|
|
212
|
+
- [ ] docs/index.html: i18n translations added (5 languages)
|
|
213
|
+
- [ ] docs/COMMANDS.md: New commands documented
|
|
214
|
+
- [ ] Makefile: install-{tech} target added
|
|
215
|
+
|
|
216
|
+
🧪 VERIFICATION
|
|
217
|
+
──────────────────────────────────────────────────────────────
|
|
218
|
+
- [ ] Installation script runs without errors
|
|
219
|
+
- [ ] All files are properly formatted
|
|
220
|
+
- [ ] Commands are functional
|
|
221
|
+
- [ ] Documentation is accurate
|
|
222
|
+
|
|
223
|
+
══════════════════════════════════════════════════════════════
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
### Output Format
|
|
227
|
+
|
|
228
|
+
After completing all steps, provide:
|
|
229
|
+
|
|
230
|
+
```
|
|
231
|
+
══════════════════════════════════════════════════════════════
|
|
232
|
+
🎉 TECHNOLOGY ADDED: {TECH_NAME}
|
|
233
|
+
══════════════════════════════════════════════════════════════
|
|
234
|
+
|
|
235
|
+
📊 SUMMARY
|
|
236
|
+
──────────────────────────────────────────────────────────────
|
|
237
|
+
Technology: {TECH_NAME}
|
|
238
|
+
Category: {CATEGORY}
|
|
239
|
+
Version: {CURRENT_VERSION}
|
|
240
|
+
|
|
241
|
+
Files created: {COUNT}
|
|
242
|
+
- Rules: 35 files
|
|
243
|
+
- Commands: 25 files
|
|
244
|
+
- Templates: {COUNT}
|
|
245
|
+
- Checklists: 10 files
|
|
246
|
+
- Agents: 5 files
|
|
247
|
+
|
|
248
|
+
📁 STRUCTURE
|
|
249
|
+
──────────────────────────────────────────────────────────────
|
|
250
|
+
Dev/i18n/
|
|
251
|
+
├── en/{TECH}/
|
|
252
|
+
├── fr/{TECH}/
|
|
253
|
+
├── es/{TECH}/
|
|
254
|
+
├── de/{TECH}/
|
|
255
|
+
└── pt/{TECH}/
|
|
256
|
+
|
|
257
|
+
Dev/scripts/
|
|
258
|
+
└── install-{tech}-rules.sh
|
|
259
|
+
|
|
260
|
+
🔧 INSTALLATION
|
|
261
|
+
──────────────────────────────────────────────────────────────
|
|
262
|
+
# Via Makefile
|
|
263
|
+
make install-{tech} TARGET=~/my-project RULES_LANG=en
|
|
264
|
+
|
|
265
|
+
# Direct script
|
|
266
|
+
./Dev/scripts/install-{tech}-rules.sh ~/my-project
|
|
267
|
+
|
|
268
|
+
📚 DOCUMENTATION
|
|
269
|
+
──────────────────────────────────────────────────────────────
|
|
270
|
+
- README.md ✅ Updated
|
|
271
|
+
- docs/index.html ✅ Updated
|
|
272
|
+
- docs/COMMANDS.md ✅ Updated
|
|
273
|
+
- Makefile ✅ Updated
|
|
274
|
+
|
|
275
|
+
✅ DEFINITION OF DONE: COMPLETE
|
|
276
|
+
══════════════════════════════════════════════════════════════
|
|
277
|
+
```
|
|
278
|
+
|
|
279
|
+
### Important Guidelines
|
|
280
|
+
|
|
281
|
+
1. **Research First** - Always use Context7 and web search before generating files
|
|
282
|
+
2. **Follow Patterns** - Use existing technologies (React, Symfony, Flutter) as templates
|
|
283
|
+
3. **All 5 Languages** - Generate content for en, fr, es, de, pt
|
|
284
|
+
4. **Quality over Speed** - Ensure all files are properly formatted and functional
|
|
285
|
+
5. **Update Everything** - Don't forget documentation and landing page
|
|
286
|
+
|
|
287
|
+
### Error Handling
|
|
288
|
+
|
|
289
|
+
If research fails:
|
|
290
|
+
- Clearly indicate what information is missing
|
|
291
|
+
- Propose alternative sources
|
|
292
|
+
- Ask user for clarification if needed
|
|
293
|
+
- NEVER generate files with placeholder or invented content
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
# {{PROJECT_NAME}} - Laravel Project
|
|
2
|
+
|
|
3
|
+
## Project Context
|
|
4
|
+
|
|
5
|
+
- **Technology**: Laravel {{LARAVEL_VERSION}}
|
|
6
|
+
- **PHP Version**: {{PHP_VERSION}}
|
|
7
|
+
- **Architecture**: {{ARCHITECTURE_PATTERN}}
|
|
8
|
+
- **Database**: {{DATABASE_TYPE}}
|
|
9
|
+
|
|
10
|
+
## Commands
|
|
11
|
+
|
|
12
|
+
### Development
|
|
13
|
+
```bash
|
|
14
|
+
# Start development server
|
|
15
|
+
php artisan serve
|
|
16
|
+
|
|
17
|
+
# Run queue worker
|
|
18
|
+
php artisan queue:work
|
|
19
|
+
|
|
20
|
+
# Run tests
|
|
21
|
+
php artisan test
|
|
22
|
+
|
|
23
|
+
# Run tests with coverage
|
|
24
|
+
php artisan test --coverage
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
### Code Quality
|
|
28
|
+
```bash
|
|
29
|
+
# Format code
|
|
30
|
+
./vendor/bin/pint
|
|
31
|
+
|
|
32
|
+
# Static analysis
|
|
33
|
+
./vendor/bin/phpstan analyse
|
|
34
|
+
|
|
35
|
+
# Full quality check
|
|
36
|
+
./vendor/bin/pint && ./vendor/bin/phpstan analyse && php artisan test
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
### Database
|
|
40
|
+
```bash
|
|
41
|
+
# Run migrations
|
|
42
|
+
php artisan migrate
|
|
43
|
+
|
|
44
|
+
# Fresh database with seeds
|
|
45
|
+
php artisan migrate:fresh --seed
|
|
46
|
+
|
|
47
|
+
# Rollback last migration
|
|
48
|
+
php artisan migrate:rollback
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## Architecture
|
|
52
|
+
|
|
53
|
+
This project follows {{ARCHITECTURE_PATTERN}}:
|
|
54
|
+
|
|
55
|
+
```
|
|
56
|
+
app/
|
|
57
|
+
├── Domain/ # Core business logic
|
|
58
|
+
├── Application/ # Use cases, Actions, DTOs
|
|
59
|
+
├── Infrastructure/ # External services, Repositories
|
|
60
|
+
└── Http/ # Controllers, Requests, Resources
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
## Coding Standards
|
|
64
|
+
|
|
65
|
+
- **PHP**: 8.3+ with strict types
|
|
66
|
+
- **Style**: Laravel Pint (PSR-12 + Laravel)
|
|
67
|
+
- **Analysis**: PHPStan level 8
|
|
68
|
+
|
|
69
|
+
### Key Conventions
|
|
70
|
+
|
|
71
|
+
1. **Controllers**: Thin, delegate to Actions
|
|
72
|
+
2. **Validation**: Always via Form Requests
|
|
73
|
+
3. **Responses**: Always via API Resources
|
|
74
|
+
4. **Authorization**: Via Policies
|
|
75
|
+
5. **Business Logic**: In Domain layer or Actions
|
|
76
|
+
|
|
77
|
+
## Testing
|
|
78
|
+
|
|
79
|
+
- **Framework**: Pest PHP
|
|
80
|
+
- **Minimum Coverage**: 80%
|
|
81
|
+
- **Test Types**: Feature, Unit, Architecture
|
|
82
|
+
|
|
83
|
+
```bash
|
|
84
|
+
# Run all tests
|
|
85
|
+
php artisan test
|
|
86
|
+
|
|
87
|
+
# Run specific test
|
|
88
|
+
php artisan test --filter=OrderTest
|
|
89
|
+
|
|
90
|
+
# Run in parallel
|
|
91
|
+
php artisan test --parallel
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
## Environment
|
|
95
|
+
|
|
96
|
+
- **Local**: Uses Docker via Laravel Sail
|
|
97
|
+
- **Testing**: SQLite in-memory
|
|
98
|
+
- **Production**: PostgreSQL
|
|
99
|
+
|
|
100
|
+
## Important Files
|
|
101
|
+
|
|
102
|
+
- `phpstan.neon` - Static analysis config
|
|
103
|
+
- `pint.json` - Code style config
|
|
104
|
+
- `.env.example` - Environment template
|