workflow-detection

Community

Centralize workflow type detection.

Authormarcusgoll
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Provides a centralized source of truth for detecting workflow type across all phase and deployment commands, reducing duplication across 44 commands.

Core Features & Use Cases

  • Centralized workflow type detection across commands.
  • Output format includes type, base_dir, slug, branch, source, is_worktree.
  • Works with both bash and PowerShell wrappers.
  • Path variables exposed for downstream commands.

Quick Start

  1. Detect workflow type using a centralized utility:
    • Bash: bash .spec-flow/scripts/utils/detect-workflow-paths.sh
    • PowerShell: pwsh -File .spec-flow/scripts/utils/detect-workflow-paths.ps1
  2. Read output JSON fields: type, base_dir, slug, branch, source, is_worktree.
  3. Use $WORKFLOW_TYPE etc. in subsequent commands.

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: workflow-detection
Download link: https://github.com/marcusgoll/Spec-Flow/archive/main.zip#workflow-detection

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 223,000+ vetted skills library on demand.