Initial commit

This commit is contained in:
Zhongwei Li
2025-11-30 08:51:52 +08:00
commit 7886816c48
15 changed files with 1327 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
# Script: get-content.ps1
# Purpose: Helper script for spec-workflow agents to load template and spec files (Windows)
# Usage: get-content.ps1 "C:\path\to\file.md"
param(
[Parameter(Mandatory=$true)]
[string]$FilePath
)
# Check if file exists
if (-not (Test-Path -Path $FilePath -PathType Leaf)) {
Write-Error "Error: File not found: $FilePath"
Write-Host "Please check the path and try again."
exit 1
}
# Output file content with header for clarity
Write-Host "=== Content of: $FilePath ===" -ForegroundColor Cyan
Write-Host ""
Get-Content -Path $FilePath
Write-Host ""
Write-Host "=== End of file ===" -ForegroundColor Cyan