cloud-pr
Build a change in a Claude cloud thread, have Devin test the PR on real devices, loop fixes, then ship. Use when I say /cloud-pr <project> <task>.
- License 许可
- MIT
- 最近更新
- 2026-11-12
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- cloud-pr
- description
- Build a change in a Claude cloud thread, have Devin test the PR on real devices, loop fixes, then ship. Use when I say /cloud-pr <project> <task>.
- disable-model-invocation
- true
02 资源文件 1
- 参考文档agents/openai.yaml43 B
03 SKILL.md 正文
Cloud PR
I hand you a project and a task. Claude Code on the web builds it and opens a PR, Devin tests that PR on the platform it needs, and you, a local T3 thread, carry Devin's verdict back until it passes. Then the PR merges when I say ship, or by itself if I said "ship when it passes". The point is that I don't babysit any of it.
Everything runs in the cloud except Windows checks. Keep me out of the loop until there's a pass, a real decision, or a stuck failure.
0. Is the repo ready
- The T3 project exists (
t3_project_list) and its repo hasscripts/cloud.mjsonorigin/main. If not, runcreate-project-flows§6 on it first, from a cloud thread. - Pick Devin's platform from the repo's AGENTS.md (
## Testing on Devin): browser, Android emulator, iOS Simulator or macOS. Windows-only work (likh, Studi's desktop app) is step 4, never Devin.
1. Build: a Claude cloud thread opens the PR
t3_thread_launch with projectId, workspaceStrategy: {type: "root"}, modelSelection: {instanceId: "megha-claude", model: "claude-opus-5-5", options: {mode: "bypassPermissions"}}, and a message that holds:
- the task in my words, with anything from this thread it needs (the cloud can't read T3)
- "Work in PR mode (your cloud note): prove it, open the PR, put the PR URL in your last message, and stop."
Wait for it with t3_thread_wait (long timeouts, call again on timeout). Read its last message for the PR URL; if there's none, read why and fix the brief, or tell me. link_pull_request the PR.
2. Test: Devin
Testing is manual for now: you start it, once per round. Fill cloud/devin-test.md in my skill library (the PR URL, the platform, what changed in one line) and start a Devin cloud session with it:
devin --cloud --model <GPT-6.1-Sol's id from `devin models list`> -p "<the filled prompt>"
Run it in the background; it prints Devin's answer when the session ends. If the CLI isn't set up, use the Devin MCP (devin_session_create, then devin_session_gather) if it's connected; otherwise stop and tell me what to set up.
Devin posts its verdict on the PR (Devin test: PASS or FAIL). Read the comment with gh pr view <n> --comments, not just the CLI output.
3. Fix loop
On FAIL, t3_thread_send to the build thread: Devin's comment as it stands, plus "check out <branch>, fix it, rerun the checks, push to the same branch, and stop." Wait, then go back to step 2.
Stop after three failed rounds, or when a failure isn't about the code (a missing login, a broken device, a flaky emulator), and tell me what's stuck, in plain words.
4. Windows, when the change needs it
Launch a local T3 thread in a new worktree on the PR branch (workspaceStrategy: {type: "worktree", baseRef: "<branch>", startFromOrigin: true}) that runs the repo's verify-<app> for the changed feature and comments the result on the PR. Its failures go through step 3 like Devin's.
5. Done
When Devin passes (and Windows, when it ran), and CI is green:
- If I said "ship when it passes", send "ship" to the build thread and wait until it reports the ship is done.
- Otherwise tell me, in three lines: the PR, what Devin tested and its recording, and anything left.
watch_pull_request the PR while you wait on long steps, and unwatch_pull_request when you hand back to me.
04 同仓库更多 Skills
writing-for-agents
Write docs that agents read (skills, AGENTS.md, CLAUDE.md). Use when creating or editing a skill, or changing AGENTS.md or CLAUDE.md.
unslop
Make prose sound human, not AI-written. Use whenever you write a PR description, commit message, doc, README, release note, post, email or UI copy, or when asked to unslop or de-AI text.
tutor
Run a study session from my exam plan and progress files in the study repo. Use when I say study, teach me, quiz me, practice for an exam, or check whether I really understand a topic.
threads
Start, steer and read T3 threads on my laptop or Mac mini from either machine. Use to move a thread to the Mac, get a Windows check from the laptop, manage threads on both, or answer a message from the other machine.
statechart
Check a TLA+ model and draw it as a Mermaid statechart, with the shortest path to each broken rule. Use for /statechart, to read a TLC result, or to show a bug as a path through states.
sol-loop
Review a change with GPT Sol in a loop until we both agree. Use when I say "sol loop".