Dev & Engineering

cmux Testing Skill

Pick the right scoped local/CI verification for the cmux repo, add behavior-grounded tests, and keep Swift test targets correctly wired in the Xcode project.

60/ 100
Recommended

Generally reliable with disclosed limitations; trial as directed and keep a rollback path.

See how it was scored ↓
Works as-is in
Codex · Claude Code
Stars
★ 28k
Last updated
1d ago
License
NOASSERTION
swift-testingtest-wiringregression-testingxcodeproj
+4ci-verificationui-testingmacoscmux

What does this skill do, and when should you use it?

This is the cmux-testing skill (one of 25 bundled skills) in the manaflow-ai/cmux monorepo, aimed at developers contributing to cmux, a Swift/AppKit macOS terminal app. It guides you through choosing scoped checks with scripts/verify-local.py, writing failing regression tests before fixes (two commits with recorded evidence), and wiring new cmuxTests/*.swift files into project.pbxproj via scripts like sync-test-wiring. It also codifies Swift Testing conventions, native test-evidence requirements, and PR CI label rules. Useful for cmux contributors; not for end users of the terminal app.

  • Runs python3 scripts/verify-local.py (with --all, --only swift-syntax --swift-changed, or --only test-wiring) from a trusted checkout to select and execute local verification
  • Inspects UI test behavior frame-by-frame with scripts/ui-test, and renders view code to light/dark PNGs in seconds via scripts/ui-lab/ui-lab.py
  • Drives the app from CI with scripts/run-e2e.sh --scenario JSON tours, producing screenshots, GIFs, and accessibility trees
  • Enforces a two-commit regression discipline: failing behavioral test first, fix second, with command, SHAs, and outcomes recorded
  • Reconciles cmuxTests PBXFileReference/Sources membership with ./scripts/sync-test-wiring and wires new app sources with ./scripts/wire-app-sources.py
  • Mandates Swift Testing (import Testing, @Test, #expect) for Swift unit/integration targets while keeping UI tests on XCTest
Good fit
  • A contributor to cmux who wants the minimal set of local checks before opening a PR touching Swift files
  • A contributor who added a new cmuxTests/*.swift file and must verify it is wired into the Xcode project to avoid a misleading zero-test pass
  • A developer fixing a bug who needs to follow the prescribed failing-regression-test-then-fix commit discipline with evidence
  • A reviewer who wants to read the CI dogfood comment's screenshots and GIFs before merging an app PR
  • A contributor changing remote tmux sizing who needs the E2E recipe for validation
Not a fit
  • End users who just want to install and use the cmux terminal app — this skill targets the repo's contribution/testing workflow
  • Projects outside the cmux repo — scripts like verify-local.py and sync-test-wiring are bound to cmux's repo structure
  • Non-macOS environments — cmux is a Swift/AppKit macOS app; UI tests and Xcode project wiring require the macOS toolchain

How do you install this skill?

Before you use it
  • This is a static source-only review; no scripts or tests were executed. Confidence is low.
  • Repository license metadata is NOASSERTION; actual licensing is GPL-3.0 plus BUSL-1.1 (web/ and related dirs) — verify scope before commercial or self-hosted use.
  • The skill depends heavily on macOS, Xcode, tmux, and GitHub Actions (including Blacksmith runners); it is essentially unusable outside macOS, and CI dispatch may be slow or unreliable from mainland-China networks.
  • English-only documentation; no Chinese support.
  • Confirm a trusted checkout before running repository commands; even --help loads repository code.
  • Publisher is not verified by the FollowSkills registry; treat identity as unknown.
Before you start
Your agent needs
  • Shell / CLI
  • Local filesystem
Install first
  • Python 3
  • Xcode / cmux.xcodeproj
  • Swift toolchain
  • cmux repo checkout (scripts/verify-local.py, scripts/ui-test, scripts/ui-lab, scripts/sync-test-wiring, scripts/wire-app-sources.py)

This skill is a SKILL.md under the skills/ directory of the cmux monorepo; the source provides no standalone install commands. Obtain the skill collection by cloning the repo:

git clone https://github.com/manaflow-ai/cmux.git

(The README's DMG/Homebrew instructions install the cmux app, not this skill.)

How do you use this skill?

Try saying

Once installed, send your agent any of these to trigger it:

  • I changed a few Swift files in cmux — help me decide which local verifications to run before committing
  • I added a new cmuxTests test file — check whether it's properly wired in project.pbxproj
  • I'm fixing a cmux bug — set up the failing regression test commit and the fix commit per the discipline
  • Look at this PR's CI dogfood comment screenshots and tell me whether the UI behavior is correct

Triggered when adding tests or deciding what local/CI evidence a change needs. Core flow: run verify-local.py to pick checks from a trusted checkout; when fixing bugs, keep a focused failing command, use two commits, and record SHAs and results; after creating/renaming/deleting cmuxTests/*.swift files run sync-test-wiring (--check validates without writing); wire app sources with wire-app-sources.py, UI tests with --target cmuxUITests --dir cmuxUITests. Common commands:

python3 scripts/verify-local.py --all
python3 scripts/verify-local.py --only test-wiring
./scripts/sync-test-wiring
./scripts/wire-app-sources.py --check

Note: parsing checks only validate syntax — no typecheck, no tests run; an app build does not compile test targets, so package/API changes need the relevant test target compiled and executed.

What are this skill's strengths and limitations?

Pros
  • Provides a complete verification decision path from local static checks to CI dogfood screenshots
  • Explicitly guards against common traps: zero-executed-test false passes, unwired test files, tests that merely mirror implementation details
  • Clear rules on Swift Testing vs. XCTest migration boundaries, preventing unnecessary churn
Limitations
  • Only meaningful within the cmux repo; scripts and paths are tightly bound to it
  • No independent test suite or cross-platform validation evidence for the skill itself in the source
  • Some verification (UI tests, Xcode wiring, dogfood) requires macOS and Xcode — a high prerequisite bar

How does this skill compare with similar options?

Side by side with related skills; every score comes from the same FSRS standard.

Skill FS score Stars Last updated License
cmux Testing Skill this page 60 · Recommended ★ 28k 1d ago NOASSERTION
cmux Shared Behavior Rules 48 · Use with care ★ 28k 1d ago NOASSERTION
cmux Dev Workflow Skill 53 · Use with care ★ 28k 1d ago NOASSERTION
cmux Workspace Skill 64 · Recommended ★ 28k 1d ago NOASSERTION
cmux-browser: Browser Automation Skill for cmux 60 · Recommended ★ 28k 1d ago NOASSERTION

The README compares cmux with tmux (cmux is a GUI-native macOS app, not a terminal multiplexer), but that is at the app level; the source names no direct alternative for this testing skill.

How did FollowSkills review this skill?

FollowSkills review · FSRS-2.0
Recommended
60/ 100 5-point scale 3.0 / 5
1Trust18 / 25 · 3.6/5

Evidence shows the skill explicitly restricts repository commands to a trusted checkout and discloses that even --help loads repository code; the skill itself is pure guidance, requests no credentials, and routes e2e/UI tests through commit-pinned CI dispatch rather than running untagged apps locally. Deducted: referenced scripts were not directly reviewed in this scope, so least-privilege and external-effect claims rest on the skill's descriptions; publisher unverified.

2Reliability9 / 20 · 2.3/5

SKILL.md and references are highly self-consistent: they distinguish compiling test targets from executing tests, reject zero-test invocations as verification, warn about misleading zero-test passes from unwired files, and provide detailed failure diagnostics (shim-check, pane_grids introspection, concrete fuzz setup-failure fixes). Deducted: static review did not execute; runnability of key paths (verify-local.py, sync-test-wiring, fuzz scripts) and dependency availability (tmux, Xcode, GitHub runners) are unverified, so no score above 10.

3Adaptability11 / 15 · 3.7/5

Audience and scenarios are clear (cmux contributors/agents choosing tests and validation evidence), the description gives precise trigger conditions, and boundaries are disclosed (ui-lab states it is not the running app; the sizing suite states hermeticity requirements). Deducted: hard macOS/Xcode/GitHub Actions dependency without declared non-fit ranges for other environments; no Chinese-language support; CI dispatch relies on overseas GitHub Actions/Blacksmith runners with uncertain mainland-China reachability.

4Convention11 / 15 · 3.7/5

Information architecture is well layered: SKILL.md plus multiple deep reference guides, clear progressive disclosure, stable command naming and cross-links. Repository-level LICENSE and SECURITY.md exist. Deducted: repository license metadata is NOASSERTION and the actual licensing is a mixed GPL-3.0/BUSL-1.1 scheme; the skill itself declares no version or changelog, and maintenance/update responsibility is not stated inside the skill files.

5Effectiveness6 / 15 · 2.0/5

The skill gives directly usable commands and decision rules for its core tasks (scoped verification, behavioral tests, wiring repair) with clear marginal value over unguided trial and error. Deducted: static review cannot verify output usability; value depends on the repository toolchain existing and being correct, and key validation ultimately costs 10-20 CI runner-minutes per the docs, so cost/benefit is unproven without execution.

6Verifiability5 / 10 · 2.5/5

The repository contains real CI workflows (e.g. app-host-test-rerun.yml with SHA-pinned action references and scoped permissions) that corroborate the skill's claims, which are mostly traceable in-source. Deducted: static review confirms file presence and consistency only, not independent reproduction; some referenced paths (references, docs) were not provided in this evidence set.

1 2 3 4 5 6

Open a dimension to read why it scored that way

Reviewed Oct 10, 2026 Reviewed revision 3dd1fe78859f Review evidence[1][2][3][4][5][6][7][8][9][10][11][12][13][14]

Evidence confidence:Low — Mostly static review, author material or a limited demo; useful for discovery, not high-risk decisions.

See the full review method →

FAQ

What environment does this skill require?
macOS with the Swift/Xcode toolchain and Python 3, run from a trusted checkout of the cmux repo — even verify-local.py --help loads repository code.
Is verify-local.py --all the same as full CI?
It is the full CI static recipe; but parsing checks only validate syntax — no typecheck, no tests. Test-target compilation and execution must follow the local-vs-ci-validation guide.
What happens if I delete a test file without running sync-test-wiring?
The PBXFileReference/BuildFile entries in project.pbxproj diverge from disk, risking a misleading zero-test pass; sync-test-wiring reconciles deterministically, and --check validates without writing.
Are full-ci / unit-ci labels merge requirements?
No. Normal PR CI already runs the suites a diff touches; full-ci and unit-ci are not review or merge requirements — check the PR CI coverage doc before adding either.

More skills from this repository

All from manaflow-ai/cmux

Dev & Engineering

cmux Shared Behavior Rules

Codifies one shared implementation and verification path for cmux behaviors exposed through multiple entrypoints, so fixes never land on one surface and leave others stale.

★ 28k FS 48 Use with care 1d ago
Dev & Engineering

cmux Dev Workflow Skill

A standardized contributor workflow for cmux: tagged native builds, Xcode project normalization, and sidebar extensions — without disturbing a running cmux instance.

★ 28k FS 53 Use with care 1d ago
Dev & Engineering

cmux Workspace Skill

Lets an AI coding agent work safely inside the cmux workspace that invoked it, without disturbing the workspace or window the user is actually looking at.

★ 28k FS 64 Recommended 1d ago
Dev & Engineering

cmux-browser: Browser Automation Skill for cmux

Open sites, inspect browser surfaces, wait for page state, and extract data through the cmux CLI without stealing focus — built for parallel AI coding agent workflows.

★ 28k FS 60 Recommended 1d ago
Dev & Engineering

cmux Keyboard Shortcuts

Turns your key preferences into working cmux shortcut bindings, with templates, snapshots, and rollback instead of blind JSON edits.

★ 28k FS 58 Recommended 1d ago
Dev & Engineering

cmux Settings Management Skill (cmux-settings)

Safely view, edit, and roll back cmux's cmux. configuration with hot reload — changes apply on save, no app restart.

★ 28k FS 58 Recommended 1d ago
Dev & Engineering

cmux Socket Policy Skill

Gives AI coding agents the threading and focus rules for cmux socket/CLI work, so telemetry stays off the main thread and automation never steals your app focus.

★ 28k FS 58 Recommended 1d ago
Dev & Engineering

cmux Customization

A skill for safely customizing the cmux terminal: edit cmux., Dock config and Ghostty preferences to tailor actions, layouts, shortcuts and notifications without breaking existing config.

★ 28k FS 55 Use with care 1d ago
Productivity & Collaboration

cmux Markdown Viewer

Opens .md files in a formatted panel beside your cmux terminal with live reload, keeping plans, docs, and notes visible as they change.

★ 28k FS 52 Use with care 1d ago
Dev & Engineering

cmux Diagnostics

Collects support-safe, read-only diagnostics for cmux so you can pinpoint failing hooks, notifications, session restore, and CLI control without leaking secrets.

★ 28k FS 51 Use with care 1d ago
Automation & Ops

cmux Computer Use Skill

Lets AI coding agents inside cmux drive real macOS apps through a local computer-use engine, strictly on explicit user request.

★ 28k FS 50 Use with care 1d ago
Dev & Engineering

cmux Custom Sidebar

Turn a plain-language request into a hot-reloading custom cmux sidebar — no Xcode, no build step, no signing.

★ 28k FS 50 Use with care 1d ago
Dev & Engineering

cmux-capture: Screenshot and Record cmux Windows

Capture screenshots or recordings of a cmux window from the CLI to supply real evidence for PRs, bug reports, and visual verification — with no screen recording permission required.

★ 28k FS 55 Use with care 1d ago
Dev & Engineering

cmux Architecture Skill

Load cmux's package architecture, layering, dependency inversion, and Swift 6 concurrency rules before adding or heavily rewriting Swift files, packages, coordinators, services, or public APIs in the cmux repository.

★ 28k FS 63 Recommended 1d ago
Automation & Ops

cmux Cloud VM Skill

Lets an AI agent operate cmux Cloud machines through the cmux CLI: run durable remote commands and coding agents on persistent terminals, then present verified results to the user.

★ 28k FS 56 Use with care 1d ago
Dev & Engineering

cmux Release Skill

A release-workflow skill for cmux maintainers covering version bumps, changelog assembly, pretag guard, tagging, and release asset verification.

★ 28k FS 53 Use with care 1d ago
Dev & Engineering

cmux Debugging Skill

Gives AI agents the project-specific debugging conventions for cmux — a Ghostty-based macOS terminal — so probes, profiling, and UI changes never break typing latency or live agent sessions.

★ 28k FS 56 Use with care 1d ago
Dev & Engineering

cmux Localization Rules & Audit Skill

Enforces localization rules and a verifiable audit workflow for every cmux user-facing string change, so no hardcoded English text ever lands.

★ 28k FS 56 Use with care 1d ago
Dev & Engineering

cmux Ghostty Submodule Workflow Skill

Standardizes Ghostty submodule commits, GhosttyKit.xcframework rebuilds, and parent pointer updates for cmux contributors, preventing dangling submodule pointers that break CI and checkouts.

★ 28k FS 54 Use with care 1d ago
Dev & Engineering

cmux Billing Runbook Skill

Gives AI coding agents an executable architecture map and ops runbook for Stripe billing, pricing, subscriptions, webhooks, and Pro entitlements in the cmux codebase.

★ 28k FS 50 Use with care 1d ago

Related skills