lovstudio/skills/skills/app-generator/SKILL.md
lov-app-generator
Use it for deployment and engineering tasks; the detail page covers purpose, installation, and practical steps.
- Source repository stars
- 64
- Declared platforms
- 0
- Static risk flags
- 2
- Last source update
- 2026-08-23
- Source checked
- 2026-08-25
Decision brief
What it does: where it fits
Use this skill to create or upgrade a Skill Publisher-grade app. Choose the app type from the brief instead of forcing desktop packaging: use web-only when the workflow is browser-native, and use Tauri when native desktop capabilities or desktop distribution are required. Common…
Not for
- Tasks that require unconfirmed production actions or broad system permissions.
- Environments where the pinned source and install steps cannot be inspected.
Compatibility matrix
Platform support, with evidence labels
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
Inspect first. Install second.
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/lovstudio/skills --skill "skills/app-generator"Inspect the Agent Skill "lov-app-generator" from https://github.com/lovstudio/skills/blob/8f250b126bb7e7eb6db0203c97d8279f75ae152d/skills/app-generator/SKILL.md at commit 8f250b126bb7e7eb6db0203c97d8279f75ae152d. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
What the source asks the agent to do
- 01
Workflow (MANDATORY)
Resolve SKILLDIR from the installed skill context before running helpers. For manual execution, set it to the directory containing this SKILL.md.
Web-only app: default when the product is a browser workflow, SaaS/adminPWA: use when the app is still web-first but benefits from installability,Tauri desktop app: use when native desktop value is explicit: local file - 02
Step 1: Clarify the App Brief
Collect only the missing fields. Use conversation context first. Prefer AskUserQuestion for interactive choices; if that tool is unavailable, ask short direct questions and continue once the answer is clear.
Collect only the missing fields. Use conversation context first. Prefer AskUserQuestion for interactive choices; if that tool is unavailable, ask short direct questions and continue once the answer is clear.If the user asks for a real implementation and enough information is present, make conservative assumptions and proceed.Suggested options to collect interactively: - 03
Step 2: Read Local Context
Before changing files, inspect the target project:
Before changing files, inspect the target project:Honor any project-level instructions. If the target lives under a symlinked workspace, follow that project's own AGENTS.md / CLAUDE.md. - 04
Step 3: Run the Skill Publisher App Audit
Run the helper from the target project root:
Run the helper from the target project root:Use the output as the implementation checklist. For new projects, decide the app type first and pass --app-type web or --app-type tauri; the audit will mostly report missing pieces, which is expected. - 05
Step 4: Choose the Implementation Path
Pick the smallest app type that genuinely fits the brief:
Web-only app: default when the product is a browser workflow, SaaS/adminPWA: use when the app is still web-first but benefits from installability,Tauri desktop app: use when native desktop value is explicit: local file
Permission review
Static risk signals and limitations
Runs scripts
The documentation asks the agent to run terminal commands or scripts.
python3 "$SKILL_DIR/scripts/audit_app_project.py" --root . --app-type auto --format markdownRuns scripts
The documentation asks the agent to run terminal commands or scripts.
pnpm create vite@latest <project-slug> -- --template react-tsNetwork access
The documentation includes network, browsing, or remote request actions.
curl -s http://127.0.0.1:<port>/src/main.tsx | rg "lovinsp-component|lovinsp v"Evidence record
Why each signal appears
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 92/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 64 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
Provenance and original SKILL.md
- Repository
- lovstudio/skills
- Skill path
- skills/app-generator/SKILL.md
- Commit
- 8f250b126bb7e7eb6db0203c97d8279f75ae152d
- License
- MIT
- Collected
- 2026-08-25
- Default branch
- main
View the original SKILL.md
app-generator — Skill Publisher App 生成器
Use this skill to create or upgrade a Skill Publisher-grade app. Choose the app type from the brief instead of forcing desktop packaging: use web-only when the workflow is browser-native, and use Tauri when native desktop capabilities or desktop distribution are required. Common stacks are React + TypeScript + Vite, Next.js, or Tauri + React, with shadcn/ui, Skill Publisher brand assets, Warm Academic UI, CI/CD or deploy wiring, and lovinsp click-to-code support.
Default Integration Invariant
Run the lov-integrate-lovinsp skill for every app handled by this workflow. Treat
Lovinsp as a default development capability, not an optional feature selected
from the brief.
- Invoke
lov-integrate-lovinspafter the frontend scaffold and build config exist. - Re-run it for existing apps to update Lovinsp or migrate
code-inspector. - Preserve its idempotent behavior; repeated app-generator runs must stay safe.
- Require the project audit to pass dependency, configuration, migration, and plugin-order checks before completion.
- Verify the served Vite module contains
lovinsp-componentor[lovinsp v...].
Skip this invariant only when the requested deliverable has no browser-rendered UI and therefore falls outside the app-generation paths described below.
Triggers
Activate when
- The user asks to generate a new Skill Publisher app, web app, PWA, desktop app, or cross-platform app.
- The user has an existing frontend/Tauri project and wants it brought up to Skill Publisher app standards.
- The user mentions web-only, Vite, Next.js, PWA, Tauri, shadcn, React Query / TanStack Query, deploy, auto update, CI/CD, app logo, Skill Publisher logo, Warm Academic UI, or lovinsp as part of app setup.
- The project is a Skill Publisher, Lovpen, Lovcode, Lovmind, Lovshot, Lovsider, Lovsigil, or Lovtarot app.
Do not activate when
- The user asks only for a standalone logo, document, presentation, or static media asset without an application shell.
- The request is limited to diagnosing an existing app and does not include creating or standardizing its app architecture.
- The deliverable is a backend-only service, CLI, library, or Skill package with no browser-rendered application UI.
Workflow (MANDATORY)
Resolve SKILL_DIR from the installed skill context before running helpers.
For manual execution, set it to the directory containing this SKILL.md.
You MUST follow these steps in order:
Step 1: Clarify the App Brief
Collect only the missing fields. Use conversation context first. Prefer
AskUserQuestion for interactive choices; if that tool is unavailable, ask
short direct questions and continue once the answer is clear.
Required fields:
| Field | Default | Notes |
|---|---|---|
| App name | Ask user | Product/display name, e.g. Lovshot |
| Project slug | Derived from app name | Lowercase kebab-case |
| Brand scope | Skill Publisher | Ask if ambiguous between Skill Publisher / brand-logo / personal brand |
| Target mode | new app | new app or upgrade existing app |
| App type | Case-by-case | web-only, PWA, Tauri desktop, or another fit from the brief |
| Platforms | Case-by-case | Web browser/mobile responsive unless native desktop is justified |
| Core screens | Ask user | 2-5 concrete screens or workflows |
| Backend/API | Ask user if needed | REST, Supabase, local files, Tauri commands, static data, etc. |
| Distribution | Case-by-case | Web deploy for web-only; GitHub Releases + updater for Tauri |
If the user asks for a real implementation and enough information is present, make conservative assumptions and proceed.
Suggested options to collect interactively:
| Question | Recommended choice |
|---|---|
| Target mode | New app |
| App type | Decide from requirements |
| Brand scope | Skill Publisher |
| UI baseline | Configurable Academic + shadcn/ui |
| Data layer | TanStack Query when server state exists |
| Release channel | Web deploy or GitHub Releases based on app type |
Step 2: Read Local Context
Before changing files, inspect the target project:
pwd
find .. -name AGENTS.md -print
find .. -name CLAUDE.md -print
ls
find . -maxdepth 2 -type f \( -name package.json -o -name vite.config.ts -o -name next.config.ts -o -name next.config.js -o -name tauri.conf.json -o -name tauri.conf.json5 -o -name Cargo.toml \) -print
Honor any project-level instructions. If the target lives under a symlinked workspace, follow that project's own AGENTS.md / CLAUDE.md.
Step 3: Run the Skill Publisher App Audit
Run the helper from the target project root:
python3 "$SKILL_DIR/scripts/audit_app_project.py" --root . --app-type auto --format markdown
Use the output as the implementation checklist. For new projects, decide the
app type first and pass --app-type web or --app-type tauri; the audit will
mostly report missing pieces, which is expected.
Step 4: Choose the Implementation Path
App Type Decision
Pick the smallest app type that genuinely fits the brief:
- Web-only app: default when the product is a browser workflow, SaaS/admin surface, content or media tool, public site with logged-in tools, or anything that can deploy cleanly to Vercel/Netlify/Cloudflare/GitHub Pages.
- PWA: use when the app is still web-first but benefits from installability, offline shell, push notifications, or mobile home-screen usage.
- Tauri desktop app: use when native desktop value is explicit: local file access beyond browser capabilities, tray/menu/global shortcuts, long-running background tasks, native OS integration, offline-first packaged use, or GitHub Releases distribution with auto update.
- Framework choice: prefer Vite React for app-like single-page workflows, Next.js for SEO/SSR/content routing/API routes, and static HTML only for very small one-off deliverables.
Do not add Tauri simply because this skill historically defaulted to Tauri. If the user says "只创建 web" or the requirements do not need native desktop capabilities, create a web app.
New Web App
For an app-like browser workflow, default to Vite + React + TypeScript:
pnpm create vite@latest <project-slug> -- --template react-ts
cd <project-slug>
pnpm add @tanstack/react-query lucide-react
pnpm add -D typescript
For SEO-heavy, public, content-routed, or SSR/API-route requirements, use Next.js instead and keep the same Skill Publisher layers:
pnpm create next-app@latest <project-slug> --ts --tailwind --eslint --app --src-dir
cd <project-slug>
pnpm add @tanstack/react-query lucide-react
Then apply the Skill Publisher layers in this order:
- Project identity: package name, app title, README, and app-specific CLAUDE.md / AGENTS.md.
- Configurable Academic UI: shadcn/ui, semantic tokens, typography, and layout.
- Server state: TanStack Query provider and query/mutation helpers when the app has server state; avoid unnecessary TanStack Query for purely local static tools.
- Brand assets: generate a target-specific app logo with
lov-gen-logo, publish the chosen version intoassets/andpublic/, and generate favicons / PWA icons if needed. - Lovinsp: invoke
lov-integrate-lovinspand verify click-to-code integration. - CI/CD and deploy: typecheck, lint/build where available, plus the selected web deploy target or documented manual deploy path.
- Verification: typecheck, build, dev server, and browser screenshot or interaction check where practical.
New Tauri App
Use this path only when the app type decision requires native desktop capabilities or desktop distribution. Default stack:
pnpm create vite@latest <project-slug> -- --template react-ts
cd <project-slug>
pnpm add @tauri-apps/api @tanstack/react-query lucide-react
pnpm add -D @tauri-apps/cli typescript
pnpm tauri init
Then apply the Skill Publisher layers in this order:
- Project identity: package name, app title, bundle identifier, README, and app-specific CLAUDE.md.
- Configurable Academic UI: shadcn/ui, semantic tokens, typography, and layout.
- Server state: TanStack Query provider, query keys, and Tauri invoke wrappers.
- Brand assets: generate a target-specific app logo with
lov-gen-logo, publish the chosen version intoassets/andpublic/, prepare a macOS-safe padded icon source, then run the Tauri icon pipeline from that generated logo. - Lovinsp: invoke
lov-integrate-lovinspand verify click-to-code integration. - CI/CD: typecheck, lint/build where available, Tauri release workflow.
- Auto update: Tauri updater plugin, signing keys/env placeholders, release endpoint wiring.
- Verification: typecheck, build, and app launch where practical.
Upgrade Existing App
Do not rebuild the project from scratch. Patch the smallest surface needed:
- Determine whether the existing app should remain web-only, become a PWA, or stay/become Tauri before applying the audit checklist.
- Keep the existing package manager, router, folder layout, aliases, and style conventions unless they conflict with Skill Publisher requirements.
- Add missing Skill Publisher layers from the audit; do not add Tauri to a web-only app unless the brief requires native desktop capabilities.
- Run
lov-integrate-lovinspto install/update Lovinsp and migrate any supportedcode-inspectorintegration. - Preserve user code and unrelated changes.
- Prefer incremental commits/checkpoints when the app is already substantial.
Step 5: Apply Brand and UI Standards
New apps must not use the canonical Skill Publisher logo as the app/product icon.
After the project identity and README describe the target clearly, invoke the
lov-gen-logo workflow from the new app root:
- Generate
assets/logo-drafts/v1-*.pngand.svgbased on what the app does, not a literal reading of its name. - Publish the chosen draft to
assets/logo.png,assets/logo.svg,public/logo.png, andpublic/logo.svg. - For web-only apps, generate favicons and PWA icons from the target-specific logo as needed; do not run Tauri icon tooling.
- For Tauri apps, before feeding the generated logo into the Tauri icon pipeline, ensure the icon source has transparent safe area. Do not use a 512x512 edge-to-edge filled icon as the macOS app icon source; it appears oversized in Dock, Launchpad, and Finder. Prefer roughly 40-56px transparent padding on a 512x512 canvas, or a content bounding box around 80-85% of the canvas.
- Use that padded generated logo as the source for
lov-install-tauri-logoand any favicon/tray-icon generation.
For upgrades, keep an existing product logo unless the user asks to refresh it;
if the app has no logo, use lov-gen-logo before generating icons.
Resolve canonical assets without assuming a private machine layout:
- Explicit paths supplied by the user.
SKILL_PROFILE_PATHandSKILL_DESIGN_GUIDE.${SKILL_PROFILE_PATH:-$HOME/.skill-publisher/skills/profile.json}.- Ask once when a required asset is still missing.
See references/user-config.md for the portable configuration contract.
Rules:
- Treat the canonical Skill Publisher logo as brand reference or fallback only, not as the default app icon for new apps.
- For Tauri/macOS icons, verify the generated app icon is visually aligned with
normal macOS app icons. If ImageMagick is available, a quick sanity check is:
magick src-tauri/icons/icon.png -alpha extract -trim -format '%wx%h%O\n' info:; for a 512x512 source, content around400x400to440x440with positive offsets is usually safer than512x512+0+0. - Use semantic Tailwind classes such as
bg-background,text-foreground,bg-primary,border-border; do not hard-code brand hex values in UI components. - Keep the UI operational and app-like. Do not create a marketing landing page when the user asked for an app.
- Use shadcn/ui controls, lucide icons, compact panels, predictable navigation, and no nested cards.
- First screen should be the real product workflow.
When shadcn/ui is needed, use the existing lov-install-shadcn-ui skill
as the detailed reference. When TanStack Query is needed, use
lov-install-tanstack-query. For Tauri app icons, use
lov-install-tauri-logo; for new apps, run lov-gen-logo first
and feed the generated logo into the relevant favicon/PWA/Tauri icon pipeline.
Step 6: Tauri App Baseline
Only for Tauri desktop apps, check these areas:
| Area | Expected |
|---|---|
src-tauri/tauri.conf.* | app title, identifier, windows, bundle metadata |
src-tauri/Cargo.toml | Tauri plugins, app metadata, updater if enabled |
| Rust commands | typed command boundary, no broad stringly APIs where avoidable |
| Frontend API | invoke() wrapped through query/mutation helpers for server state |
| Filesystem/native APIs | least permission needed in Tauri capabilities |
| Icons | generated through Tauri icon pipeline from the target-specific logo produced by lov-gen-logo |
| Dev server | stable project port, preferably via lov-project-port |
Step 7: CI/CD, Deploy, and Auto Update
Default GitHub Actions surface for web-only apps:
check.yml: install, typecheck, lint/build if present.- Deploy wiring for the selected target: Vercel, Netlify, Cloudflare Pages, GitHub Pages, self-hosted static output, or a clearly documented manual deploy path.
- Environment variable placeholders only when the app actually needs them.
Default GitHub Actions surface for Tauri apps:
check.yml: install, typecheck, lint/build if present.release.yml: Tauri build for target platforms, draft or publish GitHub Release, attach artifacts.- Tauri updater wiring: plugin dependency, updater config, signing key env placeholders, and documented release process.
- For Tauri v2,
plugins.updater.pubkeyis required at runtime. Do not leave it out even during early scaffolding: a missingpubkeycauses the app to panic during updater plugin initialization. Use a clear placeholder such asPLACEHOLDER_REPLACE_WITH_TAURI_SIGNER_PUBLIC_KEYuntil the real public key is generated withpnpm tauri signer generate.
Do not invent secrets. Use placeholder names and document where the user must set them:
TAURI_SIGNING_PRIVATE_KEYTAURI_SIGNING_PRIVATE_KEY_PASSWORD- platform signing/notarization secrets as required by the target app
Step 8: Lovinsp
Invoke the existing lov-integrate-lovinsp workflow for every browser-rendered app.
Do not replace that workflow with a handwritten dependency-only installation: it
also performs version checks, idempotent configuration, and code-inspector
migration.
Completion requires all of the following:
lovinspexists in project dependencies.- The supported build configuration registers
lovinspPlugin. - Vite registers
lovinspPlugin({ bundler: "vite" })before the framework plugin. - No supported legacy
code-inspectordependency or configuration remains. - A development-server readback proves the transform is active when practical.
For Vite apps, confirm the Vite config imports and registers
lovinspPlugin({ bundler: "vite" }) before the framework plugin, not merely
that the package is installed. In dev mode, verify the served module contains
lovinsp-component or [lovinsp v...]:
curl -s http://127.0.0.1:<port>/src/main.tsx | rg "lovinsp-component|lovinsp v"
For web-only apps, start the dev server and provide the local URL when the user needs to try the app:
pnpm dev --host 127.0.0.1
For Tauri apps, prefer launching dev mode through a persistent session when the user wants to keep it running after the turn:
tmux new-session -d -s <slug>-dev -c "$PWD" 'pnpm tauri dev'
tmux capture-pane -pt <slug>-dev -S -120
Step 9: Verification
Run the lightest reliable checks that the target repo supports:
pnpm exec tsc --noEmit --pretty false
pnpm build
# Tauri only:
pnpm tauri build --debug
Adjust for npm/yarn/bun and local instructions. If a dev server is needed to verify frontend behavior, start it and give the user the local URL.
For UI changes, use browser or screenshot verification when practical. For Tauri-native behavior, report what was and was not verified.
User Configuration
If local paths differ, prefer these environment variables rather than hard-coding personal paths:
| Variable | Default / Usage |
|---|---|
SKILL_APP_GENERATOR_SKILL_DIR | Installed lov-app-generator skill directory |
SKILL_DESIGN_GUIDE | Configurable Academic design guide path |
SKILL_PROFILE_PATH | Skill Publisher brand asset root or profile |
CLI Reference
| Argument | Default | Description |
|---|---|---|
--root | . | Target app root to inspect |
--app-type | auto | auto, web, or tauri; controls which checks apply |
--format | markdown | markdown or json |
--output | stdout | Optional path to write the report |
Dependencies
python3 "$SKILL_DIR/scripts/audit_app_project.py" --help
No Python packages are required.
Final Response Checklist
Report:
- App path and stack chosen.
- App type decision: web-only / PWA / Tauri, and why that fit the brief.
- Skill Publisher layers added or confirmed: brand, UI, data layer, lovinsp, CI/CD, deploy/release, and updater only when applicable.
lov-integrate-lovinspresult, including installation/update/migration status and runtime readback evidence.- Commands/checks run and their result.
- Any remaining secrets, signing steps, or manual app-store/release actions.
Runtime context (shared)
运行前读取本 Skill 包的 skill.yaml,由宿主提供 skill-runtime/v1 上下文。字段解析顺序为:当前请求、项目上下文、个人 Preferences、品牌 Profile、通用默认值。
- 只使用 Manifest 声明的字段;Profile 保存公开品牌事实,Preferences 保存个人工作偏好。
required: true字段缺失时,按 Manifest 的问题配置向用户提出一个聚焦问题;用户明确同意后再保存回答。- 报错提供可复制的
context_id、字段路径与来源,诊断内容避开秘密、完整私人路径和原始配置。
通用反馈闭环
用户在 Skill 驱动任务中提出修改意见时,继续当前产物前必须执行:
- 先判断意见是
task-specific(仅本次)还是reusable(可跨任务复用)。 task-specific只修改当前任务,不改 Skill。reusable先确定作用域:领域规则先更新对应 canonical Skill;适用于所有 Skill 的规则先更新共享规范。- 完成规则更新、版本、lint 与分发核验后,再把修改应用到当前任务。
reusable修改会使此前的“确认”“继续”“发吧”失效;完成当前产物修改和回读后必须停下,等待用户下一步指示,不自动进入发布、提交或其他外部写入。
Frequently asked questions
What to verify before installation and use
What does the lov-app-generator source document cover?
Use this skill to create or upgrade a Skill Publisher-grade app. Choose the app type from the brief instead of forcing desktop packaging: use web-only when the workflow is browser-native, and use Tauri when native desktop capabilities or desktop distribution are required. Common…
How do I install lov-app-generator?
The source record exposes this install command: npx skills add https://github.com/lovstudio/skills --skill "skills/app-generator". Inspect the command and pinned source before running it.
Which permission-related actions were detected?
Static rules flagged exec-script, network in the source; the page lists the matching lines and excerpts.
Alternatives
Compare before choosing
vibeeval/vibecosystem
frontend-dev
Full-stack frontend development combining premium UI design, cinematic animations, AI-generated media assets, persuasive copywriting, and visual art. Builds complete, visually striking web pages with real media, advanced motion, and compelling copy. Use when: building landing pages, marketing sites, product pages, dashboards, generating media assets (image/video/audio/music), writing conversion copy, creating generative art, or implementing cinematic scroll animations.
wshobson/agents
brand-landingpage
Brand-first landing page designer — runs a brand-identity interview (colors, typography, shape language), then generates and iterates on a polished landing page via Stitch with deployment-ready HTML. Use when the user asks to create, design, or build a landing page, homepage, or marketing page and has no established visual direction. Skip when they have a design mockup, need a dashboard or app UI, are working at component level, building a multi-page app, or restyling with known design tokens —
rampstackco/claude-skills
qa-testing
Run QA testing on a page, feature, or full site at one of three depth tiers (smoke, standard, full). Use this skill whenever the user asks to QA a page or site, run a smoke test after a deploy, verify a page before launch, or run a regression sweep. Triggers on QA, QA sweep, smoke test, regression test, post-deploy check, pre-launch check, verify the deploy, test this page, does the page render, broken link, 404, image not loading. Also triggers proactively after a deploy or a new page launch wh
terrylica/cc-skills
gh-fine-grained-pat
Create GitHub fine-grained personal access tokens from a declarative JSON spec by browser automation. Use when you need to mint, verify, or revoke a fine-grained PAT (release tokens, read-only auditors, CI status reporters, account-scoped tokens) — there is NO GitHub API for this, the web UI is the only path. Handles the no-expiration modal, repo picker, and permission grids that break naive automation.