@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,481 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Generate a complete feature with Clean Architecture structure
|
|
3
|
+
argument-hint: <FeatureName>
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Generate C#/.NET Feature
|
|
7
|
+
|
|
8
|
+
You are a C#/.NET architect. Generate a complete feature following Clean Architecture and CQRS patterns.
|
|
9
|
+
|
|
10
|
+
## Arguments
|
|
11
|
+
|
|
12
|
+
$ARGUMENTS
|
|
13
|
+
|
|
14
|
+
- `FeatureName`: Name of the feature to generate (e.g., "Order", "Customer", "Product")
|
|
15
|
+
|
|
16
|
+
## Generation Process
|
|
17
|
+
|
|
18
|
+
### Step 1: Analyze Requirements
|
|
19
|
+
|
|
20
|
+
Ask if not clear:
|
|
21
|
+
- What is the primary entity for this feature?
|
|
22
|
+
- What operations are needed? (CRUD, specific business operations)
|
|
23
|
+
- What relationships exist with other entities?
|
|
24
|
+
- Are there specific validation rules?
|
|
25
|
+
|
|
26
|
+
### Step 2: Generate Domain Layer
|
|
27
|
+
|
|
28
|
+
**Entity:**
|
|
29
|
+
|
|
30
|
+
```csharp
|
|
31
|
+
// Domain/Entities/{Feature}.cs
|
|
32
|
+
namespace {Project}.Domain.Entities;
|
|
33
|
+
|
|
34
|
+
public class {Feature} : BaseEntity, IAggregateRoot
|
|
35
|
+
{
|
|
36
|
+
private readonly List<{Feature}Item> _items = new();
|
|
37
|
+
|
|
38
|
+
public string Name { get; private set; } = string.Empty;
|
|
39
|
+
public {Feature}Status Status { get; private set; }
|
|
40
|
+
public DateTime CreatedAt { get; private set; }
|
|
41
|
+
public DateTime? ModifiedAt { get; private set; }
|
|
42
|
+
public IReadOnlyCollection<{Feature}Item> Items => _items.AsReadOnly();
|
|
43
|
+
|
|
44
|
+
private {Feature}() { } // EF Core
|
|
45
|
+
|
|
46
|
+
public static {Feature} Create(string name)
|
|
47
|
+
{
|
|
48
|
+
Guard.Against.NullOrWhiteSpace(name, nameof(name));
|
|
49
|
+
|
|
50
|
+
var entity = new {Feature}
|
|
51
|
+
{
|
|
52
|
+
Id = Guid.NewGuid(),
|
|
53
|
+
Name = name,
|
|
54
|
+
Status = {Feature}Status.Draft,
|
|
55
|
+
CreatedAt = DateTime.UtcNow
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
entity.AddDomainEvent(new {Feature}CreatedEvent(entity.Id));
|
|
59
|
+
return entity;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
public void UpdateName(string name)
|
|
63
|
+
{
|
|
64
|
+
Guard.Against.NullOrWhiteSpace(name, nameof(name));
|
|
65
|
+
|
|
66
|
+
Name = name;
|
|
67
|
+
ModifiedAt = DateTime.UtcNow;
|
|
68
|
+
AddDomainEvent(new {Feature}UpdatedEvent(Id));
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
public void Activate()
|
|
72
|
+
{
|
|
73
|
+
if (Status == {Feature}Status.Active)
|
|
74
|
+
return;
|
|
75
|
+
|
|
76
|
+
Status = {Feature}Status.Active;
|
|
77
|
+
ModifiedAt = DateTime.UtcNow;
|
|
78
|
+
AddDomainEvent(new {Feature}ActivatedEvent(Id));
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
**Repository Interface:**
|
|
84
|
+
|
|
85
|
+
```csharp
|
|
86
|
+
// Domain/Interfaces/I{Feature}Repository.cs
|
|
87
|
+
namespace {Project}.Domain.Interfaces;
|
|
88
|
+
|
|
89
|
+
public interface I{Feature}Repository
|
|
90
|
+
{
|
|
91
|
+
Task<{Feature}?> GetByIdAsync(Guid id, CancellationToken cancellationToken = default);
|
|
92
|
+
Task<IReadOnlyList<{Feature}>> GetAllAsync(CancellationToken cancellationToken = default);
|
|
93
|
+
Task AddAsync({Feature} entity, CancellationToken cancellationToken = default);
|
|
94
|
+
Task UpdateAsync({Feature} entity, CancellationToken cancellationToken = default);
|
|
95
|
+
Task DeleteAsync({Feature} entity, CancellationToken cancellationToken = default);
|
|
96
|
+
}
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
### Step 3: Generate Application Layer
|
|
100
|
+
|
|
101
|
+
**DTO:**
|
|
102
|
+
|
|
103
|
+
```csharp
|
|
104
|
+
// Application/Features/{Features}/Models/{Feature}Dto.cs
|
|
105
|
+
namespace {Project}.Application.Features.{Features}.Models;
|
|
106
|
+
|
|
107
|
+
public record {Feature}Dto(
|
|
108
|
+
Guid Id,
|
|
109
|
+
string Name,
|
|
110
|
+
string Status,
|
|
111
|
+
DateTime CreatedAt,
|
|
112
|
+
DateTime? ModifiedAt);
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
**Create Command:**
|
|
116
|
+
|
|
117
|
+
```csharp
|
|
118
|
+
// Application/Features/{Features}/Commands/Create{Feature}/Create{Feature}Command.cs
|
|
119
|
+
namespace {Project}.Application.Features.{Features}.Commands.Create{Feature};
|
|
120
|
+
|
|
121
|
+
public record Create{Feature}Command(string Name) : IRequest<Guid>;
|
|
122
|
+
|
|
123
|
+
// Handler
|
|
124
|
+
public class Create{Feature}CommandHandler : IRequestHandler<Create{Feature}Command, Guid>
|
|
125
|
+
{
|
|
126
|
+
private readonly I{Feature}Repository _{feature}Repository;
|
|
127
|
+
private readonly IUnitOfWork _unitOfWork;
|
|
128
|
+
|
|
129
|
+
public Create{Feature}CommandHandler(
|
|
130
|
+
I{Feature}Repository {feature}Repository,
|
|
131
|
+
IUnitOfWork unitOfWork)
|
|
132
|
+
{
|
|
133
|
+
_{feature}Repository = {feature}Repository;
|
|
134
|
+
_unitOfWork = unitOfWork;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
public async Task<Guid> Handle(Create{Feature}Command request, CancellationToken cancellationToken)
|
|
138
|
+
{
|
|
139
|
+
var entity = {Feature}.Create(request.Name);
|
|
140
|
+
|
|
141
|
+
await _{feature}Repository.AddAsync(entity, cancellationToken);
|
|
142
|
+
await _unitOfWork.SaveChangesAsync(cancellationToken);
|
|
143
|
+
|
|
144
|
+
return entity.Id;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
// Validator
|
|
149
|
+
public class Create{Feature}CommandValidator : AbstractValidator<Create{Feature}Command>
|
|
150
|
+
{
|
|
151
|
+
public Create{Feature}CommandValidator()
|
|
152
|
+
{
|
|
153
|
+
RuleFor(x => x.Name)
|
|
154
|
+
.NotEmpty().WithMessage("Name is required")
|
|
155
|
+
.MaximumLength(200).WithMessage("Name must not exceed 200 characters");
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
**Update Command:**
|
|
161
|
+
|
|
162
|
+
```csharp
|
|
163
|
+
// Application/Features/{Features}/Commands/Update{Feature}/Update{Feature}Command.cs
|
|
164
|
+
namespace {Project}.Application.Features.{Features}.Commands.Update{Feature};
|
|
165
|
+
|
|
166
|
+
public record Update{Feature}Command(Guid Id, string Name) : IRequest;
|
|
167
|
+
|
|
168
|
+
public class Update{Feature}CommandHandler : IRequestHandler<Update{Feature}Command>
|
|
169
|
+
{
|
|
170
|
+
private readonly I{Feature}Repository _{feature}Repository;
|
|
171
|
+
private readonly IUnitOfWork _unitOfWork;
|
|
172
|
+
|
|
173
|
+
public Update{Feature}CommandHandler(
|
|
174
|
+
I{Feature}Repository {feature}Repository,
|
|
175
|
+
IUnitOfWork unitOfWork)
|
|
176
|
+
{
|
|
177
|
+
_{feature}Repository = {feature}Repository;
|
|
178
|
+
_unitOfWork = unitOfWork;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
public async Task Handle(Update{Feature}Command request, CancellationToken cancellationToken)
|
|
182
|
+
{
|
|
183
|
+
var entity = await _{feature}Repository.GetByIdAsync(request.Id, cancellationToken)
|
|
184
|
+
?? throw new NotFoundException(nameof({Feature}), request.Id);
|
|
185
|
+
|
|
186
|
+
entity.UpdateName(request.Name);
|
|
187
|
+
|
|
188
|
+
await _{feature}Repository.UpdateAsync(entity, cancellationToken);
|
|
189
|
+
await _unitOfWork.SaveChangesAsync(cancellationToken);
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
```
|
|
193
|
+
|
|
194
|
+
**Delete Command:**
|
|
195
|
+
|
|
196
|
+
```csharp
|
|
197
|
+
// Application/Features/{Features}/Commands/Delete{Feature}/Delete{Feature}Command.cs
|
|
198
|
+
namespace {Project}.Application.Features.{Features}.Commands.Delete{Feature};
|
|
199
|
+
|
|
200
|
+
public record Delete{Feature}Command(Guid Id) : IRequest;
|
|
201
|
+
|
|
202
|
+
public class Delete{Feature}CommandHandler : IRequestHandler<Delete{Feature}Command>
|
|
203
|
+
{
|
|
204
|
+
private readonly I{Feature}Repository _{feature}Repository;
|
|
205
|
+
private readonly IUnitOfWork _unitOfWork;
|
|
206
|
+
|
|
207
|
+
public Delete{Feature}CommandHandler(
|
|
208
|
+
I{Feature}Repository {feature}Repository,
|
|
209
|
+
IUnitOfWork unitOfWork)
|
|
210
|
+
{
|
|
211
|
+
_{feature}Repository = {feature}Repository;
|
|
212
|
+
_unitOfWork = unitOfWork;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
public async Task Handle(Delete{Feature}Command request, CancellationToken cancellationToken)
|
|
216
|
+
{
|
|
217
|
+
var entity = await _{feature}Repository.GetByIdAsync(request.Id, cancellationToken)
|
|
218
|
+
?? throw new NotFoundException(nameof({Feature}), request.Id);
|
|
219
|
+
|
|
220
|
+
await _{feature}Repository.DeleteAsync(entity, cancellationToken);
|
|
221
|
+
await _unitOfWork.SaveChangesAsync(cancellationToken);
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
**Get By Id Query:**
|
|
227
|
+
|
|
228
|
+
```csharp
|
|
229
|
+
// Application/Features/{Features}/Queries/Get{Feature}ById/Get{Feature}ByIdQuery.cs
|
|
230
|
+
namespace {Project}.Application.Features.{Features}.Queries.Get{Feature}ById;
|
|
231
|
+
|
|
232
|
+
public record Get{Feature}ByIdQuery(Guid Id) : IRequest<{Feature}Dto?>;
|
|
233
|
+
|
|
234
|
+
public class Get{Feature}ByIdQueryHandler : IRequestHandler<Get{Feature}ByIdQuery, {Feature}Dto?>
|
|
235
|
+
{
|
|
236
|
+
private readonly IApplicationDbContext _context;
|
|
237
|
+
private readonly IMapper _mapper;
|
|
238
|
+
|
|
239
|
+
public Get{Feature}ByIdQueryHandler(IApplicationDbContext context, IMapper mapper)
|
|
240
|
+
{
|
|
241
|
+
_context = context;
|
|
242
|
+
_mapper = mapper;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
public async Task<{Feature}Dto?> Handle(Get{Feature}ByIdQuery request, CancellationToken cancellationToken)
|
|
246
|
+
{
|
|
247
|
+
return await _context.{Features}
|
|
248
|
+
.AsNoTracking()
|
|
249
|
+
.Where(x => x.Id == request.Id)
|
|
250
|
+
.ProjectTo<{Feature}Dto>(_mapper.ConfigurationProvider)
|
|
251
|
+
.FirstOrDefaultAsync(cancellationToken);
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
```
|
|
255
|
+
|
|
256
|
+
**Get All Query:**
|
|
257
|
+
|
|
258
|
+
```csharp
|
|
259
|
+
// Application/Features/{Features}/Queries/GetAll{Features}/GetAll{Features}Query.cs
|
|
260
|
+
namespace {Project}.Application.Features.{Features}.Queries.GetAll{Features};
|
|
261
|
+
|
|
262
|
+
public record GetAll{Features}Query : IRequest<IReadOnlyList<{Feature}Dto>>;
|
|
263
|
+
|
|
264
|
+
public class GetAll{Features}QueryHandler : IRequestHandler<GetAll{Features}Query, IReadOnlyList<{Feature}Dto>>
|
|
265
|
+
{
|
|
266
|
+
private readonly IApplicationDbContext _context;
|
|
267
|
+
private readonly IMapper _mapper;
|
|
268
|
+
|
|
269
|
+
public GetAll{Features}QueryHandler(IApplicationDbContext context, IMapper mapper)
|
|
270
|
+
{
|
|
271
|
+
_context = context;
|
|
272
|
+
_mapper = mapper;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
public async Task<IReadOnlyList<{Feature}Dto>> Handle(
|
|
276
|
+
GetAll{Features}Query request,
|
|
277
|
+
CancellationToken cancellationToken)
|
|
278
|
+
{
|
|
279
|
+
return await _context.{Features}
|
|
280
|
+
.AsNoTracking()
|
|
281
|
+
.OrderByDescending(x => x.CreatedAt)
|
|
282
|
+
.ProjectTo<{Feature}Dto>(_mapper.ConfigurationProvider)
|
|
283
|
+
.ToListAsync(cancellationToken);
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
```
|
|
287
|
+
|
|
288
|
+
### Step 4: Generate Infrastructure Layer
|
|
289
|
+
|
|
290
|
+
**EF Configuration:**
|
|
291
|
+
|
|
292
|
+
```csharp
|
|
293
|
+
// Infrastructure/Data/Configurations/{Feature}Configuration.cs
|
|
294
|
+
namespace {Project}.Infrastructure.Data.Configurations;
|
|
295
|
+
|
|
296
|
+
public class {Feature}Configuration : IEntityTypeConfiguration<{Feature}>
|
|
297
|
+
{
|
|
298
|
+
public void Configure(EntityTypeBuilder<{Feature}> builder)
|
|
299
|
+
{
|
|
300
|
+
builder.ToTable("{Features}");
|
|
301
|
+
|
|
302
|
+
builder.HasKey(x => x.Id);
|
|
303
|
+
|
|
304
|
+
builder.Property(x => x.Name)
|
|
305
|
+
.HasMaxLength(200)
|
|
306
|
+
.IsRequired();
|
|
307
|
+
|
|
308
|
+
builder.Property(x => x.Status)
|
|
309
|
+
.HasConversion<string>()
|
|
310
|
+
.HasMaxLength(50);
|
|
311
|
+
|
|
312
|
+
builder.HasIndex(x => x.Name);
|
|
313
|
+
builder.HasIndex(x => x.CreatedAt);
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
```
|
|
317
|
+
|
|
318
|
+
**Repository:**
|
|
319
|
+
|
|
320
|
+
```csharp
|
|
321
|
+
// Infrastructure/Data/Repositories/{Feature}Repository.cs
|
|
322
|
+
namespace {Project}.Infrastructure.Data.Repositories;
|
|
323
|
+
|
|
324
|
+
public class {Feature}Repository : I{Feature}Repository
|
|
325
|
+
{
|
|
326
|
+
private readonly ApplicationDbContext _context;
|
|
327
|
+
|
|
328
|
+
public {Feature}Repository(ApplicationDbContext context)
|
|
329
|
+
{
|
|
330
|
+
_context = context;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
public async Task<{Feature}?> GetByIdAsync(Guid id, CancellationToken cancellationToken = default)
|
|
334
|
+
{
|
|
335
|
+
return await _context.{Features}
|
|
336
|
+
.FirstOrDefaultAsync(x => x.Id == id, cancellationToken);
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
public async Task<IReadOnlyList<{Feature}>> GetAllAsync(CancellationToken cancellationToken = default)
|
|
340
|
+
{
|
|
341
|
+
return await _context.{Features}
|
|
342
|
+
.OrderByDescending(x => x.CreatedAt)
|
|
343
|
+
.ToListAsync(cancellationToken);
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
public async Task AddAsync({Feature} entity, CancellationToken cancellationToken = default)
|
|
347
|
+
{
|
|
348
|
+
await _context.{Features}.AddAsync(entity, cancellationToken);
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
public Task UpdateAsync({Feature} entity, CancellationToken cancellationToken = default)
|
|
352
|
+
{
|
|
353
|
+
_context.{Features}.Update(entity);
|
|
354
|
+
return Task.CompletedTask;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
public Task DeleteAsync({Feature} entity, CancellationToken cancellationToken = default)
|
|
358
|
+
{
|
|
359
|
+
_context.{Features}.Remove(entity);
|
|
360
|
+
return Task.CompletedTask;
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
```
|
|
364
|
+
|
|
365
|
+
### Step 5: Generate WebAPI Layer
|
|
366
|
+
|
|
367
|
+
**Minimal API Endpoints:**
|
|
368
|
+
|
|
369
|
+
```csharp
|
|
370
|
+
// WebAPI/Endpoints/{Feature}Endpoints.cs
|
|
371
|
+
namespace {Project}.WebAPI.Endpoints;
|
|
372
|
+
|
|
373
|
+
public static class {Feature}Endpoints
|
|
374
|
+
{
|
|
375
|
+
public static void Map{Feature}Endpoints(this IEndpointRouteBuilder app)
|
|
376
|
+
{
|
|
377
|
+
var group = app.MapGroup("/api/{features}")
|
|
378
|
+
.WithTags("{Features}")
|
|
379
|
+
.RequireAuthorization();
|
|
380
|
+
|
|
381
|
+
group.MapGet("/", GetAll)
|
|
382
|
+
.WithName("GetAll{Features}")
|
|
383
|
+
.Produces<IReadOnlyList<{Feature}Dto>>(StatusCodes.Status200OK);
|
|
384
|
+
|
|
385
|
+
group.MapGet("/{id:guid}", GetById)
|
|
386
|
+
.WithName("Get{Feature}ById")
|
|
387
|
+
.Produces<{Feature}Dto>(StatusCodes.Status200OK)
|
|
388
|
+
.Produces(StatusCodes.Status404NotFound);
|
|
389
|
+
|
|
390
|
+
group.MapPost("/", Create)
|
|
391
|
+
.WithName("Create{Feature}")
|
|
392
|
+
.Produces<Guid>(StatusCodes.Status201Created)
|
|
393
|
+
.ProducesValidationProblem();
|
|
394
|
+
|
|
395
|
+
group.MapPut("/{id:guid}", Update)
|
|
396
|
+
.WithName("Update{Feature}")
|
|
397
|
+
.Produces(StatusCodes.Status204NoContent)
|
|
398
|
+
.Produces(StatusCodes.Status404NotFound);
|
|
399
|
+
|
|
400
|
+
group.MapDelete("/{id:guid}", Delete)
|
|
401
|
+
.WithName("Delete{Feature}")
|
|
402
|
+
.Produces(StatusCodes.Status204NoContent)
|
|
403
|
+
.Produces(StatusCodes.Status404NotFound);
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
private static async Task<IResult> GetAll(ISender sender, CancellationToken ct)
|
|
407
|
+
{
|
|
408
|
+
var result = await sender.Send(new GetAll{Features}Query(), ct);
|
|
409
|
+
return TypedResults.Ok(result);
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
private static async Task<IResult> GetById(Guid id, ISender sender, CancellationToken ct)
|
|
413
|
+
{
|
|
414
|
+
var result = await sender.Send(new Get{Feature}ByIdQuery(id), ct);
|
|
415
|
+
return result is null ? TypedResults.NotFound() : TypedResults.Ok(result);
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
private static async Task<IResult> Create(Create{Feature}Command command, ISender sender, CancellationToken ct)
|
|
419
|
+
{
|
|
420
|
+
var id = await sender.Send(command, ct);
|
|
421
|
+
return TypedResults.CreatedAtRoute("Get{Feature}ById", new { id }, id);
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
private static async Task<IResult> Update(Guid id, Update{Feature}Command command, ISender sender, CancellationToken ct)
|
|
425
|
+
{
|
|
426
|
+
if (id != command.Id)
|
|
427
|
+
return TypedResults.BadRequest();
|
|
428
|
+
|
|
429
|
+
await sender.Send(command, ct);
|
|
430
|
+
return TypedResults.NoContent();
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
private static async Task<IResult> Delete(Guid id, ISender sender, CancellationToken ct)
|
|
434
|
+
{
|
|
435
|
+
await sender.Send(new Delete{Feature}Command(id), ct);
|
|
436
|
+
return TypedResults.NoContent();
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
```
|
|
440
|
+
|
|
441
|
+
### Step 6: Generate Tests
|
|
442
|
+
|
|
443
|
+
```csharp
|
|
444
|
+
// Tests/Application.UnitTests/Features/{Features}/Commands/Create{Feature}CommandTests.cs
|
|
445
|
+
public class Create{Feature}CommandTests
|
|
446
|
+
{
|
|
447
|
+
private readonly Mock<I{Feature}Repository> _repositoryMock = new();
|
|
448
|
+
private readonly Mock<IUnitOfWork> _unitOfWorkMock = new();
|
|
449
|
+
|
|
450
|
+
[Fact]
|
|
451
|
+
public async Task Handle_ValidCommand_Returns{Feature}Id()
|
|
452
|
+
{
|
|
453
|
+
// Arrange
|
|
454
|
+
var handler = new Create{Feature}CommandHandler(
|
|
455
|
+
_repositoryMock.Object,
|
|
456
|
+
_unitOfWorkMock.Object);
|
|
457
|
+
|
|
458
|
+
var command = new Create{Feature}Command("Test Name");
|
|
459
|
+
|
|
460
|
+
// Act
|
|
461
|
+
var result = await handler.Handle(command, CancellationToken.None);
|
|
462
|
+
|
|
463
|
+
// Assert
|
|
464
|
+
result.Should().NotBeEmpty();
|
|
465
|
+
_repositoryMock.Verify(
|
|
466
|
+
x => x.AddAsync(It.IsAny<{Feature}>(), It.IsAny<CancellationToken>()),
|
|
467
|
+
Times.Once);
|
|
468
|
+
_unitOfWorkMock.Verify(
|
|
469
|
+
x => x.SaveChangesAsync(It.IsAny<CancellationToken>()),
|
|
470
|
+
Times.Once);
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
```
|
|
474
|
+
|
|
475
|
+
## Output
|
|
476
|
+
|
|
477
|
+
Generate all files and provide:
|
|
478
|
+
1. List of created files
|
|
479
|
+
2. DI registration code to add
|
|
480
|
+
3. Migration command to run
|
|
481
|
+
4. Endpoint routes summary
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
# Project Context - {{PROJECT_NAME}}
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
- **Project Name**: {{PROJECT_NAME}}
|
|
6
|
+
- **Technology Stack**: {{TECH_STACK}}
|
|
7
|
+
- **Framework**: .NET {{DOTNET_VERSION}}
|
|
8
|
+
- **Architecture**: Clean Architecture with CQRS
|
|
9
|
+
|
|
10
|
+
## Project Structure
|
|
11
|
+
|
|
12
|
+
```
|
|
13
|
+
{{PROJECT_NAME}}/
|
|
14
|
+
├── src/
|
|
15
|
+
│ ├── {{PROJECT_NAME}}.Domain/
|
|
16
|
+
│ │ ├── Entities/
|
|
17
|
+
│ │ ├── ValueObjects/
|
|
18
|
+
│ │ ├── Events/
|
|
19
|
+
│ │ ├── Exceptions/
|
|
20
|
+
│ │ └── Interfaces/
|
|
21
|
+
│ │
|
|
22
|
+
│ ├── {{PROJECT_NAME}}.Application/
|
|
23
|
+
│ │ ├── Common/
|
|
24
|
+
│ │ │ ├── Behaviors/
|
|
25
|
+
│ │ │ ├── Interfaces/
|
|
26
|
+
│ │ │ ├── Mappings/
|
|
27
|
+
│ │ │ └── Models/
|
|
28
|
+
│ │ └── Features/
|
|
29
|
+
│ │
|
|
30
|
+
│ ├── {{PROJECT_NAME}}.Infrastructure/
|
|
31
|
+
│ │ ├── Data/
|
|
32
|
+
│ │ ├── Identity/
|
|
33
|
+
│ │ └── Services/
|
|
34
|
+
│ │
|
|
35
|
+
│ └── {{PROJECT_NAME}}.WebAPI/
|
|
36
|
+
│ ├── Controllers/ or Endpoints/
|
|
37
|
+
│ ├── Middleware/
|
|
38
|
+
│ └── Program.cs
|
|
39
|
+
│
|
|
40
|
+
├── tests/
|
|
41
|
+
│ ├── {{PROJECT_NAME}}.Domain.UnitTests/
|
|
42
|
+
│ ├── {{PROJECT_NAME}}.Application.UnitTests/
|
|
43
|
+
│ ├── {{PROJECT_NAME}}.Infrastructure.IntegrationTests/
|
|
44
|
+
│ └── {{PROJECT_NAME}}.WebAPI.FunctionalTests/
|
|
45
|
+
│
|
|
46
|
+
└── docker-compose.yml
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
## Domain Entities
|
|
50
|
+
|
|
51
|
+
<!-- List your main domain entities here -->
|
|
52
|
+
- Entity1
|
|
53
|
+
- Entity2
|
|
54
|
+
|
|
55
|
+
## External Services
|
|
56
|
+
|
|
57
|
+
<!-- List external service integrations -->
|
|
58
|
+
- Database: PostgreSQL / SQL Server
|
|
59
|
+
- Cache: Redis
|
|
60
|
+
- Message Queue: RabbitMQ
|
|
61
|
+
|
|
62
|
+
## Environment Configuration
|
|
63
|
+
|
|
64
|
+
```json
|
|
65
|
+
{
|
|
66
|
+
"ConnectionStrings": {
|
|
67
|
+
"DefaultConnection": "Host=localhost;Database={{PROJECT_NAME}};Username=...;Password=..."
|
|
68
|
+
},
|
|
69
|
+
"Jwt": {
|
|
70
|
+
"Issuer": "{{PROJECT_NAME}}",
|
|
71
|
+
"Audience": "{{PROJECT_NAME}}-api"
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
## Development Commands
|
|
77
|
+
|
|
78
|
+
```bash
|
|
79
|
+
# Build
|
|
80
|
+
dotnet build
|
|
81
|
+
|
|
82
|
+
# Run tests
|
|
83
|
+
dotnet test
|
|
84
|
+
|
|
85
|
+
# Run API
|
|
86
|
+
dotnet run --project src/{{PROJECT_NAME}}.WebAPI
|
|
87
|
+
|
|
88
|
+
# Add migration
|
|
89
|
+
dotnet ef migrations add MigrationName --project src/{{PROJECT_NAME}}.Infrastructure --startup-project src/{{PROJECT_NAME}}.WebAPI
|
|
90
|
+
|
|
91
|
+
# Update database
|
|
92
|
+
dotnet ef database update --project src/{{PROJECT_NAME}}.Infrastructure --startup-project src/{{PROJECT_NAME}}.WebAPI
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
## Team Conventions
|
|
96
|
+
|
|
97
|
+
<!-- Add project-specific conventions here -->
|
|
98
|
+
- Branch naming: feature/, bugfix/, hotfix/
|
|
99
|
+
- Commit format: Conventional Commits
|
|
100
|
+
- PR review required before merge
|