Agent Skillstrycompai/crm › ga-pr

ga-pr

GitHub

用于在后台并行会话中启动针对现有PR或分支的后续开发任务,支持地址解析、复用环境及合并冲突解决。

.agents/skills/ga-pr/SKILL.md trycompai/crm

Trigger Scenarios

用户要求处理现有PR 继续特定分支工作 解决PR反馈 解决合并冲突

Install

npx skills add trycompai/crm --skill ga-pr -g -y
More Options

Non-standard path

npx skills add https://github.com/trycompai/crm/tree/release/.agents/skills/ga-pr -g -y

Use without installing

npx skills use trycompai/crm@ga-pr

指定 Agent (Claude Code)

npx skills add trycompai/crm --skill ga-pr -a claude-code -g -y

安装 repo 全部 skill

npx skills add trycompai/crm --all -g -y

预览 repo 内 skill

npx skills add trycompai/crm --list

SKILL.md

Frontmatter
{
    "name": "ga-pr",
    "description": "Kick off follow-up work on an existing PR in a parallel tmux\/agent session. Use when the user asks to work on a PR, continue a branch, address PR feedback, or resolve merge conflicts in the background.",
    "user-invocable": true
}

ga-pr - Start Follow-up Work on an Existing PR

Kick off an agent task tied to an existing PR or branch. Reuses the existing tmux session/clone for that PR if one already exists.

Steps

  1. Get the PR or branch and task from the user's message.

    • Accept a PR number, PR URL, or branch name.
    • If the task is merge-conflict resolution, use --merge-conflicts.
  2. Run ga-pr. Default harness is Pi, so omit the harness flag for normal use:

    ga-pr <pr-number-or-url-or-branch> "<task>"
    

    For merge conflicts:

    ga-pr --merge-conflicts <pr-number-or-url-or-branch>
    

    If the user explicitly asks for Claude Code, pass --harness c:

    ga-pr --harness c <pr-number-or-url-or-branch> "<task>"
    
  3. Report back with the session, branch, and attach command printed by the script.

Behavior

  • Resolves PR inputs through gh pr view.
  • Uses the same session naming convention as ga: <repo>-<branch-slug>.
  • If a matching tmux session already exists, sends the task into that session instead of creating a duplicate.
  • If the clone exists but the session does not, starts a new session in the existing clone.
  • If neither exists, clones the repo, checks out the PR branch, and starts the agent.

Rules

  • Keep the task concise and direct.
  • For conflict resolution, include that the agent should ask before making ambiguous choices.
  • Do not use /create-draft-pr; this command is for updating an existing PR branch.

Version History

  • c26a08d Current 2026-08-08 08:03

Same Skill Collection

.agents/skills/ai-elements/SKILL.md
.agents/skills/better-auth-best-practices/SKILL.md
.agents/skills/better-colors/SKILL.md
.agents/skills/better-interface/SKILL.md
.agents/skills/better-ui/SKILL.md
.agents/skills/better-writing/SKILL.md
.agents/skills/code-refactor-review/SKILL.md
.agents/skills/create-draft-pr/SKILL.md
.agents/skills/eve/SKILL.md
.agents/skills/ga/SKILL.md
.agents/skills/nestjs-best-practices/SKILL.md
.agents/skills/no-use-effect/SKILL.md
.agents/skills/nuqs/SKILL.md
.agents/skills/pit-of-success/SKILL.md
.agents/skills/posthog-instrumentation/SKILL.md
.agents/skills/prepare-branch-context/SKILL.md
.agents/skills/prisma-database-setup/SKILL.md
.agents/skills/shadcn/SKILL.md
.agents/skills/skill-creator/SKILL.md
.agents/skills/turborepo/SKILL.md
.agents/skills/typescript-advanced-types/SKILL.md
.agents/skills/ux-flow-plan/SKILL.md
.agents/skills/vercel-composition-patterns/SKILL.md
.agents/skills/vercel-react-best-practices/SKILL.md
.agents/skills/web-design-guidelines/SKILL.md
.agents/skills/zero-tech-debt/SKILL.md
.agents/skills/ai-sdk/SKILL.md
.agents/skills/better-accessibility/SKILL.md
.agents/skills/better-layout/SKILL.md
.agents/skills/better-typography/SKILL.md
.agents/skills/nestjs-trpc/SKILL.md
.agents/skills/seo-audit/SKILL.md

Metadata

Files
0
Version
c26a08d
Hash
368b0814
Indexed
2026-08-08 08:03

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-08 23:16
浙ICP备14020137号-1 $Гость$