_template_reference_first
БесплатноЗапускает вложенные скриптыНе проверенInternal template for creating or refactoring a skill into the repository's reference-first shape. **Trigger**: reference-first template, blueprint skill…
от WILLOSCAR★ 521 звезда на GitHubОб этом скилле
Reference-First Skill Template
Why this exists
This package is the default starting point for new or refactored skills in this repo.
It demonstrates the intended split of responsibilities:
SKILL.mdroutes the workflowreferences/holds method, judgment, and exemplarsassets/holds machine-readable contractsscripts/handles deterministic execution only
Use it as a shape to copy and customize, not as a domain-specific skill.
Inputs
- the job the skill should encode
- the expected inputs and outputs for that job
- acceptance criteria and failure conditions
- any domain packs, schemas, or existing artifacts that must be reused
Outputs
- a lean
SKILL.md references/overview.mdreferences/examples_good.mdreferences/examples_bad.mdassets/schema.jsonscripts/run.py
Workflow
- Define the job and its boundary
- write down the trigger, intended outcome, and explicit non-goals
- separate reusable behavior from one-off project context
- Write
SKILL.mdas a router
- keep only the activation rule, inputs, outputs, workflow, block conditions, and resource routing
- do not copy large judgment rules, domain essays, or sentence banks into this file
- Move reusable thinking into
references/
- put domain knowledge, decision rubrics, and method notes in
references/overview.md - if the skill can emit reader-facing text, include both
references/examples_good.mdandreferences/examples_bad.md - keep reference files one hop away from
SKILL.md; avoid deep reference chains
- Put contracts into
assets/
- store machine-readable schemas, templates, or static resource packs in
assets/ - use
assets/schema.jsonfor the structured artifact that the skill validates or emits
- Keep
scripts/run.pydeterministic
- allow file discovery, normalization, validation, manifest generation, and external tool calls
- keep prose templates, domain defaults, and reader-facing judgment out of Python
- Validate hygiene before reuse
- make sure the package has no unresolved placeholders in reader-facing examples
- make sure
SKILL.mdexplicitly tells the agent when to read each reference file
When to read references/
- Always read
references/overview.mdbefore customizing or applying this template. - Read
references/examples_good.mdwhen the skill writes reader-facing text or shapes another writer skill. - Read
references/examples_bad.mdwhen cleaning up generator voice, pipeline jargon, or weak deliverable framing. - If the skill has domain variants, add explicit domain-pack references and mention the selection rule here.
Assets to reuse
assets/schema.json: a generic contract for a reference-first skill manifest; adapt it to the concrete skill you are building.
Script role
scripts/run.pyis a minimal validator and manifest builder.- Read or patch the script only when you need deterministic behavior.
- Do not rely on the script to supply the skill's method, voice, domain taxonomy, or reader-facing examples.
Block conditions
Stop and fix the package before reuse if any of these are true:
SKILL.mdduplicates long reference content instead of routing toreferences/run.pycontains domain defaults, sentence libraries, or filler prose- reader-facing examples contain unresolved placeholders or internal pipeline jargon
- the schema does not match the artifact the skill is supposed to validate or emit
Done checklist
SKILL.mdstays lean and references other files explicitlyreferences/contains the actual method and exemplarsassets/contains machine-readable contracts onlyscripts/run.pystays deterministic and small- the package can be understood by reading
SKILL.mdand the referenced files without reading all Python first
Установить _template_reference_first в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл _template_reference_first?
Internal template for creating or refactoring a skill into the repository's reference-first shape. **Trigger**: reference-first template, blueprint skill, create a reusable skill, refactor a script-heavy skill. **Use when**: you need a lean `SKILL.md`, explicit `references/`, machine-readable `assets/`, and a minimal deterministic `run.py`.
Как установить скилл _template_reference_first?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл _template_reference_first запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
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