Official agent skill

Pair Test Style

by NVIDIA in NVIDIA/Personal-AI-Router

Write, refactor, or review tests in Personal AI Router using focused cases, descriptive subtests, explicit error handling, and structured assertions.

OfficialApache-2.0Auto-check passedDevelopment

Install Pair Test Style

skills CLI
$ npx skills add NVIDIA/Personal-AI-Router --skill pair-test-style -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install NVIDIA/Personal-AI-Router pair-test-style --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/NVIDIA/Personal-AI-Router.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/pair-test-style .claude/skills/pair-test-style && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
pair-test-style
GitHub stars
1.6k
Token cost
~1k tokens
SKILL.md length
517 words
Files
1
Skills in repo
4
Repo updated
First seen
Licence
Apache-2.0

At a glance

Write, refactor, or review tests in Personal AI Router using focused cases, descriptive subtests, explicit error handling, and structured assertions.

  • Changing Go service
  • SKILL.md covers Focus each test, Share setup without hiding the…, Check errors and structured… and Fit the existing test suite
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Apply to the tests in scope rather than starting a repository-wide cleanup

What it does

Pair Test Style is an agent skill from NVIDIA/Personal-AI-Router, published by the product's own GitHub organization. Write, refactor, or review tests in Personal AI Router using focused cases, descriptive subtests, explicit error handling, and structured assertions. Use when adding or changing Go service or desktop tests; apply to the tests in scope rather than starting a repository-wide cleanup.

Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development. The repository describes itself as: Router that virtually distributes inference across connected devices in the home. The licence is Apache-2.0.

When your agent uses it

  • Changing Go service
  • Apply to the tests in scope rather than starting a repository-wide cleanup

Example prompts

  • “/pair-test-style”

What it can do on your machine

Read from SKILL.md and the folder at commit 4d1892b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Pair Test Style loads about 1k tokens when it runs. Until then it costs about 75 tokens; SKILL.md has 517 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~75
When it runs · the whole SKILL.md, loaded when a task matches
~1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from NVIDIA/Personal-AI-Router at commit 4d1892b, republished under its Apache-2.0 licence (© NVIDIA). 517 words, ~1,005 tokens.

Download SKILL.mdSave it as .claude/skills/pair-test-style/SKILL.md (or your agent's skills folder).
name
pair-test-style
description
Write, refactor, or review tests in Personal AI Router using focused cases, descriptive subtests, explicit error handling, and structured assertions. Use when adding or changing Go service or desktop tests; apply to the tests in scope rather than starting a repository-wide cleanup.
<!--
SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
SPDX-License-Identifier: Apache-2.0
-->

PAIR test style

Keep each test's setup, action, and expected behavior easy to follow. These conventions apply to contributors and coding agents working on repository tests. They guide test structure; they do not require new coverage or unrelated rewrites.

Focus each test

  • Give each top-level test one behavior to prove. Split long tests that combine validation, persistence, restart, and recovery into independently readable tests.
  • Keep a table-driven test dedicated to its related cases. Put an unrelated one-off assertion or scenario in its own test function.
  • Prefer explicit cases over nested loops and boolean mode matrices when the combinations obscure what is being checked. Keep a matrix when the combinations themselves are the behavior under test and the names explain them.
  • Name subtests after their scenario or outcome: process mode, command mode, rejects bind override, or preserves response body, rather than true, false, or an index.

Share setup without hiding the cases

For Go cases with the same setup and assertions, prefer a local helper closure that captures shared setup and calls t.Run. List explicit, named calls below it. A signature such as test := func(name, input, wantError string) often makes cases easier to read than a large table with mode-dependent branches.

Use ordinary tables when they are clearer. Separate acceptance and rejection helpers when that removes branching and makes expected outcomes explicit. Keep mutable state fresh per case so cases do not depend on execution order.

Mark Go assertion and setup helpers with t.Helper(). Pass the subtest's *testing.T to helpers that report failures so errors belong to the right case. Keep helpers local unless reuse across tests justifies a shared fixture.

Show full SKILL.md (247 more words)Show less

Check errors and structured results

  • Check setup, file I/O, encoding, decoding, and operation errors. Do not discard an error just because the fixture is expected to be valid. Fail at the operation that failed, with enough context to diagnose it.
  • Prefer explicit t.Fatalf checks or a small test-only must-succeed helper that fails immediately. A Must helper is optional; avoid adding an abstraction when an explicit check is clearer.
  • Decode JSON and other structured output, then assert the relevant fields. Avoid strings.Contains as evidence that a serialized response or persisted configuration has the correct values. Check parsing errors before fields.
  • Use substring assertions when the contract is actually unstructured text, such as a diagnostic, and the selected text is what the test intends to verify.
  • Use named constants such as http.StatusBadGateway and http.MethodPut instead of magic protocol values. Format multiline fixtures and header maps readably; run gofmt on changed Go tests.

Fit the existing test suite

For desktop tests, carry over the same focus, naming, error handling, and structured assertions using Vitest's existing patterns. Follow desktop test conventions for typed mocks, module-boundary fakes, network isolation, and temporary-directory cleanup. Do not introduce a new framework or production-only test hooks for this style.

Run the relevant existing tests and required repository checks. In review, verify that each changed test has a clear failure condition, names the behavior it proves, checks its setup errors, and can be understood without tracing an unrelated scenario. State any verification that could not be run.

© NVIDIA, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/pair-test-style of NVIDIA/Personal-AI-Router.

Open the folder on GitHubat commit 4d1892b

Compare with similar skills

Pair Test Style next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Pair Test Style compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Pair Test Style this skillNVIDIA/Personal-AI-Router1.6k—~1kAutomated safety check: PassApache-2.0
Finishing a Development Branchobra/superpowers296k5 repos~1.9kAutomated safety check: PassMIT
Typescript Advanced Typesrolling-scopes/rsschool-app10k24 repos~4.2kAutomated safety check: PassMPL-2.0
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
Code Review ChecklistshareAI-lab/learn-claude-code78k5 repos~1.1kAutomated safety check: PassMIT
Greplooponyx-dot-app/onyx32k4 repos~3.3kAutomated safety check: PassMIT

Similar skills

  • Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.

    296k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed
  • Typescript Advanced Types

    rolling-scopes/rsschool-app

    Master TypeScript's advanced type system including generics, conditional types, mapped types, template literals, and utility types for building type-safe applications.

    10k GitHub starsUsed in 24 repos~4.2k tokens
    DevelopmentAuto-check passed
  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Code Review Checklist

    shareAI-lab/learn-claude-code

    Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.

    78k GitHub starsUsed in 5 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Greploop

    onyx-dot-app/onyx

    Iteratively improves a PR (GitHub), MR (GitLab), or shelved changelist (Perforce) until Greptile gives it a 5/5 confidence score with zero unresolved comments.

    32k GitHub starsUsed in 4 repos~3.3k tokens
    DevelopmentAuto-check passed
  • Guidelines

    akash-network/node

    Behavioral guidelines to reduce common LLM coding mistakes. An agent skill from akash-network/node.

    1.1k GitHub starsUsed in 22 repos~577 tokens
    DevelopmentAuto-check passed

More from NVIDIA/Personal-AI-Router

  • Pair GitHub PR

    NVIDIA/Personal-AI-Router

    Official

    Fills GitHub pull request descriptions with the required PAIR pair-release-intent:v1 block so the release-intent check passes.

    1.6k GitHub stars~1.3k tokensUpdated today
    Auto-check passed
  • Kaizen UI

    NVIDIA/Personal-AI-Router

    Official

    Kaizen UI (KUI) component library and design-pattern advisor for NVIDIA applications.

    1.6k GitHub stars~4.7k tokensUpdated today
    Auto-check passed
  • Sync Backend

    NVIDIA/Personal-AI-Router

    Official

    Refresh services/ from upstream, resolve JSON-RPC drift, update contract docs, rebuild cli-bin, and verify.

    1.6k GitHub stars~377 tokensUpdated today
    Auto-check passed

Categories

Questions about Pair Test Style

What does Pair Test Style do?

Write, refactor, or review tests in Personal AI Router using focused cases, descriptive subtests, explicit error handling, and structured assertions. Pair Test Style is an agent skill from NVIDIA/Personal-AI-Router, published by the product's own GitHub organization. Write, refactor, or review tests in Personal AI Router using focused cases, descriptive subtests, explicit error handling, and structured assertions.

When should I use Pair Test Style?

Pair Test Style fits situations like: changing Go service; apply to the tests in scope rather than starting a repository-wide cleanup.

How do I install Pair Test Style in Claude Code?

Run `npx skills add NVIDIA/Personal-AI-Router --skill pair-test-style -a claude-code`. Or copy the skill folder (.agents/skills/pair-test-style in NVIDIA/Personal-AI-Router) into .claude/skills/pair-test-style in your project. Claude Code loads it when a task matches its description.

How do I install Pair Test Style in Codex?

Run `npx skills add NVIDIA/Personal-AI-Router --skill pair-test-style -a codex`. Or copy the skill folder (.agents/skills/pair-test-style in NVIDIA/Personal-AI-Router) into .agents/skills/pair-test-style in your project. Codex loads it when a task matches its description.

Can I use Pair Test Style in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add NVIDIA/Personal-AI-Router --skill pair-test-style -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/pair-test-style, .gemini/skills/pair-test-style, .github/skills/pair-test-style and .opencode/skills/pair-test-style in your project.

What does Pair Test Style need to run?

SKILL.md names no scripts, command-line tools or credentials: Pair Test Style is instructions for the agent only.

Does Pair Test Style access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Pair Test Style safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Pair Test Style use?

Pair Test Style is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Pair Test Style use?

About 1k tokens (SKILL.md is roughly 4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Pair Test Style?

Skills that share tags, products or a category with Pair Test Style: Finishing a Development Branch (obra/superpowers, 296k stars), Typescript Advanced Types (rolling-scopes/rsschool-app, 10k stars), PR Babysitter (openinterpreter/openinterpreter, 69k stars) and Code Review Checklist (shareAI-lab/learn-claude-code, 78k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Pair Test Style?

NVIDIA (a GitHub organization, an official publisher) maintains it in NVIDIA/Personal-AI-Router, which has 1,566 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on October 6, 2026.

Source: NVIDIA/Personal-AI-Router on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.