zob-split-refactor
Use when splitting a monolithic ZOB/Pi TypeScript extension into modules without behavior changes. Enforces split-only moves, export compatibility, local…
от cgarrot★ 32 звезды на GitHub
Установить zob-split-refactor в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
ZOB Split Refactor
Use when
- Splitting
.pi/extensions/zob-harness/index.tsor another monolithic ZOB/Pi TypeScript extension. - Moving one bounded block into a sidecar module.
- Verifying exports/imports/circularity after a split-only slice.
Rules
- Move code; do not rewrite logic.
- Preserve public exports from
index.ts. - Keep the Pi entrypoint and
default exportstable until an explicit final barrel switch is approved. - Use NodeNext relative imports with
.jssuffix, e.g../utils/paths.js. - Never import
index.tsfromsrc/**. - Do not rename tools, commands, event handlers, sentinels, artifacts, schemas, prompt strings, error messages, or output contract ids.
- Do not change array order, defaults, validations, sync/async behavior,
Date.now(),new Date(), orMath.random()semantics. - Read the nearest
AGENTS.mdbefore editing a folder.
Slice workflow
- Read
docs/ZOB_HARNESS_ARCHITECTURE.mdonce for the phase. - Read the local
AGENTS.mdfor the target folder. - Read only the relevant
index.tsrange and already-extracted modules. - Move a bounded block with minimal import/export changes.
- Validate with
npm run check -- --pretty false. - For domain/runtime slices, also run
npm run smoke:harness. - Ask a read-only oracle to check equivalence before continuing.
Stop conditions
- A slice requires importing from
src/**back intoindex.tswithout approval. - A
src/**file would import fromindex.ts. - Typecheck failure requires behavior changes instead of import/export fixes.
- Any public export, registration, sentinel, artifact path, schema description, or error string would change.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл zob-split-refactor?
Use when splitting a monolithic ZOB/Pi TypeScript extension into modules without behavior changes. Enforces split-only moves, export compatibility, local AGENTS.md context, and smoke validation.
Как установить скилл zob-split-refactor?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл zob-split-refactor запускает скрипты?
Нет, скилл состоит только из инструкций (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…