Use app template

From stevehuang0115/crewly · View interactive version

Use app template is an AI agent skill from the GitHub repository stevehuang0115/crewly. Start a new Crewly App from a Crewly Marketplace template (found with find-app-template). Makes a new app in this account with fresh, empty data and you as its publisher, and writes the template's files into a directory in your project so you can adapt them and republish with publish-app.

How to use this skill

Skill file

Use App Template

bash execute.sh tpl-k3m9p2x7aq --dir ./chores --name "Chores for Milo"
bash execute.sh --app 28au74d9cj --dir ./chores     # an app the owner already started from a template

Output:

{"success":true,"appId":"28au74d9cj","name":"Chores for Milo","url":"https://apps.crewlyai.com/28au74d9cj","version":1,
 "fromTemplate":{"templateId":"tpl-k3m9p2x7aq","version":3,"name":"Chore chart"},
 "dir":"/…/chores","files":4,"capabilitiesNeeded":[],
 "dataSchema":[{"collection":"chores","fields":[{"name":"title","type":"string"}]}],
 "next":"…"}
  1. It makes the app now, in this account, private, with the template's code

as version 1 and no data. Using a template counts as creating an app (the

account's app limit applies).

  1. The files are in --dir (a new or empty directory inside your project).

dataSchema lists the collections and fields the app uses.

  1. Adapt it to the owner: change texts, fields, colours, add what they asked

for. Then publish from the same directory — it goes to the same app:

publish-app --dir ./chores --notify.

  1. Tell the owner in one line which template you started from.
  2. capabilitiesNeeded (e.g. media_capture) are not granted yet: ask the

owner as the publish-app skill says.

--app <appId>: the owner started an app from a template in the portal and

handed it to you; this writes that template's files into --dir and makes

--dir the app's source, so publish-app --dir updates it.

Failures: quota_exceeded (the account has its maximum number of apps; tell

the owner), not_found (the template was unlisted), validation (the message

says what).

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.