π« Toolkit to help you get started with SDD or any other process!
Consolidate scripts
Den Delimarsky πΊ7c0f0a4627e0
diff --git a/README.md b/README.mdindex b2dbca540..272458097 100644--- a/README.md+++ b/README.md@@ -319,10 +319,9 @@ At this stage, your project folder contents should resemble the following:β βββ constitution.mdβ βββ constitution_update_checklist.mdβββ scripts-β βββ check-task-prerequisites.sh+β βββ check-prerequisites.shβ βββ common.shβ βββ create-new-feature.sh-β βββ get-feature-paths.shβ βββ setup-plan.shβ βββ update-claude-md.shβββ specs@@ -371,10 +370,9 @@ The output of this step will include a number of implementation detail documentsβ βββ constitution.mdβ βββ constitution_update_checklist.mdβββ scripts-β βββ check-task-prerequisites.sh+β βββ check-prerequisites.shβ βββ common.shβ βββ create-new-feature.sh-β βββ get-feature-paths.shβ βββ setup-plan.shβ βββ update-claude-md.shβββ specsdiff --git a/scripts/bash/check-implementation-prerequisites.sh b/scripts/bash/check-implementation-prerequisites.shdeleted file mode 100644index c660ffa78..000000000--- a/scripts/bash/check-implementation-prerequisites.sh+++ /dev/null@@ -1,16 +0,0 @@-#!/usr/bin/env bash-set -e-JSON_MODE=false-for arg in "$@"; do case "$arg" in --json) JSON_MODE=true ;; --help|-h) echo "Usage: $0 [--json]"; exit 0 ;; esac; done-SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"-source "$SCRIPT_DIR/common.sh"-eval $(get_feature_paths)-check_feature_branch "$CURRENT_BRANCH" || exit 1-if [[ ! -d "$FEATURE_DIR" ]]; then echo "ERROR: Feature directory not found: $FEATURE_DIR"; echo "Run /specify first."; exit 1; fi-if [[ ! -f "$IMPL_PLAN" ]]; then echo "ERROR: plan.md not found in $FEATURE_DIR"; echo "Run /plan first."; exit 1; fi-if [[ ! -f "$TASKS" ]]; then echo "ERROR: tasks.md not found in $FEATURE_DIR"; echo "Run /tasks first."; exit 1; fi-if $JSON_MODE; then- docs=(); [[ -f "$RESEARCH" ]] && docs+=("research.md"); [[ -f "$DATA_MODEL" ]] && docs+=("data-model.md"); ([[ -d "$CONTRACTS_DIR" ]] && [[ -n "$(ls -A "$CONTRACTS_DIR" 2>/dev/null)" ]]) && docs+=("contracts/"); [[ -f "$QUICKSTART" ]] && docs+=("quickstart.md"); [[ -f "$TASKS" ]] && docs+=("tasks.md");- json_docs=$(printf '"%s",' "${docs[@]}"); json_docs="[${json_docs%,}]"; printf '{"FEATURE_DIR":"%s","AVAILABLE_DOCS":%s}\n' "$FEATURE_DIR" "$json_docs"-else- echo "FEATURE_DIR:$FEATURE_DIR"; echo "AVAILABLE_DOCS:"; check_file "$RESEARCH" "research.md"; check_file "$DATA_MODEL" "data-model.md"; check_dir "$CONTRACTS_DIR" "contracts/"; check_file "$QUICKSTART" "quickstart.md"; check_file "$TASKS" "tasks.md"; fi\ No newline at end of filediff --git a/scripts/bash/check-prerequisites.sh b/scripts/bash/check-prerequisites.shnew file mode 100644index 000000000..edb3891ca--- /dev/null+++ b/scripts/bash/check-prerequisites.sh@@ -0,0 +1,170 @@+#!/usr/bin/env bash++# Consolidated prerequisite checking script+#+# This script provides unified prerequisite checking for Spec-Driven Development workflow.+# It replaces the functionality previously spread across multiple scripts.+#+# Usage: ./check-prerequisites.sh [OPTIONS]+#+# OPTIONS:+# --json Output in JSON format+# --require-tasks Require tasks.md to exist (for implementation phase)+# --include-tasks Include tasks.md in AVAILABLE_DOCS list+# --paths-only Only output path variables (no validation)+# --help, -h Show help message+#+# OUTPUTS:+# JSON mode: {"FEATURE_DIR":"...", "AVAILABLE_DOCS":["..."]}+# Text mode: FEATURE_DIR:... \n AVAILABLE_DOCS: \n β/β file.md+# Paths only: REPO_ROOT: ... \n BRANCH: ... \n FEATURE_DIR: ... etc.++set -e++# Parse command line arguments+JSON_MODE=false+REQUIRE_TASKS=false+INCLUDE_TASKS=false+PATHS_ONLY=false++for arg in "$@"; do+ case "$arg" in+ --json)+ JSON_MODE=true+ ;;+ --require-tasks)+ REQUIRE_TASKS=true+ ;;+ --include-tasks)+ INCLUDE_TASKS=true+ ;;+ --paths-only)+ PATHS_ONLY=true+ ;;+ --help|-h)+ cat << 'EOF'+Usage: check-prerequisites.sh [OPTIONS]++Consolidated prerequisite checking for Spec-Driven Development workflow.++OPTIONS:+ --json Output in JSON format+ --require-tasks Require tasks.md to exist (for implementation phase)+ --include-tasks Include tasks.md in AVAILABLE_DOCS list+ --paths-only Only output path variables (no prerequisite validation)+ --help, -h Show this help message++EXAMPLES:+ # Check task prerequisites (plan.md required)+ ./check-prerequisites.sh --json++ # Check implementation prerequisites (plan.md + tasks.md required)+ ./check-prerequisites.sh --json --require-tasks --include-tasks++ # Get feature paths only (no validation)+ ./check-prerequisites.sh --paths-only++COMPATIBILITY:+ # For task prerequisites (plan.md required)+ ./check-prerequisites.sh --json++ # For implementation prerequisites (plan.md + tasks.md required)+ ./check-prerequisites.sh --json --require-tasks --include-tasks++ # For feature paths only (no validation)+ ./check-prerequisites.sh --paths-only++EOF+ exit 0+ ;;+ *)+ echo "ERROR: Unknown option '$arg'. Use --help for usage information." >&2+ exit 1+ ;;+ esac+done++# Source common functions+SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"+source "$SCRIPT_DIR/common.sh"++# Get feature paths and validate branch+eval $(get_feature_paths)+check_feature_branch "$CURRENT_BRANCH" || exit 1++# If paths-only mode, output paths and exit+if $PATHS_ONLY; then+ echo "REPO_ROOT: $REPO_ROOT"+ echo "BRANCH: $CURRENT_BRANCH"+ echo "FEATURE_DIR: $FEATURE_DIR"+ echo "FEATURE_SPEC: $FEATURE_SPEC"+ echo "IMPL_PLAN: $IMPL_PLAN"+ echo "TASKS: $TASKS"+ exit 0+fi++# Validate required directories and files+if [[ ! -d "$FEATURE_DIR" ]]; then+ echo "ERROR: Feature directory not found: $FEATURE_DIR" >&2+ echo "Run /specify first to create the feature structure." >&2+ exit 1+fi++if [[ ! -f "$IMPL_PLAN" ]]; then+ echo "ERROR: plan.md not found in $FEATURE_DIR" >&2+ echo "Run /plan first to create the implementation plan." >&2+ exit 1+fi++# Check for tasks.md if required+if $REQUIRE_TASKS && [[ ! -f "$TASKS" ]]; then+ echo "ERROR: tasks.md not found in $FEATURE_DIR" >&2+ echo "Run /tasks first to create the task list." >&2+ exit 1+fi++# Build list of available documents+docs=()++# Always check these optional docs+[[ -f "$RESEARCH" ]] && docs+=("research.md")+[[ -f "$DATA_MODEL" ]] && docs+=("data-model.md")++# Check contracts directory (only if it exists and has files)+if [[ -d "$CONTRACTS_DIR" ]] && [[ -n "$(ls -A "$CONTRACTS_DIR" 2>/dev/null)" ]]; then+ docs+=("contracts/")+fi++[[ -f "$QUICKSTART" ]] && docs+=("quickstart.md")++# Include tasks.md if requested and it exists+if $INCLUDE_TASKS && [[ -f "$TASKS" ]]; then+ docs+=("tasks.md")+fi++# Output results+if $JSON_MODE; then+ # Build JSON array of documents+ if [[ ${#docs[@]} -eq 0 ]]; then+ json_docs="[]"+ else+ json_docs=$(printf '"%s",' "${docs[@]}")+ json_docs="[${json_docs%,}]"+ fi++ printf '{"FEATURE_DIR":"%s","AVAILABLE_DOCS":%s}\n' "$FEATURE_DIR" "$json_docs"+else+ # Text output+ echo "FEATURE_DIR:$FEATURE_DIR"+ echo "AVAILABLE_DOCS:"++ # Show status of each potential document+ check_file "$RESEARCH" "research.md"+ check_file "$DATA_MODEL" "data-model.md"+ check_dir "$CONTRACTS_DIR" "contracts/"+ check_file "$QUICKSTART" "quickstart.md"++ if $INCLUDE_TASKS; then+ check_file "$TASKS" "tasks.md"+ fi+fi\ No newline at end of filediff --git a/scripts/bash/check-task-prerequisites.sh b/scripts/bash/check-task-prerequisites.shdeleted file mode 100644index e578f8646..000000000--- a/scripts/bash/check-task-prerequisites.sh+++ /dev/null@@ -1,15 +0,0 @@-#!/usr/bin/env bash-set -e-JSON_MODE=false-for arg in "$@"; do case "$arg" in --json) JSON_MODE=true ;; --help|-h) echo "Usage: $0 [--json]"; exit 0 ;; esac; done-SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"-source "$SCRIPT_DIR/common.sh"-eval $(get_feature_paths)-check_feature_branch "$CURRENT_BRANCH" || exit 1-if [[ ! -d "$FEATURE_DIR" ]]; then echo "ERROR: Feature directory not found: $FEATURE_DIR"; echo "Run /specify first."; exit 1; fi-if [[ ! -f "$IMPL_PLAN" ]]; then echo "ERROR: plan.md not found in $FEATURE_DIR"; echo "Run /plan first."; exit 1; fi-if $JSON_MODE; then- docs=(); [[ -f "$RESEARCH" ]] && docs+=("research.md"); [[ -f "$DATA_MODEL" ]] && docs+=("data-model.md"); ([[ -d "$CONTRACTS_DIR" ]] && [[ -n "$(ls -A "$CONTRACTS_DIR" 2>/dev/null)" ]]) && docs+=("contracts/"); [[ -f "$QUICKSTART" ]] && docs+=("quickstart.md");- json_docs=$(printf '"%s",' "${docs[@]}"); json_docs="[${json_docs%,}]"; printf '{"FEATURE_DIR":"%s","AVAILABLE_DOCS":%s}\n' "$FEATURE_DIR" "$json_docs"-else- echo "FEATURE_DIR:$FEATURE_DIR"; echo "AVAILABLE_DOCS:"; check_file "$RESEARCH" "research.md"; check_file "$DATA_MODEL" "data-model.md"; check_dir "$CONTRACTS_DIR" "contracts/"; check_file "$QUICKSTART" "quickstart.md"; fidiff --git a/scripts/bash/get-feature-paths.sh b/scripts/bash/get-feature-paths.shdeleted file mode 100644index 016727dbd..000000000--- a/scripts/bash/get-feature-paths.sh+++ /dev/null@@ -1,7 +0,0 @@-#!/usr/bin/env bash-set -e-SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"-source "$SCRIPT_DIR/common.sh"-eval $(get_feature_paths)-check_feature_branch "$CURRENT_BRANCH" || exit 1-echo "REPO_ROOT: $REPO_ROOT"; echo "BRANCH: $CURRENT_BRANCH"; echo "FEATURE_DIR: $FEATURE_DIR"; echo "FEATURE_SPEC: $FEATURE_SPEC"; echo "IMPL_PLAN: $IMPL_PLAN"; echo "TASKS: $TASKS"diff --git a/scripts/powershell/check-implementation-prerequisites.ps1 b/scripts/powershell/check-implementation-prerequisites.ps1deleted file mode 100644index 312a3b1f4..000000000--- a/scripts/powershell/check-implementation-prerequisites.ps1+++ /dev/null@@ -1,42 +0,0 @@-#!/usr/bin/env pwsh-[CmdletBinding()]-param([switch]$Json)-$ErrorActionPreference = 'Stop'-. "$PSScriptRoot/common.ps1"--$paths = Get-FeaturePathsEnv-if (-not (Test-FeatureBranch -Branch $paths.CURRENT_BRANCH)) { exit 1 }--if (-not (Test-Path $paths.FEATURE_DIR -PathType Container)) {- Write-Output "ERROR: Feature directory not found: $($paths.FEATURE_DIR)"- Write-Output "Run /specify first to create the feature structure."- exit 1-}-if (-not (Test-Path $paths.IMPL_PLAN -PathType Leaf)) {- Write-Output "ERROR: plan.md not found in $($paths.FEATURE_DIR)"- Write-Output "Run /plan first to create the plan."- exit 1-}-if (-not (Test-Path $paths.TASKS -PathType Leaf)) {- Write-Output "ERROR: tasks.md not found in $($paths.FEATURE_DIR)"- Write-Output "Run /tasks first to create the task list."- exit 1-}--if ($Json) {- $docs = @()- if (Test-Path $paths.RESEARCH) { $docs += 'research.md' }- if (Test-Path $paths.DATA_MODEL) { $docs += 'data-model.md' }- if ((Test-Path $paths.CONTRACTS_DIR) -and (Get-ChildItem -Path $paths.CONTRACTS_DIR -ErrorAction SilentlyContinue | Select-Object -First 1)) { $docs += 'contracts/' }- if (Test-Path $paths.QUICKSTART) { $docs += 'quickstart.md' }- if (Test-Path $paths.TASKS) { $docs += 'tasks.md' }- [PSCustomObject]@{ FEATURE_DIR=$paths.FEATURE_DIR; AVAILABLE_DOCS=$docs } | ConvertTo-Json -Compress-} else {- Write-Output "FEATURE_DIR:$($paths.FEATURE_DIR)"- Write-Output "AVAILABLE_DOCS:"- Test-FileExists -Path $paths.RESEARCH -Description 'research.md' | Out-Null- Test-FileExists -Path $paths.DATA_MODEL -Description 'data-model.md' | Out-Null- Test-DirHasFiles -Path $paths.CONTRACTS_DIR -Description 'contracts/' | Out-Null- Test-FileExists -Path $paths.QUICKSTART -Description 'quickstart.md' | Out-Null- Test-FileExists -Path $paths.TASKS -Description 'tasks.md' | Out-Null-}\ No newline at end of filediff --git a/scripts/powershell/check-prerequisites.ps1 b/scripts/powershell/check-prerequisites.ps1new file mode 100644index 000000000..8bec816a6--- /dev/null+++ b/scripts/powershell/check-prerequisites.ps1@@ -0,0 +1,146 @@+#!/usr/bin/env pwsh++# Consolidated prerequisite checking script (PowerShell)+#+# This script provides unified prerequisite checking for Spec-Driven Development workflow.+# It replaces the functionality previously spread across multiple scripts.+#+# Usage: ./check-prerequisites.ps1 [OPTIONS]+#+# OPTIONS:+# -Json Output in JSON format+# -RequireTasks Require tasks.md to exist (for implementation phase)+# -IncludeTasks Include tasks.md in AVAILABLE_DOCS list+# -PathsOnly Only output path variables (no validation)+# -Help, -h Show help message++[CmdletBinding()]+param(+ [switch]$Json,+ [switch]$RequireTasks,+ [switch]$IncludeTasks,+ [switch]$PathsOnly,+ [switch]$Help+)++$ErrorActionPreference = 'Stop'++# Show help if requested+if ($Help) {+ Write-Output @"+Usage: check-prerequisites.ps1 [OPTIONS]++Consolidated prerequisite checking for Spec-Driven Development workflow.++OPTIONS:+ -Json Output in JSON format+ -RequireTasks Require tasks.md to exist (for implementation phase)+ -IncludeTasks Include tasks.md in AVAILABLE_DOCS list+ -PathsOnly Only output path variables (no prerequisite validation)+ -Help, -h Show this help message++EXAMPLES:+ # Check task prerequisites (plan.md required)+ .\check-prerequisites.ps1 -Json++ # Check implementation prerequisites (plan.md + tasks.md required)+ .\check-prerequisites.ps1 -Json -RequireTasks -IncludeTasks++ # Get feature paths only (no validation)+ .\check-prerequisites.ps1 -PathsOnly++COMPATIBILITY:+ # For task prerequisites (plan.md required)+ .\check-prerequisites.ps1 -Json++ # For implementation prerequisites (plan.md + tasks.md required)+ .\check-prerequisites.ps1 -Json -RequireTasks -IncludeTasks++ # For feature paths only (no validation)+ .\check-prerequisites.ps1 -PathsOnly++"@+ exit 0+}++# Source common functions+. "$PSScriptRoot/common.ps1"++# Get feature paths and validate branch+$paths = Get-FeaturePathsEnv+if (-not (Test-FeatureBranch -Branch $paths.CURRENT_BRANCH)) {+ exit 1+}++# If paths-only mode, output paths and exit+if ($PathsOnly) {+ Write-Output "REPO_ROOT: $($paths.REPO_ROOT)"+ Write-Output "BRANCH: $($paths.CURRENT_BRANCH)"+ Write-Output "FEATURE_DIR: $($paths.FEATURE_DIR)"+ Write-Output "FEATURE_SPEC: $($paths.FEATURE_SPEC)"+ Write-Output "IMPL_PLAN: $($paths.IMPL_PLAN)"+ Write-Output "TASKS: $($paths.TASKS)"+ exit 0+}++# Validate required directories and files+if (-not (Test-Path $paths.FEATURE_DIR -PathType Container)) {+ Write-Output "ERROR: Feature directory not found: $($paths.FEATURE_DIR)"+ Write-Output "Run /specify first to create the feature structure."+ exit 1+}++if (-not (Test-Path $paths.IMPL_PLAN -PathType Leaf)) {+ Write-Output "ERROR: plan.md not found in $($paths.FEATURE_DIR)"+ Write-Output "Run /plan first to create the implementation plan."+ exit 1+}++# Check for tasks.md if required+if ($RequireTasks -and -not (Test-Path $paths.TASKS -PathType Leaf)) {+ Write-Output "ERROR: tasks.md not found in $($paths.FEATURE_DIR)"+ Write-Output "Run /tasks first to create the task list."+ exit 1+}++# Build list of available documents+$docs = @()++# Always check these optional docs+if (Test-Path $paths.RESEARCH) { $docs += 'research.md' }+if (Test-Path $paths.DATA_MODEL) { $docs += 'data-model.md' }++# Check contracts directory (only if it exists and has files)+if ((Test-Path $paths.CONTRACTS_DIR) -and (Get-ChildItem -Path $paths.CONTRACTS_DIR -ErrorAction SilentlyContinue | Select-Object -First 1)) {+ $docs += 'contracts/'+}++if (Test-Path $paths.QUICKSTART) { $docs += 'quickstart.md' }++# Include tasks.md if requested and it exists+if ($IncludeTasks -and (Test-Path $paths.TASKS)) {+ $docs += 'tasks.md'+}++# Output results+if ($Json) {+ # JSON output+ [PSCustomObject]@{+ FEATURE_DIR = $paths.FEATURE_DIR+ AVAILABLE_DOCS = $docs+ } | ConvertTo-Json -Compress+} else {+ # Text output+ Write-Output "FEATURE_DIR:$($paths.FEATURE_DIR)"+ Write-Output "AVAILABLE_DOCS:"++ # Show status of each potential document+ Test-FileExists -Path $paths.RESEARCH -Description 'research.md' | Out-Null+ Test-FileExists -Path $paths.DATA_MODEL -Description 'data-model.md' | Out-Null+ Test-DirHasFiles -Path $paths.CONTRACTS_DIR -Description 'contracts/' | Out-Null+ Test-FileExists -Path $paths.QUICKSTART -Description 'quickstart.md' | Out-Null++ if ($IncludeTasks) {+ Test-FileExists -Path $paths.TASKS -Description 'tasks.md' | Out-Null+ }+}\ No newline at end of filediff --git a/scripts/powershell/check-task-prerequisites.ps1 b/scripts/powershell/check-task-prerequisites.ps1deleted file mode 100644index 3be870f31..000000000--- a/scripts/powershell/check-task-prerequisites.ps1+++ /dev/null@@ -1,35 +0,0 @@-#!/usr/bin/env pwsh-[CmdletBinding()]-param([switch]$Json)-$ErrorActionPreference = 'Stop'-. "$PSScriptRoot/common.ps1"--$paths = Get-FeaturePathsEnv-if (-not (Test-FeatureBranch -Branch $paths.CURRENT_BRANCH)) { exit 1 }--if (-not (Test-Path $paths.FEATURE_DIR -PathType Container)) {- Write-Output "ERROR: Feature directory not found: $($paths.FEATURE_DIR)"- Write-Output "Run /specify first to create the feature structure."- exit 1-}-if (-not (Test-Path $paths.IMPL_PLAN -PathType Leaf)) {- Write-Output "ERROR: plan.md not found in $($paths.FEATURE_DIR)"- Write-Output "Run /plan first to create the plan."- exit 1-}--if ($Json) {- $docs = @()- if (Test-Path $paths.RESEARCH) { $docs += 'research.md' }- if (Test-Path $paths.DATA_MODEL) { $docs += 'data-model.md' }- if ((Test-Path $paths.CONTRACTS_DIR) -and (Get-ChildItem -Path $paths.CONTRACTS_DIR -ErrorAction SilentlyContinue | Select-Object -First 1)) { $docs += 'contracts/' }- if (Test-Path $paths.QUICKSTART) { $docs += 'quickstart.md' }- [PSCustomObject]@{ FEATURE_DIR=$paths.FEATURE_DIR; AVAILABLE_DOCS=$docs } | ConvertTo-Json -Compress-} else {- Write-Output "FEATURE_DIR:$($paths.FEATURE_DIR)"- Write-Output "AVAILABLE_DOCS:"- Test-FileExists -Path $paths.RESEARCH -Description 'research.md' | Out-Null- Test-FileExists -Path $paths.DATA_MODEL -Description 'data-model.md' | Out-Null- Test-DirHasFiles -Path $paths.CONTRACTS_DIR -Description 'contracts/' | Out-Null- Test-FileExists -Path $paths.QUICKSTART -Description 'quickstart.md' | Out-Null-}diff --git a/scripts/powershell/get-feature-paths.ps1 b/scripts/powershell/get-feature-paths.ps1deleted file mode 100644index fc0958579..000000000--- a/scripts/powershell/get-feature-paths.ps1+++ /dev/null@@ -1,15 +0,0 @@-#!/usr/bin/env pwsh-param()-$ErrorActionPreference = 'Stop'--. "$PSScriptRoot/common.ps1"--$paths = Get-FeaturePathsEnv-if (-not (Test-FeatureBranch -Branch $paths.CURRENT_BRANCH)) { exit 1 }--Write-Output "REPO_ROOT: $($paths.REPO_ROOT)"-Write-Output "BRANCH: $($paths.CURRENT_BRANCH)"-Write-Output "FEATURE_DIR: $($paths.FEATURE_DIR)"-Write-Output "FEATURE_SPEC: $($paths.FEATURE_SPEC)"-Write-Output "IMPL_PLAN: $($paths.IMPL_PLAN)"-Write-Output "TASKS: $($paths.TASKS)"diff --git a/templates/commands/implement.md b/templates/commands/implement.mdindex a14bd0d4b..e017d8ea6 100644--- a/templates/commands/implement.md+++ b/templates/commands/implement.md@@ -1,8 +1,8 @@---description: Execute the implementation plan by processing and executing all tasks defined in tasks.mdscripts:- sh: scripts/bash/check-implementation-prerequisites.sh --json- ps: scripts/powershell/check-implementation-prerequisites.ps1 -Json+ sh: scripts/bash/check-prerequisites.sh --json --require-tasks --include-tasks+ ps: scripts/powershell/check-prerequisites.ps1 -Json -RequireTasks -IncludeTasks---Given the current feature context, do this:diff --git a/templates/commands/tasks.md b/templates/commands/tasks.mdindex 29b4cd25e..3e2b226e5 100644--- a/templates/commands/tasks.md+++ b/templates/commands/tasks.md@@ -1,8 +1,8 @@---description: Generate an actionable, dependency-ordered tasks.md for the feature based on available design artifacts.scripts:- sh: scripts/bash/check-task-prerequisites.sh --json- ps: scripts/powershell/check-task-prerequisites.ps1 -Json+ sh: scripts/bash/check-prerequisites.sh --json+ ps: scripts/powershell/check-prerequisites.ps1 -Json---Given the context provided as an argument, do this: