agentleFS
agentichackeragentichacker/hackerai/.agents/skills/test-hackerai-app/SKILL.md

test-hackerai-app

Skill1 starsChanged 9 days agoMITView on GitHub

Test HackerAI's web and desktop UI through its built-in Browser panel against isolated development state. Use for browser verification, browser pairing recovery, and test fixtures. Use test-hackerai-mobile for native mobile verification.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 7

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Very specific:

    Use HackerAI's built-in Browser panel for verification.

    line 8
  2. Very specific:

    Never run against ~/.hackerai/userdata or set VITE_HTTP_URL or VITE_WS_URL.

    line 18
  3. Distinctive:

    Test with meaningful project and thread data.

    line 20
  4. Very specific:

    Do not spend a paid model to see a turn render.

    line 26
  5. Distinctive:

    When the test needs real provider behavior, use that provider's cheapest model, such as Haiku for Claude or Luna for Codex.

    line 34
  6. Very specific:

    Call preview_status. If no tab can be automated, call preview_open, including when status reports available: false or tabId: null.

    line 39
  7. Very specific:

    Stop verification and explain the blocker only if the tools are absent or preview_open reports unavailable or fails.

    line 42
  8. Very specific:

    If the token was consumed or expired, run node apps/server/src/bin.ts pair for a fresh one.

    line 47
  9. Very specific:

    When sharing is requested, start with vp run dev --share and give the user a fresh complete pairing URL that you have not consumed.

    line 57

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “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

Test HackerAI web and desktop

Use HackerAI's built-in Browser panel for verification. Follow the recovery steps below before declaring it unavailable. Do not install or switch to another automation system. For native mobile testing, use test-hackerai-mobile.

Start the app

Reuse this task's healthy dev server. Otherwise run vp run dev from the repository root and retain its terminal session. Use the worktree's ignored .hackerai state and read the actual ports and pairing URL from the dev-runner output. Never run against ~/.hackerai/userdata or set VITE_HTTP_URL or VITE_WS_URL.

Test with meaningful project and thread data. Read references/sqlite-fixtures.md only when inspecting or seeding SQLite. Stop the test server before direct fixture writes.

Drive agent turns for free

Do not spend a paid model to see a turn render. vp run dev registers the Replay (dev) provider, which replays recorded turns with simulated streaming through the real adapter and orchestration. Its models are scenarios: showcase covers thinking, a plan, tool calls, an approval, and markdown. Press Ctrl+Alt+Shift+R for a picker (GNOME takes that key for screen recording), call window.hackeraidev.replay("showcase") with preview_evaluate, or run node apps/server/src/bin.ts thread start --base-dir .hackerai --provider devReplay --model showcase <project> "go". When the test needs real provider behavior, use that provider's cheapest model, such as Haiku for Claude or Luna for Codex.

Use the Browser panel

Call preview_status. If no tab can be automated, call preview_open, including when status reports available: false or tabId: null. Status can report unavailable simply because no tab exists yet; opening a tab needs no user action. Stop verification and explain the blocker only if the tools are absent or preview_open reports unavailable or fails.

Navigate to the complete startup pairing URL once with preview_navigate, then use preview_snapshot and HackerAI's interaction tools. If the token was consumed or expired, run node apps/server/src/bin.ts pair for a fresh one. Keep using the same tab.

Verify and retain

Exercise the affected flow and capture the state that proves it works. Keep the server, state, and panel available while the user inspects or iterates. An assistant turn ending is not teardown. Stop only processes you started, using retained terminal sessions or captured PIDs.

When sharing is requested, start with vp run dev --share and give the user a fresh complete pairing URL that you have not consumed. Keep other credentials out of screenshots, commits, and replies.

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.