claude-code-primitives
БесплатноБез исполняемых скриптовНе проверенReference for Claude Code's own mechanics — slash commands, skills, subagents, hooks — and how they route together. Use when creating or editing a slash…
от vscarpenter★ 41 звезда на GitHubОб этом скилле
Claude Code Primitives
- Routing: Commands initiate, subagents verify, hooks gate.
- Slash Commands (
.claude/commands/): Short, repeatable actions. Canonical text of prompts lives here (e.g.,/qspec,/tdd,/qcheck). - Skills (
.claude/skills/): Complex multi-step workflows. Write descriptions as triggers ("when should I fire?"). Provide goals, constraints, and a "Gotchas" section. - Subagents (
.claude/agents/): Spawn for fanning out or parallel reads. Skip for <3 tool calls. Read-only agents usehaiku; write agents usesonnet/opuswithisolation: worktree. - Agent teams vs subagents: Use subagents for scoped delegation inside one workstream. Use teams when work should split across longer-lived sessions that coordinate.
- Hooks: Enforce standards mechanically (e.g.,
PostToolUse,Stop). Hook types: shell commands, prompt hooks, MCP tool hooks. - Hooks receive event data as JSON on stdin. Read fields with
jq, for example.tool_input.file_path; do not rely on$CLAUDE_FILE_PATHstyle variables unless explicitly configured.
Установить claude-code-primitives в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл claude-code-primitives?
Reference for Claude Code's own mechanics — slash commands, skills, subagents, hooks — and how they route together. Use when creating or editing a slash command, skill, subagent, or hook, or when deciding which primitive fits a task.
Как установить скилл claude-code-primitives?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл claude-code-primitives запускает скрипты?
Нет, скилл состоит только из инструкций (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