Master 1Password: vaults, Watchtower, passkeys, SSH agent, CLI, and family/team administration. Use when getting full value from 1Password personally or administering it for others.
日本語の概要は準備中です。原文の説明を表示しています。
Professional C: memory ownership, defensive programming, build hygiene, and systems-level correctness. Use when writing, reviewing, or maintaining C code.
インストールする前に、エージェントに与えられる指示の中身を確認できます。
C gives you absolute control and zero safety net: every allocation, every bound, every lifetime is your responsibility. Professional C is therefore a discipline of explicit contracts — who owns this memory, who frees it, what are the valid inputs — enforced by convention, assertions, sanitizers, and relentless simplicity.
This skill covers writing C that's correct, readable, and maintainable: ownership discipline, defensive interfaces, build hygiene, and the tooling that compensates for the language's lack of guardrails.
create_/destroy_, _new/_free pairs) and document it on every function
that transfers ownership. Consistent conventions beat clever ones.NULL checks, range checks, buffer
sizes passed explicitly — never trust strlen on untrusted input). Return error codes or use
out-params for errors; never fail silently. assert for internal invariants (programmer errors),
runtime checks for external data.snprintf not sprintf, strncpy-with-care (or better, snprintf),
explicit lengths on every buffer operation. Buffer overflows remain the classic C vulnerability —
the fix is boring and total: never write without knowing the bound.goto cleanup is idiomatic C — used
consistently, it's clearer than nested conditionals for resource teardown).typedef struct Foo Foo; in the header, full definition in
the .c file — clients can't poke internals, and you're free to change representation. C's
answer to private members.-Wall -Wextra -Werror -Wpedantic, sanitizers (ASan/UBSan)
in test builds, -fstack-protector, and warnings reviewed — not suppressed. The compiler is
your only static analyzer unless you add more (clang-tidy, cppcheck).-std=c17 -Wall -Wextra -Werror -Wpedantic -g for dev;
sanitizer builds (-fsanitize=address,undefined) for tests; hardened flags for release.goto cleanup for functions acquiring
multiple resources — consistent, reviewable, exception-free RAII:
int process(const char *path) {
FILE *f = NULL; char *buf = NULL; int rc = -1;
f = fopen(path, "r");
if (!f) goto cleanup;
buf = malloc(BUF_SIZE);
if (!buf) goto cleanup;
/* ... work ... */
rc = 0;
cleanup:
free(buf);
if (f) fclose(f);
return rc;
}
malloc has a free on all paths; every fopen a
fclose; every lock an unlock. Review diffs specifically for the error paths — that's where
leaks live.free(p); p = NULL;), keep ownership single and obvious, and let ASan prove it.char buf[16]; strncpy without termination, <= vs < in
loops over buffers. Write the bound, then re-read it — or better, use snprintf and check its
return.malloc can return NULL; fread can short-read; snprintf reports
truncation. Unchecked returns are latent crashes — -Wunused-result helps for annotated functions.-fstrict-aliasing warnings exist because the optimizer will exploit UB.const or don't have them.do { } while(0), macros with side-effecting
arguments evaluated twice, macro "generics" hiding type errors. Prefer static inline functions.scanf("%s"), gets (removed from the language for a reason),
hand-rolled parsers without length discipline. Parse defensively or use a tested library.まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Master 1Password: vaults, Watchtower, passkeys, SSH agent, CLI, and family/team administration. Use when getting full value from 1Password personally or administering it for others.
日本語の概要は準備中です。原文の説明を表示しています。
Create 3D visuals with modeling, texturing, lighting, rendering, and optimization for web and product.
日本語の概要は準備中です。原文の説明を表示しています。
Create 3D web experiences: scene setup, models, materials, lighting, animation, scroll-driven scenes, and performance budgets. Use when adding 3D to websites beyond basic demos.
日本語の概要は準備中です。原文の説明を表示しています。
Writing abstracts that get papers read — structured content, the 5-sentence core, and journal-specific constraints.
日本語の概要は準備中です。原文の説明を表示しています。
Learn effectively from courses and academies: choosing programs, studying actively, and converting courses into skills. Use when investing time/money in structured learning.
日本語の概要は準備中です。原文の説明を表示しています。
Audit designs for accessibility with WCAG checklists covering color, type, focus, motion, and content.
日本語の概要は準備中です。原文の説明を表示しています。