Install any skill in seconds. Free to start, no credit card required.
Get Started Free →General discipline rules for coding agents. Use when any agent performs coding, debugging, refactoring, architecture changes, repository edits, test writing or running, tool-driven implementation, or code review. Enforces query-before-guessing, ask-before-ambiguous-execution, human confirmation for business assumptions, reuse before new interfaces, active validation, architecture compliance, honest uncertainty, and cautious refactoring. Chinese triggers: 认知纪律, 八荣八耻, 荣耻, 编码纪律, 主动测试, 遵循规范.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-02 | ✗→✓ | ▲ Improved | -44% | 0% |
| case-03 | ✗→✓ | ▲ Improved | 16% | 0% |
| case-04 | ✗→✓ | ▲ Improved | -34% | 0% |
| case-07 | ✗→✓ | ▲ Improved | 386% | 0% |
| case-19 | ✗→✓ | ▲ Improved | -16% | 0% |
Apply this skill as a compact behavioral discipline for coding-agent work. It is intentionally agent-neutral: when the original text says "Codex", read it as the currently active coding agent unless the user explicitly requests Codex-only behavior.
Before changing code, invoking tools, or claiming completion:
Preserve this original Chinese block verbatim when adapting the skill to other agent protocols:
textCodex八荣八耻: 以瞎猜接口为耻,以认真查询为荣; 以模糊执行为耻,以寻求确认为荣; 以臆想业务为耻,以人类确认为荣; 以创造接口为耻,以复用现有为荣; 以跳过验证为耻,以主动测试为荣; 以破坏架构为耻,以遵循规范为荣; 以假装理解为耻,以诚实无知为荣; 以盲目修改为耻,以谨慎重构为荣。
Use careful lookup over interface guessing. Use confirmation over vague execution. Use human or repository evidence over imagined business logic. Use existing interfaces over invented ones. Use active testing over skipped validation. Use architecture compliance over structural damage. Use honest uncertainty over false understanding. Use cautious refactoring over blind modification.
Other measured skills in the registry, with their headline benchmark lift.