원클릭으로
is-coding-rules-c
C/blk coding rules for the Intersec codebase. Load before writing or reviewing C or blk code.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
C/blk coding rules for the Intersec codebase. Load before writing or reviewing C or blk code.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | is-coding-rules-c |
| description | C/blk coding rules for the Intersec codebase. Load before writing or reviewing C or blk code. |
core/macros.h)RETHROW(e) /* if (e < 0) return e; */
RETHROW_P(e) /* if (e == NULL) return NULL; */
THROW_ERR_UNLESS(cond) /* if (!(cond)) return -1; */
THROW_FALSE_IF(cond) /* if (cond) return false; */
RETHROW / RETHROW_P are expressions that evaluate to e on success, so
use them inline: x = RETHROW(foo());.
Use these instead of explicit if checks when no cleanup is needed before
returning. When cleanup is required, use explicit if + goto cleanup,
or the defer macro (see core/macros.h).
malloc, free, realloc, calloc, alloca — use
p_new/p_delete/p_realloc (heap) or the mp_* pool
equivalents.strncpy, strcpy, strcat, sprintf, gets, strtok
— no single replacement; pick per context: sb_t builder
(sb_add*, sb_addf), pstream_t reader, or snprintf for
bounded writes into a plain buffer.Commit message formatting rules. Apply whenever creating or amending a git commit.
Deep code review of a commit covering correctness, commit message quality, and English usage.
Fetch Gerrit review comments on the current commit or a range of commits, interactively apply or reject each one, then post draft replies and update the local commit(s). Use when the user wants to apply review comments from Gerrit.