Scaffold Frenchfry Render
Overview
Use this skill to bootstrap a Frenchfry project with:
- Runtime proxy (
@frenchfryai/runtime) for Realtime session creation. - React client (
@frenchfryai/react) for voice + tool-calling UX. - Render Blueprint (
render.yaml) for deployment.
Keep scope focused on tool calling. Do not add generative UI outlets unless explicitly requested.
Workflow
- Confirm scaffold target.
- Confirm output directory name.
- Confirm whether to use the bundled scaffold script or manual patching.
- Scaffold project.
- Preferred:
bash skills/scaffold-frenchfry-render/scripts/scaffold-frenchfry-tool-calling.sh <target-dir>
- This creates runtime + web apps, installs dependencies, and writes a starter
render.yaml.
- Validate Frenchfry npm package installation.
- Ensure these packages are present:
@frenchfryai/runtime@frenchfryai/react
- Confirm install status:
npm ls @frenchfryai/runtime @frenchfryai/react
- Verify app wiring.
- Runtime app must expose
/realtime/sessionviaregisterRealtimeSessionRoute. - React app must register at least one tool using
useTool. - Keep implementation focused on tool calls; avoid
useGenUi/VoiceUiOutletby default.
- Build Render Blueprint.
- Start from
assets/frenchfry-tool-calling-render.yaml. - Reconcile with full Render guidance in
references/render-deploy/. - Include both services:
- Node web service for runtime
- Static web service for React app
- Ensure secrets use
sync: falseand public config values usevalue.
- Final checks.
- Verify
OPENAI_API_KEYis declared inrender.yamlwithsync: false. - Verify runtime binds to
0.0.0.0:$PORT. - Verify static service rewrites
/*to/index.html.
Render Reference Map
Use these copied Render skill resources directly:
references/render-deploy/blueprint-spec.mdreferences/render-deploy/configuration-guide.mdreferences/render-deploy/service-types.mdreferences/render-deploy/deployment-details.mdreferences/render-deploy/post-deploy-checks.mdassets/render-deploy-blueprints/*.yaml
Read only what is needed for the user’s requested stack.
Output Contract
When done, produce:
- Runtime service source files.
- React app source files with tool-calling example.
render.yamlwith both services and env vars.- Commands used to install npm dependencies.