用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/skills-registry --skill coding-standards命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | coding-standards |
| description | name: coding-standards Use when this capability is needed. |
Before reviewing, read
copilot-instructions.md/AGENTS.md/CLAUDE.mdto identify the project's language, framework, and version. Adapt stack-specific rules accordingly.
TypeScript
strict: trueany without comment explaining why unavoidable@ts-ignore without commentunknown + narrowing instead of any when type genuinely unknowninterface for object shapes; type for unions, intersections, utilitiesPython
def fn(x: int) -> str:)# type: ignore without explanatory commentT | None (Python 3.10+) or Optional[T] — no implicit None returnsdataclasses or pydantic for structured data shapesGo
_ unless intentional + commentedinterface{} / any without justificationerrors.Is/errors.As for error checking| Thing | Convention | Example |
|---|---|---|
| UI components / classes | PascalCase | UserCard, NoteEditor |
| Utility / helper files | kebab-case | sync-messages.ts, format-date.py |
| Variables and functions | camelCase | activeUser, loadData() |
| Module-level constants | UPPER_SNAKE_CASE | MAX_RETRIES |
| Type / interface names | PascalCase | UserSchema, ApiResponse |
| Route / endpoint files | Follow framework convention | +page.server.ts, router.py |
catch blocks — re-throw, log, or return structured errorGroups separated by a blank line:
Source: AshenDulsanka/agent-arche — distributed by TomeVault.