agentleFS
Ian-LouwIan-Louw/potion/skills/pair/SKILL.md

pair

Skill1 starsChanged 5 months agoMITView on GitHub

Use when the user wants a hands-on session lane — "pair with me", "pairing mode", "hands-on session", "work on this with me directly" — or is ending one: "wrap up the pairing session", "pair exit". No PLAN files, no spawned workers; exit emits a SUMMARY plus mini-verify.

5 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions5 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 5

    1. sterlingcrispin/claude_slash_commands★ 200same name
    2. maxwellsdm1867/wheeler★ 12same name
    3. mae616/ai-template★ 9same name
    4. hyj28/claude-codex-pair★ 4same name
    5. hcaiano/skills★ 3same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository12 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 2 are distinctive, and 5 are very specific to this project.

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Stale-marker check first: If .potion/pairing.md already exists, a previous session died un-exited — offer a retroactive exit FIRST (the …

    line 15
  2. Very specific:

    Write .potion/pairing.md containing exactly three mechanical fields: started: {date -Iseconds output}, baseline: {git rev-parse HEAD}, …

    line 20
  3. Distinctive:

    Commit any uncommitted hands-on work, with the user's ok.

    line 37
  4. Distinctive:

    Write the SUMMARY (numbering and body below).

    line 45
  5. Very specific:

    Update STATE.md tolerantly — the file may not be init-shaped: update the Position "Last activity" line and ## Session continuity when …

    line 47
  6. Very specific:

    Commit the exit bookkeeping — the SUMMARY file, STATE.md, and the pairing.md deletion: git add -A .potion && git commit -m "docs(potion): …

    line 52
  7. Very specific:

    When STATE.md's Position names a phase whose dir exists and is not shipped: NN = one past the highest existing PLAN/RUNBOOK/SUMMARY number …

    line 60

“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Potion Pair

Inherit ${CLAUDE_PLUGIN_ROOT}/core/CORE.md. A session-long hands-on lane: enter → work directly with the human → exit emits a lightweight SUMMARY plus mini-verify. Every timestamp in the marker and the SUMMARY is derived mechanically (date -Iseconds) — never hand-typed.

Enter

  1. Stale-marker check first. If .potion/pairing.md already exists, a previous session died un-exited — offer a retroactive exit FIRST (the recorded baseline..HEAD still computes; run the Exit sequence against it) before starting a new session. /potion:resume performs this same check in its step 1, so the marker is caught from either entry point.
  2. Write .potion/pairing.md containing exactly three mechanical fields: started: {date -Iseconds output}, baseline: {git rev-parse HEAD}, intent: {one line from the user — ask if not offered}. It is transient, in the spirit of continue-here.md.
  3. Announce the lane: hands-on, no PLAN files, no worker spawning; exit via /potion:pair exit or saying "wrap up".

During

Normal collaborative work. Atomic commits at natural seams. CORE.md's deviation rules and red flags still apply. The session is the worker — no spawning.

Exit

Triggered by the user saying "exit" / "wrap up" or invoking the skill with exit.

  1. Commit any uncommitted hands-on work, with the user's ok.
  2. Compute the commit list: git log --oneline {baseline}..HEAD.
  3. Mini-verify: run sh ${CLAUDE_PLUGIN_ROOT}/scripts/ci-verify.sh and capture the CHECK/RESULT lines. A MISMATCH is a regression this session caused — fix it before exiting, or if the user declines, record it as an explicit concern in the SUMMARY. Never silent.
  4. Evidence gate per CORE.md: identify and run FRESH the ONE command that best proves the session's main change; capture command + output.
  5. Write the SUMMARY (numbering and body below).
  6. Delete .potion/pairing.md.
  7. Update STATE.md tolerantly — the file may not be init-shaped: update the Position "Last activity" line and ## Session continuity when present; append any missing section in minimal form instead of assuming it exists (including ## Fog if concerns need routing). Route unconsumed concerns to ## Fog tagged from SUMMARY-NN.
  8. Commit the exit bookkeeping — the SUMMARY file, STATE.md, and the pairing.md deletion: git add -A .potion && git commit -m "docs(potion): pairing exit SUMMARY-{NN}". The scrubber hook screens this commit like any other; if it blocks, fix the flagged content — never bypass.

SUMMARY numbering

When STATE.md's Position names a phase whose dir exists and is not shipped: NN = one past the highest existing PLAN/RUNBOOK/SUMMARY number in that dir (shared pool), written as SUMMARY-NN.md there. Otherwise write .potion/phases/pairing/SUMMARY-{YYYY-MM-DD}-{slug}.md (slug from the intent, kebab-case, ≤4 words); create the dir if absent.

SUMMARY body

Frontmatter type: pairing, then: intent; session span (started/ended timestamps, both from date -Iseconds); commit range and the git log --oneline list; mini-verify table (one row per CHECK line plus the RESULT line); evidence gate (command, trimmed output, what it proves); deviations/concerns.

Red flags

ThoughtReality
"It was just a quick session, skip the SUMMARY"Unrecorded work is how shipped-but-unverified happens — the SUMMARY is the whole point.
"I'll hand-type the timestamp"date -Iseconds, always.
"That MISMATCH was probably pre-existing"The baseline is recorded — check it. Fix or record as a concern; never silent.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.