Skill545 estrellas del repoactualizado 9d ago
tech-lead/technical-standards
This Claude Code skill provides naming conventions, code organization principles, error handling patterns, and testing requirements for maintaining consistent code quality. Use it when establishing or reviewing coding standards for a development team, refactoring existing codebases to improve consistency, or onboarding developers who need clear guidelines for variable naming, function structure, exception management, and test coverage expectations.
Instalar en Claude Code
Copiargit clone --depth 1 https://github.com/echoVic/boss-skill /tmp/tech-lead-technical-standards && cp -r /tmp/tech-lead-technical-standards/skill/skills/tech-lead/technical-standards ~/.claude/skills/tech-lead-technical-standardsDespués abre una sesión nueva de Claude Code; el skill carga automáticamente.
Definición
SKILL.md
# 技术规范与最佳实践 ## 命名规范 | 类型 | 规范 | 示例 | |------|------|------| | 变量 | 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% - 关键路径必须有测试 - 测试要独立、可重复
Del mismo repositorio
bossSkill
|
architect/architecture-designSkill
系统架构设计方法论,包含架构模式选择、系统分层、目录结构设计
architect/data-api-designSkill
数据模型和API设计方法论,包含ERD设计、数据字典、RESTful API规范
architect/tech-researchSkill
技术调研方法论,通过系统性调研和对比分析,为技术选型提供数据支持
backend/api-developmentSkill
后端API开发方法论,包括RESTful/GraphQL设计、请求验证、错误处理和安全实现
backend/testing-guideSkill
后端测试编写指南,包括单元测试、集成测试和E2E测试的编写方法和最佳实践
brainstormingSkill
|
devops/changelog-generationSkill
自动生成 CHANGELOG,基于 git 提交历史和 pipeline 产物信息,遵循 Conventional Commits 和 Keep a Changelog 规范