بنقرة واحدة
ppt-research-flow
Drive a plan from .research/plans/ through implementation, PR, and post-merge archive.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Drive a plan from .research/plans/ through implementation, PR, and post-merge archive.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Implement one task end-to-end for the PPT project — pick the right per-stack specialist, code, verify per-stack, push a draft PR against `dev`.
Project-management & delivery analysis for the PPT research routine (Phase 1.6). Runs an always-on Scrum Master synthesis plus role-based deep analysis (rotating one role/day by default; all 8 on `full`; a specific role on `pm:<role>`). Reads sprint-status + repo activity + research backlog, spawns role subagents, and writes delivery artifacts under .research/management/. Use from routine Phase 1.6, or standalone for a delivery snapshot.
Post-merge code review with issue creation. Reviews merged PRs in a time window, spots better approaches / missed edge cases / security holes / perf issues / test gaps, and opens GitHub issues with concrete improvement proposals.
Deterministic goal/convergence checks for the PPT dispatcher — coverage referential integrity, coverage-progress monotonicity, and buffer bounds. Run in dispatcher Phase 6 and CI. Use when adding/auditing the dispatcher's goal-verification layer.
Open a PR in this project's style — title, body template, IG3 evidence, CI surface, draft handling.
Land a green, approved PR. Verify preconditions (CI green, approved, no unresolved threads, not draft), auto-resolve mechanical merge conflicts against the base branch (sqlx offline data, Cargo.lock, generated openapi/api-client, lockfiles), then `gh pr merge --squash --auto`. Stops and surfaces if real code conflicts or stale CI.
| name | ppt-research-flow |
| description | Drive a plan from .research/plans/ through implementation, PR, and post-merge archive. |
| when_to_use | A user hands the implementer agent a path to a .research/plans/<slug>.md and asks for it to be shipped. |
| mode | both |
| capabilities | ["C6"] |
| tags | ["workflow"] |
End-to-end choreography for taking one .research/plans/<slug>.md and shipping
it as a PR that the next research routine run can mark done. This skill is
the spine — it doesn't restate goals, it links to them.
You are given (or are about to read) a plan under .research/plans/. Before
writing any code, walk this skill so you know which other skills to load and
what the exit criteria are.
SLUG — the plan basename (no extension), e.g. fix-user-import-validation.research/plans/$SLUG.md (must already exist on main)cat .research/plans/$SLUG.md
superpowers:* skills, no extra setupppt-db-migrations (seed gap) + ppt-bridge-mcp for cloud seedppt-dev-stack (local) or ppt-bridge-mcp (ppt_dev_up)adb-app-controlbackend/ → ppt-rust-backendfrontend/ → ppt-frontendmobile-native/ → ppt-mobile-nativedocs/api/typespec/ → ppt-typespecmain:
git switch -c "impl/$SLUG" main
just check
implementer-prompt.md § Implementation
loop (per Suggested-approach step). Write the failing test first when IG3
applies — vector bug / test-gap, or any plan sourced from a
revert-… / risky-churn-… signal.just check && just test && just build, plus the plan's
Test plan commands verbatim. See ppt-tests for stack-specific subsets.ppt-pr-create for the body template and IG3
two-commit (test → fix) evidence procedure.git mv ".research/plans/$SLUG.md" ".research/plans/_archive/$SLUG.md"
# edit .research/backlog.json: set the matching item's status="done"
# and append "shipped in PR #N" to its evidence array
git commit -m "research: mark $SLUG done (PR #<num>)"
git push
Reviewers should not approve a PR missing this commit. The flip lands
before merge so the next routine run sees status: "done" and doesn't
re-promote.# 1. plan file actually exists
test -f ".research/plans/$SLUG.md" && echo OK
# expected: OK
# 2. on the right branch
[ "$(git branch --show-current)" = "impl/$SLUG" ] && echo OK
# expected: OK
# 3. plan declares Mode: line (cloud-ok vs local-only)
grep -E '^Mode: (local-only|cloud-ok)' ".research/plans/$SLUG.md"
# expected: one match
# 4. archive directory exists for the post-merge move
test -d .research/plans/_archive && echo OK
# expected: OK
test -d .research/plans/_archive && test -f .research/implementer-prompt.md && echo ok
# IG8 — plan moved + backlog row flipped (run after the archive commit)
git log -1 --diff-filter=R --name-only | grep -q "_archive/$SLUG.md"
# backlog.json items have `id` and `plan` (not `slug`). Match the id that the
# routine derived from the plan slug, e.g. "test-gap-fix-user-import":
jq -e --arg p "plans/$SLUG.md" '.items[] | select(.plan == $p) | .status == "done"' .research/backlog.json
# (alternative if you know the id directly:
# jq -e --arg id "<vector>-<slug>" '.items[] | select(.id == $id) | .status == "done"' .research/backlog.json )
.research/implementer-prompt.md — IG1–IG8
definitions and the implementation loop (this skill does not duplicate them)ppt-pr-create — PR body templateppt-tests — picking the right test commandppt-bridge-mcp — cloud execution path