Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

sk-create-goal

БесплатноЗапускает вложенные скриптыНе проверен

Authors packet goal.md files from existing specs and leaves the goal template and session state with their owners.

MichelKerkmeesterот MichelKerkmeester★ 40 звёзд на GitHub

Об этом скилле

Create Packet Goals

sk-create-goal authors goal.md content for an existing spec packet. It fills per-kind templates that are checked copies of the system-spec-kit goal template and keeps runtime goal state with its existing owners.


1. WHEN TO USE

Activation Triggers

Use this packet to:

  • Author or revise a top-level goal or phase-parent goal.
  • Author or revise a nested phase-child goal.
  • Add goal.md to an existing packet that has no goal.
  • Add a binding row and matching child goal when someone adds a phase.
  • Cut an over-budget parent goal without dropping a completion criterion.
  • Print a parent goal's chat slice for the operator to set or resend.
  • Handle a request that enters through /create:goal.

Keyword triggers: create packet goal, author goal.md, revise packet goal, phase parent goal, nested phase child goal, add a goal file, goal chat slice, /create:goal.

When NOT to Use

  • The target packet does not exist. Use system-spec-kit to create it first.
  • The packet's phase structure is not established. Use system-spec-kit to plan the phases first.
  • The request is to set, bind, inject or resend a session objective. Redirect it to the goal hooks or the host's native goal command.
  • The request changes runtime goal behavior or system-spec-kit template tooling. Those owners remain outside this packet.

This packet authors files only. Its goal-file work does not change session state.


2. SMART ROUTING

The sk-doc hub routes goal-file authoring here: a request to author or revise a packet goal.md selects this packet through the hub's sk-create-goal mode signal. A request to set, bind or resend a session objective is not file work, so the hub leaves it to the goal hooks.

An authoring or revision request loads references/parent-and-nested-goals.md first, which holds the workflow for every goal kind. The same request also loads references/authoring-standards.md, assets/goal-exemplars.md and the template for the goal's kind. A budget measurement or a chat-slice handoff loads references/budget-and-handoff.md.

Read ROUTER.md before selecting skill-local resources; open only the matched files.


3. HOW IT WORKS

  1. Read the target packet's source specification and acceptance criteria. A Level 1 nested child carries no acceptance-criteria.md, so it takes its criteria from its own spec.md REQUIREMENTS and SUCCESS CRITERIA sections. For a phase parent, read its phase map and inspect every direct phase-child directory on disk.
  2. Apply the four routing decisions in ROUTER.md. For top-level, phase-parent, nested-child, retrofit, phase-add and amendment work, load and follow references/parent-and-nested-goals.md. Identify which goal files to add or revise and whether a child change requires a parent amendment first.
  3. Start each goal from the template for its kind: goal-top-level-template.md, goal-phase-parent-template.md or goal-phase-child-template.md. Each is a checked copy of system-spec-kit's goal.md.tmpl at that kind's level. Copy the block between its template markers into goal.md. When create.sh --with-goal has already scaffolded a child's goal.md, keep that file and fill it with the child template's guidance. Child scaffolding alone does not create its parent goal.
  4. Before filling the template, load authoring-standards.md and goal-exemplars.md. Fill it with packet-specific content and apply both resources. Use three to seven self-contained completion criteria that can be checked without opening another file. Leave no template placeholders. Copy the criteria verbatim into the objective text required by the goal contract.
  5. For a phase parent, make the binding table match the filesystem. Add one row for each direct phase-child directory, with that child's goal document as the target. Keep the table only in the phase-parent goal.
  6. Keep the durable slice at or below 4,000 characters wherever the cap applies. Load references/budget-and-handoff.md: section 2 says which goals carry the cap and how to read the packet report, and section 3 is the cut order for a goal that runs over. Never remove a criterion or make one uncheckable.
  7. Before handing off any authored or revised goal, run node .skilled/skills/sk-doc/sk-create-goal/scripts/check-goal.cjs <packet> from the repository root and resolve each finding. A finding left open for any reason, an
Полный SKILL.md на GitHub

Установить sk-create-goal в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Write
Edit
Bash
Grep
Glob

Вложенные файлы

README.mdROUTER.mdassets/goal-exemplars.mdassets/goal-phase-child-template.mdassets/goal-phase-parent-template.mdassets/goal-top-level-template.mdchangelog/v1.0.0.0.mdchangelog/v1.1.0.0.mdchangelog/v1.2.0.0.mdchangelog/v1.3.0.0.mdchangelog/v1.4.0.0.mdchangelog/v1.4.1.0.mdchangelog/v1.4.2.0.mdchangelog/v1.4.3.0.mdchangelog/v1.4.4.0.mdchangelog/v1.4.5.0.mdchangelog/v1.4.6.0.mdchangelog/v1.4.7.0.mdmanual-testing-playbook/goal-authoring/add-goal-to-packet-without-goal.mdmanual-testing-playbook/goal-authoring/cut-over-budget-parent.mdmanual-testing-playbook/goal-authoring/detect-unbound-phase.mdmanual-testing-playbook/goal-authoring/lint-goal-criteria.mdmanual-testing-playbook/goal-authoring/phase-parent-and-nested-child-goals.mdmanual-testing-playbook/goal-authoring/refuse-leftover-placeholder-conversation.mdmanual-testing-playbook/goal-authoring/refuse-leftover-placeholder.mdmanual-testing-playbook/goal-authoring/resend-parent-after-child-change.mdmanual-testing-playbook/goal-authoring/route-session-goal-away.mdmanual-testing-playbook/goal-authoring/top-level-goal.mdmanual-testing-playbook/manual-testing-playbook.mdreferences/authoring-standards.mdreferences/budget-and-handoff.mdreferences/parent-and-nested-goals.mdscripts/README.mdscripts/check-goal.cjsscripts/lint-goal-criteria.cjs

FAQ

Что делает скилл sk-create-goal?

Authors packet goal.md files from existing specs and leaves the goal template and session state with their owners.

Как установить скилл sk-create-goal?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл sk-create-goal запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить sk-create-goal с