Langsung ke konten
Skillpedia
Pemrograman umum101k Β· #1280

standup

Fungsinya

Tool ini membantu tim mengatur pekerjaan pemrograman. Tool ini mengumpulkan informasi dari berbagai bagian kode (disebut 'branch' atau 'PR') dan membantu memutuskan cara menggabungkan semuanya menjadi satu, sambil menghindari konflik.

Kapan dipakai

  • βœ“Saat beberapa programmer mengerjakan bagian berbeda dari kode yang sama.
  • βœ“Sebelum menggabungkan beberapa pembaruan kode menjadi satu.
  • βœ“Untuk cepat memahami apa saja yang berubah di berbagai versi kode.

Link skill

https://github.com/thedotmack/claude-mem/blob/main/plugin/skills/standup/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/thedotmack/claude-mem/blob/main/plugin/skills/standup/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œBagaimana cara menggabungkan perubahan dari bagian-bagian kode yang berbeda ini menjadi versi akhir tanpa ada yang hilang?”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Tool ini membuat sebuah 'chat' tempat setiap bagian kode 'berbicara' untuk menjelaskan perubahannya. 'Facilitator' (AI) memandu percakapan ini agar semua pihak sepakat pada satu rencana penggabungan.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

standup β€” facilitate a group chat between branch-agents

You're the facilitator. Each of the user's git worktrees (and any PRs they pick) joins a shared markdown chat as its own agent, and the agents reconcile their scattered work into ONE consolidated worktree. You convene the room, run the conversation in rounds, and carry the outcome back β€” the reconciling happens in the chat, between the agents.

The room is one shared file (default ~/.claude-mem/STANDUP.md): YAML front matter holds the goal + prompt; the body is the transcript. Writes are atomically locked, so agents speak at once. It is read-only β€” agents decide how the merge should go; nobody commits or merges inside the room. Real git work happens afterward via /do.

1. Fill the room

Two ways, mixable:

  • By recency (common) β€” worktrees active in a window:

    node "${CLAUDE_SKILL_DIR}/standup.mjs" worktrees --since <1h|4h|24h|7d|all> --json
    

    Active = a commit or an uncommitted/staged/untracked edit in the window. If the user didn't name a window, offer 1h / 4h / 24h / 7d / all.

  • By hand β€” specific branches and/or open PRs:

    node "${CLAUDE_SKILL_DIR}/standup.mjs" worktrees --json   # local branches
    node "${CLAUDE_SKILL_DIR}/standup.mjs" prs --json         # open PRs (via gh)
    

    Show one numbered list (worktrees + PRs, with age/title); their reply is the "checkbox." If prs errors (no gh / not GitHub), carry on worktrees-only.

Zero or one candidate isn't a standup β€” say so, offer to widen, stop. Otherwise echo the roster to confirm before you start.

2. Open the room

Set a goal + prompt that invite a conversation, not one-shot status reports:

node "${CLAUDE_SKILL_DIR}/standup.mjs" open --force --agent facilitator \
  --goal "Collapse these branches/PRs into ONE consolidated worktree: what each changed, where they overlap, which becomes the target, and the merge order." \
  --prompt "Facilitated rounds. Round 1: introduce your branch and its state. Then resolve the conflicts the facilitator surfaces, round by round, until the room lands on one concrete plan (target worktree + merge order + conflict resolutions). Read-only: decide, don't merge. Register AGREE when you back the plan."

3. Run it as rounds

You drive the turns β€” if agents watch-loop on their own the room can stall with nothing decided. Each agent speaks once per round (read β†’ post β†’ return); you read between rounds and bring back whoever's still needed.

Spawned agents don't inherit CLAUDE_SKILL_DIR, so resolve it once and paste the real path into each brief:

echo "${CLAUDE_SKILL_DIR}"

Round 1 β€” intros (everyone, one Task message so they run together). Brief each:

You're <branch> (a PR is pr-<number>) in a standup group chat. Read <skill-dir>/agent-brief.md and play your part by it. The room is ~/.claude-mem/STANDUP.md; speak with node "<skill-dir>/standup.mjs" post …, catch up with … read. Get your bearings (cd "<path>", git log --oneline origin/main..HEAD, git status --short, git diff --stat origin/main...HEAD; a PR uses gh pr view/diff <number>), then post ONE turn: your branch, its real state, and how it should fold in. Read-only. Then return.

Reconcile. Once they've returned, read the room and list the open items β€” overlaps, conflicts, competing implementations, undecided target/order. None? Skip to the close.

Resolution rounds (cap ~4). Per open item, re-spawn only the agents it implicates, with the specific question. Tell them to read --since <their-name> first, then post their position and --agree if convinced. read again, update the list. Repeat.

Close β€” you always write it. Stop when the list is empty, you hit the cap, or an agent errors (note "didn't report," don't block). Then write the SUMMATION yourself β€” don't wait for an agent to volunteer. Write it as plain prose a human can skim, not a field dump: which worktree is the target and why, the merge order in a sentence, and what's left for the human:

node "${CLAUDE_SKILL_DIR}/standup.mjs" summation --agent facilitator \
  --text "Build on <worktree> β€” it's the only one with real code. Layer <branch>'s changes on top, then drop in the doc-only branches; skip <empty branch>. Your call before it's safe: <the one or two real decisions>. Done when it all sits in <target> and builds clean."

4. Brief the human in plain language

…

Pertanyaan umum

Apa itu 'worktree' dan 'branch'?

Keduanya seperti salinan terpisah dari kode tempat programmer bekerja tanpa saling mengganggu. 'Branch' lebih umum digunakan, sedangkan 'worktree' adalah cara yang lebih lanjut untuk mengaktifkan beberapa versi sekaligus.

Apa itu 'PR'?

'PR' adalah singkatan dari 'Pull Request'. Ini adalah permintaan agar perubahan yang dibuat di sebuah 'branch' ditinjau dan dimasukkan ke basis kode utama.

Apakah tool ini menggabungkan kode secara otomatis?

Tidak. Tool ini membantu menentukan rencana penggabungan kode, tetapi penggabungan yang sebenarnya dilakukan belakangan oleh programmer melalui perintah khusus ('/do').

Detail

Deskripsi asli dari pembuat

Facilitate a read-only standup across git worktrees, branches, or PRs to compare changes and produce one consolidation plan.

repo: thedotmack/claude-mem

Popularitas

Bintang GitHub
101k
Peringkat
#1280
Lisensi
Apache-2.0
Diperbarui
15/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa