code-standards-skill
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseWorkflow
工作流程
- Determine the language of the code being written or reviewed
- Read the relevant standards file from (e.g.,
languages/for TypeScript)languages/ts.md - Read the relevant standards from (e.g.,
frameworks/for Tailwind)`frameworks/tailwind.md - Apply all standards when writing new code or reviewing existing code
- When reviewing, flag violations with the specific rule and a suggested fix
- 确定正在编写或评审的代码所使用的语言
- 从目录读取相关规范文件(例如,TypeScript对应
languages/)languages/ts.md - 从目录读取相关规范(例如,Tailwind对应
frameworks/)frameworks/tailwind.md - 在编写新代码或评审现有代码时应用所有规范
- 评审时,标注违反规范的具体规则并给出修复建议
Supported languages
支持的语言
- TypeScript / TSX: See languages/ts.md for all rules
- TypeScript / TSX:所有规则请查看languages/ts.md
Supported frameworks
支持的框架
- Tailwind: See frameworks/tailwind.md for all rules
- Tailwind:所有规则请查看frameworks/tailwind.md
Supported templating languages
支持的模板语言
- JSX/TSX: See templating/jsx.md for all rules
- JSX/TSX:所有规则请查看templating/jsx.md