Technical standards

From echoVic/boss-skill · View interactive version

Technical standards is an AI agent skill from the GitHub repository echoVic/boss-skill. 技术规范和最佳实践,确保代码质量和一致性

How to use this skill

Skill file

技术规范与最佳实践

命名规范

| 类型 | 规范 | 示例 |

| ---- | ---------------- | ---------------------------------------- |

| 变量 | camelCase | userName, isActive |

| 常量 | UPPER_SNAKE_CASE | MAX_COUNT, API_URL |

| 函数 | camelCase | getUserById, calculateTotal |

| 类 | PascalCase | UserService, OrderController |

| 文件 | kebab-case | user-service.ts, order-controller.ts |

代码组织

错误处理

测试要求

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.