agentleFS
JacobStephens2JacobStephens2/thirdshift/.agents/skills/create-verification-skill/SKILL.md

create-verification-skill

Skill4 starsChanged 11 days agoMITView on GitHub

Create a project-local verification skill and feature map for an app surface.

  • Reads credentials

114 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use setup-pstack, make-bot-ui and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • bnemaSkill

    setup-pstack

    Configure which Pi models pstack uses per role. Detects available provider/model specs and writes pstack's user configuration. Use for /setup-pstack, "configure pstack models", or changing pstack model choices.

    Also in 33 projects that use this

  • eryzerzSkill

    make-bot-ui

    Use when building a custom UI (page, dashboard, buttons) that should wake a Grok Bot over a webhook, when the user must provide a webhook sender key, or when exposing that UI on Tailscale.

    Also in 24 projects that use this

  • shiwenbin1617Skill

    ketchup-video

    Catch the user up like /ketchup, with a short subtitled video of slides for what happened and the waiting calls as text under it. Use for /ketchup-video.

    Also in 21 projects that use this

  • shiwenbin1617Skill

    statechart

    Check a TLA+ model of a system that moves between states, such as a product flow, a protocol, or a service, and draw it as a Mermaid statechart. The report gives the shortest path to each state that breaks a rule. Use for /statechart, or to show a bug as a path through states.

    Also in 25 projects that use this

  • The-Utopia-StudioSkill

    Poteto Mode

    poteto's agent style for concise, detailed responses, deliberate subagents, unslopped prose, simple code, and verified work. Use for poteto, /poteto-mode, or requests to work in this style.

    Also in 3 projects that use this

  • ElyzeSolutionsSkill

    control-cli

    Build or adapt a local harness to drive, inspect, and profile an interactive CLI or TUI without external services. Use for CLI UX checks, startup regressions, memory leaks, hangs, prompt flows, or terminal demos.

    Also in 5 projects that use this

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 100 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Drive: prefer existing harnesses first (Playwright/Cypress, PTY/expect, curl), then shell/CLI browser tools (@playwright/cli, …

    line 22
  2. Very specific:

    Isolate: verify concurrent runs can use independent mktemp -d data/profile directories and ephemeral ports.

    line 24

“Common” is measured: kept by at least 6 in 10 of the 100 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Create a verification skill

Imported from Cursor pstack at eb4db2b55b2b7dec3d9282754cddf0a56bf4ff10; MIT license. Local adaptation: target .agents/skills/verify-<app>/ (separate from Factory skills/), align generated skills with verify-ui (Factory: thirdshift-verify-ui), and edit using /writing-for-agents.

Every app surface needs a scripted way to boot cleanly, drive real user paths, and capture proof. Generate a project-local .agents/skills/verify-<app>/ skill written for an agent reading cold mid-task, deferring shared recording and upload mechanics to verify-ui (Factory: thirdshift-verify-ui) and pr (Factory: thirdshift-pr) rather than duplicating them.

1. Interview the repo, not the user

Answer these from code, tests, scripts, and docs; ask the user only what cannot be observed:

  • Surface: identify each user-facing surface (web UI, CLI/TUI, API, desktop). Multi-surface repositories get one verify-<app> skill per surface.
  • Run: find build, seed, and start commands in repository scripts, Makefiles, and READMEs. Record how the app binds an OS-assigned ephemeral port (127.0.0.1:0 or repo equivalent) and signals usable readiness from an empty mktemp -d state. Note whether flow setup needs optional host-only faux credentials from ~/.config/thirdshift/verify-env/<owner>/<repo>.env (derived from origin, kept outside git; leave Launch-directory .env files untouched).
  • Drive: prefer existing harnesses first (Playwright/Cypress, PTY/expect, curl), then shell/CLI browser tools (@playwright/cli, agent-browser, or disposable Playwright scripts — zero MCP config required).
  • Observe: capture ARIA snapshots, rendered DOM state, console/pageerror/failed-network/5xx events, .png screenshots, H.264 .mp4 walkthroughs, exit codes, and persisted side effects.
  • Isolate: verify concurrent runs can use independent mktemp -d data/profile directories and ephemeral ports; when an app cannot isolate, have the generated skill refuse concurrent driving explicitly.

Confirm the checkout builds and boots cleanly before generating. Mark any temporary missing-asset scaffolding explicitly so Cleanup removes it.

2. Generate the skill

Write .agents/skills/verify-<app>/SKILL.md (linking .claude/skills/verify-<app> to ../../.agents/skills/verify-<app> when the repo mirrors skills there; keep project skills separate from Factory skills/). Add YAML frontmatter (name: verify-<app> and a model-invoked description naming the app, surface, and source/route paths that trigger it) and these six grounded sections with zero placeholders:

  • Launch: exact build, seed, and start commands inside one ( ... ) subshell whose trap ... EXIT handler is registered before starting any server or browser daemon. Use mktemp -d for isolated app/DB/profile state, bind loopback on port 0, read the actual port from readiness output, and poll until the app is genuinely usable from empty state (migrations and seeds finished, not just TCP open). Source ~/.config/thirdshift/verify-env/<owner>/<repo>.env inside the subshell only when the documented setup needs credentials (set -a; . "$verify_env"; set +a, tracing off). For short-lived CLIs/TUIs, build once and start each drive in an isolated PTY or tmux session.
  • Doctor: one read-only check verifying the tracked server PID is alive, the expected binary/build answers on its owned loopback port, and seeded state/auth is valid across supported launch modes. Run Doctor before the first drive and after any failure.
  • Drive: repo-specific selectors, routes, Playwright package location, expected harmless noise, and any CSP/sandbox quirks. Defer the generic two-phase workflow (interactive exploration before clean walkthrough pass, viewport pairing, showActions vs init-script cursor fallback, and error listeners) to verify-ui / thirdshift-verify-ui instead of duplicating it here.
  • Evidence: create proof paths with mktemp outside the cleaned state directory (so Cleanup leaves .png and H.264 yuv420p +faststart <= 8 MB .mp4 captures intact on disk, kept out of git). Name what faux/redacted data proves the surface and defer capture-pairing, ffmpeg transcoding commands, and gh --attach PR publishing (ADR 0034) to verify-ui / thirdshift-verify-ui and pr / thirdshift-pr. Verify what any dry-run/test mode actually skips by observing files, network, and git refs.
  • Cleanup: the single trap ... EXIT handler stops and waits for exact tracked server PIDs/process groups and browser contexts/daemons across success, assertion failure, and interruption, deletes temporary state and disposable scripts, preserves proof captures at their mktemp paths, and verifies zero server or browser child processes remain after exit.
  • Helpers: make every shipped helper script executable and document its exact invocation in SKILL.md.

3. Seed the feature map

Create .agents/skills/verify-<app>/features/README.md plus one file per top user-facing feature (3–5 to start), following references/feature-map-example/. Each feature file uses the four H2 headings Sub-features, How to get to it (user POV), Driving it with <harness>, and Gotchas. When seed data lacks a required precondition, fail the journey loudly and record the unmet precondition or setup trap in Gotchas rather than weakening the check.

4. Prove it end to end

Execute the generated skill's own Launch, Doctor, Drive (at least one mapped feature), Evidence, and Cleanup instructions once. Confirm after Cleanup that a non-empty 1440×900 .png screenshot and a playable H.264 +faststart .mp4 walkthrough (<= 8 MB) remain intact at their mktemp paths and zero server or browser child processes outlive the command. Fix anything that fails (running Cleanup on every failed attempt) and record any stand-in setup steps that differ from the real target.

5. Point to maintenance

Direct operators to /maintain-verification-skill to keep the skill and feature map aligned as routes and setup evolve.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.