smithery/legout

os-tk-bootstrap

Create tk epic + tasks from an OpenSpec change (preview or execute).

Installation

$ npx skills add smithery/legout --skill os-tk-bootstrap

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery/legout.

npx skills add smithery/legout

Browse all from smithery/legout

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,894 B
  • docs SUMMARY.md 91 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

/os-tk-bootstrap

Inputs

  • <change-id>
  • <epic-title>
  • Optional --yes for execute mode

Resolve skill dir (for scripts)

SKILL_DIR=".pi/skills/os-tk-bootstrap"
if [[ ! -d "$SKILL_DIR" ]]; then SKILL_DIR="pi/skills/os-tk-bootstrap"; fi

Parse arguments

  • eval "$(bash "$SKILLDIR/scripts/parse-args.sh" "$@")" → CHANGEID, EPIC_TITLE, MODE

Load proposal for context

  • bash "$SKILLDIR/scripts/show-proposal.sh" (requires CHANGEID)

Design tickets

  • Create small focused tasks based on openspec/changes/<id>/tasks.md.
  • If a task feels too large, split it.
  • Decide real dependencies.
  • Predict file touches (files-modify, files-create).

Build commands (preview)

Epic creation:

  • source "$SKILLDIR/scripts/build-epic-command.sh" → sets EPICCMD

Task creation (repeat per task):

  • source "$SKILLDIR/scripts/build-task-command.sh" → sets TASKCMD

Dependencies (repeat):

  • source "$SKILLDIR/scripts/build-dep-command.sh" → sets DEPCMD

Preview mode

If MODE=preview:

  • Print the exact commands that would run.
  • STOP.

Execute mode

If MODE=execute:

  • eval "$(bash "$SKILLDIR/scripts/execute-epic.sh")" → creates epic, sets EPICID

For each task:

  • eval "$(bash "$SKILLDIR/scripts/execute-task.sh")" → creates task, sets TASKID

Then apply frontmatter fields via tk-frontmatter:

  • alias: <change-id>.<n>
  • files-modify: [...]
  • files-create: [...]
  • openspectaskref: <checkbox or task reference>

Finally, apply dependencies:

  • bash "$SKILL_DIR/scripts/apply-dep.sh"

Show queue:

  • bash "$SKILL_DIR/scripts/show-ready.sh"

Stop condition

  • In preview mode: STOP after listing commands.
  • In execute mode: STOP after creating tickets and showing tk ready.