mobile-app-scaffold
Skill0 starsChanged 7 months agoMITView on GitHub
Generates a production-ready Expo React Native project pre-wired for AiGNITE conventions in under sixty seconds. Use this skill whenever the user mentions building a mobile app, scaffolding an Expo project, starting a new React Native app, mobile boilerplate, Expo scaffold, or kicking off a mobile project, even if they do not name the skill explicitly.
- Reads credentials
In this repository9 other files it gives its agents.
- app-store-submissionSkill
- design-from-mockupSkill
- hermes-vps-deploySkill
- higgsfield-mediaSkill
- mcp-to-mobileSkill
- mvp-design-frameworkSkill
- security-auditSkill
- supabase-bootstrapSkill
- three-tier-testSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 34
If the user has supplied any of these in the trigger message, parse them out and skip the matching prompt.
- Very specific: line 58
Run scripts/scaffold.ps1 with the collected parameters.
- Very specific: line 60
Run scripts/verify-scaffold.ps1 to confirm every required file exists.
- Distinctive: line 70
No silent mock data fallbacks outside development.
- Distinctive: line 71
Verify table count after every database migration.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
mobile-app-scaffold
Purpose
Output a complete Expo project tree with AiGNITE conventions baked in. Supabase client wired. MCP client wired. Smoke test wired to real business endpoints. CLAUDE.md with engineering standards seeded at the project root.
When to trigger
Trigger on these user phrases. Match loosely.
- "build a mobile app"
- "scaffold an Expo project"
- "new React Native app"
- "start a mobile project"
- "Expo scaffold"
- "mobile app boilerplate"
- "kick off a mobile app"
- "set up a React Native repo"
Inputs to collect
Before scaffolding, collect:
- App name (human readable, e.g. "FloodPulse Mobile")
- Bundle ID (reverse DNS, e.g. "com.aignite.floodpulse")
- Target output directory (default: current working directory)
- Optional MCP server URL the app will talk to
If the user has supplied any of these in the trigger message, parse them out and skip the matching prompt.
What the skill produces
A complete Expo project at the target directory containing:
app.jsonandeas.jsonwith bundle ID and owner placeholders filled- Folder layout:
app/(Expo Router),components/,lib/,hooks/,services/,assets/ lib/supabase.tswith client init and RLS-aware query helpersservices/mcp-client.tspointed at the supplied MCP server URL.env.local.examplelisting every variable the project needsCLAUDE.mdat project root with the AiGNITE engineering standardsMakefilewith three targets:make check,make up,make smokescripts/smoke-test.shcurling real business endpoints with a real token, counting DB tables.gitignore,tsconfig.json(strict),eslint.config.js,prettier.config.js- ESLint rule blocking em dashes in source
Smoke test contract
The generated make smoke calls real business endpoints. Health-only smoke tests are not acceptable. When a developer adds a new endpoint, the smoke test breaks until they add a probe for it. Document this rule in the generated CLAUDE.md.
Execution flow
- Parse inputs from the trigger message. Ask for missing values one at a time.
- Run
scripts/scaffold.ps1with the collected parameters. - The script writes every file using the templates in
assets/templates/. - Run
scripts/verify-scaffold.ps1to confirm every required file exists. - Print a summary table of files written.
- Suggest the next step: run
npm install, thennpx expo start.
Engineering standards baked into the output
The generated CLAUDE.md enforces these rules in every downstream session:
- Root-cause fixes only. Curl failing endpoints, query the database, read logs before any fix.
- Smoke tests verify real business endpoints, not health checks.
- No silent mock data fallbacks outside development.
- Verify table count after every database migration.
- Maintain an API contract document mapping every frontend URL to its backend route.
See references/aignite-coding-standards.md for the full text.
File and folder conventions
See references/expo-conventions.md and references/folder-layout.md.
Failure modes
- Missing app name or bundle ID. Prompt the user. Do not invent placeholders.
- Target directory exists and is non-empty. Stop. Ask the user to confirm overwrite.
- Bundle ID does not match reverse-DNS format. Reject and ask again.
- MCP server URL supplied but unreachable. Warn but proceed. Note in the post-scaffold summary.
Post-scaffold checklist for the user
Print this to the user after a successful scaffold:
cd <project>cp .env.local.example .env.local- Fill
.env.localwith real keys npm installnpx expo start- Open
make smokeand add probes for the endpoints your app will hit
Composes with
mvp-design-frameworkruns before this skill to define what the app doessupabase-bootstrapruns after to stand up the databasesecurity-auditruns before any TestFlight or Play submissionthree-tier-testruns before declaring a build readyapp-store-submissionships the build to storesmcp-to-mobileorchestrates the whole pipeline starting from an MCP URL
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
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.

