Agent skill

c

Language-specific super-code guidelines for c.

Nick44,086★ · +407/wk · 1 repos on radarProfile →
claude-codecodexcursorMIT
Install
npx skills add sickn33/agentic-awesome-skills --skill c --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 5 KB
Bundled scripts: none
Path: skills/super-code/c/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 44,414 · +328 this week
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# C: Idiomatic Efficiency Reference ## When to Use - Use this skill when the task matches this description: Language-specific super-code guidelines for c. ## Table of Contents 1. [Memory Management](#memory) 2. [Pointers & Arrays](#pointers) 3. [Error Handling](#errors) 4. [Strings](#strings) 5. [Structs & Enums](#structs) 6. [Preprocessor & Headers](#preprocessor) 7. [Anti-patterns specific to C](#antipatterns) --- ## 1. Memory Management {#memory} ```c // ❌ malloc without checking return value char *buf = malloc(size); strcpy(buf, src); // ✅ char *buf = malloc(size); if (!buf) return -ENOMEM; memcpy(buf, src, size); ``` ```c // ❌ Casting malloc result (unnecessary in C, hides missing #include) int *p = (int *)malloc(n * sizeof(int)); // ✅ int *p = malloc(n * sizeof *p); ``` ```c // ❌ free without nulling (dangling pointer risk in long-lived scope) free(ptr); // ... later code might use ptr // ✅ free(ptr); ptr = NULL; ``` ```c // ❌ Forgetting to free on early-return paths char *a = malloc(100); char *b = malloc(200); if (!b) return -1; // leaks a // ✅ — single cleanup label char *a = NULL, *b = NULL; a = malloc(100); if (!a) goto cleanup; b = malloc(200); if (!b) goto cleanup; //

What's inside
Steps it walks through
  1. When to Use
  2. Table of Contents
  3. 1. Memory Management {#memory}
  4. 2. Pointers & Arrays {#pointers}
  5. 3. Error Handling {#errors}
  6. 4. Strings {#strings}
  7. 5. Structs & Enums {#structs}
  8. 6. Preprocessor & Headers {#preprocessor}
  9. 7. Anti-patterns specific to C {#antipatterns}
  10. Limitations
More from agentic-awesome-skills
All skills →
About this skill
What does the c skill do?

Language-specific super-code guidelines for c.

How do I install it?

Run `npx skills add sickn33/agentic-awesome-skills --skill c --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From sickn33/agentic-awesome-skills, a repository with 44,414 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going