一键导入
web
Commands and workflows for Database, Testing, and Code Generation.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Commands and workflows for Database, Testing, and Code Generation.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | web |
| description | Commands and workflows for Database, Testing, and Code Generation. |
Whenever you need to change the database schema or add models:
schema.prisma. Edit prisma/schema.zmodel instead.pnpm db:generate If applying to local DB, run:
pnpm db:migrate
Verify data via pnpm db:studio.
Skill 2: Writing & Running Tests
When adding new features or fixing bugs, run the appropriate test suite:
Unit tests: pnpm test:unit
Integration tests: pnpm test:int
E2E (Playwright): pnpm test:e2e
Rule: Keep the whole test suite green. If tests fail, fix them before proceeding.
Skill 3: Code Generation & OpenAPI
If working with external APIs or generating docs:
Update Client API: pnpm gen:client (Parses OpenAPI to Axios).
Generate typedocs: pnpm doc:gen.
Skill 4: Project Context Extraction
If you need to understand dependencies or code structure, do not guess. Run:
pnpm arch:dump cat arch/dependencies_list.txt