← 返回 Skills 市场
chentuan7963-afk

Flutter AppStore Doc UI Kit

作者 chentuan7963-afk · GitHub ↗ · v0.1.4 · MIT-0
cross-platform ✓ 安全检测通过
367
总下载
0
收藏
1
当前安装
5
版本数
在 OpenClaw 中安装
/install flutter-appstore-doc-ui-kit
功能描述
Generate a complete App Store deliverable pack for a Flutter 3.35.1 app with offline-first design, camera/photo permissions, Apple-style UI mockups, and a sq...
使用说明 (SKILL.md)

Flutter AppStore Doc + UI Kit

Generate an App Store-ready pack in gated stages with mandatory user review between stages:

  • docs/app-feature-spec.zh-CN.md + docs/app-feature-spec.en-US.md
  • ui/*.png (AI-generated Apple-style page design images)
  • icon/app_icon_1024.png + icon/app_icon_1024.svg (square-corner icon)

Workflow (Approval-Gated)

  1. Generate APP feature docs in Chinese + English and output them.
  2. Ask user to download/review docs; wait for: continue or revise docs.
  3. Proceed only after user explicitly approves docs.
  4. Confirm image-generation capability:
    • If API/model access exists, generate page-level UI images from approved docs.
    • If no API/model access, output one unified style prompt package for user-side generation.
  5. Ask user to download/review UI images.
  6. Proceed only after user explicitly approves UI images.
  7. Confirm icon-generation capability:
    • If API/model access exists, generate icon via model.
    • If no API/model access, generate icon with programmatic SVG->PNG pipeline.
  8. Ask user to review icon.
  9. Finish only after user explicitly approves icon.

Do not auto-skip any gate. If user asks for changes, revise only that stage and re-submit for approval.

1) Required Inputs

Collect/confirm:

  • App name
  • Target language(s)
  • Preferred app direction (if none, pick a low-saturation utility direction)
  • Optional color style

Hard constraints to enforce:

  • Tech stack: Flutter via FVM Flutter 3.35.1
  • Includes camera + photo library permissions
  • Avoid over-saturated app categories and avoid risky claim patterns
  • No backend server required
  • No TODO placeholders or temporary/fake data sections
  • Document scope must be version 1.0.0 only
  • Do not include roadmap/future updates/backlog/post-v1 plans
  • Can include general capabilities: i18n, dark mode, accessibility, privacy-first local storage
  • App icon must be square-corner (not rounded)

2) Stage 1 — Generate and Deliver Feature Docs (ZH + EN)

Run once:

python3 scripts/generate_appstore_pack.py \
  --app-name "SnapSort" \
  --out ./out/snapsort \
  --locales "en,zh-Hans" \
  --primary-color "#0A84FF"

Then prepare doc outputs first and deliver only docs for review:

  • docs/app-feature-spec.zh-CN.md (if missing, derive from base spec and provide Chinese version)
  • docs/app-feature-spec.en-US.md (if missing, derive from base spec and provide English version)

If the generator only creates one base spec file, split/translate into two locale files before sending to user.

3) Stage 2 — Generate and Deliver UI Design Images

After user approves both docs, check capability first.

Option A: API/model access available

Use scripts/generate_ui_ai.py.

Required auth:

  • OPENAI_API_KEY in environment (or another confirmed image model backend configured by user).

Example:

python3 scripts/generate_ui_ai.py \
  --doc ./out/snapsort/docs/app-feature-spec.en-US.md \
  --out ./out/snapsort/ui \
  --primary-color "#0A84FF"

Outputs:

  • ui/page-01-*.png ... ui/page-08-*.png

Option B: no API/model access

Output a single unified prompt package (global style + 8 page prompts + naming rules) for the user to generate images manually in external tools. Then collect user-generated images and continue to UI review gate.

Do not deliver icon in this stage.

4) Stage 3 — Generate and Deliver App Icon

After user approves UI images, check capability first.

Option A: API/model access available

Generate icon with image model and export PNG.

Option B: no API/model access

Generate icon with deterministic programmatic pipeline (SVG source + PNG output).

Deliver icon artifacts:

  • icon/app_icon_1024.png
  • icon/app_icon_1024.svg

5) Quality Validation

Before each approval gate, validate that stage artifacts are complete:

Doc stage:

  • Both zh-CN and en-US docs exist and are semantically aligned.
  • Feature doc explicitly states FVM Flutter 3.35.1.
  • Feature doc version is explicitly marked 1.0.0.
  • Camera + photo permissions appear in feature/privacy sections.
  • No backend dependency appears in architecture/data flow.
  • No TODO/TBD/temp/placeholder language.
  • No roadmap / future update sections are present.

UI stage:

  • UI images are PNG outputs (AI-generated or user-generated from provided prompt package).
  • UI images cover all listed key pages in approved spec.
  • Labels and flows match approved doc wording.

Icon stage:

  • Icon is visually square (no rounded corner mask baked into source).
  • Icon style matches approved product direction.

6) App Store Safety Guidance

Use references/review-safety-checklist.md and keep copy conservative:

  • No medical/financial/legal guarantee claims
  • No “instant earnings” or manipulative wording
  • Permission usage tied to clear user-triggered actions
  • Privacy text explicitly local-first and user-controllable

Notes

  • This skill creates design/spec artifacts, not Flutter code.
  • If user also needs implementation scaffolding, create a separate Flutter build skill.
安全使用建议
This skill appears to do what it says: produce a v1 App Store spec, Apple-style UI images, and a square-corner icon. Before installing/using: 1) Be aware that if you use Option A (AI image generation) the approved doc text will be sent to api.openai.com using the OPENAI_API_KEY — review docs for any PII or proprietary content you don't want transmitted. 2) The skill metadata does not declare OPENAI_API_KEY even though the script uses it; supplying the key is optional and only needed for automated image generation. 3) If you prefer not to send content to a third-party model, use the provided prompt package (Option B) and generate images locally or via a service you control. 4) The included Python scripts run locally and generate files in the specified output folder; inspect the generated docs before sending them anywhere. If you want higher assurance, request that the publisher add OPENAI_API_KEY to the skill metadata (as an optional env) and document exactly what fields of the doc are sent to the external API.
功能分析
Type: OpenClaw Skill Name: flutter-appstore-doc-ui-kit Version: 0.1.4 The skill bundle is a legitimate tool for generating App Store submission assets, including feature specifications, UI mockups, and app icons. The Python scripts (`generate_appstore_pack.py` and `generate_ui_ai.py`) perform their stated functions by generating Markdown, SVG, and PNG files locally, or by calling the OpenAI API for image generation using a user-provided key. No evidence of data exfiltration, malicious execution, or prompt injection was found; the code includes basic sanitization for filenames and follows a transparent, user-approved workflow.
能力评估
Purpose & Capability
The name/description match the included assets and scripts: generate_appstore_pack.py produces the localized Markdown spec, SVG page mockups and a programmatic PNG/SVG icon; generate_ui_ai.py sends approved docs to an image-generation API to produce PNG UI images. The skill's declared goal (specs + Apple-style UI imagery + icon) aligns with the code and instructions.
Instruction Scope
Runtime instructions are gated and explicit (three approval gates: docs → UI → icon). The only network I/O is in scripts/generate_ui_ai.py which POSTs prompts (constructed from the approved doc text) to the OpenAI images endpoint; that means any content in the docs will be transmitted to the external image model when Option A is used. The SKILL.md instructs non-network fallback (a prompt package) if no model access exists, which keeps the process local/user-controlled in that case.
Install Mechanism
There is no install spec; this is instruction + local Python scripts. No remote downloads, no archive extraction, and generated files are written only to the user-specified output directory. This is low-risk from an install perspective.
Credentials
Metadata declares no required environment variables, but generate_ui_ai.py reads OPENAI_API_KEY from the environment (and SKILL.md references providing an API key for Option A). That mismatch is a transparency concern — the env var is used only for optional AI-assisted image generation, but it is not listed in the skill's required env metadata. No other unrelated secrets are requested.
Persistence & Privilege
The skill does not request always:true, does not modify other skills or global agent configuration, and only writes artifacts to the user-specified output path. It does not request system-wide privileges or credentials beyond the optional API key for image generation.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install flutter-appstore-doc-ui-kit
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /flutter-appstore-doc-ui-kit 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.4
Enforce app feature docs to v1.0.0 scope only, no roadmap/future updates
v0.1.3
Add capability-aware gated flow: API-check branches for UI/icon generation with prompt/fallback paths
v0.1.2
Switch UI generation to AI model (PNG only), remove SVG fallback guidance
v0.1.1
Introduce approval-gated staged flow: docs -> UI -> icon with explicit user sign-off at each step
v0.1.0
- Initial public release of flutter-appstore-doc-ui-kit. - Generates a complete App Store-ready deliverable pack: Markdown feature doc, Apple-style UI SVGs for all pages, and a square-corner app icon. - Enforces FVM Flutter 3.35.1, offline-first (no backend), and camera + photo library permissions. - Ensures quality by including validation steps to meet App Store review safety and avoids TODOs, placeholders, and risky claims. - Designed for conservative, privacy-focused app concepts without oversaturated categories.
元数据
Slug flutter-appstore-doc-ui-kit
版本 0.1.4
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 5
常见问题

Flutter AppStore Doc UI Kit 是什么?

Generate a complete App Store deliverable pack for a Flutter 3.35.1 app with offline-first design, camera/photo permissions, Apple-style UI mockups, and a sq... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 367 次。

如何安装 Flutter AppStore Doc UI Kit?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install flutter-appstore-doc-ui-kit」即可一键安装,无需额外配置。

Flutter AppStore Doc UI Kit 是免费的吗?

是的,Flutter AppStore Doc UI Kit 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Flutter AppStore Doc UI Kit 支持哪些平台?

Flutter AppStore Doc UI Kit 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Flutter AppStore Doc UI Kit?

由 chentuan7963-afk(@chentuan7963-afk)开发并维护,当前版本 v0.1.4。

💬 留言讨论