
Make Demo
- 13 installs
- 33.3k repo stars
- Updated August 5, 2026
- remix-run/remix
Helps with ai & agent building tasks during AI-assisted development.
About
make-demo is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted coding.
- make-demo
- AI & Agent Building
- AI-coding skill
Make Demo by the numbers
- 13 all-time installs (skills.sh)
- +1 installs in the week ending Aug 4, 2026 (Skillselion tracking)
- Ranked #11,409 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
- Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/remix-run/remix --skill make-demoAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 13 |
|---|---|
| repo stars | ★ 33.3k |
| Last updated | August 5, 2026 |
| Repository | remix-run/remix ↗ |
What it does
Helps with ai & agent building tasks during AI-assisted development.
Files
Make Demo
Overview
Demos in this repository are not throwaway prototypes. They are durable code artifacts that should teach people and other agents how to write Remix code well.
A good demo should:
- exercise Remix framework behavior in a realistic way
- push the target APIs through meaningful edge cases and composition points
- model clean structure, naming, and accessibility
- be code that a reader could adapt into a real application
Workflow
1. Read the target APIs and at least one or two existing demos before writing new code. 2. Choose a focused scenario that exists to demonstrate Remix behavior, not a generic app shell. 3. Build the demo under demos/<name>/ using the same conventions as the existing demos. 4. Treat the code as a reference artifact, not as temporary sample code. 5. Validate the demo locally before finishing.
Rules
- Use Remix library packages for the demo's framework behavior. Do not introduce unrelated routers, component frameworks, state managers, or middleware stacks that distract from the Remix patterns being demonstrated.
- Treat each demo as its own pnpm workspace consumer. Give it a normal
package.jsonwithremixas a dependency when appropriate, and import from package exports such asremix/uiinstead of reaching back intopackages/with relative imports. - Keep any non-Remix dependency incidental to the runtime environment only. If a database driver, asset bundler, or type package is needed, it should support the demo rather than define its architecture.
- Demos should push Remix to its limits in a focused way. Prefer realistic edge cases, composition, streaming, middleware, routing, navigation, forms, or request-handling scenarios over toy examples.
- When demos use
remix/ui, prefer idiomatic Remix component patterns. Use normal JSX composition and built-in styling/mixin props such ascss={...}ormix={css(...)}andmix={[...]}instead of dropping down to manual DOM mutation or ad hoc class management. - When a demo uses
remix/uiJSX, configure that demo'stsconfig.jsonwithjsx: "react-jsx"andjsxImportSource: "remix/ui". Do not setpreserveSymlinksor addpathsentries that point back intopackages/remix/src. The goal is for TypeScript to resolveremixthrough the demo's own package dependency under pnpm's default symlink behavior. - For demos that run through
remix/node-tsx, do not enableerasableSyntaxOnly; the runtime intentionally supports TypeScript syntax that needs transformation. - For HTML responses rendered with
remix/ui, prefer a localapp/middleware/render.tsxmiddleware that usesrenderWith(...), callsrenderToStream(...), wraps it withcreateHtmlResponse(...)fromremix/response/html, and lets actions render withcontext.get(Renderer)(...). - Prefer direct use of Remix and package APIs in demo code. Do not add custom wrappers around simple calls like
session.get(),session.set(),session.flash(),session.unset(),redirect(), orcontext.get(...)unless the wrapper adds real domain logic, reusable policy, or a genuinely clearer abstraction. - Demo code must have good hygiene. Use clear names, small focused modules, explicit control flow, and accessible markup. Avoid hacks, dead code, unexplained shortcuts, or patterns that would be poor examples for users to copy.
- Make the demo teach good patterns. Assume readers and future agents will study it as an example of how Remix code should be written in this repository.
- All demo servers should use port
44100. - Demo servers should handle
SIGINTandSIGTERMcleanly by closing the server and exiting.
Typical Structure
Use only the files the scenario needs, but prefer this shape:
demos/<name>/package.jsondemos/<name>/tsconfig.jsonwhen the demo has TypeScript or JSX sourcedemos/<name>/server.tsdemos/<name>/README.mddemos/<name>/app/demos/<name>/public/when serving built assets or other static files
Remix Application Layout
When a demo is a real application, prefer a uniform Remix application layout instead of inventing a new structure for each demo.
Root layout
Use these root directories consistently:
app/for runtime application codedb/for database artifacts such as migrations and local SQLite filestest/for shared test helpers, fixtures, and any true cross-application integration testspublic/for static files served as-istmp/for runtime scratch files such as sessions, uploads, and caches
App layout
Inside app/, organize code by responsibility:
actions/for all controller-owned route actions and route-local UI/helpers. The root route map lives inactions/controller.tsx; nested route maps live in route-key folders such asactions/auth/controller.tsxoractions/account/controller.tsxdata/for runtime data definitions such as table schema and setup helpers used by the application at startupmiddleware/for request-layer concerns such as auth, database injection, sessions, and other request lifecycle setupui/for shared UI primitives used across route areasutils/for shared runtime support code that does not clearly belong to one of the other app layers
Naming and ownership rules
- Keep controllers thin. They should read request context, talk to the database or other runtime services, and return a response.
actions/controller.tsxowns top-level leaf route actions, and each nested route map gets its own explicitactions/<route-key>/controller.tsxfile. A controller'sactionsobject contains direct leaf route keys from the route map passed to itsrouter.map()call.- Name directories under
app/actions/after route-map keys, not URL path segments. - If a component or helper is only used by one controller feature, keep it in that controller feature folder.
- If UI is shared across route areas, keep it in
app/ui/. - Do not put shared UI under
app/actions/, and do not create a genericapp/components/dumping ground. - Do not create a generic
app/lib/dumping ground. - Avoid feature barrel files such as
index.ts. Import feature modules directly. - If a non-UI helper is shared only by controllers, keep it under
actions/. - If a helper is part of request or session setup, keep it under
middleware/. - Keep table definitions, row types, and runtime database setup in
app/data/. - Keep database artifacts such as migrations and SQLite files in
db/. - Use
utils/only for genuinely cross-layer support code. Prefer a topic-specific name likeutils/external-auth.tsover catch-all names likehelpers.tsormisc.ts. - Co-locate tests with the app modules they cover whenever those tests primarily exercise one implementation file or one small feature area.
- Use the root
test/directory only for shared test code, fixtures, and truly broad integration coverage that does not belong to a single app module.
Example layout
demos/<name>/
app/
router.ts
router.test.ts
routes.ts
actions/
controller.tsx
auth/
controller.tsx
signup/
controller.tsx
resolve-external-auth.ts
account/
controller.tsx
account-page.tsx
data/
schema.ts
setup.ts
setup.test.ts
middleware/
render.tsx
auth.ts
database.ts
session.ts
utils/
auth-session.ts
auth-session.test.ts
password-hash.ts
external-auth.ts
ui/
auth-card.tsx
document.tsx
form-field.tsx
notice.tsx
icons.tsx
design-system.ts
db/
migrations/
app.sqlite
test/
fixtures/
helpers.ts
public/
tmp/README Expectations
- Explain what the demo proves or teaches.
- Document how to run it locally.
- Point out the key Remix APIs or patterns being demonstrated.
- Keep code examples and imports aligned with repo guidance: use
remixpackage exports where available.
Validation
- Run
pnpm -C demos/<name> typecheckwhen the demo defines a typecheck script. - Run
pnpm -C demos/<name> testwhen the demo defines tests. - Smoke-test the demo server locally when behavior depends on live requests or browser interaction.
- Run
pnpm run lintbefore finishing.
interface:
display_name: 'Make Demo'
short_description: 'Create high-quality Remix demos'
default_prompt: 'Use $make-demo to add or revise a demo under demos/ that showcases Remix packages with clean, artifact-quality code and strong repo conventions.'