refit

Solid

This skill should be used when the user asks to "refit a workflow", "upgrade a workflow", "update workflow scaffolding", or wants to bring an existing workflow's scaffolding files up to date with the current Spacedock version.

AI & Automation 77 stars 8 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 81/100

Stars 20%
63
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Refit a Workflow You are refitting (upgrading) an existing workflow to match the current Spacedock version. This covers scaffolding files (README, mods) and, when schema changes require it, migrating entity frontmatter data. Agent files and the status viewer are shipped with the Spacedock plugin and do not need local updates. Follow these five phases in order. Do not skip or combine phases. --- ## Phase 1: Discovery ### Step 1 — Identify the workflow The user must provide a workflow directory path. If they didn't, ask: > Which workflow directory should I refit? Store the confirmed path as `{dir}`. Resolve it to an absolute path. Also derive `{project_root}` (git root or cwd) and `{dir_basename}` (last path component). ### Step 2 — Read current scaffolding and extract version stamps Read each scaffolding file and extract its version stamp: 1. **README** — Read `{dir}/README.md`. Extract version from YAML frontmatter `commissioned-by: spacedock@X.Y.Z`. Store as `{readme_version}`. 2. **Mod files** — Scan `{dir}/_mods/*.md` for installed mods. For each, read the `version` frontmatter field. Match against canonical mods at `{project_root}/mods/{name}.md` by filename. Store the local version and canonical version for each. Also scan `{project_root}/mods/*.md` for mods not yet installed. 3. **Legacy status script** — If `{dir}/status` exists, note it for cleanup (status now ships with the plugin). If a file doesn't exist, note it as missing and skip it. ### Step 3 — ...

Details

Author
spacedock-dev
Repository
spacedock-dev/spacedock
Created
5 months ago
Last Updated
today
Language
Go
License
Apache-2.0

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category