Coach 10 of 11

Pair coach

Talk to Claude through the code: write // @claude to ask or instruct, and the answer or the change lands inline, addressed to you by your own git name.

#pair-programming#comments#mentions#collaboration
install this one alone
$ claude plugin install pair-coach@ai-coach

How it flows

A question in the code, answered in the code

  • You
  • Automatic
  • Check or approval
  • Result
  1. YouWrite @claude in a commentA question or an instruction, where it belongs: // @claude why a Map?
  2. AutomaticThe prompt hook noticesOnly lines you added and have not committed. One line of context naming where.
  3. Check or approvalSomeone else's line?A @claude line a teammate committed is asked about first, never just obeyed.
  4. AutomaticAnswered inlineA reply under it, or the change plus one line saying so, or a question back./pair-coach:mentions
  5. ResultAddressed to youBy your own git user.name. Delete the thread when you are done with it.

/pair-coach:pair builds a task and leaves you the few lines that are your call.

/pair-coach:mentionsmodel-invocable

Answers the open @coach comment threads in the code, inline: a question gets a reply under it, an instruction gets done plus a one-line reply, an unclear one gets a question back, each addressed to the developer by their own git name. Use when the user asks (/pair-coach:mentions, "answer my @coach comments"), or when a pair-coach line in this turn's context reported open threads; never unprompted otherwise. Asks before acting on a line someone else committed.

[path]
/pair-coach:pairyou invoke

Builds a task with the developer instead of for them - Claude writes the scaffolding, boilerplate and tests, and leaves one to three stubs addressed to the developer where the choice is genuinely theirs (a business rule, a trade-off, domain knowledge), each failing loudly until written. Use when the user types /pair-coach:pair with a task; user-only, never chained.

<task>