System Documentation

What problem does it solve?

Ensures a spec-driven-development run starts in a valid, commit-capable repository state so later stages can rely on configuration and branch assumptions without surprises.

Core Features & Use Cases

  • Config validation gate: Confirms .sublime-skills/config.yml exists and passes validate-config.sh, aborting immediately if missing or invalid.
  • Git and branch readiness checks: Verifies the current directory is inside a git repository and that HEAD is attached to a named branch (aborts if detached).
  • Permissive dirty-tree handling: Warns when the working tree is dirty, then asks for confirmation to proceed so existing user changes remain untouched.
  • SDD state shell initialization: Removes any orphan .sublime-skills/state.json from a prior dead pipeline and creates a fresh minimal state.json only after all hard checks pass.
  • Use case: Before drafting specs and planning implementation tasks, run this to avoid wasted work caused by misconfigured SDD, missing bootstrap artifacts, or running on detached HEAD.

Quick Start

Tell your agent to run the ss-sdd-preflight skill to verify the repo configuration, git readiness, and create the initial .sublime-skills/state.json shell.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: ss-sdd-preflight
Download link: https://github.com/Emrebener/Sublime-Skills/archive/main.zip#ss-sdd-preflight

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.