c-conventions
common C code conventions for readability and maintainability
от teknopaul★ 17 звёзд на GitHub
Установить c-conventions в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
C code should generally follow Linuxs kernel style.
Line length can be 140 chararacters or greater, prefer NOT breaking code across lines
All multiline blocks of code in ifs or loops, should use {\n }\n, C supports one line not having a block but this makes merging difficult.
if (test) {
do_thing();
}
single statement if can be on the same line if (verbose) log("..."), for logs and return statements, altho {} is preferred.
loops should always use {}.
dont put { } on a single line
log lines should be single line up to 200 chars so grepping code based on logs is simple.
logs should start with a xxx: where xxx is a useful tag that unites common code over a module or feature,
multiple tags shouyld be used mx: wagval: when the application gets large
switch fallthroughs should be commented.
Parsing code from TCP connections with push parsers, avoid buffering and then scanning.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл c-conventions?
common C code conventions for readability and maintainability
Как установить скилл c-conventions?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл c-conventions запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…