一键导入
ppt-research-trigger
Interact with the research routine itself — fire `deep` or `reset` runs from a Claude Code session without crafting curl by hand.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Interact with the research routine itself — fire `deep` or `reset` runs from a Claude Code session without crafting curl by hand.
用 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-trigger |
| description | Interact with the research routine itself — fire `deep` or `reset` runs from a Claude Code session without crafting curl by hand. |
routine-prompt.md § Special trigger payloads documents three modes:
text payload | Effect |
|---|---|
"" (empty) | Normal run — incremental since last_pr_seen / last_commit_sha / last_issue_seen. |
"deep" | 30-day catch-up sweep. Cursors only advance after all writes succeed — opportunistic catch-up, not a cursor reset. |
"reset" | Wipe last_pr_seen, last_commit_sha, last_issue_seen, seen_signals, and hotspot_history. Next run does an initial 14-day sweep. |
Today users open the README, find the routine's API trigger URL, and craft curl by hand. This skill makes the payloads discoverable and the curl template copy-pasteable.
You (or the user) want to fire a non-default routine run. Examples:
text: "deep"state.json looks corrupted or you want to re-sweep the last two weeks → text: "reset"text: "deep" once, then watch the brief.Skip this skill for a normal daily run — that's scheduled at 05:00 local in claude.ai/code/routines and needs no manual prod.
{"text": "..."} JSON body)https://claude.ai/code/routines → ppt-research → API trigger (only visible if API triggers are enabled on this routine).https://claude.ai/code/routinesppt-research → scroll to API trigger sectionhttps://api.anthropic.com/v1/code/routines/<routine-id>/triggers)pass, op, whichever you use). Don't commit it.{"text": ""} → identical to the scheduled run{"text": "deep"} → 30-day backlog catch-up{"text": "reset"} → cursor wipe + next run is a 14-day initial sweepcurl, plain JSON body:
curl -fsS \
-X POST "$ROUTINE_TRIGGER_URL" \
-H "Authorization: Bearer $CLAUDE_ROUTINE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"text": "deep"}'
Response is a small JSON blob with the new run's id; the routine itself starts in the background. Watch https://claude.ai/code/routines/ppt-research/runs for progress.main:
gh api repos/martin-janci/property-management/commits/main --jq '.commit.message' | head -1
# expected: "research: <YYYY-MM-DD> brief — …"
For text: "reset", today's brief includes the literal line "State reset; cursors cleared." For text: "deep", the brief notes the 30-day window in Since last run.# 1. trigger URL is set in env (or pulled from a secrets store)
test -n "$ROUTINE_TRIGGER_URL" && echo OK
# expected: OK
# 2. token is set
test -n "$CLAUDE_ROUTINE_TOKEN" && echo OK
# expected: OK
# 3. payload is valid JSON (catches bad-quoting before firing)
echo '{"text": "deep"}' | jq -e '.text' >/dev/null && echo OK
# expected: OK
test -f .research/routine-prompt.md && grep -q 'Special trigger payloads' .research/routine-prompt.md
# After firing a deep / reset trigger, wait ~5 min, then:
gh api repos/martin-janci/property-management/commits/main --jq '.commit.message' | head -1
# For deep: expect "research: <today> brief — N merged PRs, M new vectors, P plans"
# For reset: expect the brief at .research/briefs/<today>.md to contain "State reset"
.research/routine-prompt.md § Special trigger payloads — canonical payload semantics.research/README.md § Activating the cloud routine — where API triggers fit in the routine setupppt-research-flow — the implementer-side flow once plans are promoted