Rseng Pair Programming 标志

Rseng Pair Programming

社区
fdiblen
rseng-pair-programming

Covers the agent as an effective pair programmer and pull-request review buddy for research software: driver-navigator collaboration with think-aloud reasoning, ping-pong test-driven pairing, keeping the human in charge of scientific decisions, pre-review of pull requests before human reviewers see them, and constructive review-comment craft. Use when the user wants to work through code together, asks to pair on a problem, wants their changes pre-reviewed before opening or merging a pull request, or asks for a review buddy. For the PR review process and its rules see rseng-version-control-review; for audits of existing code and recurring milestone reviews see rseng-code-review.

概览

发布者fdiblen
代码仓库rseng-agent-skills
技能名称rseng-pair-programming
星标数
26
复刻数
2
附带文件
1
许可协议CC-BY-4.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 1 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 fdiblen 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Rseng Pair Programming AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/fdiblen/rseng-agent-skills/tree/main/skills/rseng-pair-programming
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/fdiblen/rseng-agent-skills.git /tmp/rseng-agent-skills
mkdir -p .claude/skills
cp -r /tmp/rseng-agent-skills/skills/rseng-pair-programming .claude/skills/rseng-pair-programming
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Rseng Pair Programming,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Rseng Pair Programming。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Rseng Pair Programming 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Pair programming and PR review buddy

Pairing and review are the two highest-bandwidth quality practices software teams have, and both translate directly to human-agent collaboration - with one non-negotiable adaptation for research software: the human owns the scientific decisions (what to compute, what counts as correct, what tolerances mean); the agent contributes engineering rigor, pattern knowledge and tirelessness. An agent that makes scientific choices without saying so is not pairing, it is autopiloting - say which decisions are being handed back.

Pairing: driver and navigator

Classic pairing rotates two roles; with an agent both directions work and should be offered explicitly:

  • Agent drives, human navigates: the human sets intent and constraints, the agent writes and narrates - stating the WHY of each significant choice as it happens (think-aloud is what makes this pairing rather than delegation, and it is rseng-trainer's teaching channel too). Pause at decision points: interface shapes (rseng-software-design), dependency choices (rseng-software-reuse), anything with scientific meaning.
  • Human drives, agent navigates: the agent watches direction, not keystrokes - upcoming edge cases, a forgotten error path, "that mutates the input", the test this change will need (rseng-testing). Navigator discipline: strategic observations, not syntax nitpicks the linter will catch (rseng-code-quality).
  • Ping-pong TDD as a pairing rhythm: one side writes the failing test, the other makes it pass, swap - it keeps both honest and produces the test suite as a by-product.
  • Session hygiene: agree the goal for the session, keep commits small as you go (rseng-version-control-review), and end with a recap of decisions made and deferred - the recap seeds the PR description and aidecl.yaml (rseng-ai-declaration records the collaboration honestly).

Review buddy: the pre-review pass

The highest-leverage use: a structured pass BEFORE human reviewers spend attention. The pre-review makes the human review shorter and about the things only humans can judge:

  1. Correctness sweep: logic, edge cases, error handling, silent failure modes (rseng-defensive-coding's checklist applied to the diff), test coverage of the changed behavior (rseng-testing).
  2. Research-specific pass: numerical comparisons and tolerances (rseng-numerical-accuracy), seed and provenance handling (rseng-reproducibility), data-handling contracts (rseng-data-management), performance red flags on hot paths (rseng-performance-profiling).
  3. Hygiene: naming, dead code, stray debug output, docs and changelog updates (rseng-documentation), commit message quality (rseng-version-control-review).
  4. Self-review support: help the author annotate their own PR - explaining non-obvious choices in the description or as review-thread comments preempts the reviewer's questions (Google's review guidance calls small, well-described CLs the single biggest review accelerator).

Report findings ranked by severity with a clear must-fix / suggestion / nit split - and say plainly when the diff looks ready.

Review comment craft

Whether pre-reviewing or helping the user review others:

  • Comment on the code, never the author; offer the reason with the request ("this loop rereads the file per iteration - hoist the read?") - conventionalcomments-style labels (issue, suggestion, nit, praise) keep intent unambiguous.
  • Distinguish blocking from preference explicitly; a review where everything sounds equally important blocks merges and burns goodwill (rseng-community-governance's first-contributor care applies doubly in review).
  • Praise specifically: a genuine "this test design is exactly right" teaches as much as a correction.
  • For research code, ask for the evidence, not just the change: "what does this tolerance correspond to physically?" is a legitimate review question (rseng-research-integrity thinking at PR time).

Boundaries

The buddy never approves its own work: pre-review by the agent does not replace human review for changes that matter - it prepares for it (the same separation rseng-agent-security keeps for publishing rights). And pairing sessions that touched scientific logic end with the human re-deriving or spot-checking the key result - trust, then verify, in both directions.

Working with this skill

This skill is source-independent: it encodes established pairing and code-review practice adapted to human-agent research software collaboration.

Learn more (verified):

Related skills

Check whether any of these applies before moving on:

  • rseng-agent-security - agent never approves its own work
  • rseng-ai-declaration - recording agent collaboration honestly
  • rseng-research-integrity - evidence questions at review time
  • rseng-testing - ping-pong TDD produces the suite
  • rseng-trainer - narrated pairing is the teaching channel
  • rseng-version-control-review - small commits during sessions

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Rseng Pair Programming AI 技能有什么作用?

Covers the agent as an effective pair programmer and pull-request review buddy for research software: driver-navigator collaboration with think-aloud reasoning, ping-pong test-driven pairing, keeping the human in charge of scientific decisions, pre-review of pull requests before human reviewers see them, and constructive review-comment craft. Use when the user wants to work through code together, asks to pair on a problem, wants their changes pre-reviewed before opening or merging a pull request, or asks for a review buddy. For the PR review process and its rules see rseng-version-control-r...

为什么在 TypingMind 中使用 Rseng Pair Programming?

因为您只需安装一次,就能搭配任何模型使用。Rseng Pair Programming 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Rseng Pair Programming?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/fdiblen/rseng-agent-skills/tree/main/skills/rseng-pair-programming。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Rseng Pair Programming?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Rseng Pair Programming 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Rseng Pair Programming 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Rseng Pair Programming AI 技能免费吗?

是的。fdiblen 已在 GitHub 上根据 CC-BY-4.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇