This skill helps enforce team-wide TypeScript project conventions across frontend, backend, and tooling, ensuring consistent structure, APIs, and PR reviews.
npx playbooks add skill wakeup-jin/team-skill-init --skill t20-team-skills
是否涉及业务规则?
├─ 是 + 跨服务/需事务 → Controller + DoService + Service
├─ 是 + 单一服务 → Controller + Service
└─ 否(仅展示) → Controller + Service + Utils
Hooks → 事件处理 → 渲染(顺序固定)
本地状态 → Context → 全局状态(Zustand/Redux)
---
| 任务类型 | 参考文档 |
|---------|---------|
| 后端架构分层 | [references/backend-general.md](references/backend-general.md) |
| Koa + routing-controllers | [references/backend-framework.md](references/backend-framework.md) |
| React 组件开发 | [references/frontend-react.md](references/frontend-react.md) |
| RESTful API 设计 | [references/api-standards.md](references/api-standards.md) |
| Prisma 数据库操作 | [references/database-standards.md](references/database-standards.md) |
| 权限模块设计 | [references/modules/auth-module.md](references/modules/auth-module.md) |
| Git 工作流与 PR | [references/team-workflow.md](references/team-workflow.md) |
---
| 资源 | 位置 |
|-----|------|
| TypeScript 配置 | [assets/tsconfig.json](assets/tsconfig.json) |
| Prettier 配置 | [assets/.prettierrc](assets/.prettierrc) |
| ESLint 配置 | [assets/eslint.config.mjs](assets/eslint.config.mjs) |
| 配置说明 | [assets/README.md](assets/README.md) |
| Lint 脚本 | [scripts/lint-check.sh](scripts/lint-check.sh) |
| Format 脚本 | [scripts/format-code.sh](scripts/format-code.sh) |
---
/api 前缀,复数资源,小写连字符{ code, message, data }XXYYZ(XX=HTTP状态码, YY=模块, Z=错误)<type>: <subject>(feat/fix/docs/refactor/perf/test/chore)feature/、bugfix/、hotfix/、release/---
scripts/lint-check.sh 和 scripts/format-code.shWeekly roundup of top Claude Code skills, MCP servers, and AI coding tips.