AGENT SKILL

coding

General coding patterns and conventions.

License 许可
MIT
最近更新
2026-11-10
Stars
★ 0
Forks
0

01 前言 Front Matter

name
coding
description
General coding patterns and conventions.

03 SKILL.md 正文

<!-- AUTO-GENERATED by skill-gen -- DO NOT EDIT --> <!-- Source: sample-module.ts --> <!-- Source: services/api/handler.ts -->

Naming Conventions

  • Use camelCase for variables and functions
  • Use PascalCase for classes and types
  • Use UPPER_SNAKE_CASE for constants

Error Handling

  • Always use typed errors, never throw raw strings
  • Handle errors at boundaries, not everywhere
  • Log context before rethrowing

04 同仓库更多 Skills