sk-create-goal
БесплатноБез исполняемых скриптовНе проверенAuthors packet goal.md files from existing specs and leaves the goal template and session state with their owners.
от 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.mdto 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
Run these four decisions before writing:
- File content or session state? A request to author or revise a packet's
goal.mdis file work. A request to set, bind, inject or resend a session objective belongs to the goal hooks or the host's native goal command. Redirect session-state requests without editing a packet goal. - Does the packet exist? What role does it have? Confirm the target directory exists. A nested phase child has a parent directory containing
spec.md. A packet with direct phase-child directories is the phase parent. Otherwise, treat it as a top-level packet. If the packet is missing, route packet creation to system-spec-kit first. - Does
goal.mdexist? Revise an existing goal. Add one to an existing packet that has none. Do not treat a missing packet as a goal-file request. - Does a child change alter a parent decision or criterion? If it does, amend the parent first. Then print the updated parent chat slice for the operator to resend. Do not let a child goal override a parent decision.
Discover reference and asset documents at call time. Keep loads inside this packet. For top-level, phase-parent and nested-child authoring, retrofit, phase-add or parent amendment work, load references/parent-and-nested-goals.md and follow the matching workflow. For every goal authoring or revision request, also load references/authoring-standards.md, assets/goal-exemplars.md and the template for the goal's kind before drafting. For a budget measurement or chat-slice handoff, load references/budget-and-handoff.md. Fall back to the workflow reference when no specific resource applies:
from pathlib import Path
SKILL_ROOT = Path(__file__).resolve().parent
RESOURCE_BASES = (SKILL_ROOT / "references", SKILL_ROOT / "assets")
DEFAULT_RESOURCE = "references/parent-and-nested-goals.md"
UNKNOWN_FALLBACK = {
"load_level": "UNKNOWN_FALLBACK",
"needs_disambiguation": True,
"resources": [],
}
def discover_markdown_resources():
documents = []
for base in RESOURCE_BASES:
if base.exists():
documents.extend(path for path in base.rglob("*.md") if path.is_file())
return {path.relative_to(SKILL_ROOT).as_posix() for path in documents}
def _guard_in_skill(relative_path):
resolved = (SKILL_ROOT / relative_path).resolve()
resolved.relative_to(SKILL_ROOT)
if resolved.suffix.lower() != ".md":
raise ValueError("Only packet-local markdown resources are routable")
return resolved.relative_to(SKILL_ROOT).as_posix()
def route_references(selected):
inventory = discover_markdown_resources()
loaded = []
seen = set()
for relative_path in selected:
guarded = _guard_in_skill(relative_path)
if guarded in inventory and guarded not in seen:
load(guarded)
loaded.append(guarded)
seen.add(guarded)
if not loaded:
fallback = _guard_in_skill(DEFAULT_RESOURCE)
if fallback in inventory:
load(fallback)
loaded.append(fallback)
return {**UNKNOWN_FALLBACK, "resources": loaded}
return {"resources": loaded}
3. HOW IT WORKS
- Read the target packet's source specification and acceptance criteria. F
Установить sk-create-goal в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadWriteEditBashGrepGlobFAQ
Что делает скилл 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 запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic