Complete collection of AI agent skills including: - Frontend Development (Vue, React, Next.js, Three.js) - Backend Development (NestJS, FastAPI, Node.js) - Mobile Development (React Native, Expo) - Testing (E2E, frontend, webapp) - DevOps (GitHub Actions, CI/CD) - Marketing (SEO, copywriting, analytics) - Security (binary analysis, vulnerability scanning) - And many more... Synchronized from: https://skills.sh/ Co-Authored-By: Claude <noreply@anthropic.com>
43 lines
1.2 KiB
PowerShell
43 lines
1.2 KiB
PowerShell
# Check if all phases in task_plan.md are complete
|
|
# Exit 0 if complete, exit 1 if incomplete
|
|
# Used by Stop hook to verify task completion
|
|
|
|
param(
|
|
[string]$PlanFile = "task_plan.md"
|
|
)
|
|
|
|
if (-not (Test-Path $PlanFile)) {
|
|
Write-Host "ERROR: $PlanFile not found"
|
|
Write-Host "Cannot verify completion without a task plan."
|
|
exit 1
|
|
}
|
|
|
|
Write-Host "=== Task Completion Check ==="
|
|
Write-Host ""
|
|
|
|
# Read file content
|
|
$content = Get-Content $PlanFile -Raw
|
|
|
|
# Count phases by status
|
|
$TOTAL = ([regex]::Matches($content, "### Phase")).Count
|
|
$COMPLETE = ([regex]::Matches($content, "\*\*Status:\*\* complete")).Count
|
|
$IN_PROGRESS = ([regex]::Matches($content, "\*\*Status:\*\* in_progress")).Count
|
|
$PENDING = ([regex]::Matches($content, "\*\*Status:\*\* pending")).Count
|
|
|
|
Write-Host "Total phases: $TOTAL"
|
|
Write-Host "Complete: $COMPLETE"
|
|
Write-Host "In progress: $IN_PROGRESS"
|
|
Write-Host "Pending: $PENDING"
|
|
Write-Host ""
|
|
|
|
# Check completion
|
|
if ($COMPLETE -eq $TOTAL -and $TOTAL -gt 0) {
|
|
Write-Host "ALL PHASES COMPLETE"
|
|
exit 0
|
|
} else {
|
|
Write-Host "TASK NOT COMPLETE"
|
|
Write-Host ""
|
|
Write-Host "Do not stop until all phases are complete."
|
|
exit 1
|
|
}
|