i-pick-issue
Skill0 starsChanged 53 days agoMITView on GitHub
Station I (Pick & Orchestrate) — The single entry point for Issue work. Always starts with Discovery. Lists open issues, groups them by domain, recommends the next logical one by dependency order (the recommendation is the default selection unless the operator overrides it), takes the execution mode, then orchestrates Stations II through VI through to merge and closeout.
In this repository52 other files it gives its agents.
- AGENTS.mdAGENTS.md
- docs/agents.mdAGENTS.md
- skills/humanizer/AGENTS.mdAGENTS.md
- skills/vercel-composition-patterns/AGENTS.mdAGENTS.md
- skills/vercel-react-best-practices/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- api-and-interface-designSkill
- browser-testing-with-devtoolsSkill
- ci-cd-and-automationSkill
- click-path-auditSkill
- code-review-and-qualitySkill
- code-simplificationSkill
- constraint-driven-developmentSkill
- context-engineeringSkill
- create-issueSkill
- debugging-and-error-recoverySkill
- deprecation-and-migrationSkill
- diagnosing-bugsSkill
- documentation-and-adrsSkill
- doubt-driven-developmentSkill
- extract-design-systemSkill
- frontend-designSkill
- frontend-ui-engineeringSkill
- git-workflow-and-versioningSkill
- humanizerSkill
- idea-refineSkill
- iiib-iterate-after-buildSkill
- iii-build-planSkill
- ii-plan-issueSkill
- incremental-implementationSkill
- interview-meSkill
- iv-review-build-and-prSkill
- observability-and-instrumentationSkill
- performance-optimizationSkill
- pipeline-triageSkill
- planning-and-task-breakdownSkill
- playwright-cliSkill
- present-prSkill
- quick-fixSkill
- security-and-hardeningSkill
- shipping-and-launchSkill
- source-driven-developmentSkill
- spec-driven-developmentSkill
- tailwind-design-systemSkill
- test-driven-developmentSkill
- using-agent-skillsSkill
- v-babysit-pr-and-mergeSkill
- vercel-composition-patternsSkill
- vercel-react-best-practicesSkill
- verification-before-completionSkill
- vi-close-pipelineSkill
- web-design-guidelinesSkill
The file
We split this skill into the rules it gives an agent
12 rules. About 0 are common, 7 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
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
- Very specific: line 14
Gate: before any work, check repo state.
- Distinctive: line 28
Every invocation of this skill begins with the Discovery Station, regardless of arguments.
- Very specific: line 44
Route non-issue states: no open issues and the operator has a brand-new idea → create-issue.
- Distinctive: line 48
Before offering step-by-step vs.
- Distinctive: line 52
The label precondition: Run the gate in exactly two cases:
- Distinctive: line 76
Full orchestration mode: run Stations II → VI end-to-end without halting, reporting a summary after each station, finishing only after …
- Distinctive: line 78
Do NOT infer the mode from how the request was phrased, and do NOT start Station II until the operator has explicitly chosen a mode.
- Distinctive: line 82
When the operator asks what to start alongside active sessions — or git worktree list shows branches in flight — rank candidates by file …
- Distinctive: line 105
Only after the operator selected an issue (step 4) AND an execution mode (step 1b), orchestrate the pipeline stations.
- Very specific: line 109
Read the issue details: gh issue view <number> --comments
- Very specific: line 128
After Station III completes, present the operator the two paths (already in III's report): corrections on the fresh build → …
- Very specific: line 141
Run vi-close-pipeline to close out: verify/close the issue, sweep stale per-issue artifacts (signal-based, any layout), handle dead code on …
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Station I: Pick Issue (i-pick-issue)
Station I of the 6-station delivery pipeline (I–VI): the single entry point for Issue work. It picks the next logical issue to build, then drives the rest of the chain.
Router Gate & Boundary (read first)
Gate: before any work, check repo state. If the branch is dirty, commits are unpushed, or a PR is open — run pipeline-triage first and follow its decision. Never start new Issue work on top of unfinished work.
Boundary: this skill owns Issue work — anything that starts from (or will end as) a GitHub issue with a PR. Ad-hoc requests (quick questions, small fixes, exploration, "where is X") are not Issue work: say so in one line, route to using-agent-skills, and stop. Ambiguous? If it will end in a PR on code, it is Issue work. Still ambiguous? Ask one question.
Pipeline Position
- Station: Station I of VI (single entry point for Issue work)
- Previous Station:
pipeline-triage(state gate — only when the tree is dirty, commits are unpushed, or a PR is open) - Next Station:
quick-fix(only when the recommendation isquick-fix-labeled or the operator explicitly requested the lane, and the §1a gate passes, and the operator picks it) orii-plan-issue <issue-id>(Plan)
1. Always Start With Discovery (/i-pick-issue — with or without arguments)
Every invocation of this skill begins with the Discovery Station, regardless of arguments. Never skip discovery to jump straight into orchestration:
List all open issues: Run:
gh issue list --state open --limit 50(and inspect details with
gh issue view <n> --commentsas needed). Present every open issue clearly: number, title, labels, and a concise summary.- Categorize and group: Group them logically by domain area, risk, architectural component, or dependency chain.
- Recommend an execution sequence:
Propose a concrete order of work (unblockers and core infrastructure before dependent features, quick wins vs. deep changes), and explicitly highlight the single recommended issue to start. By default the recommended issue IS the selected one — the run proceeds with it unless the operator overrides. The report header and wording follow
references/english-template.md. No separate recommendation screen, and no separate "pick a number" menu: the alternatives are one line under the recommendation. - Confirm or override: Present the recommended (auto-selected) issue and proceed with it. The operator may override with another issue number at any point before Station II starts.
- Route non-issue states: no open issues and the operator has a brand-new idea →
create-issue. No open issues and nothing new → say so and route topipeline-triage.
1a. Quick-Fix Lane Check (run before the execution-mode gate)
Before offering step-by-step vs. full orchestration, test the confirmed issue against the
7-box gate in quick-fix. This is the one place the lane is cheapest to catch: here it costs
a read, later it costs a plan.
The label precondition. Run the gate in exactly two cases:
- The confirmed issue carries the
quick-fixlabel (applied bycreate-issueat intake), or - the operator explicitly asks to consider it for the fast lane.
The label is a precondition for evaluation, never a bypass. When it is present, run all 7 boxes and report them first, ahead of the issue summary — the label was a guess from a one-sentence idea, and a stale or optimistic one is exactly the case the gate exists to catch.
Not quick-fix-labeled and not explicitly requested → skip the gate entirely. Print no gate block, offer
no quick-fix option, and continue to the execution-mode gate (§1b) directly.
- All 7 boxes pass → present the confirmed issue as the quick option and let the operator choose: quick fix (push straight to
main, no PR, no reviews, no CodeRabbit) or the full pipeline. If the operator changes the issue after this check, rerun §1a for the newly confirmed issue before offering or handing off. If they choose quick, hand off the confirmed issue ID with its 7-box verdict soquick-fixre-checks only size and its own diff instead of re-reading the issue — and skip the execution-mode gate entirely, there are no stations to step through. - Any box fails → the full pipeline runs as usual, and remove the label so a later session is not misled:
gh issue edit <number> --remove-label "quick-fix".
The lane is offered, never forced. An issue the operator wants properly reviewed gets the full pipeline even when it would technically pass the gate.
1b. Execution Mode Gate (mandatory, after issue selection)
Once the operator picks an issue, STOP and present exactly two options:
- Step-by-step mode (default recommendation): run one station at a time. After each station completes, report its summary and halt — wait for explicit operator approval before starting the next station. The operator reviews the plan (II), the build (III), the PR (IV/V), etc., one gate at a time.
- Full orchestration mode: run Stations II → VI end-to-end without halting, reporting a summary after each station, finishing only after Station V merge + Station VI closeout (prune, issue close, clean-exit gate).
Do NOT infer the mode from how the request was phrased, and do NOT start Station II until the operator has explicitly chosen a mode.
1c. Parallel-Safe Pick (other sessions hold worktrees)
When the operator asks what to start alongside active sessions — or git worktree list shows
branches in flight — rank candidates by file disjointness, not preference alone:
- Inventory the active footprint:
git worktree list, then the file set each in-flight issue touches (from the issue bodies' Scope and Relevant files sections:gh issue view <n> --json body). - Pull the same file set for every open candidate:
gh issue list --repo <repo> --state open --json number,title,labelsplusgh issue view <n> --repo <repo> --json bodyper candidate. - Keep only candidates whose files intersect nothing in flight. Present a compact matrix (issue → files → clean/conflict per active session) with exactly one recommendation.
- Flag mutual exclusivity among the clean candidates: two issues sharing a file cannot run simultaneously even when each is clean against current work — name the shared file.
- State the exclusions and why in one line — an issue that dies on a shared file is as useful to the operator as one that passes.
Base the verdict on the issue bodies' own file lists, never on guessed module boundaries; an issue whose Relevant files you did not read is an unknown, not a pass.
2. Orchestration Mode — After Issue and Mode are Confirmed
Only after the operator selected an issue (step 4) AND an execution mode (step 1b), orchestrate the pipeline stations. In step-by-step mode, insert a mandatory approval halt after every station; in full orchestration mode, run sequentially with per-station reports:
Step 1: Assignment & Setup
- Read the issue details:
gh issue view <number> --comments - Do not claim the issue here. Station II (
ii-plan-issue) owns the first write — it checks the tree is clean before claiming and branching, so the assignee signal never lands on a dirty checkout. Claiming twice races the two stations; claiming early marks work started over a tree that may hold someone else's changes. - Apply
context-engineeringprinciples to lock session scope before opening files. - Preparation is not free of writes. Creating worktrees, cutting branches, writing task files, or launching external harness CLIs are all writes — never do them "to be ready" before the operator approves execution. When the operator asks to delegate missions, the deliverable is the mission statements (the issues, with why each fits); the dispatch happens only after an explicit go-ahead. "Just give me the issues" means stop at the issue list.
Step 2: Station II — Plan (ii-plan-issue <number>)
- Hand off to
ii-plan-issueto perform scope right-sizing (Trivial/Small/Standard/Large), auto-detect stack, lockCONSTRAINTS.md, specify interfaces, and writetasks/plan.md. - Report plan summary to the user.
Step 3: Station III — Build (iii-build-plan auto)
- Hand off to
iii-build-plan autoto implement all tasks intasks/plan.mdusing TDD, atomic commits per task, and automated build error resolution.
Step 3B: Station IIIB — Iterate After Build (iiib-iterate-after-build)
- After Station III completes, present the operator the two paths (already in III's report): corrections on the fresh build →
iiib-iterate-after-build(routes to the right specialist, fixes locally, no push); all good → straight to Station IV. - Loop IIIB until the operator reports the build clean, then continue to Station IV.
Step 4: Station IV — Review & Ship (iv-review-build-and-pr)
- Hand off to
iv-review-build-and-prto run: the proof-before-review gate (Step 0: live browser check or targeted tests — failure returns toiiib-iterate-after-build), the OCR delegation scan, dynamic stack-matched reviewers plus the Spec axis (diff vs issue andtasks/plan.md: missing / added-not-asked / implemented-wrong), local fix commits, the final verification gate, then push the feature branch and open the PR with@coderabbitai summaryand review trigger.
Step 5: Station V — Babysit PR & Merge (v-babysit-pr-and-merge)
- Hand off to
v-babysit-pr-and-mergeto track CodeRabbit review (5m-4m-3m-2m-1m countdown or agent fallback on quota limit), resolve comments, squash merge on green CI, and fast-forward the local base branch (git pull --ff-only).
Step 6: Station VI — Close Pipeline (vi-close-pipeline)
- Run
vi-close-pipelineto close out: verify/close the issue, sweep stale per-issue artifacts (signal-based, any layout), handle dead code on the spot with zero-reference proof + targeted tests, and pass the Clean Exit Gate — pushed, on base branch, spotless, ready for the next issue. - Optionally suggest
/present-pr <number>(ad-hoc visual presentation, outside the pipeline) — never mandatory.
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
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.

