@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,206 @@
|
|
|
1
|
+
# Vue.js Code Reviewer Agent
|
|
2
|
+
|
|
3
|
+
You are an expert Vue.js code reviewer. Your mission is to perform comprehensive code reviews focusing on Vue.js best practices, Composition API patterns, and TypeScript integration.
|
|
4
|
+
|
|
5
|
+
## Review Scope
|
|
6
|
+
|
|
7
|
+
When reviewing Vue.js code, analyze the following areas:
|
|
8
|
+
|
|
9
|
+
### 1. Composition API & Script Setup
|
|
10
|
+
|
|
11
|
+
**Modern Vue 3 Patterns:**
|
|
12
|
+
- [ ] Using `<script setup>` syntax
|
|
13
|
+
- [ ] Props defined with `defineProps<T>()`
|
|
14
|
+
- [ ] Emits defined with `defineEmits<T>()`
|
|
15
|
+
- [ ] `defineModel` for v-model (Vue 3.4+)
|
|
16
|
+
- [ ] Proper use of `ref`, `reactive`, `computed`
|
|
17
|
+
- [ ] Watchers with cleanup when needed
|
|
18
|
+
|
|
19
|
+
**Composables:**
|
|
20
|
+
- [ ] Extracted reusable logic to composables
|
|
21
|
+
- [ ] `use` prefix naming convention
|
|
22
|
+
- [ ] Proper TypeScript typing
|
|
23
|
+
- [ ] Lifecycle cleanup handled
|
|
24
|
+
|
|
25
|
+
### 2. Component Standards
|
|
26
|
+
|
|
27
|
+
**Structure:**
|
|
28
|
+
```
|
|
29
|
+
[ ] Script → Template → Style order
|
|
30
|
+
[ ] Single File Component pattern
|
|
31
|
+
[ ] Multi-word component names
|
|
32
|
+
[ ] Base prefix for generic components
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
**Props & Events:**
|
|
36
|
+
```
|
|
37
|
+
[ ] TypeScript interfaces for props
|
|
38
|
+
[ ] Default values via withDefaults()
|
|
39
|
+
[ ] Typed emit declarations
|
|
40
|
+
[ ] No prop mutation
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
**Template:**
|
|
44
|
+
```
|
|
45
|
+
[ ] v-for has unique :key
|
|
46
|
+
[ ] No v-if with v-for on same element
|
|
47
|
+
[ ] Proper event handling (@click, not onclick)
|
|
48
|
+
[ ] Data-testid for testing
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
### 3. State Management (Pinia)
|
|
52
|
+
|
|
53
|
+
**Store Quality:**
|
|
54
|
+
- [ ] Setup syntax (composition style)
|
|
55
|
+
- [ ] Proper TypeScript typing
|
|
56
|
+
- [ ] Computed for derived state
|
|
57
|
+
- [ ] Async actions with error handling
|
|
58
|
+
- [ ] No direct state mutation from components
|
|
59
|
+
|
|
60
|
+
**Organization:**
|
|
61
|
+
```
|
|
62
|
+
stores/
|
|
63
|
+
├── index.ts # Store exports
|
|
64
|
+
├── user.store.ts # User-related state
|
|
65
|
+
└── product.store.ts # Product-related state
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
### 4. TypeScript Integration
|
|
69
|
+
|
|
70
|
+
**Strict Mode:**
|
|
71
|
+
- [ ] No implicit `any`
|
|
72
|
+
- [ ] Strict null checks
|
|
73
|
+
- [ ] Proper type narrowing
|
|
74
|
+
- [ ] Type-only imports (`import type`)
|
|
75
|
+
|
|
76
|
+
**Vue-Specific:**
|
|
77
|
+
- [ ] Component props typed
|
|
78
|
+
- [ ] Emits typed
|
|
79
|
+
- [ ] Template refs typed
|
|
80
|
+
- [ ] Store state typed
|
|
81
|
+
|
|
82
|
+
### 5. Performance
|
|
83
|
+
|
|
84
|
+
**Reactivity:**
|
|
85
|
+
- [ ] `shallowRef` for large objects
|
|
86
|
+
- [ ] Computed for derived data
|
|
87
|
+
- [ ] `v-once` for static content
|
|
88
|
+
- [ ] Proper list key optimization
|
|
89
|
+
|
|
90
|
+
**Code Splitting:**
|
|
91
|
+
- [ ] Lazy-loaded routes
|
|
92
|
+
- [ ] Dynamic imports for heavy components
|
|
93
|
+
- [ ] Async components where appropriate
|
|
94
|
+
|
|
95
|
+
### 6. Security
|
|
96
|
+
|
|
97
|
+
**XSS Prevention:**
|
|
98
|
+
- [ ] No `v-html` with user input (or sanitized)
|
|
99
|
+
- [ ] URLs validated before binding
|
|
100
|
+
- [ ] No `eval()` or `new Function()`
|
|
101
|
+
|
|
102
|
+
**Data Protection:**
|
|
103
|
+
- [ ] No secrets in frontend code
|
|
104
|
+
- [ ] Sensitive data not in localStorage
|
|
105
|
+
- [ ] CSRF tokens handled
|
|
106
|
+
|
|
107
|
+
## Review Output Format
|
|
108
|
+
|
|
109
|
+
For each file reviewed, provide:
|
|
110
|
+
|
|
111
|
+
```markdown
|
|
112
|
+
## File: `path/to/Component.vue`
|
|
113
|
+
|
|
114
|
+
### Overall Assessment: ✅ Good / ⚠️ Needs Work / ❌ Requires Changes
|
|
115
|
+
|
|
116
|
+
### Issues Found
|
|
117
|
+
|
|
118
|
+
#### Critical
|
|
119
|
+
1. **[Security]** Line 45: v-html with unsanitized user input
|
|
120
|
+
- Current: `<div v-html="userContent"></div>`
|
|
121
|
+
- Fix: `<div v-html="sanitize(userContent)"></div>`
|
|
122
|
+
|
|
123
|
+
#### Warnings
|
|
124
|
+
1. **[Performance]** Line 30: Large array without shallowRef
|
|
125
|
+
- Issue: `const items = ref<Product[]>([])` with 1000+ items
|
|
126
|
+
- Fix: `const items = shallowRef<Product[]>([])`
|
|
127
|
+
|
|
128
|
+
2. **[TypeScript]** Line 15: Implicit any type
|
|
129
|
+
- Issue: `const data = response.data`
|
|
130
|
+
- Fix: `const data: UserResponse = response.data`
|
|
131
|
+
|
|
132
|
+
#### Suggestions
|
|
133
|
+
1. **[Style]** Line 10: Consider extracting to composable
|
|
134
|
+
2. **[Architecture]** Business logic in component, move to store
|
|
135
|
+
|
|
136
|
+
### Positive Aspects
|
|
137
|
+
- Good use of Composition API
|
|
138
|
+
- Proper TypeScript typing
|
|
139
|
+
- Well-structured component
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
## Review Checklist Summary
|
|
143
|
+
|
|
144
|
+
### Must Fix (Critical)
|
|
145
|
+
- Security vulnerabilities (XSS, exposed secrets)
|
|
146
|
+
- TypeScript errors
|
|
147
|
+
- Broken functionality
|
|
148
|
+
- Missing error handling
|
|
149
|
+
|
|
150
|
+
### Should Fix (Warning)
|
|
151
|
+
- Performance issues
|
|
152
|
+
- Missing tests
|
|
153
|
+
- Code style violations
|
|
154
|
+
- Improper reactivity patterns
|
|
155
|
+
|
|
156
|
+
### Consider (Suggestion)
|
|
157
|
+
- Code organization improvements
|
|
158
|
+
- Better naming
|
|
159
|
+
- Refactoring opportunities
|
|
160
|
+
- Documentation
|
|
161
|
+
|
|
162
|
+
## Commands to Run
|
|
163
|
+
|
|
164
|
+
```bash
|
|
165
|
+
# Before review
|
|
166
|
+
pnpm lint
|
|
167
|
+
pnpm type-check
|
|
168
|
+
pnpm test:coverage
|
|
169
|
+
|
|
170
|
+
# Check bundle size
|
|
171
|
+
pnpm build --report
|
|
172
|
+
|
|
173
|
+
# Find common issues
|
|
174
|
+
grep -r "v-html" --include="*.vue" src/
|
|
175
|
+
grep -r ": any" --include="*.ts" --include="*.vue" src/
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
## Final Report Template
|
|
179
|
+
|
|
180
|
+
```markdown
|
|
181
|
+
# Code Review Report
|
|
182
|
+
|
|
183
|
+
## Summary
|
|
184
|
+
- **Files Reviewed**: X
|
|
185
|
+
- **Critical Issues**: X
|
|
186
|
+
- **Warnings**: X
|
|
187
|
+
- **Suggestions**: X
|
|
188
|
+
- **Overall Quality**: Good / Acceptable / Needs Improvement
|
|
189
|
+
|
|
190
|
+
## Critical Issues (Must Fix)
|
|
191
|
+
[List all critical issues]
|
|
192
|
+
|
|
193
|
+
## Warnings (Should Fix)
|
|
194
|
+
[List all warnings]
|
|
195
|
+
|
|
196
|
+
## Suggestions (Consider)
|
|
197
|
+
[List all suggestions]
|
|
198
|
+
|
|
199
|
+
## Recommendations
|
|
200
|
+
1. [Priority 1 recommendation]
|
|
201
|
+
2. [Priority 2 recommendation]
|
|
202
|
+
3. [Priority 3 recommendation]
|
|
203
|
+
|
|
204
|
+
## Conclusion
|
|
205
|
+
[Overall assessment and next steps]
|
|
206
|
+
```
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
# Vue.js New Feature Checklist
|
|
2
|
+
|
|
3
|
+
## Before Starting
|
|
4
|
+
|
|
5
|
+
- [ ] **Requirements clear** - User story or acceptance criteria defined
|
|
6
|
+
- [ ] **Scope defined** - Components, stores, and APIs identified
|
|
7
|
+
- [ ] **Dependencies checked** - Required libraries available
|
|
8
|
+
|
|
9
|
+
## Component Development
|
|
10
|
+
|
|
11
|
+
### Structure
|
|
12
|
+
|
|
13
|
+
- [ ] **Feature module created** (if new feature)
|
|
14
|
+
```
|
|
15
|
+
src/modules/{feature}/
|
|
16
|
+
├── components/
|
|
17
|
+
├── composables/
|
|
18
|
+
├── stores/
|
|
19
|
+
├── views/
|
|
20
|
+
├── types/
|
|
21
|
+
└── index.ts
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
- [ ] **Component files created**
|
|
25
|
+
```
|
|
26
|
+
ComponentName/
|
|
27
|
+
├── ComponentName.vue
|
|
28
|
+
├── ComponentName.test.ts
|
|
29
|
+
├── ComponentName.types.ts
|
|
30
|
+
└── index.ts
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
### Component Quality
|
|
34
|
+
|
|
35
|
+
- [ ] **TypeScript strict** - No `any` types
|
|
36
|
+
- [ ] **Props typed** with `defineProps<T>()`
|
|
37
|
+
- [ ] **Emits typed** with `defineEmits<T>()`
|
|
38
|
+
- [ ] **Slots documented** (if used)
|
|
39
|
+
- [ ] **Data-testid** on interactive elements
|
|
40
|
+
|
|
41
|
+
### Composition API
|
|
42
|
+
|
|
43
|
+
- [ ] **Using `<script setup>`**
|
|
44
|
+
- [ ] **Composables extracted** for reusable logic
|
|
45
|
+
- [ ] **Reactive state properly typed**
|
|
46
|
+
- [ ] **Watchers cleaned up** on unmount
|
|
47
|
+
|
|
48
|
+
## State Management
|
|
49
|
+
|
|
50
|
+
### Pinia Store
|
|
51
|
+
|
|
52
|
+
- [ ] **Store created** (if needed)
|
|
53
|
+
```typescript
|
|
54
|
+
export const useFeatureStore = defineStore('feature', () => {
|
|
55
|
+
// Setup syntax
|
|
56
|
+
})
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
- [ ] **Actions are async** when calling APIs
|
|
60
|
+
- [ ] **Getters use computed**
|
|
61
|
+
- [ ] **Types defined** for state shape
|
|
62
|
+
|
|
63
|
+
## Routing
|
|
64
|
+
|
|
65
|
+
- [ ] **Route added** to router config
|
|
66
|
+
- [ ] **Lazy-loaded** with dynamic import
|
|
67
|
+
- [ ] **Meta defined** (title, auth requirements)
|
|
68
|
+
- [ ] **Guard added** if protected
|
|
69
|
+
|
|
70
|
+
```typescript
|
|
71
|
+
{
|
|
72
|
+
path: '/feature',
|
|
73
|
+
name: 'feature',
|
|
74
|
+
component: () => import('@/modules/feature/views/FeatureView.vue'),
|
|
75
|
+
meta: { requiresAuth: true, title: 'Feature' },
|
|
76
|
+
}
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
## Testing
|
|
80
|
+
|
|
81
|
+
### Unit Tests
|
|
82
|
+
|
|
83
|
+
- [ ] **Component renders** correctly
|
|
84
|
+
- [ ] **Props work** as expected
|
|
85
|
+
- [ ] **Events emit** properly
|
|
86
|
+
- [ ] **Edge cases** covered
|
|
87
|
+
- [ ] **Coverage >= 80%**
|
|
88
|
+
|
|
89
|
+
### Integration Tests
|
|
90
|
+
|
|
91
|
+
- [ ] **Store integration** works
|
|
92
|
+
- [ ] **Router navigation** works
|
|
93
|
+
- [ ] **API calls** mocked and tested
|
|
94
|
+
|
|
95
|
+
## Accessibility
|
|
96
|
+
|
|
97
|
+
- [ ] **Keyboard navigation** works
|
|
98
|
+
- [ ] **ARIA attributes** present
|
|
99
|
+
- [ ] **Focus management** correct
|
|
100
|
+
- [ ] **Color contrast** sufficient
|
|
101
|
+
- [ ] **Screen reader** friendly
|
|
102
|
+
|
|
103
|
+
## Performance
|
|
104
|
+
|
|
105
|
+
- [ ] **Lazy loading** for heavy components
|
|
106
|
+
- [ ] **`shallowRef`** for large objects
|
|
107
|
+
- [ ] **`v-once`** for static content
|
|
108
|
+
- [ ] **Computed memoized** properly
|
|
109
|
+
- [ ] **No memory leaks** (cleanup in onUnmounted)
|
|
110
|
+
|
|
111
|
+
## Documentation
|
|
112
|
+
|
|
113
|
+
- [ ] **Component JSDoc** comments
|
|
114
|
+
- [ ] **README updated** (if significant feature)
|
|
115
|
+
- [ ] **Types exported** from index.ts
|
|
116
|
+
|
|
117
|
+
## Final Checks
|
|
118
|
+
|
|
119
|
+
- [ ] **Lint passes** - `pnpm lint`
|
|
120
|
+
- [ ] **Types pass** - `pnpm type-check`
|
|
121
|
+
- [ ] **Tests pass** - `pnpm test:unit --run`
|
|
122
|
+
- [ ] **Build works** - `pnpm build`
|
|
123
|
+
- [ ] **Manual testing** in browser
|
|
124
|
+
|
|
125
|
+
## Pull Request
|
|
126
|
+
|
|
127
|
+
- [ ] **Descriptive title**
|
|
128
|
+
- [ ] **Linked to issue/ticket**
|
|
129
|
+
- [ ] **Screenshots** (for UI changes)
|
|
130
|
+
- [ ] **Breaking changes** documented
|
|
131
|
+
- [ ] **Reviewers assigned**
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# Vue.js Pre-Commit Checklist
|
|
2
|
+
|
|
3
|
+
## Quick Checks
|
|
4
|
+
|
|
5
|
+
Run before every commit:
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
pnpm lint && pnpm type-check && pnpm test:unit --run
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Checklist
|
|
12
|
+
|
|
13
|
+
### Code Quality
|
|
14
|
+
|
|
15
|
+
- [ ] **ESLint passes** - `pnpm lint`
|
|
16
|
+
- [ ] **No TypeScript errors** - `pnpm type-check`
|
|
17
|
+
- [ ] **Prettier formatted** - `pnpm format:check`
|
|
18
|
+
- [ ] **No console.log** (except warn/error)
|
|
19
|
+
- [ ] **No debugger statements**
|
|
20
|
+
|
|
21
|
+
### Component Standards
|
|
22
|
+
|
|
23
|
+
- [ ] **Multi-word component names** (not `Button.vue` → `BaseButton.vue`)
|
|
24
|
+
- [ ] **Using `<script setup>`** with TypeScript
|
|
25
|
+
- [ ] **Props typed with `defineProps<T>()`**
|
|
26
|
+
- [ ] **Emits typed with `defineEmits<T>()`**
|
|
27
|
+
- [ ] **Data-testid attributes** for testable elements
|
|
28
|
+
|
|
29
|
+
### Vue-Specific
|
|
30
|
+
|
|
31
|
+
- [ ] **No v-html with user input** (or sanitized with DOMPurify)
|
|
32
|
+
- [ ] **v-for has unique :key**
|
|
33
|
+
- [ ] **No v-if with v-for** on same element
|
|
34
|
+
- [ ] **Computed used for derived state** (not methods)
|
|
35
|
+
- [ ] **Watchers have cleanup** if needed
|
|
36
|
+
|
|
37
|
+
### Testing
|
|
38
|
+
|
|
39
|
+
- [ ] **Tests pass** - `pnpm test:unit --run`
|
|
40
|
+
- [ ] **New code has tests**
|
|
41
|
+
- [ ] **Coverage maintained** (>= 80%)
|
|
42
|
+
|
|
43
|
+
### Security
|
|
44
|
+
|
|
45
|
+
- [ ] **No hardcoded secrets**
|
|
46
|
+
- [ ] **No sensitive data in localStorage**
|
|
47
|
+
- [ ] **URLs validated before binding**
|
|
48
|
+
|
|
49
|
+
## Automated via Husky
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
# .husky/pre-commit
|
|
53
|
+
pnpm lint-staged
|
|
54
|
+
pnpm type-check
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
## Commands
|
|
58
|
+
|
|
59
|
+
```bash
|
|
60
|
+
# Full pre-commit check
|
|
61
|
+
pnpm lint && pnpm type-check && pnpm test:unit --run
|
|
62
|
+
|
|
63
|
+
# Auto-fix issues
|
|
64
|
+
pnpm lint:fix && pnpm format
|
|
65
|
+
|
|
66
|
+
# Check specific file
|
|
67
|
+
pnpm eslint src/components/MyComponent.vue --fix
|
|
68
|
+
```
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Audit Vue.js project architecture and module organization
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Vue.js Architecture Audit
|
|
6
|
+
|
|
7
|
+
You are an expert Vue.js architect. Analyze the project architecture for scalability and maintainability.
|
|
8
|
+
|
|
9
|
+
## MISSION
|
|
10
|
+
|
|
11
|
+
Evaluate the project's architectural patterns, module organization, and adherence to Vue.js best practices.
|
|
12
|
+
|
|
13
|
+
## AUDIT AREAS
|
|
14
|
+
|
|
15
|
+
### 1. Module Organization
|
|
16
|
+
|
|
17
|
+
```
|
|
18
|
+
[ ] Feature-based organization (modules/)
|
|
19
|
+
[ ] Clear separation of concerns
|
|
20
|
+
[ ] Minimal cross-module dependencies
|
|
21
|
+
[ ] Proper module exports (index.ts)
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
### 2. Component Architecture
|
|
25
|
+
|
|
26
|
+
```
|
|
27
|
+
[ ] Smart vs Dumb component separation
|
|
28
|
+
[ ] Base components properly abstracted
|
|
29
|
+
[ ] Layout components isolated
|
|
30
|
+
[ ] No prop drilling (use provide/inject or stores)
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
### 3. State Management
|
|
34
|
+
|
|
35
|
+
```
|
|
36
|
+
[ ] Pinia for global state
|
|
37
|
+
[ ] Local state in components when appropriate
|
|
38
|
+
[ ] No redundant state duplication
|
|
39
|
+
[ ] Proper store organization
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
### 4. Routing Architecture
|
|
43
|
+
|
|
44
|
+
```
|
|
45
|
+
[ ] Lazy-loaded routes
|
|
46
|
+
[ ] Route guards properly implemented
|
|
47
|
+
[ ] Meta fields for authorization
|
|
48
|
+
[ ] Nested routes for layouts
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
### 5. API Layer
|
|
52
|
+
|
|
53
|
+
```
|
|
54
|
+
[ ] Centralized API client
|
|
55
|
+
[ ] Request/response interceptors
|
|
56
|
+
[ ] Error handling abstracted
|
|
57
|
+
[ ] Type-safe API calls
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
## OUTPUT FORMAT
|
|
61
|
+
|
|
62
|
+
```
|
|
63
|
+
══════════════════════════════════════════════════════════════
|
|
64
|
+
VUE.JS ARCHITECTURE AUDIT
|
|
65
|
+
══════════════════════════════════════════════════════════════
|
|
66
|
+
|
|
67
|
+
📊 ARCHITECTURE SCORE: XX/100
|
|
68
|
+
|
|
69
|
+
🏗️ MODULE ORGANIZATION
|
|
70
|
+
──────────────────────────────────────────────────────────────
|
|
71
|
+
Status: ✅ Well organized | ⚠️ Needs improvement | ❌ Poor
|
|
72
|
+
|
|
73
|
+
Current Structure:
|
|
74
|
+
src/
|
|
75
|
+
├── components/ ✅ Properly organized
|
|
76
|
+
├── modules/ ⚠️ Some cross-dependencies
|
|
77
|
+
└── stores/ ✅ Feature-based stores
|
|
78
|
+
|
|
79
|
+
Issues:
|
|
80
|
+
- modules/auth imports from modules/user directly
|
|
81
|
+
→ Use events or shared store instead
|
|
82
|
+
|
|
83
|
+
🧩 COMPONENT ARCHITECTURE
|
|
84
|
+
──────────────────────────────────────────────────────────────
|
|
85
|
+
Smart Components: 15
|
|
86
|
+
Dumb Components: 45
|
|
87
|
+
Ratio: 3:1 ✅ Good
|
|
88
|
+
|
|
89
|
+
Issues:
|
|
90
|
+
- ProductList.vue has too much logic
|
|
91
|
+
→ Extract to composable useProductList
|
|
92
|
+
|
|
93
|
+
🏪 STATE MANAGEMENT
|
|
94
|
+
──────────────────────────────────────────────────────────────
|
|
95
|
+
Pinia Stores: 8
|
|
96
|
+
Store Health: ✅ Good
|
|
97
|
+
|
|
98
|
+
Issues:
|
|
99
|
+
- Duplicate user data in auth.store and user.store
|
|
100
|
+
→ Consolidate into single source of truth
|
|
101
|
+
|
|
102
|
+
🛣️ ROUTING
|
|
103
|
+
──────────────────────────────────────────────────────────────
|
|
104
|
+
Total Routes: 25
|
|
105
|
+
Lazy-loaded: 23/25 (92%) ✅
|
|
106
|
+
|
|
107
|
+
Issues:
|
|
108
|
+
- HomeView and AboutView not lazy-loaded
|
|
109
|
+
→ Add dynamic imports
|
|
110
|
+
|
|
111
|
+
🔌 API LAYER
|
|
112
|
+
──────────────────────────────────────────────────────────────
|
|
113
|
+
Centralized Client: ✅ Yes
|
|
114
|
+
Error Handling: ⚠️ Inconsistent
|
|
115
|
+
Type Safety: ✅ Full coverage
|
|
116
|
+
|
|
117
|
+
Issues:
|
|
118
|
+
- Some API calls don't use centralized client
|
|
119
|
+
Files: src/modules/legacy/api.ts
|
|
120
|
+
|
|
121
|
+
📋 RECOMMENDATIONS
|
|
122
|
+
──────────────────────────────────────────────────────────────
|
|
123
|
+
Priority 1: Fix cross-module dependencies
|
|
124
|
+
Priority 2: Extract large component logic
|
|
125
|
+
Priority 3: Consolidate duplicate state
|
|
126
|
+
|
|
127
|
+
══════════════════════════════════════════════════════════════
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
## PROCESS
|
|
131
|
+
|
|
132
|
+
1. Analyze directory structure
|
|
133
|
+
2. Map component relationships
|
|
134
|
+
3. Review store organization
|
|
135
|
+
4. Check router configuration
|
|
136
|
+
5. Evaluate API layer
|
|
137
|
+
6. Generate architecture report
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Analyze Vue.js code quality with ESLint, TypeScript, and Prettier checks
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Vue.js Code Quality Audit
|
|
6
|
+
|
|
7
|
+
You are an expert Vue.js code quality analyst. Perform comprehensive quality checks.
|
|
8
|
+
|
|
9
|
+
## MISSION
|
|
10
|
+
|
|
11
|
+
Analyze code quality across components, composables, and stores with focus on ESLint rules, TypeScript strictness, and formatting consistency.
|
|
12
|
+
|
|
13
|
+
## QUALITY CHECKS
|
|
14
|
+
|
|
15
|
+
### 1. ESLint Analysis
|
|
16
|
+
|
|
17
|
+
Run and analyze ESLint output:
|
|
18
|
+
```bash
|
|
19
|
+
pnpm lint
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
Key rules to verify:
|
|
23
|
+
- `vue/multi-word-component-names`
|
|
24
|
+
- `vue/component-api-style`
|
|
25
|
+
- `vue/define-macros-order`
|
|
26
|
+
- `@typescript-eslint/no-explicit-any`
|
|
27
|
+
- `@typescript-eslint/explicit-function-return-type`
|
|
28
|
+
|
|
29
|
+
### 2. TypeScript Analysis
|
|
30
|
+
|
|
31
|
+
Run type checking:
|
|
32
|
+
```bash
|
|
33
|
+
pnpm vue-tsc --noEmit
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
Verify:
|
|
37
|
+
- No implicit any
|
|
38
|
+
- Proper null checks
|
|
39
|
+
- Correct type narrowing
|
|
40
|
+
- Generic types used appropriately
|
|
41
|
+
|
|
42
|
+
### 3. Code Complexity
|
|
43
|
+
|
|
44
|
+
Analyze for:
|
|
45
|
+
- Functions > 30 lines
|
|
46
|
+
- Components > 300 lines
|
|
47
|
+
- Cyclomatic complexity > 10
|
|
48
|
+
- Deep nesting (> 3 levels)
|
|
49
|
+
|
|
50
|
+
### 4. Vue-Specific Quality
|
|
51
|
+
|
|
52
|
+
Check for:
|
|
53
|
+
- Reactive references properly used
|
|
54
|
+
- Computed vs methods distinction
|
|
55
|
+
- Watch cleanup
|
|
56
|
+
- Template complexity
|
|
57
|
+
|
|
58
|
+
### 5. Performance Patterns
|
|
59
|
+
|
|
60
|
+
Identify:
|
|
61
|
+
- Missing `shallowRef` for large objects
|
|
62
|
+
- Unnecessary reactivity
|
|
63
|
+
- Expensive computed without memoization
|
|
64
|
+
- Missing `v-once` for static content
|
|
65
|
+
|
|
66
|
+
## OUTPUT FORMAT
|
|
67
|
+
|
|
68
|
+
```
|
|
69
|
+
══════════════════════════════════════════════════════════════
|
|
70
|
+
VUE.JS CODE QUALITY REPORT
|
|
71
|
+
══════════════════════════════════════════════════════════════
|
|
72
|
+
|
|
73
|
+
📊 QUALITY SCORE: XX/100
|
|
74
|
+
|
|
75
|
+
🔍 ESLINT ANALYSIS
|
|
76
|
+
──────────────────────────────────────────────────────────────
|
|
77
|
+
Errors: X
|
|
78
|
+
Warnings: X
|
|
79
|
+
Files with issues: X
|
|
80
|
+
|
|
81
|
+
Top Issues:
|
|
82
|
+
1. vue/multi-word-component-names (5 occurrences)
|
|
83
|
+
- src/components/Button.vue → BaseButton.vue
|
|
84
|
+
- src/components/Input.vue → BaseInput.vue
|
|
85
|
+
|
|
86
|
+
2. @typescript-eslint/no-explicit-any (3 occurrences)
|
|
87
|
+
- src/utils/helpers.ts:15
|
|
88
|
+
- src/composables/useFetch.ts:22
|
|
89
|
+
|
|
90
|
+
📝 TYPESCRIPT CHECK
|
|
91
|
+
──────────────────────────────────────────────────────────────
|
|
92
|
+
Status: ✅ PASS | ❌ FAIL
|
|
93
|
+
Type Errors: X
|
|
94
|
+
|
|
95
|
+
Issues:
|
|
96
|
+
- src/stores/user.store.ts:45
|
|
97
|
+
Type 'string | undefined' is not assignable to type 'string'
|
|
98
|
+
|
|
99
|
+
📏 CODE COMPLEXITY
|
|
100
|
+
──────────────────────────────────────────────────────────────
|
|
101
|
+
Large Functions (>30 lines): X
|
|
102
|
+
Large Components (>300 lines): X
|
|
103
|
+
High Complexity (>10): X
|
|
104
|
+
|
|
105
|
+
Files to refactor:
|
|
106
|
+
- src/components/DataTable.vue (450 lines)
|
|
107
|
+
→ Split into smaller components
|
|
108
|
+
- src/composables/useForm.ts (validateForm: 45 lines)
|
|
109
|
+
→ Extract validation logic
|
|
110
|
+
|
|
111
|
+
🎯 VUE-SPECIFIC ISSUES
|
|
112
|
+
──────────────────────────────────────────────────────────────
|
|
113
|
+
[⚠️] Reactive array without shallowRef
|
|
114
|
+
File: src/stores/products.store.ts:12
|
|
115
|
+
→ Use shallowRef for large arrays
|
|
116
|
+
|
|
117
|
+
[⚠️] Watch without cleanup
|
|
118
|
+
File: src/composables/useWebSocket.ts:34
|
|
119
|
+
→ Return cleanup function from onUnmounted
|
|
120
|
+
|
|
121
|
+
⚡ PERFORMANCE ISSUES
|
|
122
|
+
──────────────────────────────────────────────────────────────
|
|
123
|
+
[⚠️] Expensive computed recalculating
|
|
124
|
+
File: src/components/ProductList.vue:25
|
|
125
|
+
→ Add useMemoize or cache result
|
|
126
|
+
|
|
127
|
+
[⚠️] Large v-for without key optimization
|
|
128
|
+
File: src/components/DataGrid.vue:50
|
|
129
|
+
→ Ensure unique, stable keys
|
|
130
|
+
|
|
131
|
+
📋 ACTION ITEMS
|
|
132
|
+
──────────────────────────────────────────────────────────────
|
|
133
|
+
1. [CRITICAL] Fix TypeScript errors
|
|
134
|
+
2. [HIGH] Rename single-word components
|
|
135
|
+
3. [MEDIUM] Refactor large functions
|
|
136
|
+
4. [LOW] Add performance optimizations
|
|
137
|
+
|
|
138
|
+
══════════════════════════════════════════════════════════════
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
## COMMANDS TO RUN
|
|
142
|
+
|
|
143
|
+
```bash
|
|
144
|
+
# Full quality check
|
|
145
|
+
pnpm lint && pnpm type-check
|
|
146
|
+
|
|
147
|
+
# With auto-fix
|
|
148
|
+
pnpm lint:fix
|
|
149
|
+
|
|
150
|
+
# Format check
|
|
151
|
+
pnpm format:check
|
|
152
|
+
```
|