用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/RtlZeroMemory/Zireael --skill zireael-error-contracts命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
Review C code for compliance with Zireael standards. Use before committing or when reviewing PRs.
Write readable C with proper comments, named constants, and consistent style per CODE_STANDARDS.md.
Enforce locked docs, boundary rules, and safety guardrails for any Zireael change.
基于 SOC 职业分类
| name | zireael-error-contracts |
| description | Keep ZR_ERR_* codes and "no partial effects" contracts consistent across the engine. |
| metadata | {"short-description":"Error codes + state effects"} |
Use this skill when:
engine_* APIszr_limits_t)docs/ERROR_CODES_CATALOG.md — error semantics and state effectsdocs/SAFETY_RULESET.md — safety and cleanup rulessrc/util/zr_result.h — actual error codesZR_OK == 0ZR_ERR_*)TRUNCATED flag)| Code | Meaning |
|---|---|
ZR_ERR_INVALID_ARGUMENT | NULL or invalid parameter |
ZR_ERR_OOM | Allocation/arena growth failed |
ZR_ERR_LIMIT | Caps exceeded or buffer too small |
ZR_ERR_FORMAT | Malformed input bytes |
ZR_ERR_UNSUPPORTED | Unknown version/opcode/feature |
ZR_ERR_PLATFORM | Backend/OS failure |
ZR_ERR_INVALID_ARGUMENT, no mutationZR_ERR_LIMIT, no mutationZR_ERR_FORMAT/ZR_ERR_UNSUPPORTED, no partial effectsTRUNCATED flag, only complete records