All authors
mx-space avatar

Claude Skills by mx-space

github.com/mx-space
10 skillsA× 9B× 10 installs0 views
Api ConventionsA

MX Space API design conventions. Apply when writing controllers, API endpoints, or handling HTTP requests.

developmenttypescriptgo
0
531
Create E2e TestA

Create E2E test file for a specified module. Use when adding end-to-end tests for controllers or unit tests for services and repositories.

databasestypescriptgo
0
531
Create ModuleA

Create a new NestJS module with repository, service, controller, schema, and Drizzle table definition. Use when adding new feature modules, API endpoints, or business domains.

databasestypescriptgo
0
531
Mx Migration AuthorA

Author and review Drizzle SQL migrations safely for rolling deploys. Triggers when editing apps/core/src/database/schema/*.ts or apps/core/src/database/migrations/*.sql, when the user runs drizzle-kit generate, when "lint-migrations" reports a violation, or on prompts like "迁移", "改 schema", "alter table", "add a column", "drop column", "migration safety". Enforces the expand-contract pattern because mx-core ships rolling deploys (Dokploy, 2 replicas) where new and old pods coexist for tens of...

databasessqlapi
0
531
Mx Pg Controller MigrationA

Use when verifying and porting an mx-core controller (Post/Note/Page/Comment/Category/etc.) after the MongoDB→PostgreSQL cutover, or when its data shape no longer matches what api-client and admin-vue3 expect. Triggers on "校验 controller"、"check controller"、"迁移 controller"、"修复迁移后的接口"、"data missing after PG migration"、"related/category 字段丢了" and similar.

databasesrustgo
0
531
Mx ReviewA

Review code for MX Space project conventions. Checks NestJS patterns, Drizzle ORM repositories, Zod schemas, API design, etc.

code-qualitytypescriptgo
0
531
Mxs Cli Ai AuthorA

Use when an agent must inspect, draft, validate, edit, publish, unpublish, delete, or configure mx-space content through packages/cli or the mxs binary.

ai-agentsgobash
0
531
Release CoreB

Use when releasing mx-core server (apps/core), @mx-space/api-client, or @mx-space/cli (mxs) — version bump, changelog, git tag, Docker build, GitHub Release, and Dokploy redeploy. Triggers on "发版", "release a new version", "cut a release", "bump version", "publish api-client", "publish cli", "release mxs".

devopsrustbash
0
531
Run TestA

Run tests. Supports running all tests, single file, or pattern-matched tests.

testingbashnode
0
531
Zod PatternsA

MX Space project Zod schema patterns. Apply when creating DTOs, validation schemas, or handling request validation.

developmenttypescriptgo
0
531