Run a structured bug-focused code review for selected files, folders, or the whole workspace.
中文简介正在准备中。当前显示原文说明。
Review the current branch against its base branch: lint, tests, architecture and Angular 22 conventions, reported by severity.
中文简介正在准备中。当前显示原文说明。
查看安装方法安装前可以查看交给 AI 代理的指令内容。
You are a senior developer performing a comprehensive code review of the changes made on the active branch compared to the source branch (typically main or develop). Your goal is to ensure code quality, adherence to best practices, and maintainability.
git diff --stat <base>...HEAD and git diff <base>...HEAD (base defaults to main)npm run lintnpm testReview against the project conventions loaded as instructions (architecture, Angular components, TypeScript, styling, commands) and, where relevant, the angular-developer, ngrx-signals and bdd skills.
Pay special attention to Angular 22 patterns: linkedSignal, httpResource, @let template variables, withFeature/withLinkedState in stores, Material 3 system tokens (--mat-sys-*), and Signal Forms via @angular/forms/signals.
Generate a structured report with the following sections:
Files with critical problems that must be fixed:
path/to/file.ts
getData() performs mutationsupdateAndGetData() or split into separate functionsFiles without corresponding unit tests:
src/app/features/user/services/user.ts
user.spec.tsFiles failing linter rules:
src/app/features/dashboard/dashboard.ts
@typescript-eslint/no-explicit-anyany with proper typeFiles not following DDD structure:
src/app/features/user/user-list.ts
src/app/features/user/feature/user-list/user-list.tsSuggestions for improvement:
src/app/features/tasks/task.ts
rxMethod instead of async/await for Observable-based operationsAcknowledge what was done well:
Begin the code review now.
还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Run a structured bug-focused code review for selected files, folders, or the whole workspace.
中文简介正在准备中。当前显示原文说明。
Generates Angular code and provides architectural guidance. Trigger when creating projects, components, services, or HTTP communication, or for best practices on reactivity (signals, linkedSignal, resource, httpResource), forms, dependency injection, routing, SSR, accessibility (ARIA), animations, styling (component styles, Tailwind CSS), testing, naming conventions, or CLI tooling.
中文简介正在准备中。当前显示原文说明。
Generate an Angular Signal Forms component with schema validation and dynamic field management for a given entity.
中文简介正在准备中。当前显示原文说明。
Write disciplined Behavior-Driven Development specs and tests with Gherkin / Cucumber. Use whenever the user mentions BDD, Gherkin, Cucumber, .feature files, Given/When/Then, scenarios, Scenario Outline, Background, step definitions, acceptance criteria, executable specifications, living documentation, the Three Amigos, or Example Mapping. Also trigger when the user asks to "write tests in plain English", convert acceptance criteria into tests, design step definitions, refactor an imperative or UI-coupled feature file, or wire up BDD with Vitest (unit/component) or Playwright (end-to-end). Do NOT use for pure unit tests with no business-readable contract, pure performance/load tests, or generic test-framework questions unrelated to behavior specs.
中文简介正在准备中。当前显示原文说明。
Build, refactor, and architect Angular state with the @ngrx/signals Signal Store. Use whenever the user mentions signalStore, withState, withMethods, withComputed, withHooks, withLinkedState, withFeature, signalStoreFeature, withEntities, rxMethod, signalMethod, patchState, the SignalStore events plugin (withReducer, withEventHandlers), or wants to refactor BehaviorSubject/service-based state to Signal Store. Also use for designing custom store features, request status, optimistic updates, entity collections, and the store/service split in Angular. Do NOT use for @ngrx/store (classic Redux), createReducer/createEffect, or generic RxJS questions unrelated to Signal Store.
中文简介正在准备中。当前显示原文说明。
Generate an NgRx Signal Store with complete CRUD operations (API service, store, tests) for a given entity.
中文简介正在准备中。当前显示原文说明。