design-mobile-apps
This skill lets agents design mobile app screens using Sleek's REST API, create and edit Sleek projects through a chat interface, and generate React Native or…
Community author
- Agents
- Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode, claude.ai and API
- License
- MIT (permissive)
- Pin
- 03c20aepinned Oct 9, 2026
- Context cost
- about 2,100 tokenswhen the skill loads
- GitHub stars
- 12on designed-by-ai/skills
- Scripts
- None found
What it does
“Design mobile app screens with Sleek, edit Sleek projects, and implement their designs in React Native or HTML.”
Generated summary from the skill's own text
This skill lets agents design mobile app screens using Sleek's REST API, create and edit Sleek projects through a chat interface, and generate React Native or HTML implementations from those designs. It includes device authentication flow for users without API keys and handles screenshots, style directions, and component versioning.
When to use it
- Building mobile app prototypes from natural language briefs
- Iterating on app designs through agent-guided conversations
- Converting design mockups into working React Native code
- Creating styled components and sharing design renders
When not to
- User has no Sleek account or API key and cannot complete authentication
- Project requires features beyond Sleek's current design capabilities
- Working with existing designs not created through Sleek
Install
These commands install from the publisher's repository and need no account.
skills CLI
npx skills add designed-by-ai/skills --skill design-mobile-appsInstalls from the repository's default branch, which may have changed since the commit we checked.
GitHub CLI 2.90 or later
gh skill install designed-by-ai/skills design-mobile-apps@03c20aec6dcedb5fabfb03dc37982eb52ef19ed6Installs the commit we checked (03c20ae).
Copy by hand
Download the folder at 03c20ae and put it in .claude/skills/design-mobile-apps for Claude Code and in .agents/skills/design-mobile-apps for Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode.
Copy for your agent
A prompt for any coding agent. It installs this skill from GitHub at the pinned commit, copies the files as they are, and runs nothing unless you ask.
Prompt
Install the agent skill "design-mobile-apps" by designed-by-ai. Source, pinned to commit 03c20aec6dcedb5fabfb03dc37982eb52ef19ed6: https://github.com/designed-by-ai/skills/tree/03c20aec6dcedb5fabfb03dc37982eb52ef19ed6/skills/design-mobile-apps 1. Download that folder at exactly this commit. Do not use the default branch. 2. Copy every file unchanged, keeping the folder structure, into .claude/skills/design-mobile-apps/ for Claude Code and .agents/skills/design-mobile-apps/ for Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode. Create the folders if they do not exist. 3. Do not edit the files, and do not run any script in the folder unless I ask you to. 4. When you are done, list the files you copied and where you put them. Listing and checks: https://www.agentnative.dev/skills/designed-by-ai/design-mobile-apps
SKILL.md at the pin
---
name: design-mobile-apps
description: Design mobile app screens with Sleek, edit Sleek projects, and implement their designs in React Native or HTML.
metadata:
requires-env: SLEEK_API_KEY
---
# Designing with Sleek
[](https://sleek.design)
## Overview
[sleek.design](https://sleek.design) provides a REST API at `/api/v1/*` to create projects, design screens from a brief, and fetch their HTML and renders.
**Base URL**: `https://sleek.design`
**Auth**: `Authorization: Bearer $SLEEK_API_KEY`, except the public device start/poll endpoints
**Content-Type**: send `application/json` for JSON request bodies.
**CORS**: Enabled on all `/api/v1/*` endpoints
**Envelope**: check HTTP status first. Successful JSON wraps its payload in `data`; lists also include sibling `pagination`. Errors use top-level `code`, `status` and `message`, with optional `data.url`. Successful screenshots and share cards return image bytes; `204` has no body.
**Ids**: opaque 11-character tokens like `V1StGXR8Z5j`, with no type prefix. Nothing about an id says whether it names a project, screen, component, version or theme, so track each one by the response field it arrived in.
**Parsing responses**: write the body to a file (`curl -o run.json`) and parse the file. Piping JSON through `echo` corrupts it: zsh expands the escaped `\n` inside string values into real newlines, which makes the body invalid JSON.
**API docs**: OpenAPI spec at `https://sleek.design/api/v1/spec.json`; browsable docs at `https://sleek.design/api/v1/docs`. Fetch the spec for any contract detail not covered here.
---
## Designing or implementing
A single run can take both directions — "design me a fitness app and build it in Expo" is a design pass followed by an implementation pass. Gate each pointer on the artefact in front of you rather than on a one-time reading of the request:
**Designing** — you are about to send a chat message to Sleek. Read [designing.md](designing.md) first; it carries the create → chat → screenshot loop, how to author a style direction, and when to seed one from a reference instead.
**Implementing.** Before writing code from a Sleek design, read [implementing.md](implementing.md) for version selection, native conversion, working features, and acceptance checks.
## User shot and review shot
Screenshots come in two framings, and each file below asks for one by name:
- A **user shot** is the default render: viewport height, phone-shaped. This is the one you show the user.
- A **review shot** adds `fullHeight: true`, one component per request. This is the one you judge your own work against.
---
## Prerequisites: API Key
If `SLEEK_API_KEY` is not set, use the device flow so the user never handles the raw key:
1. `POST https://sleek.design/api/v1/device/start` (no auth) with body `{"source": "your-tool-slug"}`. The response contains a `verificationUrl`, a human-checkable `userCode`, a secret `deviceCode`, and a poll `interval` in seconds.
2. Show the user the `verificationUrl` and the `userCode`, and tell them to confirm the code matches before approving.
3. Poll `POST https://sleek.design/api/v1/device/poll` with `{"deviceCode": "..."}` every `interval` seconds. On `pending`, keep waiting. On `approved`, store `data.key` privately as `SLEEK_API_KEY` on that first read: the key is handed over once. On `expired` or `404 NOT_FOUND`, start a new flow. See [Device: Poll](endpoints.md#device-poll) for the response contract.
Fallback: send the user to **https://sleek.design/agents/setup**, which handles sign-in, plan upgrade, and key creation in one place, and ask them to paste the key back to you. Keys can also be managed at **https://sleek.design/dashboard/api-keys**. The full key value is shown only once at creation, and a free account holds one active key at a time.
**Plans**: free accounts can try the API with their one-time trial credits (about one design run), so a new user can see their first design before any payment decision. Sustained use requires the Pro plan or higher. This file carries no figures on purpose — read the current price, billing periods and credit allowance from **https://sleek.design/agents.md**, which is generated from Sleek's live pricing, and quote them from there. When cost becomes relevant (the user asks, an upgrade is needed to continue, or you're about to send them to a payment page), state that pricing plainly, including the yearly option, so the user sees a payment step coming before they reach it.
---
## Quick Reference: All Endpoints
Every endpoint the API exposes:
| Method | Path | Scope |
| -------- | ---------------------------------------------- | ----------------- |
| `GET` | `/api/v1/projects` | `projects:read` |
| `POST` | `/api/v1/projects` | `projects:write` |
| `GET` | `/api/v1/projects/:id` | `projects:read` |
| `DELETE` | `/api/v1/projects/:id` | `projects:write` |
| `GET` | `/api/v1/projects/:id/components` | `components:read` |
| `GET` | `/api/v1/projects/:id/components/:componentId` | `components:read` |
| `GET` | `/api/v1/references` | any valid key |
| `POST` | `/api/v1/projects/:id/chat/messages` | `chats:write` |
| `GET` | `/api/v1/projects/:id/chat/runs/:runId` | `chats:read` |
| `POST` | `/api/v1/projects/:id/chat/runs/:runId/cancel` | `chats:write` |
| `POST` | `/api/v1/screenshots` | `screenshots` |
| `POST` | `/api/v1/share-cards` | `screenshots` |
| `POST` | `/api/v1/device/start` | public, no auth |
| `POST` | `/api/v1/device/poll` | public, no auth |
Create a key holding only the scopes the task uses.
Every row above is specified in full — request body, response shape, field defaults, status codes — in [endpoints.md](endpoints.md). This table is enough to pick an endpoint; read the reference when you need a contract detail it doesn't carry.
---
## Error Shapes
```json
{
"defined": true,
"code": "FORBIDDEN",
"status": 403,
"message": "...",
"data": { "url": "https://sleek.design/..." }
}
```
| HTTP | Code | When |
| ---- | ----------------------- | ------------------------------------------------------------------------ |
| 401 | `UNAUTHORIZED` | Missing/invalid/expired API key |
| 403 | `FORBIDDEN` | Valid key, wrong scope or plan |
| 404 | `NOT_FOUND` | Resource doesn't exist |
| 400 | `BAD_REQUEST` | Validation failure |
| 409 | `CONFLICT` | Another run is active for this project |
| 429 | `TOO_MANY_REQUESTS` | Render cap: 1000 screenshots + share cards per hour per org, counted on API-key requests only |
| 500 | `INTERNAL_SERVER_ERROR` | Server error |
`401`, `403` and `429` bodies may include `data.url`: a page where the user can fix the condition (create a key, upgrade the plan). Share it as-is.
Chat run-level errors (inside `data.error`):
| Code | Meaning |
| --------------------------------- | ---------------------------------------------------------- |
| `out_of_credits` | Organization has no credits left |
| `execution_failed` | AI execution error |
| `cancelled` | Run cancelled via the cancel endpoint |
| `request_message_persist_failed` | The run failed before reaching the AI; the message was never stored |
For `out_of_credits`, relay `error.url` and wait for the user to resolve it. Follow [Safe retries](designing.md#2-send-a-chat-message) for replay versus a new attempt after either recoverable failure.
From designed-by-ai/skills at 03c20ae, shown as plain text under its license: MIT (permissive). The license text is in LICENSE.
View SKILL.md on GitHub at 03c20aeFiles
- SKILL.md8.5 KB · 164f26dad717
- designing.md7.9 KB · f5b12f5909c1
- endpoints.md14 KB · 4168d48923e6
- implementing.md21 KB · a1a4e61c4d05
- styling/
- nativewind.md4.9 KB · d7fd11a01cb6
- stylesheet.md1.6 KB · 2c973bb451eb
- uniwind.md1.5 KB · a67d6406d686
7 files, 59 KB in total. Each file has a sha256 in the pin's manifest; the first 12 characters are shown.
Skill folder on GitHub at 03c20aeRelated in Mobile
eas-app-stores
This skill configures and executes iOS and Android app builds and store submissions using EAS, Expo's app distribution service.
by ExpoOfficial publisher
Claude Code, Codex, Cursor +3 · about 1.7K tokens · pinned 6 days ago
expo-animation
This skill guides building animations in React Native and Expo apps using Reanimated, Gesture Handler, and Expo Router.
by ExpoOfficial publisher
Claude Code, Codex, Cursor +3 · about 4.6K tokens · pinned 6 days ago
expo-brownfield
This skill helps agents add React Native to existing native iOS or Android apps incrementally using Expo.
by ExpoOfficial publisher
Claude Code, Codex, Cursor +4 · about 1.4K tokens · pinned 6 days ago
expo-overview
Routes Expo and EAS tasks to the correct specialized skill by detecting the user's goal and project type.
by ExpoOfficial publisher
Claude Code, Codex, Cursor +3 · about 2K tokens · pinned 6 days ago
expo-web-to-native
This skill guides migrating an existing web React app to native iOS/Android using Expo through a strangler fig pattern.
by ExpoOfficial publisher
Claude Code, Codex, Cursor +3 · about 2.4K tokens · pinned 6 days ago
add-connector
This skill adds Power Platform connectors to Expo/React Native mobile apps by discovering the connector, establishing a connection, generating service files…
by MicrosoftOfficial publisher
Claude Code · about 3.8K tokens · pinned 6 days ago