본문으로 건너뛰기
cccskills
무료GitHub에 공개

open

Recreate a worktree for a given PR to test it locally — useful after /implement auto-cleaned the worktree. Usage: /open <PR>

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md2.4 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

/open <PR>

Recreate the egapro worktree associated with a PR — typically one that was auto-cleaned by /implement after the sub-agent returned validated. Use this to test the PR's code locally : run the dev server, exercise the feature, debug issues before merging.

Arguments

$ARGUMENTS — PR number (#3341, 3341). Required.


Ton rôle

Tu es un thin wrapper. Toute la logique est dans scripts/orchestration/open_worktree.sh. Tu dois :

  1. Valider que l'argument est un nombre de PR
  2. Lancer le script
  3. Relayer son output à l'utilisateur (path + URLs)
PR=$ARGUMENTS  # strip leading #
PR=${PR#\#}

if ! [[ "$PR" =~ ^[0-9]+$ ]]; then
    echo "ERROR: argument must be a PR number"
    exit 1
fi

bash scripts/orchestration/open_worktree.sh "$PR"

Le script :

  • Résout la branche head + le ticket linked + l'epic parent
  • Choisit le premier slot libre dans [0, EPIC_MAX_PARALLEL[
  • Recrée le worktree (idempotent : réutilise s'il existe)
  • Lance setup-worktree.sh si .env.local est manquant (pnpm install + docker stack + migrations)
  • Affiche le path + les URLs (dev server, mailpit, minio, postgres)

Cas d'usage typiques

  • Tester une PR ouverte avant de la merger : /open 3341 → worktree recréé, dev server prêt sur http://localhost:3001 (ou autre selon le slot)
  • Reprendre un debug sur une PR rejetée par CI : /open <PR> puis cd <path> et bidouiller
  • Reproduire un bug sur le code d'une PR mergée mais qui pose problème en preprod : /open <PR> même après merge — la branche reste sur le remote

Limitations

  • Si tous les slots [0, EPIC_MAX_PARALLEL[ sont occupés (par d'autres worktrees actifs), le script retourne une erreur. Libérer un slot via git worktree remove ../egapro-epic*-tXXX ou augmenter EPIC_MAX_PARALLEL.
  • Si la PR a été créée hors de la pipeline /implement (pas de ticket lié, pas d'epic parent), le script échoue. Cas limite — créer le worktree à la main dans ce cas.

Référence

  • Script : scripts/orchestration/open_worktree.sh
  • Setup docker : scripts/setup-worktree.sh
  • Cleanup auto par la pipeline : scripts/orchestration/cleanup_terminal_worktrees.sh (appelé à chaque tick par epic_loop.sh)

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

analyse

무료

Conception pipeline for Codex. Equivalent to the repository's Claude skill: detect epic/task/bug mode, then delegate to the existing repo agents and workflows. Usage: /analyse [<issue#>] [<description>]

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

SocialGouv/egapro122026년 10월 16일 업데이트

analyse

무료

Conception pipeline. Détecte le mode (epic/task/bug) selon le type d'issue ou le prompt et invoque les agents appropriés. Usage: /analyse [<issue#>] [<description>]

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

SocialGouv/egapro122026년 10월 16일 업데이트

doc

무료

Documentation regeneration for Codex. Equivalent to the repository's Claude skill: regenerate user-facing docs from current code state. Usage: /doc or /doc <issue#>

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

SocialGouv/egapro122026년 10월 16일 업데이트

doc

무료

Régénère la documentation utilisateur (`docs/*.md`) à partir de l'état courant du code. Usage : /doc (sur la branche courante) ou /doc <issue#> (sur la branche linkée à un epic / ticket).

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

SocialGouv/egapro122026년 10월 16일 업데이트

implement

무료

Phase exécution. Détecte le mode (epic/task/bug) selon le type d'issue et lance le bon mécanisme : loop driver background pour epic, code-dev synchrone pour task/bug. Usage: /implement <issue#>

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

SocialGouv/egapro122026년 10월 16일 업데이트

implement

무료

Execution pipeline for Codex. Detect epic/task/bug mode and implement with Codex models only. Usage: /implement <issue#>

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

SocialGouv/egapro122026년 10월 16일 업데이트

SocialGouv의 스킬 모두 보기

이 스킬의 문제 신고