- Home
- Skills
- Mobile Development
- appcreator
appcreator
Crea apps de iPhone robustas con Scriptable usando un patrón de arquitectura probado, UI adaptable y tests automáticos.
Free
appcreator
Example session with this skill installed
Crea una app para anotar lecturas de libros. Necesito capturar el título desde un atajo, ver el progreso en un widget y guardar todo en iCloud. Usa azul para el tema.
- Read your context and instructions
- Compiled the appcreator
He generado el esqueleto de la app "Lecturas" con el núcleo de datos para libros, el puente de UI y el soporte para iCloud. Se han configurado los tests iniciales y el generador de iconos.
Entregable: Lecturas.js
// Variables used by Scriptable.
// These must be at the very top of the file. Do not edit.
// icon-color: blue; icon-glyph: book;
/**
* LecturasAPP - Sistema de seguimiento de libros
* Generado por appcreator
*/
const CONFIG = {
nombre: "Lecturas",
version: 1,
color: "#007AFF",
copia: "diaria"
};
// --- NÚCLEO ---
const crearNucleo = (datos) => {
const libros = datos.libros || [];
return {
agregar: (titulo) => ({
tipo: "libros.agregar",
id: crypto.randomUUID(),
titulo,
progreso: 0,
creado: new Date().toISOString()
}),
actualizar: (id, progreso) => ({
tipo: "libros.progreso",
id,
progreso: Math.min(100, progreso)
})
};
};
// --- UI HTML ---
const UI_HTML = `<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no, viewport-fit=cover">
<style>
:root { --bg: #ffffff; --text: #000000; }
@media (prefers-color-scheme: dark) { :root { --bg: #000000; --text: #ffffff; } }
body { background: var(--bg); color: var(--text); font-family: system-ui; margin: 0; padding: env(safe-area-inset-top) 16px; }
.card { padding: 12px; border-radius: 8px; background: #8e8e9322; margin-bottom: 8px; }
</style>
</head>
<body>
<div id="app"></div>
<script>
// Puente de comunicación con Scriptable
const Puente = {
enviar: (op) => { window.location.href = "scriptable://run?name=Lecturas&op=" + encodeURIComponent(JSON.stringify(op)); }
};
</script>
</body>
</html>`;
// --- LÓGICA PRINCIPAL ---
async function principal() {
const modo = args.shortcutParameter ? "atajo" : config.runsInWidget ? "widget" : "app";
if (modo === "atajo") {
// Lógica de captura rápida
return "Libro anotado";
}
if (modo === "widget") {
let w = new ListWidget();
w.addText("📚 Leyendo...");
Script.setWidget(w);
return;
}
let wv = new WebView();
await wv.loadHTML(UI_HTML);
await wv.present();
}
await principal();
Script.complete();
Next steps
- Ejecuta
npm run buildpara integrar el CSS y los iconos SVG en el script final. - Copia el archivo
Lecturas.jsa tu carpeta de Scriptable en iCloud Drive. - Configura un Atajo de iOS con la acción "Run Script" seleccionando "Lecturas" para la captura rápida.
Connects securely to your tools. The creator never sees your data.
About this skill
Building functional iPhone apps within the Scriptable environment is error prone due to undocumented API quirks and UI scaling issues. This skill enforces a production-hardened architecture used in real-world task and expense trackers to deliver reliable, single-file iOS applications.
What it does
- Architects single-file apps by generating a robust script featuring a pure logic core, JSON storage with quarantine backups, and iCloud Drive syncing.
- Builds responsive WebViews using a polling bridge protocol that handles keyboard offsets, safe areas, and dark mode for every iPhone screen size.
- Automates UI testing by generating WebKit screenshots across all device resolutions (SE to Pro Max) to ensure touch targets and layouts never break.
- Integrates iOS native features including Lock Screen widgets, Siri Shortcuts, Apple Pay automation hooks, and Share Sheet extensions.
- Manages data integrity via a versioned schema with migration support and a "borrado: true" flag system to prevent data loss during sync collisions.
How it works
- Define the domain by specifying entities, required shortcut inputs, and widget data requirements.
- Scaffold the project using the
nueva-app.jsutility to create the directory structure, core logic, and initial test suite. - Develop and build by editing the
src/files and runningnpm run buildto compile the single-file Scriptable deliverable. - Validate across devices using
npm run capturasto visually inspect the UI in light and dark modes on multiple simulated iPhone resolutions. - Deploy to iOS by copying the generated script to the Scriptable folder in iCloud Drive and following the guided verification checklist.
Frameworks & tools
The skill utilizes Node.js for the build pipeline and testing (node:test), Python for icon generation, and WebKit/Playwright for automated visual regression. It targets the Scriptable iOS app environment using vanilla JavaScript and HTML/CSS.
Why this beats prompting it yourself
Scriptable apps often fail due to race conditions between Shortcuts and the UI or broken layouts on different iPhones. This skill applies a proven "no-state UI" pattern and a strict polling bridge that prevents the common "black screen" and data overwrite bugs that generic prompts ignore.
Use cases
- Create a personal expense tracker that logs Apple Pay notifications via Shortcuts.
- Build a custom task manager with Lock Screen widgets and Share Sheet integration.
- Develop a local-first data dashboard that syncs via iCloud without a backend.
- Prototype iOS-native utilities with complex UI interactions in a single script.
Known limitations
Requires a local Node.js environment for the build and test pipeline. Does not support external NPM dependencies in the final script. Network requests are disabled by default for privacy.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 11 days ago
- Free with an Agensi account
- Software
- Playwright
Node.js
Python
Permissions
What's inside
Frequently Asked Questions
New in Mobile Development
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Mobile Development.