agentleFS
ANT1OFFANT1OFF/gram/.agents/skills/run-app/SKILL.md

run-app

Skill1 starsChanged 13 days agoMITView on GitHub

Start, drive and verify Gram with the repository's own commands. Use when asked to run, open or screenshot the app, to see a UI change working, to check a change beyond unit tests, or before writing a script to launch or drive the app: one of these already does it.

16 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use release.

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.
  • MicrosoftSkill

    release

    Use ONLY when the user explicitly asks to cut/publish a Huabu desktop release or tag a version. Performs an outward action — bumps the version in apps/desktop/package.json, commits + annotated-tags vX.Y.Z, and pushes the branch + tag. That tag push auto-builds the macOS/Windows installers and publishes a GitHub Release. Provides `status`, `bump`, `tag-push`, and a one-command `run` (bump → tag-push).

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 15 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

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

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

    Use these commands; do not write your own launcher, port finder or screenshot script.

    line 8
  2. Very specific:

    Before/after pictures for the pull request: bun run --filter @gram/web pr:shots --list, then --shot <name>, --path <route> --after-only, or …

    line 24
  3. Very specific:

    Before review: bun run check (the full check.

    line 46

“Common” is measured: kept by at least 6 in 10 of the 15 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

Run and verify Gram

Use these commands; do not write your own launcher, port finder or screenshot script. Each picks free ports and cleans up only what it started. Run from the checkout's physical root (pwd -P). Which checks a task needs is in the verification matrix.

To see a UI change

  • Without a server or agent: bun run dev:mock (Vite with VITE_API=mock).
  • A feature by its name in docs/features.json, headless: bun run drive <feature> (--list names them, --all reaches every one). Read <slug>.aria.yml first, the picture second; see reaching a feature.
  • One picture of one route, headless, in a fresh browser: bun run dev:preview --capture --path /settings/agents --output /tmp/<new-dir>. The output directory must not exist yet. Read initial.png/final.png, the errors in browser.jsonl and the result in preview.json. --account signed-out|unknown shows the other sign-in states; without --capture it opens a browser you close yourself.
  • Before/after pictures for the pull request: bun run --filter @gram/web pr:shots --list, then --shot <name>, --path <route> --after-only, or --set tour|flows|tasks. Images land in apps/web/pr-shots/out/ (gitignored). Look at them before you claim anything; never commit them.
  • Browser commands use the installed Playwright Chromium and never download one. If it is missing, install it as in development.

To run the real app

  • bun run dev: the local server and Vite with the echo fake agent. It prints a boot URL (/?boot=…); open that one, and keep it out of logs and PRs: it grants API access. Add GRAM_DATA_DIR=<temp-dir> for throwaway data, GRAM_FAKE_AGENT=0 for the installed CLIs.
  • bun run dev:desktop: Electron, server and Vite (GRAM_FAKE_AGENT=1 for the echo agent).
  • Ports start at 4317 (server) and 5173 (web) and move up when taken; GRAM_PORT and GRAM_WEB_PORT pin them.

To check a change

  • While iterating: bun run test <file.test.ts>, then bun run check:affected (static checks plus the Vitest projects the branch touches against origin/main).
  • A UI flow: bun run --filter @gram/web e2e <spec.ts> --workers=1; GRAM_E2E_SHOTS=1 keeps the spec's review screenshots. Onboarding and subscriptions: bun run e2e:smoke.
  • Docs only: bun run check:scaffold, bun run fmt:check, bun run check:docs.
  • Before review: bun run check (the full check; it waits for a machine-wide slot).
  • Native sessions (Electron, no outside network), each with a new evidence directory: node apps/desktop/scripts/verify-web-preview.mjs <dir>, node apps/desktop/scripts/verify-pinned-pages.mjs <dir>, node apps/desktop/scripts/verify-local-browser.mjs <dir>, node apps/desktop/scripts/verify-browser-toolkit.mjs <dir>. A packaged build: bun run --filter @gram/desktop verify:package.

To stop

Ctrl-C the command you started, or bun run check:cancel for this checkout's check. Never pkill -f, killall or kill $(pgrep …): other checkouts share the machine. Kill only the PIDs your own command started.

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.