tech-lead/technical-standards
SkillDev toolsTechnical standards and best practices to ensure code quality and consistency
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the tech-lead/technical-standards skill
What this skill tells your AI
The instructions your AI receives, as published by echovic/boss-skill in skill/skills/tech-lead/technical-standards/SKILL.md and read by ahel’s review.
命名规范
| 类型 | 规范 | 示例 |
|---|---|---|
| 变量 | camelCase | userName, isActive |
| 常量 | UPPER_SNAKE_CASE | MAX_COUNT, API_URL |
| 函数 | camelCase | getUserById, calculateTotal |
| 类 | PascalCase | UserService, OrderController |
| 文件 | kebab-case | user-service.ts, order-controller.ts |
代码组织
- 单一职责:每个函数/类只做一件事
- DRY原则:不要重复代码
- KISS原则:保持简单
- YAGNI原则:不要过度设计
错误处理
- 使用try-catch捕获异常
- 提供有意义的错误信息
- 记录错误日志
- 优雅降级
测试要求
- 单元测试覆盖率 ≥ 70%
- 关键路径必须有测试
- 测试要独立、可重复
Signals
- GitHub stars
- 555
- Forks
- 50
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
tech-lead-technical-standards- Source
- github.com/echovic/boss-skill