Back to skills
SKILL.md
Toolchain C
ASecurityExecutes C compiler toolchain operations including compilation (gcc/clang), static analysis (clang-tidy), and automated test runners (ctest/unity).
- 2 stars
- 0 votes
- 0 copies
- 0 views
- Added November 21, 2026
Security analysis
100/100npx -y skills add sun-flat-yamada/dotfiles --skill toolchain-c --agent claude-codeAre you the author of Toolchain C?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/sun-flat-yamada-toolchain-c)---
name: "toolchain-c"
description: "Executes C compiler toolchain operations including compilation (gcc/clang), static analysis (clang-tidy), and automated test runners (ctest/unity)."
category: "skill"
status: "active"
alwaysApply: false
globs:
- "**/*.c"
- "**/*.h"
- "**/Makefile"
- "**/CMakeLists.txt"
tags:
- "skill"
- "toolchain"
- "c"
- "build"
- "test"
---
# Skill: C Toolchain (`toolchain-c`)
## Instructions
1. **Compilation**:
```bash
# Strict compilation with sanitizers
gcc -Wall -Wextra -Wpedantic -Werror -fsanitize=address,undefined -g src/*.c -o bin/app
```
2. **Static Analysis**:
```bash
clang-tidy src/*.c -- -Iinclude
```
3. **Testing**:
```bash
# Run CTest if using CMake
ctest --output-on-failure
```
## Best Practices
- Always test under AddressSanitizer and UndefinedBehaviorSanitizer before committing.
- Ensure zero warnings emitted under `-Wall -Wextra -Wpedantic`.
Attribution
Related skills
View all in tools →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.