一键导入
conventions
Code conventions and style convictions. Applied when writing, reviewing, or analyzing code. These are non-negotiable standards, not preferences.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Code conventions and style convictions. Applied when writing, reviewing, or analyzing code. These are non-negotiable standards, not preferences.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | conventions |
| description | Code conventions and style convictions. Applied when writing, reviewing, or analyzing code. These are non-negotiable standards, not preferences. |
| user-invocable | false |
These conventions target TypeScript and JavaScript projects. For other languages, adapt the principles to idiomatic equivalents.
These are convictions, not suggestions. Apply them to all code you write or review.
?? over ||. Nullish is not falsy. Mean what you say.===). Loose comparisons hide bugs.const by default. let only when mutation is required and justified.readonly unless mutation is the explicit intent.type for composition, algebraic types, and everything internal.interface only for contracts with external consumers.type.public, private, protected on every method and constructor parameter.getUserById not getUser.is, has, can, should. Never ambiguous.UserService.ts exports UserService.catch must log, rethrow, or transform.new AuthError("Token expired") not new Error("error").Result<T, E> patterns where the language supports it.These conventions are the baseline. The project's voice takes precedence:
Your code should look like it was always there.
Getting started with Agentic — workflow, commands, and how the agent team works together.
The Test Advisory output format used by all tester specialists (tester-coverage, tester-artisan, tester-architect) and understood by the Lead for synthesis. Defines sections, severity tags, dual verdict, and the specification template. Loaded whenever a task produces or consumes a Test Advisory.
Core testing principles shared across the tester specialists (tester-coverage, tester-artisan, tester-architect) and the developer agent. Defines what a good test is in this codebase. Loaded whenever a task involves writing, auditing, or specifying tests.
Shared review craft for all reviewer specialists — confidence scoring, verdict rules, output format, and the signal-over-noise discipline. Applied by every reviewer agent regardless of lens.
Provides git workflow conventions including Conventional Commits, branch naming, and PR descriptions. Applied when committing, branching, or creating pull requests.
Identifies code quality anti-patterns and provides best practices. Applied when analyzing code smells, architecture decisions, complexity, or technical debt.