Skip to content
Development
Skill

/technical-standards

技术规范和最佳实践,确保代码质量和一致性

From plugin
boss
54938 skills16 agents10 commands

Claude Code

$ npx -y skills add echoVic/boss-skill --skill technical-standards --agent claude-code

SKILL.md

technical-standards.SKILL.md
name: tech-lead/technical-standards
description: 技术规范和最佳实践,确保代码质量和一致性
version: 1.0.0
agent: tech-lead
type: guideline
user-invocable: false
agent-invocable: true
dependencies:
- shared/tech-stack-detection
  triggers:
- 需要定义技术规范时
- 需要统一代码风格时
  metadata:
  internal: true

技术规范与最佳实践

命名规范

| 类型 | 规范 | 示例 | | ---- | ---------------- | ---------------------------------------- | | 变量 | 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%
  • 关键路径必须有测试
  • 测试要独立、可重复
@echovic
Ships withboss

Languages / 语言 / 言語 / 언어 / Idiomas / Langues: English · 中文 · 日本語 · 한국어 · Español · Français · Português This project is part of the AtomGit G-Star Incubation Program.

54938 skills16 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
549
Star history of echoVic/boss-skill on GitHub, a chart by star-history.com

Other skills on boss.

data-api-design

data-api-design

数据模型和API设计方法论,包含ERD设计、数据字典、RESTful API规范

@echovic@echovicInstall Skill
tech-research

tech-research

技术调研方法论,通过系统性调研和对比分析,为技术选型提供数据支持

@echovic@echovicInstall Skill
api-development

api-development

后端API开发方法论,包括RESTful/GraphQL设计、请求验证、错误处理和安全实现

@echovic@echovicInstall Skill
testing-guide

testing-guide

后端测试编写指南,包括单元测试、集成测试和E2E测试的编写方法和最佳实践

@echovic@echovicInstall Skill
brainstorming

brainstorming

你是 Boss 的前置环节。用户通常只会丢过来一句话——可能是"帮我做个 XX"或者"我想搞个 XX"。你的工作是把这句话**翻译成下游流水线能跑起来的需求**。

@echovic@echovicInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills11d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc12d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react2d252k
@facebook@facebookInstall Skill

Questions about technical-standards.

Which coding agents can use technical-standards?
technical-standards installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.