返回 Skill 列表
extension
分类: 开发与工程无需 API Key

shared-conventions

适用于所有应用程序/模块的项目范围约定和模式。使用场景:询问项目结构、编码标准或共享模式时。此技能适用于monorepo中的所有工作。

person作者: jakexiaohubgithub

Shared Conventions

This skill contains project-wide patterns that apply to all apps and modules.

Conventions

Commit Message Format

type(scope): description

Types: feat, fix, refactor, chore, docs, test
Scope: app name or module (e.g., booking, hermes, shared)

Code Organization

All apps follow this structure:

src/
├── domain/         # Business logic, entities, value objects
├── application/    # Use cases, services
└── infrastructure/ # Controllers, repositories, external APIs

Testing

  • Unit tests: *.spec.ts (alongside source files)
  • Integration tests: *.test.ts (alongside source files)