/pair: Your Programming Partner, Anytime
Use /pair throughout a coding conversation: explore code, discuss design, assess reviews, and apply agreed changes with evidence and a clear scope.
Halfway through a feature, you want another look at a responsibility boundary. Later, you want feedback on the code taking shape. After review, you need to decide which findings justify another change.
In OpenCockpit, you can bring /pair into any of those moments:
/pair Take a look
The current conversation supplies the question. Pair uses the relevant code and constraints to give a judgement, explain the evidence, and suggest what to do next. When you explicitly ask it to apply an agreed approach, it implements and verifies within that scope.
Here is an illustrative conversation about adding CSV export to an orders page.
Start with the code you have
We need CSV export for the orders page, using the current filters.
/pair Take a look at how this part of the project works.
At this point, the useful work is exploration. Pair should locate how the page sends filters, where the server selects orders, and which layer enforces access. The answer should point to the relevant files and distinguish what it found from what still needs checking.
That gives the next decision a concrete basis. If there is already an order-query service, its behavior and callers matter before adding another path to retrieve the same data.
Discuss the design where the decision arises
Should CSV formatting live in the route or in the order service?
The conversation has moved to design. Pair can reason about responsibilities using the code just explored: the existing query service might own order selection, a formatter might own CSV encoding, and the route might own the HTTP response.
The details depend on the project. Does the query service apply authorization itself, or does its caller? Does it return one page or the entire matching result? A recommendation needs to keep those guarantees visible. Reusing a function is useful only when its meaning fits the export.
You can continue that discussion without selecting a separate design mode or preparing a formal document.
Look at code while it is taking shape
Suppose you start implementing the agreed approach, then ask:
/pair Take a look at whether this implementation fits what we discussed.
Pair now has implementation work to assess. It can check whether filters reach the query correctly, whether the response includes all intended rows, and whether CSV fields containing commas, quotes, or newlines are encoded properly. It can also assess names, function boundaries, and whether a new abstraction earns its place.
The explanation should connect each suggested adjustment to behavior or maintainability. A finding such as “the export only includes the first page” has a specific consequence. An extra exporter framework needs a separate reason to belong in this change.
A request to take a look asks for advice. It leaves you room to discuss the recommendation before authorizing edits.
Assess review findings before adding work
Imagine a reviewer raises two points: the export drops the current filters, and the formatter could become a reusable framework for future formats.
/pair Which of these findings need fixing for this feature?
Pair should check the claims against the implementation and the agreed behavior. Dropped filters would obstruct the requested export. A framework proposal needs evidence that the current work requires it. Either claim may need more investigation before a recommendation is justified.
This is a useful place to keep scope explicit. Inspecting a nearby issue gives you information; deciding to include it in the work still requires a reason tied to the outcome.
Apply the agreed change
Fix the filter handling using the approach we discussed,
keep the formatter as it is, and verify the export.
That authorizes implementation within the stated scope. Pair should carry it through and report what it actually checked: for example, whether different filters select the expected records and whether existing access restrictions still hold. An untested browser download should remain an explicit verification gap.
Goals, constraints, and decisions already present in the conversation remain relevant across these turns. You can ask follow-up questions naturally and use /pair again when you want its guidance. If the topic changes or a reference is unclear, the target may need to be re-established.
Bring it into the conversation you already have
Pair is a built-in Skill. Its entry instructions guide the AI toward relevant material for exploration, planning, design, coding, review, verification, and explanation. The question determines which guidance is useful; there is no required sequence to complete.
Try it at the next decision: ask it to inspect an approach, explain a tradeoff, or assess a review. Once you agree on a change, say what to apply and what to preserve.
See the Skills documentation for the invocation rules and other built-in Skills.
Try it: npm i -g @surething/cockpit · GitHub · Try Online