Asd Ste100
danyuchn/asd-ste100-skill
A skill your agent uses when English text must be parsed without a human to resolve ambiguity — tool descriptions, error messages, inter-agent instructions, system prompts, status reports — and…
Write, edit, or review C (and C-compatible header) code according to C coding style rules, then check and run clang-format to enforce formatting.
$ npx skills add MaJerle/c-code-style --skill c-code-style -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install MaJerle/c-code-style c-code-style --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/MaJerle/c-code-style.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/c-code-style .claude/skills/c-code-style && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "c-code-style" agent skill from https://github.com/MaJerle/c-code-style/tree/main/.claude/skills/c-code-style into .claude/skills/c-code-style/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "c-code-style", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/MaJerle/c-code-style/tree/main/.claude/skills/c-code-styleType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add MaJerle/c-code-style --skill c-code-style -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install MaJerle/c-code-style c-code-style --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/MaJerle/c-code-style.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/c-code-style .agents/skills/c-code-style && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "c-code-style" agent skill from https://github.com/MaJerle/c-code-style/tree/main/.claude/skills/c-code-style into .agents/skills/c-code-style/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "c-code-style", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add MaJerle/c-code-style --skill c-code-style -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install MaJerle/c-code-style c-code-style --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/MaJerle/c-code-style.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/c-code-style .cursor/skills/c-code-style && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "c-code-style" agent skill from https://github.com/MaJerle/c-code-style/tree/main/.claude/skills/c-code-style into .cursor/skills/c-code-style/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "c-code-style", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/MaJerle/c-code-style.git --path .claude/skills/c-code-style--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add MaJerle/c-code-style --skill c-code-style -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install MaJerle/c-code-style c-code-style --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/MaJerle/c-code-style.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/c-code-style .gemini/skills/c-code-style && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "c-code-style" agent skill from https://github.com/MaJerle/c-code-style/tree/main/.claude/skills/c-code-style into .gemini/skills/c-code-style/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "c-code-style", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install MaJerle/c-code-style c-code-styleInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add MaJerle/c-code-style --skill c-code-style -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/MaJerle/c-code-style.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/c-code-style .github/skills/c-code-style && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "c-code-style" agent skill from https://github.com/MaJerle/c-code-style/tree/main/.claude/skills/c-code-style into .github/skills/c-code-style/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "c-code-style", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add MaJerle/c-code-style --skill c-code-style -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install MaJerle/c-code-style c-code-style --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/MaJerle/c-code-style.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/c-code-style .opencode/skills/c-code-style && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "c-code-style" agent skill from https://github.com/MaJerle/c-code-style/tree/main/.claude/skills/c-code-style into .opencode/skills/c-code-style/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "c-code-style", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
c-code-styleWrite, edit, or review C (and C-compatible header) code according to C coding style rules, then check and run clang-format to enforce formatting.
C Code Style is an agent skill from MaJerle/c-code-style. Write, edit, or review C (and C-compatible header) code according to C coding style rules, then check and run clang-format to enforce formatting. Trigger on "write C code", "edit a .c/.h file", "review C code style", "format C code", "run clang-format", "check clang-format", "apply the C style guide".
Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Writing & Content, covering Plain language and style rules. The repository describes itself as: Recommended C code style and coding rules for standard C99 or later. Comes with AI agent skill to write, edit and format the code. The licence is MIT.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 746a501. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
brewFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
C Code Style loads about 1.3k tokens when it runs. Until then it costs about 79 tokens; SKILL.md has 675 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from MaJerle/c-code-style at commit 746a501, republished under its MIT licence (© MaJerle). 675 words, ~1,299 tokens.
.claude/skills/c-code-style/SKILL.md (or your agent's skills folder).This skill applies whenever you are writing, editing, or reviewing .c or .h
files in a project that adopts this style guide. The full rule set lives in
CODING_RULES.md at the repository root — that
file is the single source of truth (this repository's README.md is just a
symlink to it, so it renders on the GitHub front page). This skill exists to
make the rules operational: what to self-apply while writing code, and how to
run the formatter afterward.
Before writing or editing C code, read CODING_RULES.md in this repository
(or wherever this skill was installed alongside it — if it's not there, the
checklist in step 3 below is a self-contained fallback). Do not rely on
memory of "typical" C style — several of this guide's rules are deliberately
non-default (e.g. (void) on zero-parameter functions, at most 2 return
points per function, no stdbool.h).
clang-format fixes for youDon't hand-format these — write reasonably and let the formatter normalize them in step 4: indentation and spacing, brace placement, pointer-asterisk alignment, function-prototype alignment, trailing commas in struct initializers, blank-line and parenthesis spacing.
clang-format will NOT fix — apply these yourself while writingThese are semantic or naming rules; a formatter cannot infer them. Apply them as you write, not after:
__/_ prefix.
static module-private functions use a prv_ prefix.stdint.h types (uint8_t, int32_t, ...) except char/float/double.
Avoid stdbool.h; use 1/0.global/static variables that need
a real startup value in embedded contexts — give the module an init()
function instead.const-correct pointers and parameters; generic pointers are void*, cast
internally, never cast a void* return value.(void), never empty ().return points: one early return for
parameter/argument validation, one at the end. No return in the middle —
use a return-value variable to accumulate the result instead.NULL before dereferencing it (unless the
surrounding code guarantees it can't be NULL). After free(ptr),
immediately set ptr = NULL.if (x) / if (!x), never
== 1 / == 0; counter/value variables use > 0 / == 0, never bare
if (x).static ones) gets a \brief, a
\param[in]/\param[out] per parameter, and a \return if it returns
non-void. The doc block goes at the function's definition (where the
body is, typically the .c file) — never duplicated at the declaration in
the header. Pad tags so description text starts at column 22 (see
template.c/template.h for the exact alignment). Wrap identifiers,
constants, and literals referenced in prose in backticks.After writing or editing any .c/.h file, run the formatter using this
repository's .clang-format (it's found automatically by walking up from the
file's directory — no path needed):
scripts/check-format.sh <changed-file.c> [<changed-file.h> ...]This script:
clang-format is on PATH and is version 20 or newer (this
repo's minimum — see CODING_RULES.md, General rules).brew install llvm on macOS, distro package or LLVM apt repo on Linux,
the LLVM installer on Windows) and exits non-zero — install it, then
re-run.clang-format -i on the given files.To verify compliance without writing changes (e.g. before reporting a task
done), use --check instead:
scripts/check-format.sh --check <file.c> [<file.h> ...]Exits 0 if already compliant, non-zero (with the specific violations) if
not.
This flow was tested directly in this repository: check-format.sh correctly
refuses to run when clang-format is absent (prints the right install
command per OS and exits 1), and — once clang-format is installed —
correctly detects a deliberately mis-formatted file with --check, fixes it
with the default (in-place) mode, and re-verifies clean afterward.
template.c and template.h in this repository both pass --check as-is —
use them as a reference for exact formatting and doxygen alignment.
© MaJerle, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .claude/skills/c-code-style of MaJerle/c-code-style.
Open the folder on GitHubat commit 746a501
C Code Style next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| C Code Style this skillMaJerle/c-code-style | 1.4k | — | ~1.3k | Automated safety check: Pass | MIT | |
| Asd Ste100danyuchn/asd-ste100-skill | 3.9k | — | ~4.1k | Automated safety check: Pass | MIT | |
| Natural Japanese Business Writingcoji/natural-japanese | 1.9k | — | ~2.1k | Automated safety check: Pass | MIT | |
| Technical Writing Standardcursor/plugins | 10k | 10 repos | ~2.4k | Automated safety check: Pass | None | |
| PgjevrealZachi/pg-jev | 1k | — | ~2.9k | Automated safety check: Pass | Custom licence | |
| Defensive Writing Editorlennney/stop-that-shit | 2.5k | 1 repos | ~902 | Automated safety check: Pass | MIT |
danyuchn/asd-ste100-skill
A skill your agent uses when English text must be parsed without a human to resolve ambiguity — tool descriptions, error messages, inter-agent instructions, system prompts, status reports — and…
coji/natural-japanese
Writes and edits Japanese business documents so they read clearly and naturally, removes AI-sounding phrasing and can score how AI-like a text reads.
cursor/plugins
Applies four layers of technical-writing rules to docs, RFCs, readmes, PR descriptions and commit messages so a tired engineer follows them on the first read.
realZachi/pg-jev
Install, configure, query and explain pgjev (the jev PostgreSQL extension that filters, ranks and classifies rows with plain-language conditions via TypeSafe's Jev model).
lennney/stop-that-shit
Cuts defensive disclaimers, stacked hedging and self-protective narration from proposals and summaries, keeping only limits that affect the reader's decision.
leonardomso/33-js-concepts
Writes or reviews documentation pages for the 33 JavaScript Concepts project, following its structure, a beginner-friendly voice and rules against AI-sounding language.
Categories
Write, edit, or review C (and C-compatible header) code according to C coding style rules, then check and run clang-format to enforce formatting. C Code Style is an agent skill from MaJerle/c-code-style. Write, edit, or review C (and C-compatible header) code according to C coding style rules, then check and run clang-format to enforce formatting.
C Code Style fits situations like: edit a .c/.h file; review C code style; run clang-format; check clang-format.
Run `npx skills add MaJerle/c-code-style --skill c-code-style -a claude-code`. Or copy the skill folder (.claude/skills/c-code-style in MaJerle/c-code-style) into .claude/skills/c-code-style in your project. Claude Code loads it when a task matches its description.
Run `npx skills add MaJerle/c-code-style --skill c-code-style -a codex`. Or copy the skill folder (.claude/skills/c-code-style in MaJerle/c-code-style) into .agents/skills/c-code-style in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add MaJerle/c-code-style --skill c-code-style -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/c-code-style, .gemini/skills/c-code-style, .github/skills/c-code-style and .opencode/skills/c-code-style in your project.
Going by SKILL.md and its folder, C Code Style needs the command-line tools its instructions call (brew).
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
C Code Style is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.3k tokens (SKILL.md is roughly 5.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with C Code Style: Asd Ste100 (danyuchn/asd-ste100-skill, 3.9k stars), Natural Japanese Business Writing (coji/natural-japanese, 1.9k stars), Technical Writing Standard (cursor/plugins, 10k stars) and Pgjev (realZachi/pg-jev, 1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
MaJerle (a GitHub user) maintains it in MaJerle/c-code-style, which has 1,351 GitHub stars. The repository was last updated on September 9, 2026.
Source: MaJerle/c-code-style on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.