Ghost App Ui Dev Setup ghost-app-ui-dev-setup
Prepare an empty folder for trying Ghost app UI development locally, with Shade's skills, local docs and the app SDK from a Ghost checkout.
- Our test
- 8/10✓ Verified
- tested Dec 6, 2026
- GitHub stars
- 56k
- tryghost/ghost
- Added by
- 0
- members
- Updated
- Dec 6
- commit fea511f
- Content
- 2 files
- no scripts · 8 KB
- License
- MIT
- free to use
What our test found
The skill gives a thorough, ordered setup with concrete checks and useful guardrails, though its Storybook PID recording could capture an unrelated listener on port 6006.
Limits spotted
- The `lsof` command records whichever process is listening on port 6006, not necessarily the Storybook process started by this setup; the later stop command could kill an unrelated service.
- The setup runs a version-pinned `npx` installer and several checkout commands without an explicit confirmation or verification of the installer source.
name: ghost-app-ui-dev-setup description: Prepare an empty folder for trying Ghost app UI development locally, with Shade's skills, local docs and the app SDK from a Ghost checkout. disable-model-invocation: true
Set up a folder for Ghost app UI development
This prepares the current folder so a fresh chat can build a Ghost app the way an outside developer would: Shade's skills installed, Shade's docs served by the local Storybook, the app SDK packed from the Ghost checkout, and an AGENTS.md that reads like an ordinary app project's.
The build chat must see only what an outside developer sees. Keep the checkout path out of every file in the folder, except the deny rules in step 8.
Do the steps in order. Each ends on a check; when one fails, stop and tell the user. Commands and file contents are in .
1. Check the folder
- Confirm the current folder is empty. Hidden system files such as
.DS_Store, or an empty.claude/, are fine. Anything else: stop and ask. - Ask where the Ghost checkout is, suggesting
~/Code/Ghost. It's<checkout>below. - Check
<checkout>/clients/shade/package.jsonexists and the folder isn't inside<checkout>.
2. Ghost
- Check
curl -s -o /dev/null -w '%{http_code}' http://localhost:2368/ghost/prints200. - If not, offer to run
pnpm dev:upin<checkout>, which runs Ghost in the background and prints its URL. Run it only on a yes, then check again. - Remind the user that Settings → Labs → Private features → Apps must be on. You can't check it without logging in.
3. Storybook
Storybook serves Shade's docs as Markdown, which the skills read.
- Check
curl -sf -o /dev/null http://localhost:6006/llms.txtsucceeds. If so, go to step 4. - Otherwise start it detached, as in , and poll
llms.txtevery few seconds for up to three minutes. If it never answers, show the end of its log and stop. - Once it answers, record its process as in . Tell the user it keeps running after this chat, and how to stop it. Only give the stop command for a Storybook this setup started.
4. Shade's skills
- Run
npx -y skills@1.7.4 add <checkout>/clients/shade/skills --skill '*' -a claude-code codex -y.codexputs the skills in.agents/skills/, which most clients read;claude-codelinks them into.claude/skills/. - Check
.agents/skills/hasbuild-ghost-app-ui,shade-imports,shade-no-dark-variants,shade-page-header,shade-page-templates,shade-tokens-not-hexandshade-use-primitives, each linked from.claude/skills/.
5. The build-ghost-app skill
build-ghost-app/ beside this file stands in for the Ghost apps team's future skill: the SDK, manifest, connect() and install link.
- Install it from the checkout, so it's current:
npx -y skills@1.7.4 add <checkout>/clients/shade/dev-skill/ghost-app-ui-dev-setup/build-ghost-app -a claude-code codex -y - Check
.agents/skills/build-ghost-app/SKILL.mdexists and.claude/skills/build-ghost-applinks to it. - Delete
skills-lock.json: it records the checkout path, and nothing here needs it.
6. The app SDK
@tryghost/app-sdk isn't on npm. Build, pack and stamp it into vendor/tryghost-app-sdk.tgz, then check npm installs it, as in . Done when the check's npm ls exits 0 with @quilted/threads under the SDK.
7. AGENTS.md
Write it exactly as in .
8. Guardrails
- Write
.claude/settings.jsonas in . It keeps the build chat out of Ghost's source and off the user's browser. - Tell the user it applies in Claude Code only; other clients ignore it.
9. Starting state
- Write a
.gitignorewithnode_modulesanddist. - Run
git init, add everything, and commit asStarting state. - Check
git log --onelineshows that one commit andgit statusis clean.
10. Hand over
Finish with this message, filling in the paths:
Ready. Start a new chat in this folder and describe your app in your own words. This chat has seen the checkout path; a fresh one sees only what an outside developer would. When the app is built, runnpm run devhere, then install it from http://localhost:2368/ghost/#/apps/install?manifest=http%3A%2F%2Fmy-app.localhost%3A5190%2Fghost-app.json To try unpublished Shade code once the app exists, runpnpm pack:local <this folder>in<checkout>/clients/shade.