standardize-object-api
БесплатноБез исполняемых скриптовНе проверенThis skill enforces a unified function declaration order across all experimental encoding files (e.g., `compact.zig`, `nan.zig`, `zag.zig`, etc.) to ensure…
от Zag-Research★ 162 звезды на GitHubОб этом скилле
Standardize-Object-API
Description
This skill enforces a unified function declaration order across all experimental encoding files (e.g., compact.zig, nan.zig, zag.zig, etc.) to ensure maintainability and predictability across different memory layouts.
Canonical Function Order
When refactoring or auditing encoding files, functions must be ordered according to the following sequence. If a file contains a function not listed here (specialized logic), place it in Group 7.
Group 1: Constants & Static Initialization
False()True()Nil()init(...)from(ci: ClassIndex) ...(The variant that returns the encoding type)
Group 2: Object Creation & Tagging
from(value, sp, context) ...(Main entry point for object creation)fromAddress(...)fromNativeF(...)fromNativeI(...)fromTaggedI(...)fromUntaggedI(...)makeImmediate(...)makeSymbol(...)makeThunk(...)makeThunkNoArg(...)
Group 3: Type Identification & Checks
which_class(...)classIndex(...)(The variant that returns a ClassIndex)isImmediate(...)isImmediateClass(...)isSymbol(...)ifHeapObject(...)hasHeapReference(...)- Any other specialized type checkers (e.g.,
isBool,isCharacter)
Group 4: Value Extraction & Accessors
pointer(...)encodedPointer(...)nativeF(...)nativeI(...)(including variations likenativeI_noCheck)taggedI(...)untaggedI(...)extraValue(...)extraI(...)extraU(...)extraImmediateI(...)extraImmediateU(...)
Group 5: Conversions & Casts
toWithCheck(...)toIntNoCheck(...)toNatNoCheck(...)
Group 6: Closure Management
immediateClosure(...)returnLiteralClosure(...)returnLocalClosure(...)returnObjectClosure(...)
Group 7: Utilities & Internal Helpers
hash24(...)hash32(...)symbolHash(...)numArgs(...)invalidObject(...)simple(...)(Scanner helper)- Any other internal-only or file-specific functions
Strict Implementation Rules
- Logic Preservation: When reordering functions to match this standard, the code logic MUST remain identical. Do not optimize, rewrite, or modify function bodies unless explicitly requested in a separate task.
- Signature Consistency: Maintain existing signatures exactly as they are; only change the physical location of the function block within the file.
- Grouping: Ensure that functions belonging to the same group are kept together.
Установить standardize-object-api в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл standardize-object-api?
This skill enforces a unified function declaration order across all experimental encoding files (e.g., `compact.zig`, `nan.zig`, `zag.zig`, etc.) to ensure maintainability and predictability across different memory layouts.
Как установить скилл standardize-object-api?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл standardize-object-api запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This 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…
от Anthropic