diff --git a/.pi/prompts/pi-audit.md b/.pi/prompts/pi-audit.md new file mode 100644 index 00000000..8931440a --- /dev/null +++ b/.pi/prompts/pi-audit.md @@ -0,0 +1,13 @@ +--- +description: Run technical debt audit with file-cited findings +argument-hint: "[scope]" +--- + +Use pi-crew with the `flights-web` team and the `tech-debt-audit` workflow. + +Scope: + +$@ + +Audit architecture, consistency, type contracts, test debt, dependency/config debt, performance, observability, security hygiene, and documentation drift. Prefer file:line-cited findings and a ranked remediation plan. Do not edit production code. + diff --git a/.pi/prompts/pi-metrics.md b/.pi/prompts/pi-metrics.md new file mode 100644 index 00000000..a63675f7 --- /dev/null +++ b/.pi/prompts/pi-metrics.md @@ -0,0 +1,13 @@ +--- +description: Show Pi crew and usage metrics +argument-hint: "[metric-filter]" +--- + +Show current Pi and pi-crew metrics for this project. + +Use `/team-metrics` for crew metrics, applying this filter if provided: + +$@ + +Also summarize how to inspect token/cost/session reports with `npx @ccusage/pi@latest session`, and clearly separate inference time, crew task duration, and pause-inclusive conversation gaps. + diff --git a/.pi/prompts/pi-parity.md b/.pi/prompts/pi-parity.md new file mode 100644 index 00000000..d366cb63 --- /dev/null +++ b/.pi/prompts/pi-parity.md @@ -0,0 +1,11 @@ +--- +description: Compare legacy Angular and React implementation parity +argument-hint: "" +--- + +Use pi-crew with the `flights-web` team and the `angular-react-parity` workflow for this feature: + +$@ + +Treat `ClientApp/` as the Angular reference and `src/` as the React implementation. Produce or update the business-logic spec, parity matrix, and verification report under `docs/parity/`. Use existing compare scripts and Playwright MCP where useful. Do not edit production code unless I explicitly ask for an implementation follow-up. + diff --git a/.pi/prompts/pi-review.md b/.pi/prompts/pi-review.md new file mode 100644 index 00000000..5c1c30e4 --- /dev/null +++ b/.pi/prompts/pi-review.md @@ -0,0 +1,13 @@ +--- +description: Run focused crew review of the current branch or diff +argument-hint: "[scope]" +--- + +Use pi-crew with the `flights-web` team and the `review-only` workflow. + +Scope: + +$@ + +Review the current branch or diff for correctness, regressions, test gaps, unnecessary complexity, docs drift, and GitOps readiness. Do not edit files unless a clearly safe documentation or config fix is required and you report it explicitly. + diff --git a/.pi/prompts/pi-spec.md b/.pi/prompts/pi-spec.md new file mode 100644 index 00000000..647ba027 --- /dev/null +++ b/.pi/prompts/pi-spec.md @@ -0,0 +1,11 @@ +--- +description: Run the Flights Web spec-driven implementation crew +argument-hint: "" +--- + +Use pi-crew with the `flights-web` team and the `spec-driven-implementation` workflow for this goal: + +$@ + +Prefer a worktree for non-trivial implementation. Run spec analysis, planning, critic review, TDD/test planning, implementation, unit/e2e verification, code review, docs handoff, and GitOps handoff according to the project crew config. + diff --git a/.pi/prompts/pi-tdd.md b/.pi/prompts/pi-tdd.md new file mode 100644 index 00000000..c1ff9ef1 --- /dev/null +++ b/.pi/prompts/pi-tdd.md @@ -0,0 +1,11 @@ +--- +description: Start a TDD-focused implementation pass +argument-hint: "" +--- + +Use the `tdd-tester`, `unit-tester`, and implementation roles from the `flights-web` crew for this goal: + +$@ + +Start by identifying the behavior contract and the smallest failing test. Then implement the minimal change, run focused tests, and ask critic/reviewer roles to check the result before GitOps. +