<!-- SVK Version Check — runs once per session on first skill invocation -->
<svk-version-check>
On first invocation this session, silently perform a version check:
- Look for
.claude/svk-meta.jsonin the current project. If it doesn't exist, skip this check entirely. - Read the
svk_repopath andinstalled_versionfrom the metadata file. - Run:
git -C <svk_repo> fetch --tags --quiet 2>/dev/null - Run:
git -C <svk_repo> tag --sort=-v:refname | head -1to get the latest tag. - Compare the installed version against the latest tag (strip the leading
v). - If they match, skip — the user is up to date.
- If the latest tag is newer, show this message ONCE (never repeat in this session):
SVK Update Available: v{latest} is available (you're on v{installed}).
- Update now: I can pull and reinstall the changed skills in this session
- Update later: Start a new chat and run
/SVK:update
- If the git commands fail (offline, repo moved, etc.), skip silently. Never show errors from version checking.
Important: Do NOT block or delay the user's actual command. Perform this check, show the notification if needed, then proceed with the command they invoked.
</svk-version-check>
Forge — SVK Skill Builder
A meta-skill for building SVK skills. Wraps Superpowers skills with SVK-specific context injection and enforces a 21-item shipping checklist.
Commands
| Command | Description |
|---------|-------------|
| /Forge:brainstorm | Phase 1 — Design a new skill (wraps superpowers:brainstorming) |
| /Forge:plan | Phase 2 — Write implementation plan (wraps superpowers:writing-plans) |
| /Forge:build | Phase 3 — Execute the plan with scaffolding (wraps superpowers:executing-plans) |
| /Forge:validate | Phase 4 — Two-pass validation against shipping checklist |
| /Forge:ship | Phase 5 — Commit, test install, and clean up |
Pipeline
/Forge:brainstorm → /Forge:plan → /Forge:build → /Forge:validate → /Forge:ship
Each phase is a separate command. You can enter at any phase if you already have the prerequisite artifacts (e.g., skip brainstorm if you have a design doc). Validate and ship enforce the full checklist regardless.
Resources
Load resources from resources/INDEX.md when needed — don't read them all upfront.