agentleFS
agustinsaccoagustinsacco/phosphor/.claude/skills/run/SKILL.md

run

Skill17 starsChanged 36 days agoMITView on GitHub

Launch Phosphor to see a change working — Electron dev mode with a real pi, the browser-only mock harness, or a stubbed Electron instance when no pi/API key is available. Use when asked to run, start, demo, or visually verify the app.

  • Installs packages

57 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use init, report and 9 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.
  • MicrosoftSkill

    init

    Also in 9 projects that use this

  • MicrosoftSkill

    report

    Turn an exploration (threads, findings, charts) into a single Markdown report — note, blog post, executive summary, KPI dashboard, slide brief, or multi-section analytical report, with embedded charts.

    Also in 5 projects that use this

  • AnthropicSkill

    status

    Case status summary by audience — client-facing (plain language), internal (for the professor), or court-ready (formal caption format per local rules). Same facts, different framing and depth. Use when a student needs to update the client, brief the professor, or prepare a court status report.

    Also in 5 projects that use this

  • BlockSkill

    plan

    Draft a TDD, PRD, or lightweight plan in the conversation without committing it.

    Also in 6 projects that use this

  • Microsoft AzureSkill

    verify

    End-to-end app testing pipeline for browser-based web apps on cloud browsers via Azure Playwright Workspaces: verify the live app, author tests for working flows, heal failing tests, then re-run with video and produce one consolidated report. Three phases (app verification, test authoring, test healing) plus a scoped final sanity run; each phase emits a sub-report. Use when asked to "verify my app", "make sure my app works and has good test coverage", "do a full QA pass", "add tests where I'm missing coverage", "fix failing tests and add new ones", "smoke test before deploy", "QA my deployment", or any combined verify-and-test ask. Requires Azure CLI (`az login`) and a Playwright Workspace resource ID — bootstraps configs on first invocation. Browser-based web apps with Playwright only — not for unit/API tests, native mobile/desktop, load/perf, or full accessibility audits.

    Also in 6 projects that use this

  • SentrySkill

    spec

    Produce a verified spec — problem, desired outcome, and acceptance criteria — before building. Use when given a GitHub/Linear issue link, when starting from a fuzzy in-conversation idea, or asked to "figure out what to do" / "scope this" / "what should I build" — whenever the *what* isn't yet pinned down. Grills the ambiguities, checks the premise against the code, and produces acceptance criteria you sign off on — then hands to design-first.

    Also in 3 projects that use this

  • +1 more from microsoft

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 54 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

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

    Prefer the Playwright suite for assertions (/e2e skill).

    line 58

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

Running Phosphor

Pick the lightest mode that can show the change:

1. Renderer-only (no Electron, no pi) — UI look & feel

npm run dev:web

Open the printed localhost URL in a browser. apps/desktop/src/main.tsx detects the missing window.phosphor and installs libs/client-ui/src/dev/mockPhosphor.ts: canned sessions, a scripted streaming reply, mock file tree/terminal. Good for layout, chat rendering, sidebar, theming. Useless for anything touching real IPC, pi, git, or PTYs. If your change added an IPC channel that a rendered screen calls, add a mock case or the screen will get undefined.

Debug hooks in the browser console: __chatStore, __sessionsStore, __extUiStore (zustand stores).

2. Full dev app (Electron + HMR) — the real thing

npm run dev

Requires pi on PATH (npm i -g @earendil-works/pi-coding-agent, Node ≥ 22.19) and a signed-in provider (or a local endpoint in ~/.pi/agent/). Without pi the app boots to the "pi missing" screen — still fine for testing the shell, settings, terminal, and that screen itself.

3. Stubbed Electron (no pi, no API key) — deterministic full app

Build once, then launch against the e2e stub:

npm run build
ELECTRON="$(node -p "require('./apps/desktop/node_modules/electron')")"
PHOSPHOR_PI_STUB="$PWD/apps/desktop/e2e/fixtures/pi-stub.cjs" \
PHOSPHOR_E2E_WORKSPACE="$(mktemp -d)" \
PHOSPHOR_TEST_USER_DATA="$(mktemp -d)" \
PI_CODING_AGENT_DIR="$(mktemp -d)" \
"$ELECTRON" "$PWD/apps/desktop"

The stub speaks the full RPC protocol with a scripted session (streamed markdown, an edit tool call with a diff, an artifact). This is exactly what the e2e suite drives. The env hooks only work unpackaged (!app.isPackaged) — that gate is a security boundary, do not remove it.

Verifying without eyes

Prefer the Playwright suite for assertions (/e2e skill). For a one-off check, npx playwright test --config apps/desktop/playwright.config.ts apps/desktop/e2e/smoke.spec.ts -g "<test name>" after a build is faster than hand-driving the app.

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.