agentleFS
mindroom-aimindroom-ai/mindroom/.claude/skills/live-test/SKILL.md

live-test

Skill319 starsChanged 58 days agoApache-2.0View on GitHub

Run live end-to-end checks for this repository. Use when booting the local MindRoom stack or SaaS sandbox, starting an isolated local Matrix/backend instance, creating disposable Matrix accounts, sending or reading messages with Matty, hitting live API endpoints, taking frontend screenshots, or verifying behavior through the real UI instead of tests alone. Also use when a live-test workflow struggled and the skill itself should be improved.

  • Reads credentials

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

10 rules. About 0 are common, 4 are distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run the real product and collect runtime evidence.

    line 8
  2. Very specific:

    If nix-shell shell.nix cannot resolve <nixpkgs>, use:

    line 22
  3. Distinctive:

    Prefer isolated local runs when the worktree or machine is already busy.

    line 38
  4. Very specific:

    If you see conflicts, create a temporary config, set a unique MINDROOM_NAMESPACE, use a unique mindroom_user.username, isolate …

    line 40
  5. Very specific:

    If the isolated run writes a temporary .env, inspect it before hitting authenticated /api/* routes because it may contain the …

    line 41
  6. Distinctive:

    Verify behavior, not just startup.

    line 43
  7. Very specific:

    Prefer Matty --format json when you need stable confirmation.

    line 50
  8. Very specific:

    If room aliases or thread listings are flaky, fall back to the concrete room ID from backend logs and direct matty thread reads.

    line 51
  9. Distinctive:

    If a live run exposes missing instructions, stale ports, missing workarounds, or a better repo-specific path, update this skill or its …

    line 54
  10. Very specific:

    Keep SKILL.md concise and move detailed command sequences into the reference files.

    line 55

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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

Live Test

Run the real product and collect runtime evidence.

⚠️ NixOS Environment

On NixOS hosts, run commands inside the repo Node.js 24 dev shell so libstdc++.so.6 is available. Without it, numpy fails to import and you get AttributeError: module 'mindroom' has no attribute 'bot'.

nix-shell shell.nix
# then run normally inside the shell:
uv run pytest ...
uv run mindroom run

If nix-shell shell.nix cannot resolve <nixpkgs>, use:

nix-shell -I nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos shell.nix

See references/core-mindroom.md for details.

The root shell includes Linux Chromium only on Linux so the backend and Node.js tools also work on macOS.

Workflow

  1. Choose the surface you need to test.
  • For the core MindRoom runtime, local Matrix, Matty, and bundled dashboard, read references/core-mindroom.md.
  • For the core frontend screenshot flow, frontend-only dev server, SaaS sandbox, and platform frontend screenshots, read references/frontend-and-platform.md.
  1. Prefer isolated local runs when the worktree or machine is already busy.
  • Existing local instances often collide on ports, Matrix usernames, room aliases, and dashboard API ports.
  • If you see conflicts, create a temporary config, set a unique MINDROOM_NAMESPACE, use a unique mindroom_user.username, isolate MINDROOM_STORAGE_PATH, and choose a non-default --api-port.
  • If the isolated run writes a temporary .env, inspect it before hitting authenticated /api/* routes because it may contain the instance-specific MINDROOM_API_KEY.
  1. Verify behavior, not just startup.
  • For chat flows, send a real message and inspect the actual reply thread.
  • For backend changes, hit the live endpoint on the same instance you started.
  • For frontend changes, capture screenshots and inspect the generated PNGs.
  1. Preserve evidence.
  • Record the exact command, port, room name, room ID, thread ID, and returned payload or screenshot path.
  • Prefer Matty --format json when you need stable confirmation.
  • If room aliases or thread listings are flaky, fall back to the concrete room ID from backend logs and direct matty thread reads.
  1. Improve this skill when it struggles.
  • If a live run exposes missing instructions, stale ports, missing workarounds, or a better repo-specific path, update this skill or its references in the same task when reasonable.
  • Keep SKILL.md concise and move detailed command sequences into the reference files.

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.