kirodotdev/kirocrew/kirocrew-app-dev
Claude Code and agent skill by kirodotdev/kirocrew
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Build, package, and publish Kiro Crew external apps. Covers app.json manifests, UI components, crons, skills, lifecycle hooks, development mode, registry publishing, and common pitfalls.
Install
npx vskill@latest install kirodotdev/kirocrew/kirocrew-app-devSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as kirodotdev/kirocrew/kirocrew-app-dev.
Kiro Crew App Development
Guide for building external Kiro Crew apps against the current App Kit manifest, lifecycle, UI SDK, and registry contracts. The canonical field and API references live in App Kit.
When to Use
- User says "create a kirocrew app", "build an app", "make an app for kirocrew"
- User says "package this as an app", "publish this to the app store"
- User is building UI pages, crons, or skills that should be distributable
App Structure
app.json Manifest
Critical Rules
| Field | Rule | Why | |
|---|---|---|---|
skills | Prefer canonical string paths ["skills/my-skill"] | Legacy object entries with path or name are normalized by AppManifest.from_dict, but the public manifest schema is string[] | |
permissions | Must be an object; the common grants are api, events, mcpTools, storage, network, memory, cron, sessionApproval, spawn, jobs and exposeToApps, and the full set (memberThreads, chatSlots, agentTurns, browser, bots, webhookSource and the rest) is in the manifest reference | A non-object parses to empty permissions, and malformed capability grants fail closed | |
resources | Omit from app.json; declare app resources with agents, skills, sops, and mcpServers | resources is install/registry ownership metadata ("gateway" or "app"), not an app-manifest resource array | |
ui.entry | Use an ESM .mjs bundle; .js is also served | HTML is not in the app UI static-file allowlist | |
ui.pages[].iconUrl | Use an app-relative image path for a custom icon | ui.pages[].icon also works for supported host Lucide names and falls back to Package | |
ui.loading.layout | Optional: "page" (default), "rail", "centered" or "split", e.g. "loading": { "layout": "rail" }. Pick the one closest to your first paint | The dashboard shows nothing for 300 ms, then this placeholder shape until the bundle mounts. It is a closed set the host draws; no custom markup or CSS. Anything else, including "Rail", falls back to "page" | |
ui.loading.logo | Optional: an image path relative to ui/ (.svg, .png, .jpg, .jpeg, .gif or .webp), e.g. "loading": { "logo": "img/logo.svg" } | Drawn in a 48 px square above the placeholder's label in every layout, the same image in light and dark. A path with .., a leading /, a \ or a : (so any URL) is dropped and no image is shown; a file that does not load leaves the square empty | |
displayName | Required | Gateway uses it for UI display | |
version | Semver string | Used by the App Store registry to compute updateAvailable | |
crons[].timezone | IANA zone name; omit it only when the hour is zone-agnostic | An empty timezone falls back to the gateway config's zone and then to UTC, so "cron_expr": "0 6 * * *" without it fires at 06:00 UTC — the wrong calendar day for most users. A per-USER zone is not manifest data: pass timezone= to ctx.cron.add_job instead | |
crons[].skip_dates | Zero-padded YYYY-MM-DD, evaluated in timezone | "2026-1-1" parses but never matches the padded fire-time rendering, so the skip silently does nothing. Both fields are rejected at manifest validation, not at fire time | |
crons[].timeout / crons[].timeout_secs | Set both on a script cron that runs longer than 30s, e.g. "timeout": 60, "timeout_secs": 65 | Omitted, a script is killed at 30s and a command at 300s. timeout_secs must cover timeout plus 5s of cleanup; a pair the cron SDK would refuse is rejected at manifest validation |
Lifecycle and Resource Registration (CRITICAL)
Do not make a cron mutate the installed app tree or create skill links. When an app is enabled, the gateway registers its declared agents, skills, SOPs, MCP servers, and crons; gateway startup reconciles enabled app resources again.
Lifecycle scripts have explicit scope:
- A local-path
kirocrew app install <dir>copies the app but intentionally does
not run setup.onInstall; build the local source before installing it.
- A registry install runs
setup.onInstallin the cloned source before copying
it into the data home. Keep that hook idempotent.
setup.onEnable/onDisablerun around enablement, andonUninstallis only
for external state Kiro Crew cannot remove itself.
Keep runtime data under the app's data/ directory. The gateway owns registered resource links and scheduler entries; app code must not recreate them manually.
UI Development
Design System
Kiro Crew apps should default to the host visual language. Colors come from the theme tokens (var(--accent) and friends) — see "Don't Reinvent the Dashboard" below, which is the normative rule. The hex values here are the legacy palette, kept for apps that predate the tokens and as the fallback inside var(--accent, #7c3aed); a hardcoded hex breaks every custom palette, so reach for one only when a deliberate custom style is the point.
| Element | Style | |
|---|---|---|
| Styling method | Prefer @kirocrew/app-sdk/ui components and theme tokens; CSS, host utility classes, or inline styles are all valid. | |
| Primary accent | var(--accent) (legacy: #7c3aed) | |
| Light accent bg | legacy #e8d5f5 | |
| Success color | #047857 (green) | |
| Warning color | #b45309 (amber) | |
| Danger color | #b91c1c (red) | |
| Buttons | borderRadius: '9999px' (full pill), font 11px weight 500 | |
| Badges | borderRadius: '9999px', 10px bold, colored bg+text | |
| Cards | background: 'var(--bg)', border: '1px solid var(--border)', borderRadius: '6px', padding: '14px' | |
| Max width | maxWidth: '1200px' | |
| Font sizes | 10px (version/badges), 11px (body/buttons), 12px (table), 13px (section headers), 18px (title) | |
| Theme vars | var(--bg), var(--text), var(--muted), var(--border), var(--card) |
Example badge:
Example primary button:
Example secondary/ghost button:
Reference Implementation
For a working example, use docs/app-kit/examples/, which contains installable external-app patterns. Builtins under src/kiro_crew/apps/builtins/ are useful for UI idioms, but their backend and lifecycle contracts differ from external apps.
Visual mock of the target style:
Key visual rules from the mock:
- Dark theme uses
var(--bg)/var(--border)/var(--text)— don't hardcode dark hex - Light purple badge for metadata (
#e8d5f5bg,#7c3aedtext) - Amber status pills (
#fef3c7bg,#b45309text) - Ghost buttons with purple text on light purple border
- Version as plain muted text (smallest element, 10px)
- Cards have 14px padding, 6px radius, 12px bottom margin
Entry Module Pattern
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/kirocrew-app-dev/SKILL.md
Popularity
- Repository stars
- 5,070
- Repository forks
- 1,097
- 7-day trend score
- 42
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/kirodotdev/kirocrew/kirocrew-app-dev)