/fused-render:fused-render-app-doctorfrom Fused Render
Reviews a fused-render app folder for share-readiness: checks secrets, hardcoded paths, generated files, missing structure, and stale API versions. Operates in fix-session or fix-all modes using precomputed reports.
Ships in Fused Render. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Share-readiness pass over one app folder. fused-render ships as a packaged desktop app — the Python package is not on PATH, so never shell out to a fused-render subcommand.
Three modes.
fused_render/app_doctor.py already computed section, severity, state. Go to the matching ## heading, do only that. Never re-derive the checklist or re-run other checks.`all` and carries one ## block per failing row, each already computed the same way a single-row task's block is. Work through every block, in the order given, applying that block's own ## heading's Fix guidance — the same as if each had been its own single-row session — then do ONE commit at the end covering the whole run, not one per row. This is still bounded by exactly the blocks handed to you: never re-derive the checklist, never re-run app_doctor.py yourself to look for more, and never invent a check the report didn't include. A row absent from the task's blocks was passing (or skipped) when the report was generated and is not this session's business.Not a code audit. No opinion on logic bugs, cache eviction, date math, dedup, DOM injection, error handling, perf. Even when the request says "review for correctness": say this skill covers share-readiness, offer the audit as separate work.
Two kinds of row. fact — a file read or git call settled it, nothing to judge. candidate — a regex over arbitrary text, so it locates a SHAPE, not a verdict; read the surrounding file before calling any hit real. The regex engine over 8 apps in a live workspace: all 40 candidate findings were false positives.
secrets — leaked credentialscandidate — ci/app_check.py's _PREFIXED_SECRET_PATTERNS, _PRIVATE_KEY_RE, _ASSIGNMENT_SECRET_RE.
Not a finding:
runs/*.json, a captured stdout dump). A real key pasted into live output is still a leak — but one value echoed 26 times is one root cause. Say it once, point at the cause./tmp/xxx is not this app's secret.sk-ant-... showing "your key looks like this".xxxxxxxx, <your-key-here>, sk-ant-REDACTED, changeme, fake, sample, example, test, empty string. Placeholders, even when the shape slips past the floor script's own detector.Real: live-looking key shape, long random string, or a PEM block, in a file the app ships and executes.
Fix. Never quote a whole secret back — mask the middle, or name only where it lives. Give file and line; advise rotating anything ever committed. Retyping the same value elsewhere is not a fix.
entry — has an app entry pagefact — app_listing.app_entry found no page carrying <meta name="fused-app">.
Fix. Add that tag to the <head> of the page meant to open. Multiple candidates: first non-hidden one in name order wins, so pick accordingly.
app-id — has an app idfact, severity warning — the entry page has no well-formed <meta name="fused-app-id" content="…">. The Community lists and catalogs apps by this id (it is the listing's slug), so Publish to the Community refuses without one.
Fix. Add ONE tag to the entry page's <head>, next to <meta name="fused-app">: <meta name="fused-app-id" content="<name>-<8 hex>"> — <name> the app's name kebab-cased (lowercase letters, digits and dashes, starting with a letter or digit, at most 48 characters), then a dash and exactly 8 random lowercase hex digits, e.g. sine-starter-0a1b2c3d. Generate the hex freshly (never copy another app's id: a copy with the same id reads as the same app). Change nothing else, then commit the page. If the app already had an id that was lost, and you can find it (git history, metadata.json), restore that one instead of minting a new one.
api-version — declares the current fused API versionfact — the row names both numbers.
Fix. Invoke fused-render-api-migration and stop. Don't read the intervening docs/v{N}.md yourself. Don't hand-edit the tag — that skill stamps it when the migration actually lands, and stamping it here claims a migration that didn't happen.
pyproject — pyproject.toml is valid TOMLfact — Fail means either no pyproject.toml in an app that has Python (severity info, not a warning), or one that exists and won't parse (a warning). An app with no .py file at all is skipped — nothing to declare.
Fix, missing file. A folder's dependency list is all-or-nothing — the bundled set (numpy, pandas, pyarrow, duckdb, openpyxl, msgpack, pillow, python-pptx, fpdf2, requests, httpx, drain3) is NOT unioned in. An empty dependencies list is safe — the folder stays on the app interpreter with the full bundled set. The hazard is a non-empty but incomplete list: an app importing pandas with no pyproject.toml runs fine on the bundled interpreter; add one that declares some other package but omits pandas and it stops running. A partial stub is a regression, not a fix.
Read every .py in the app folder, collect every third-party import, and declare all of them — nothing less. An app with no .py files gets a pyproject.toml with an empty dependencies list; that is the correct, complete result for it.
Shape: [project] with name, version, requires-python, dependencies, plus [tool.uv] package = false (the folder is a set of scripts, not a distribution to build). See fused_render/templates/docs/pyproject.toml for a real minimal example.
Fix, won't parse. Read the parse error from the row's detail, fix the syntax. Broken costs the app its extra packages, not its ability to open.
readme — has a README explaining the appfact, severity info — a README or README.* at the app root.
Fix. Write one. A sentence or two on what the app does, for whoever receives the folder.
icon — icon.svg / icon.png is a valid imagefact — skip means neither icon.svg nor icon.png, which is fine. Checks the svg when both exist (it wins); png = signature check. Fail means the icon exists and won't parse.
Fix. Route to fused-render-app-icon; it owns icon authoring.
device-paths — no paths tied to one machinecandidate — ci/app_check.py's _POSIX_DEVICE_RE/_WIN_DEVICE_RE.
Not a finding:
https://example.com/opt/... says nothing about a local filesystem..md/.rst/.txt entirely, but a docstring inside .py/.js still reaches you.SKIP_DIRS = (..., "/private/var/vm", ...). That is the app being correct about the OS./var, /tmp, /private/var, /media followed by a generic filename or more OS jargon. Talking about the machine, not about a person's data.Real: a hardcoded /Users/alex/data.csv (or /home/…, /Volumes/…) the app opens at runtime, in shipped source.
Fix. A path relative to the app folder, or one the runtime hands the app at call time. Never another absolute path.
git — repo in syncfact — one consolidated row covering three things (with auto-sync on and the repo on its default branch, unpushed commits and behind-origin pass — they sync automatically — and a standing auto-sync failure fails the row instead; uncommitted paths always fail): every change committed (git status --porcelain, scoped to the app folder), every commit pushed (git rev-list --count @{upstream}..HEAD — no network call, so as stale as the last fetch), and not behind origin (a real background git fetch, dispatched when App Doctor opens and read from cache here — never run inline, so it can be unresolved). The row's detail names whichever of the three apply; its findings mix uncommitted paths and unpushed commit subjects. Skip means no readable git repo, no git, no upstream configured, or the remote check hasn't resolved (offline, unreachable, or just not checked yet) — none of those are a defect in the app.
Fix. Handle whichever the row names:
Uncommitted paths — commit them, or .gitignore them if they shouldn't be tracked — and commit that .gitignore edit too, or it is itself an uncommitted change and this row fails again.
Unpushed commits — push the branch. The findings are the unpushed subject lines — if any read as work-in-progress, say so instead of pushing blindly. The row knows the commits exist, not that they're ready.
Behind origin — this is exactly what the row's own "Pull" action (in the App Doctor panel, not this skill) is for; a fix session should pull (fast-forward only) rather than force anything, and stop and say so if a pull cannot fast-forward.
"The author's latest overlaps your changes" or "couldn't be sent to GitHub" — a copy fused keeps in step by itself (an app installed from someone's GitHub link, or your own app while the contribution loop is on). Do NOT run git in it — no pull, rebase, merge, reset or push: fused moves this folder only through its own safe path. Tell the user to open the app's page and use Merge with Claude there (overlap), or to sign in to GitHub again (couldn't send), and stop.
So what you share is what you tested, matches what you pushed, and matches what origin has.
fused-dir-committed — the repo leaves out the .fused folderfact — the app's own repository tracks paths under .fused/ (git ls-files -- .fused; the findings are those paths). .fused/ holds this machine's data for the app — the install stamp, meta.json with this machine's absolute path, data and caches — so committing it ships the author's machine state to everyone who installs the app. Skip means the app is not its own repository.
Fix. Untrack the folder without deleting it: git rm -r --cached --sparse -- .fused (fused marks these paths skip-worktree so its own writes never read as edits, and git then refuses a plain rm with a "sparse-checkout definition" message — --sparse is what lets it through; drop the flag only on a git too old to know it), add .fused/ to the repo's .gitignore, and commit both (the .gitignore edit too, or it is itself an uncommitted change). Never delete the folder's files on disk — the app's data lives there.
generated — no generated files outside .fused/fact — a bounded walk found __pycache__/, .pytest_cache/, .mypy_cache/, .ruff_cache/ (reported as the directory), or stray .pyc/.pyo/.log/.db/.sqlite/.sqlite3 outside .fused/.
Fix. Delete them, move them under .fused/ (where an app's machine-local state belongs), or .gitignore what will just regenerate. Paths git already ignores (any .gitignore, .git/info/exclude) are not reported.
preview — has a preview.png thumbnailfact — preview.png exists at the app root and is non-empty. It is what a card shows in a grid.
Fix. Author one, or point at the capture flow that produces it.
fused.* callsNo row above judges whether a real fused.* call is correct. Read what the app calls, route to the owning skill, hand off — never restate its guidance here.
| App touches | Load |
|---|---|
fused.ai (text/image/video/transcribe/embed), model or provider choice | fused-render-ai |
fused.runPython, fused.params, general .html/.py view authoring | fused-render-authoring |
fused.trackJob/fused.watchJob, or a runPython risking the 60s timeout | fused-render-jobs |
fused.fileIndex | fused-render-index |
fused.capture | fused-render-capture |
fused.daemon, [tool.fused-render.app] (Python alive after the page closes) | fused-render-background-apps |
stale or missing fused-api-version | fused-render-api-migration |
an icon.svg / icon.png that exists and fails to parse | fused-render-app-icon |
Each row comes from that skill's own description: line — re-check there rather than guessing from a name.
Asked to set up CI: write the files yourself, don't tell the user to copy them.
git rev-parse --show-toplevel from the app folder. Fails → not in a git repo, say so and stop; a workflow has nowhere to run.ci/app-check.yml (ships beside this file) verbatim to <repo root>/.github/workflows/app-check.yml, creating dirs as needed.ci/app_check.py verbatim to <repo root>/.github/app_check.py.main and on every PR, and that both files still need committing.That workflow is a floor, not a substitute for this review. It runs app_check.py (stdlib-only, nothing to install) per app folder and exits 1 only on a fact finding of severity critical or warning. It prints without failing: every candidate (all 40 in the measurement above were false positives, so one must never block a push) and a suggested fact — a missing README or preview.png, real but cosmetic. suggested exists only for this exit-code decision; the checklist's quiet tier is info (a failing info row never turns the app not-ok or the header dot yellow). Gating on kind == "fact" alone would fail a build over a thumbnail while a leaked-credential candidate exited 0.
The floor is deliberately a subset — no entry/api-version/git/generated, which need the runtime's own knowledge or a live repo a fresh checkout may not have.
Walk every section above in the app's real folder with ordinary tools (grep, read, bash). Judge each hit; don't just report matches. The secrets and device-paths triage applies exactly as it does to a handed-over row.
One line per finding, sorted by path then line:
path:line: rule: excerpt
Mask the secret itself — first two characters, last two, stars between — so the report is safe to paste anywhere. Use . as the path for a finding about the folder. Close with a count and nothing else. Clean app: say so in one line.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub fusedio/fused-render --plugin fused-render14 skills in this plugin
/fused-render-aiUse when page or .py calls fused.ai (text/image/video/speech/transcribe/embed/decide/vision), picks model/provider, or AI call rejects./fused-render-api-migrationUse when migrating app to current fused page API — Migrate task, stale/missing fused-api-version meta, "fused.ai is not a function" after upgrade./fused-render-app-iconUse when adding/changing/fixing app's icon.svg or icon.png — sidebar glyph, app card mark, browser-tab favicon./fused-render-authoringUse when writing or debugging fused-render .html view or .py data file — runPython, params, preview mode, blank views, traceback overlays./fused-render-background-appsUse when app folder needs Python alive after page closes — warm worker, resident daemon, [tool.fused-render.app], fused.daemon, autostart, worker "dying" after idle./fused-render-botsUse when a page lists the Bots on this Mac, sends one a message or an image, follows that task to its result, or needs to know why a send was refused — fused.bots. Not for fused.tasks (Claude Code sessions) or fused.ai (one model call).Other plugins' skills for the same job