OpenParable
Skip to content
← Back to skills

Sync PR

Productivity
sync-pr

Sync PR is an Agent Skill for productivity published in the ModelEngine-Group/fit-framework repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

将任务处理进度同步到对应的 Pull Request 评论。当用户要求同步进度到 PR、更新 PR 状态时触发。参数为 task-id。

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/ModelEngine-Group/fit-framework/blob/HEAD/.agents/skills/sync-pr/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/sync-pr, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

同步进度到 PR

执行步骤

  1. 查找任务文件(搜索 active/blocked/completed 目录)。

  2. 从 task.md 中获取 PR 号码、current_step、status 等。

  3. 读取上下文文件,提取关键进展和决策。

  4. 生成进度摘要(格式同 sync-issue)。

  5. 同步到 PR:

    gh pr comment <pr-number> --body "<摘要内容>"
    

注意: 摘要要简洁,在进度摘要中 @mention 相关审查者,标注重要的技术决策。