Build general aicade application prompts by taking the user's base prompt plus the platform additions from the bundled 3.1 workflow reference, then assembling a final integrated prompt in the style of 3.2.
This skill follows the bundled prompt workflow reference exactly:
3.13.2
READ BEFORE INSTALLUse this skill when you want to generate a final AI prompt for an aicade app and you want the result to match the bundled documented workflow.
This skill does not invent a new requirement structure.
It uses:
3.1 as the required input model3.2 as the target output styleThat means:
node {baseDir}/scripts/build-aicade-prompt.mjs \
--spec {baseDir}/assets/app-spec.template.json \
--lang zh-TW
Before collecting the final prompt inputs, first ask the user whether they have already applied for app access on:
https://www.aicadegalaxy.com/If the user has already applied and has app access, continue the workflow.
If the user has not applied yet, do not continue directly to environment variables or app integration. Point them to:
https://docs.aicadegalaxy.com/white-paper/application-documentExplain briefly that only after obtaining app access can they get the three AICADE environment variables required for integration:
AICADE_API_KEYAICADE_API_SECRET_KEYAICADE_API_APP_NORead the bundled references first:
references/sdk-capabilities.mdreferences/prompt-workflow.md3.1 ShapeThe user input should contain two parts:
The platform additions should cover the same kind of information highlighted in 3.1, such as:
The platform can expose multiple SDK modules. Choose only the ones your app actually needs:
Application: app metadata and lifecycleTicket: access gate, subscription, or play/payment flowAppScore: score and leaderboardAicadeCurrency: point or platform currency operationsAIChat: AI chat session and messagesAICoinMarket: market assistant and streaming messagesToken: token balance and swap flowNftOwner: NFT ownership and avatarLocalStorageTools: app-scoped storage instead of browser localStorageRun:
node {baseDir}/scripts/build-aicade-prompt.mjs --spec /path/to/spec.json --lang zh-TW
The script will output one final prompt that:
3.2Paste the generated prompt into Cursor, VS Code, or another AI IDE assistant.
Check these items before running the app:
LocalStorageTools replaces localStoragenpm install
npm run dev
npm run upload
The prompt builder accepts a JSON file like this:
{
"roleSetup": "你是一位資深全端產品開發工程師",
"projectName": "AI 活動助手",
"projectGoal": "開發一個用於活動報名、簽到和積分兌換的 aicade 應用",
"basePromptSections": [
{
"title": "基礎業務需求",
"items": [
"這裡填寫你原本準備給 AI 的基礎業務 Prompt"
]
}
],
"platformIntegration": {
"docPath": "references/sdk-capabilities.md",
"createDocPath": "references/prompt-workflow.md",
"sdkAlreadyIntegrated": true,
"sdkCapabilities": [
"Application",
"LocalStorageTools"
],
"replaceLocalStorageWith": "LocalStorageTools",
"showWalletAddress": true,
"showPointBalance": false,
"pointBalanceLabel": "積分",
"exchange": {
"enabled": false,
"ratio": "100:1",
"dailyLimit": "100 個 Aicade Point",
"trigger": "每次業務結算時"
}
},
"technicalRequirements": [
"基於目前專案環境生成"
],
"outputRequirements": [
"輸出完整可執行程式碼"
]
}
Use:
{baseDir}/assets/app-spec.template.json for the minimal 3.1-style input{baseDir}/assets/app-spec.example.json for a fuller examplescripts/build-aicade-prompt.mjsassets/app-spec.template.jsonassets/app-spec.example.jsonreferences/sdk-capabilities.mdreferences/prompt-workflow.mdThis skill:
This skill does not:
3.13.2