Install
mkdir -p .claude/skills/sp && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/13442" && unzip -o skill.zip -d .claude/skills/sp && rm skill.zipInstalls to .claude/skills/sp
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Guide for sp.h, a single-header C standard library replacement. You must use this guide when using or discussing sp.h in any capacity.Key capabilities
- →Annotate references to functions from sp.h with verbatim function headers
- →Search for relevant APIs in sp.h using `references/index.md`
- →Create strings using `sp_str_lit`, `sp_str_view`, or `sp_str_from_cstr`
- →Manage dynamic arrays with `sp_da(T)` and `sp_dyn_array_*` functions
- →Manage hash tables with `sp_ht(T)` and `sp_ht_*` functions
- →Log messages using `SP_LOG()` with type-safe formatting
How it works
This skill provides guidance for using sp.h, a single-header C standard library replacement, by enforcing specific usage rules, requiring verbatim function headers for references, and directing searches through its reference index and source code.
Inputs & outputs
When to use sp
- →Writing code with sp.h
- →Searching sp.h reference index
- →Implementing sp.h data structures
- →Annotating C library calls
About this skill
sp
This page used to hold an archived copy of this skill. The archive now lives in the registry's data repository.
- Archived SKILL.md (snapshot from 2026-10-08)
- Find this skill in Claude Skills Registry
- Request removal
This pointer keeps old links working. It is not an installable skill.
When not to use it
- →When standard C library functions for memory allocation (malloc) or string manipulation (strcmp) are required
- →When using `const char*` instead of `sp_str_t` for strings
- →When iterating C arrays without `sp_carr_for()`
Limitations
- →Never use `malloc`, `calloc`, or `realloc`; use `sp_alloc`
- →Never use `strcmp`, `strlen`, or any `string.h` functions with `sp_str_t`
- →Always explicitly handle all enum cases in a switch statement
How it compares
This skill enforces a strict, opinionated approach to C programming using sp.h, replacing many standard library functions with its own, which differs significantly from typical C development practices.
Compared to similar skills
sp side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| sp (this skill) | 0 | 9mo | No flags | Advanced |
| w3c-specs | 0 | 5mo | No flags | Advanced |
| zireael-code-style | 0 | 9mo | No flags | Intermediate |
| unity-developer | 142 | 7mo | No flags | Advanced |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by majiayu000
View all by majiayu000 →You might also like
w3c-specs
General-Fault
Reviews WebRtcNet's local W3C spec corpus and produces implementation guidance with citations. Use when the user asks to compare or validate WebRtcNet.Api behavior against local spec files, requests gap analysis, or wants chunk-focused standards review using docs/standards/specs and docs/standards/c
zireael-code-style
RtlZeroMemory
Write readable C with proper comments, named constants, and consistent style per CODE_STANDARDS.md.
unity-developer
sickn33
Build Unity games with optimized C# scripts, efficient rendering, and proper asset management. Masters Unity 6 LTS, URP/HDRP pipelines, and cross-platform deployment. Handles gameplay systems, UI implementation, and platform optimization. Use PROACTIVELY for Unity performance issues, game mechanics, or cross-platform builds.
unreal-engine-cpp-pro
sickn33
Expert guide for Unreal Engine 5.x C++ development, covering UObject hygiene, performance patterns, and best practices.
code-coverage-with-gcov
gadievron
Add gcov code coverage instrumentation to C/C++ projects
unity-mcp-orchestrator
CoplayDev
Orchestrate Unity Editor via MCP (Model Context Protocol) tools and resources. Use when working with Unity projects through MCP for Unity - creating/modifying GameObjects, editing scripts, managing scenes, running tests, or any Unity Editor automation. Provides best practices, tool schemas, and workflow patterns for effective Unity-MCP integration.