Unverified 提交 36639651 authored 作者: Will Chen's avatar Will Chen 提交者: GitHub

Create sub-agents which are supervised for claude workflows (#2597)

#skip-bb <!-- devin-review-badge-begin --> --- <a href="https://app.devin.ai/review/dyad-sh/dyad/pull/2597" target="_blank"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://static.devin.ai/assets/gh-open-in-devin-review-dark.svg?v=1"> <img src="https://static.devin.ai/assets/gh-open-in-devin-review-light.svg?v=1" alt="Open with Devin"> </picture> </a> <!-- devin-review-badge-end -->
上级 0506d50d
...@@ -76,6 +76,15 @@ jobs: ...@@ -76,6 +76,15 @@ jobs:
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}
prompt: | prompt: |
You are orchestrating the /dyad:pr-rebase skill. Your job is to run it end-to-end as a sub-agent with NO shortcuts.
Rules:
1. Execute every step of /dyad:pr-rebase sequentially. Do not skip, summarize, or stop early.
2. The skill includes a "/dyad:pr-push" step. This step MUST be fully executed — not just mentioned or planned, but actually run to completion.
3. After "/dyad:pr-push" completes, verify its output to confirm success (e.g., a PR URL or push confirmation).
4. Do not consider the task complete until "/dyad:pr-push" has succeeded and you have confirmed its output.
Now run the following command:
/dyad:pr-rebase ${{ steps.check-author.outputs.pr_number }} /dyad:pr-rebase ${{ steps.check-author.outputs.pr_number }}
- name: Update labels on success - name: Update labels on success
......
...@@ -193,6 +193,15 @@ jobs: ...@@ -193,6 +193,15 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}
claude_args: --model claude-opus-4-6 claude_args: --model claude-opus-4-6
prompt: | prompt: |
You are orchestrating the /dyad:pr-fix skill. Your job is to run it end-to-end as a sub-agent with NO shortcuts.
Rules:
1. Execute every step of /dyad:pr-fix sequentially. Do not skip, summarize, or stop early.
2. The skill includes a "/dyad:pr-push" step. This step MUST be fully executed — not just mentioned or planned, but actually run to completion.
3. After "/dyad:pr-push" completes, verify its output to confirm success (e.g., a PR URL or push confirmation).
4. Do not consider the task complete until "/dyad:pr-push" has succeeded and you have confirmed its output.
Now run the following command:
/dyad:pr-fix ${{ steps.pr-info.outputs.pr_number }} /dyad:pr-fix ${{ steps.pr-info.outputs.pr_number }}
- name: Re-trigger workflows if commits were pushed - name: Re-trigger workflows if commits were pushed
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论