Skip to content
Skills Library
Programming · Testing

field-test

/field-test

Field-test a plugin of this repository in a real Claude Code session, in the terminal through tmux or in the Claude Desktop app through its windows: the scenario goes red on the base and green on the change, read on the screen, in the files the plugin writes and in what Claude receives. Use when a behaviour change to a hook, pane, band, toast, command, registered tool or skill flow is about to be reported done, when a mod's pane or band must be checked in Claude Desktop, or when the user asks to test a plugin live.

Licence
MIT
Last repository change
03.11.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
3
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 03.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Field-test a plugin of this repository in a real Claude Code session, in the terminal through tmux or in the Claude Desktop app through its windows: the scenario goes red on the base and green on the change, read on the screen, in the files the plugin writes and in what Claude receives. Use when a behaviour change to a hook, pane, band, toast, command, registered tool or skill flow is about to be reported done, when a mod's pane or band must be checked in Claude Desktop, or when the user asks to test a plugin live.

Original author description

Field-test a plugin of this repository in a real Claude Code session, in the terminal through tmux or in the Claude Desktop app through its windows: the scenario goes red on the base and green on the change, read on the screen, in the files the plugin writes and in what Claude receives. Use when a behaviour change to a hook, pane, band, toast, command, registered tool or skill flow is about to be reported done, when a mod's pane or band must be checked in Claude Desktop, or when the user asks to test a plugin live.

How it works

  1. 1. Gate
  2. 2. Scenario
  3. 3. Red on the base
  4. 4. Green on the change
  5. 5. Report and stop
  6. Commands
Original SKILL.md headings · 80 lines, 939 words
SKILL.md preview
---
name: field-test
description: "Field-test a plugin of this repository in a real Claude Code session, in the terminal through tmux or in the Claude Desktop app through its windows: the scenario goes red on the base and green on the change, read on the screen, in the files the plugin writes and in what Claude receives. Use when a behaviour change to a hook, pane, band, toast, command, registered tool or skill flow is about to be reported done, when a mod's pane or band must be checked in Claude Desktop, or when the user asks to test a plugin live."
allowed-tools: Bash(bun ./scripts/sessions/field-test.ts *), Bash(bun ./scripts/sessions/field-test-desktop.ts *)
---

# Field test

Unit tests and the kit (`claude plugin test`) pin the tree a mod hands the engine. A field test plays the change in a real session, on the real engine, and reads what a person sees and what Claude receives. It is **red** on the base and **green** on the change: a scenario that never went red proves nothing.

`scripts/sessions/field-test.ts` drives a terminal session, one command per Bash call. How the terminal, the focus and the transcript behave, measured: [references/terminal.md](references/terminal.md).

`scripts/sessions/field-test-desktop.ts` drives the Claude Desktop app on Linux with Hyprland: open or show a session, capture its window, click, press keys, read Desktop's log. Which Desktop session runs a mod, and what a click may hit, measured: [references/desktop.md](references/desktop.md). A change that shows in Desktop (a pane, a band, a deep link, a session Desktop opens) is played there too.

## 1. Gate

Field-test when the change alters what happens in a session: a hook's effect, a pane, band or toast, a command, a registered tool, a skill's flow, what Claude receives, a file the plugin writes. A label or wording tweak, a doc, a type, or a refactor the kit tests already pin takes none.

Done when the decision and its reason stand in one line of the report.

## 2. Scenario

From the change's acceptance criteria, write the gestures and, for each, the observable that proves it, on whichever of three sides it shows:

- the **screen**: the pane, the band, the chat (`screen --pane`, `wait`; in Desktop, `shot` then Read the image);
- the **files** the plugin writes, under the work directory `start` prints (Read them);
- what **Claude receives**, and what Claude wrote, hidden parts included (`messages`, `messages --last`).

The model's part must not vary from run to run: ask, in the prompt, for the exact form the scenario needs ("each recommendation is the bare letter in parentheses"). Keep any text you will search for out of the prompt itself.

Done when every acceptance criterion has a gesture and an observable.

## 3. Red on the base

Start the session on the code before the change, with `--ref` naming that commit (the fix's parent; for a branch, its merge-base with `origin/dev`), and play the scenario. The observable must show the bug. A base that stays green means the scenario misses the bug: rework it before going on. A new feature has no red: write "new feature, no base" and go on.

Done when the red is seen, or the step is marked as a new feature.

## 4. Green on the change

Start a second session on the change (no `--ref`: the working tree, uncommitted edits included) and play the same gestures. Every observable must show the intended behaviour; add one neighbouring gesture that must still work as before.

Done when every observable of step 2 is checked on the change.

## 5. Report and stop

Report a table, one row per observable, with the text read on each side, and name what the run did not check (see "Desktop and mobile" in the reference). Then `stop` each session: it removes the tmux session, the `--ref` worktree, the scratch directory and Claude Code's data for it. A Desktop run has no `stop`: undo the install and list what it left, as "Install and clean up" in references/desktop.md says.

| Observable | Base (`<base>`) | Change |
|---|---|---|
| Card after a blind (b), the recommendation | `Using Claude's answer` | `Peek at Claude's` |
| What Claude receives | `Q1: your recommendation` | `Q1: (b)` |

## Commands

```bash
bun ./scripts/sessions/field-test.ts start griller-base --ref <base> griller     # session on the base; prints the work directory
bun ./scripts/sessions/field-test.ts send griller-base "/griller:grill <topic and the exact form wanted>"
bun ./scripts/sessions/field-test.ts wait griller-base "of 2 answered"            # until the text shows; --gone until it leaves
bun ./scripts/sessions/field-test.ts messages griller-base --last                 # what Claude wrote, hidden parts included
bun ./scripts/sessions/field-test.ts press griller-base "(b)" --nth 1             # Tab to that control, then Enter
bun ./scripts/sessions/field-test.ts screen griller-base --pane                   # the docked pane alone
bun ./scripts/sessions/field-test.ts focused griller-base                         # the control the keys go to
bun ./scripts/sessions/field-test.ts keys griller-base C-x Tab                    # raw tmux keys
bun ./scripts/sessions/field-test.ts stop griller-base
```

`start` takes `--model` (default `sonnet`), `--width` and `--height` (default 220 × 50), and `--cwd <dir>` to run in a directory you prepared, whose Claude Code data `stop` then leaves alone.

In Claude Desktop (Desktop runs an installed plugin, not `--plugin-dir`: install the change and undo it after the run as "Install and clean up" in references/desktop.md says, and start a new session for each edit):

```bash
bun ./scripts/sessions/field-test-desktop.ts mark                                 # a byte offset into Desktop's log, for log --since
bun ./scripts/sessions/field-test-desktop.ts open <cli session uuid>              # import and show, confirmed by Desktop's log; local_<id> shows a Desktop session
bun ./scripts/sessions/field-test-desktop.ts new --folder <dir> --prompt "<text>" # the new-session page, prompt box filled
bun ./scripts/sessions/field-test-desktop.ts windows                              # Desktop's windows, their workspace and geometry
bun ./scripts/sessions/field-test-desktop.ts shot --half                          # capture the main window into a new temporary directory; prints the file
bun ./scripts/sessions/field-test-desktop.ts click <x> <y>                        # full-size window coordinates; refuses when the pointer misses
bun ./scripts/sessions/field-test-desktop.ts key Enter                            # Escape Backspace Tab Enter Up Down End
bun ./scripts/sessions/field-test-desktop.ts log --since <mark> --grep "Warming"  # what Desktop wrote since the mark
bun ./scripts/sessions/field-test-desktop.ts process <cli session uuid>           # does a Claude Code process run it
```

`shot`, `click` and `key` take `--window <title>` for a popped-out session; `shot` refuses a window on a workspace the screen does not show unless `--focus`. `click` and `key` move the person's pointer and type on their screen: ask before the first one in a session.
Files in this package (3)
  • SKILL.md 7 KB
  • references/desktop.md 8 KB
  • references/terminal.md 4 KB

Versions

RepositoryScoreLicence
This page · bengous/claude-code-plugins100MIT
cyanheads/git-mcp-server100Apache-2.0
cyanheads/clinicaltrialsgov-mcp-server95Apache-2.0
cyanheads/orcid-mcp-server95Apache-2.0
cyanheads/mcp-ts-core95Apache-2.0
cyanheads/ntfy-mcp-server95Apache-2.0
nicsuzor/academicops90MIT

Database snapshot: 13.11.2026 · package version c137cbaf5850 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 1 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 90brain-write-mod
    Create, change or fix one of this brain's mods in .claude/mods/<prefix>-<name>/: a change to Claude Code's own interface or behaviour, such as a pane beside the chat, a band above the prompt, a status-line word, a toast, a slash command or a hook on tool calls. Starts it from…
  • 90add-pane-grid-cell
    Make a Claude Code mod (a plugin with a hooks module) grid-ready, so it draws inside a pane-grid cell. Use when the person asks to make their mod or plugin work with pane-grid, draw in a grid cell, join the pane-grid ecosystem, or support `/grid place`. Also use without being…
  • 100plugin-authoring
    Make a mod: a change to Claude's own interface or behaviour, such as a live pane or panel, a band above the prompt, a status line, a toast, a slash command, or a hook on tool calls or prompts. Use to make, change or debug a mod or its hooks module.
  • 90mod-playbooks
    Map of playbooks for driving a Claude Code mod (plugin) and seeing its screen: press keys, open menus and drawers, hover a reply to show its action row, click a dropdown, type in a field, fire a toast or a question card, and capture each screen as text and PNG. Use when an agent…
  • 100write-addon
    Write, extend or fix a claude-ui addon: a folder with addon.json and sandboxed HTML views that adds a colour theme, a pane next to the chat, a band above the prompt box, a slash command `/<addon>:<cmd>` or a renderer for a code-fence language or a tool's result to the claude-ui…
  • 88testing-windows-desktop
    End-to-end test the pi-gui Electron desktop app on Windows. Use when verifying Windows compatibility (dev launcher, PATH, folder picker, integrated terminal / node-pty) or any apps/desktop change on Windows.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.