mx-review
Installation
SKILL.md
MX Space Code Review
Review code for project conventions. Target: $ARGUMENTS
Review Checklist
1. Controller Conventions
- Uses
@ApiController()instead of@Controller() - Paginated endpoints use
@HTTPDecorators.Paginator - Authenticated endpoints use
@Auth()decorator - Uses correct HTTP methods (GET/POST/PUT/DELETE)
- Parameter validation uses DTOs
- Return values follow response conventions (arrays auto-wrapped, objects returned directly)
2. Service Conventions
- Uses
@InjectModel()to inject models - Queries use
.lean()for plain objects
Related skills
More from mx-space/core
zod-patterns
MX Space project Zod schema patterns. Apply when creating DTOs, validation schemas, or handling request validation.
37api-conventions
MX Space API design conventions. Apply when writing controllers, API endpoints, or handling HTTP requests.
33run-test
Run tests. Supports running all tests, single file, or pattern-matched tests.
1create-e2e-test
Create E2E test file for a specified module. Use when adding end-to-end tests for controllers.
1create-migration
Create database migration file. Use when modifying database structure, migrating data, or updating config formats.
1create-module
Create a new NestJS module with controller, service, model, and schema files. Use when adding new feature modules, API endpoints, or business domains.
1