Files
ai-coding-skills/scripts/verify-pi-workflows.sh
T
2026-04-23 16:14:59 -05:00

28 lines
888 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
WORKFLOW_FILES=(
"skills/create-plan/pi/SKILL.md"
"skills/do-task/pi/SKILL.md"
"skills/implement-plan/pi/SKILL.md"
)
# These terms cover the Codex-only constructs explicitly called out by the plan.
# Expand this deny-list if later pi workflow ports introduce new harness-specific tokens.
for file in "${WORKFLOW_FILES[@]}"; do
test -f "$file"
grep -q 'docs/PI-SUPERPOWERS.md' "$file"
done
test -f skills/create-plan/pi/templates/continuation-runbook.md
test -f skills/create-plan/pi/templates/milestone-plan.md
test -f skills/create-plan/pi/templates/story-tracker.md
test -f skills/do-task/pi/templates/task-plan.md
test -x skills/reviewer-runtime/pi/run-review.sh
test -x skills/reviewer-runtime/pi/notify-telegram.sh
! rg -n 'update_plan|plan mode|sub-agent|subagents' "${WORKFLOW_FILES[@]}"
echo "pi workflow skill docs verified"