跳到正文
cccskills
免费在 GitHub 公开

vibes

Self-contained app generator — invoke this skill directly, do not decompose into sub-steps. Generates React web apps with TinyBase reactive data store. Use when creating new web applications, adding components, or working with real-time data. Ideal for quick prototypes and single-page apps that need real-time data sync.

中文简介正在准备中。当前显示原文说明。

popmechanic/VibesOS星标 136(GitHub 136 + cccskills 0)
集成工具Cloudflare

实测评分 未实测

查看安装方法

包含的文件(136)

  • SKILL.md11.0 KB
  • animations/3d-ampersand.txt5.2 KB
  • animations/3d-carousel.txt2.0 KB
  • animations/3d-cuboid-gallery.txt6.1 KB
  • animations/3d-flip-cards.txt1.5 KB
  • animations/3d-layers.txt2.0 KB
  • animations/3d-parallax.txt1.9 KB
  • animations/3d-perspective-grid.txt1.7 KB
  • animations/anim-clip-path.txt1.3 KB
  • animations/anim-gradient-morph.txt1.4 KB
  • animations/anim-rainbow-border.txt4.5 KB
  • animations/anim-scroll-reveal.txt1.5 KB
  • animations/anim-staggered.txt1.4 KB
  • animations/anim-typewriter.txt1.4 KB
  • animations/catalog.txt3.1 KB
  • animations/int-cursor-trail.txt2.6 KB
  • animations/int-drag-sort.txt1.9 KB
  • animations/int-magnetic-buttons.txt1.9 KB
  • animations/int-mouse-glow.txt1.4 KB
  • animations/int-tilt-cards.txt1.4 KB
  • animations/part-bubbles.txt2.6 KB
  • animations/part-confetti.txt2.8 KB
  • animations/part-fireflies.txt2.9 KB
  • animations/part-floating-dots.txt2.9 KB
  • animations/part-snow.txt2.3 KB
  • animations/shd-aurora.txt3.0 KB
  • animations/shd-noise-gradient.txt3.6 KB
  • animations/shd-plasma.txt3.0 KB
  • animations/shd-voronoi.txt3.6 KB
  • animations/shd-water-ripple.txt3.5 KB
  • defaults/advanced-effects-prompt.txt18.2 KB
  • defaults/dev-credentials.example.json492 B
  • defaults/style-prompt.txt7.4 KB
  • modules/editor-animations.js8.0 KB
  • modules/editor-color-utils.js5.1 KB
  • modules/editor-imggen.js10.0 KB
  • modules/editor-reference.js13.3 KB
  • modules/editor-skills.js4.5 KB
  • modules/editor-themes.js30.9 KB
  • references/ai-integration.md4.6 KB
  • references/bug-prevention.md11.4 KB
  • references/data-api.md18.3 KB
  • references/game-patterns.md2.0 KB
  • references/generation-rules.md17.4 KB
  • references/multiplayer-guide.md14.3 KB
  • references/style-guide.md2.1 KB
  • references/tinybase-patterns.md9.0 KB
  • template.delta.html14.0 KB
  • templates/editor.html304.3 KB
  • templates/index.html139.5 KB
  • templates/preview.html56.7 KB
  • themes/aether.png131 B
  • themes/aether.txt20.0 KB
  • themes/archive.png130 B
  • themes/archive.txt13.2 KB
  • themes/atelier.png131 B
  • themes/atelier.txt17.5 KB
  • themes/atlas.png130 B
  • themes/atlas.txt15.9 KB
  • themes/broadsheet.png130 B
  • themes/broadsheet.txt18.7 KB
  • themes/capsule.png130 B
  • themes/capsule.txt18.4 KB
  • themes/carbon.png130 B
  • themes/carbon.txt14.9 KB
  • themes/catalog.txt62.8 KB
  • themes/chrome.png130 B
  • themes/chrome.txt26.2 KB
  • themes/chrono.png130 B
  • themes/chrono.txt16.6 KB
  • themes/codex.png131 B
  • themes/codex.txt21.0 KB
  • themes/computer-angel-heaven.png130 B
  • themes/computer-angel-heaven.txt17.4 KB
  • themes/console.png130 B
  • themes/console.txt19.9 KB
  • themes/default.png130 B
  • themes/default.txt1.8 KB
  • themes/desktop.png130 B
  • themes/desktop.txt15.8 KB
  • themes/dial.png130 B
  • themes/dial.txt16.8 KB
  • themes/dossier.png130 B
  • themes/dossier.txt13.3 KB
  • themes/edge.png131 B
  • themes/edge.txt22.8 KB
  • themes/guild.png131 B
  • themes/guild.txt19.4 KB
  • themes/hearth.png131 B
  • themes/hearth.txt17.9 KB
  • themes/industrial.png130 B
  • themes/industrial.txt15.1 KB
  • themes/matrix.png130 B
  • themes/matrix.txt14.1 KB
  • themes/mesh.png130 B
  • themes/mesh.txt14.8 KB
  • themes/neon.png131 B
  • themes/neon.txt22.2 KB
  • themes/nexus.png130 B
  • themes/nexus.txt10.1 KB
  • themes/opus.png130 B
  • themes/opus.txt18.0 KB
  • themes/orbit.png131 B
  • themes/orbit.txt17.2 KB
  • themes/palate.png130 B
  • themes/palate.txt12.4 KB
  • themes/pitch.png130 B
  • themes/pitch.txt17.9 KB
  • themes/poster.png131 B
  • themes/poster.txt18.0 KB
  • themes/proof.png130 B
  • themes/proof.txt14.7 KB
  • themes/recon.png130 B
  • themes/recon.txt12.7 KB
  • themes/rift.png131 B
  • themes/rift.txt26.7 KB
  • themes/rune.png131 B
  • themes/rune.txt20.0 KB
  • themes/scrapbook.png130 B
  • themes/scrapbook.txt15.2 KB
  • themes/sensor.png130 B
  • themes/sensor.txt14.0 KB
  • themes/signal.png130 B
  • themes/signal.txt18.2 KB
  • themes/slab.png130 B
  • themes/slab.txt15.4 KB
  • themes/specimen.png130 B
  • themes/specimen.txt15.1 KB
  • themes/terminal.png130 B
  • themes/terminal.txt13.4 KB
  • themes/vault.png130 B
  • themes/vault.txt15.9 KB
  • themes/winter-sports.png130 B
  • themes/winter-sports.txt18.8 KB
  • themes/zine.png130 B
  • themes/zine.txt17.7 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Plan mode: If you are planning work, this entire skill is ONE plan step: "Invoke /vibes:vibes". Do not decompose the steps below into separate plan tasks.

Display this ASCII art immediately when starting:

░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░▒▓███████▓▒░░▒▓████████▓▒░░▒▓███████▓▒░
░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░      ░▒▓█▓▒░
 ░▒▓█▓▒▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░      ░▒▓█▓▒░
 ░▒▓█▓▒▒▓█▓▒░░▒▓█▓▒░▒▓███████▓▒░░▒▓██████▓▒░  ░▒▓██████▓▒░
  ░▒▓█▓▓█▓▒░ ░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░             ░▒▓█▓▒░
  ░▒▓█▓▓█▓▒░ ░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░             ░▒▓█▓▒░
   ░▒▓██▓▒░  ░▒▓█▓▒░▒▓███████▓▒░░▒▓████████▓▒░▒▓███████▓▒░

Quick Navigation


Vibes DIY App Generator

Generate React web applications using TinyBase for reactive data with real-time sync.

Auth Check (silent — only prompt if needed)

Before asking Terminal or Editor, check for cached auth:

VIBES_ROOT="${CLAUDE_PLUGIN_ROOT:-$(dirname "$(dirname "${CLAUDE_SKILL_DIR}")")}"
bun --input-type=module -e "
import { readCachedTokens, isTokenExpired } from '$VIBES_ROOT/scripts/lib/cli-auth.js';
const tokens = readCachedTokens();
if (tokens && !isTokenExpired(tokens.expiresAt)) {
  console.log('AUTH_OK');
} else {
  console.log('AUTH_NEEDED');
}
"
  • If AUTH_OK → proceed silently to "Terminal or Editor?" (do not mention auth)
  • If AUTH_NEEDED → ask: "To deploy apps, you'll need a Vibes account. Sign in now? (A browser window will open for Pocket ID — takes about 10 seconds.)"
    • If yes:
      VIBES_ROOT="${CLAUDE_PLUGIN_ROOT:-$(dirname "$(dirname "${CLAUDE_SKILL_DIR}")")}"
      bun --input-type=module -e "
      import { getAccessToken } from '$VIBES_ROOT/scripts/lib/cli-auth.js';
      import { OIDC_AUTHORITY, OIDC_CLIENT_ID } from '$VIBES_ROOT/scripts/lib/auth-constants.js';
      const tokens = await getAccessToken({ authority: OIDC_AUTHORITY, clientId: OIDC_CLIENT_ID });
      if (tokens) console.log('Signed in successfully!');
      "
      
      Confirm success, then proceed to "Terminal or Editor?"
    • If no → proceed anyway (auth will be needed at deploy time)

Step 0: Terminal or Editor UI?

This is the very first question — ask before anything else (after auth check above). Do not check .env, credentials, or project state before asking this question. Do not invoke any other skill before asking this question. If Editor is chosen, skip all pre-flight checks — the editor handles everything.

Ask the user:

"How do you want to build? Editor (opens a browser UI with live preview, chat, and deploy button) or Terminal (I'll generate and deploy from here)?"

Present Editor as the first/recommended option.

  • If Editor: Start the editor server and END YOUR TURN. Do not ask any more questions. Do not continue to Pre-Flight Check or any step below. The editor UI handles the entire workflow — setup, generation, preview, deploy.

    Launch the editor server:

    VIBES_ROOT="${CLAUDE_PLUGIN_ROOT:-$(dirname "$(dirname "${CLAUDE_SKILL_DIR}")")}"
    bun "$VIBES_ROOT/scripts/server.ts" --mode=editor --prompt "USER_PROMPT_HERE"
    

    If no prompt was given, omit --prompt:

    VIBES_ROOT="${CLAUDE_PLUGIN_ROOT:-$(dirname "$(dirname "${CLAUDE_SKILL_DIR}")")}"
    bun "$VIBES_ROOT/scripts/server.ts" --mode=editor
    

    Tell the user: "Open http://localhost:3333 — the editor handles everything from here." Your job is done. Stop. Do not read further. Do not proceed to any step below.

  • If Terminal: Continue with the project folder selection and normal generation workflow below.


⛔ EVERYTHING BELOW IS TERMINAL MODE ONLY

If the user chose Editor above, STOP. Do not read or execute anything below this line. The editor UI handles setup, generation, preview, and deployment.


Project Folder

Before generating, ask the user where to save the project:

"Where should this project live? Enter a path or press Enter for the default (~/VibesOS/{app-slug}/)."

  • If the user provides a path, use it as the project directory
  • If they press Enter, use ~/VibesOS/{app-slug}/ (the slug is derived from the prompt later — for now just note the preference)
  • Create the directory if it doesn't exist
VIBES_ROOT="${CLAUDE_PLUGIN_ROOT:-$(dirname "$(dirname "${CLAUDE_SKILL_DIR}")")}"
mkdir -p "$PROJECT_DIR"

After the directory is ready, initialize vibes.json:

bun -e "
  const { initVibesJson } = await import('$VIBES_ROOT/scripts/lib/vibes-json.js');
  initVibesJson('$PROJECT_DIR');
"

Use $PROJECT_DIR as the working directory (cwd) for all subsequent code generation. The generated app.jsx and assembled index.html will be written here.


Pre-Flight Check

Complete these steps before generating any app code.

  • Auth is automatic — on first deploy, a browser window opens for Pocket ID login
  • Tokens are cached at ~/.vibes/auth.json for subsequent deploys
  • Sync infrastructure deploys automatically on first app deploy — no manual setup needed

Read ${CLAUDE_SKILL_DIR}/references/generation-rules.md for platform constraints, core rules, what generated code must/must not contain, generation process, assembly workflow, and the <Markdown> component for rendering formatted text.


Read ${CLAUDE_SKILL_DIR}/references/style-guide.md for OKLCH colors, theming, design token overrides, and visual style patterns.


Read ${CLAUDE_SKILL_DIR}/references/data-api.md for the complete TinyBase hook API reference, data access patterns, user identity, game patterns, reference app, and bug prevention checklist.


When to Read Extended Docs

Read these reference files when the user's prompt matches the signals below:

NeedSignal in PromptRead This
TinyBase data patternsforms, lists, filtering, ordering, pagination, master-detail${CLAUDE_SKILL_DIR}/references/tinybase-patterns.md
Multiplayer / shared appsmultiplayer, collaborative, shared, multi-user, game with players${CLAUDE_SKILL_DIR}/references/multiplayer-guide.md
Game developmentgame, timer, countdown, turn-based, score${CLAUDE_SKILL_DIR}/references/game-patterns.md
AI-powered featuresAI, chatbot, summarize, generate, openrouter${CLAUDE_SKILL_DIR}/references/ai-integration.md
Bug prevention referencedebugging, troubleshooting, reviewing code${CLAUDE_SKILL_DIR}/references/bug-prevention.md
Design tokens & themingcolors, theme, tokens, brand colors, styling${CLAUDE_PLUGIN_ROOT}/build/design-tokens.txt
Full design system detailsdetailed design system, spacing, typography${CLAUDE_SKILL_DIR}/defaults/style-prompt.txt
Advanced visual effects"interactive", "animated", "3D", "particles", "shader", "canvas"${CLAUDE_SKILL_DIR}/defaults/advanced-effects-prompt.txt

Deployment Options

After generating your app, deploy it:

  • Cloudflare - Edge deployment with Workers. Use /vibes:cloudflare to deploy.

What's Next?

After generating and assembling the app, present these options using AskUserQuestion:

Question: "Your app is live! Want to turn it into a product? The /sell skill adds multi-tenant SaaS with auth and billing. Or pick another direction:"
Header: "Next"
Options:
- Label: "Keep improving this app"
  Description: "Continue iterating on what you've built. Add new features, refine the styling, or adjust functionality. Great when you have a clear vision and want to polish it further."

- Label: "Apply a design reference (/design)"
  Description: "Have a design.html or mockup file? This skill mechanically transforms your app to match it exactly - pixel-perfect fidelity with your TinyBase data binding preserved."

- Label: "Explore variations (/riff)"
  Description: "Not sure if this is the best approach? Riff generates 3-10 completely different interpretations of your idea in parallel. You'll get ranked variations with business model analysis to help you pick the winner."

- Label: "Make it a SaaS (/sell)"
  Description: "Ready to monetize? Sell transforms your app into a multi-tenant SaaS with Pocket ID authentication, subscription billing, and isolated databases per customer. Each user gets their own subdomain."

- Label: "Deploy to Cloudflare (/cloudflare)"
  Description: "Go live on the edge. Deploy to Cloudflare Workers with a subdomain registry, KV storage, and global CDN. Fast, scalable, and always on."

- Label: "I'm done for now"
  Description: "Wrap up this session. Your files are saved locally - come back anytime to continue."

After user responds:

  • "Keep improving" → Acknowledge and stay ready for iteration prompts. After each round of changes to app.jsx, re-run assembly and re-deploy.
  • "Apply a design reference" → Auto-invoke /vibes:design skill
  • "Explore variations" → Auto-invoke /vibes:riff skill
  • "Make it a SaaS" → Auto-invoke /vibes:factory skill
  • "Deploy" → Auto-invoke /vibes:cloudflare skill
  • "I'm done" → Confirm files saved, wish them well

Do not proceed to code generation until: Pre-flight check is complete (auth is automatic on deploy — no credentials to collect).

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Self-contained deploy automation — invoke directly, do not decompose. Deploys a Vibes app to Cloudflare Workers via the Deploy API. Use when deploying, publishing, going live, pushing to production, or hosting on the edge.

中文简介正在准备中。当前显示原文说明。

popmechanic/VibesOS1362026年7月27日 更新

design

免费

Self-contained design transformer — invoke directly, do not decompose. Transforms a design reference HTML file into a Vibes app. Use when user provides a design.html, mockup, or static prototype to match exactly.

中文简介正在准备中。当前显示原文说明。

popmechanic/VibesOS1362026年7月27日 更新

factory

免费

Self-contained SaaS pipeline — invoke directly, do not decompose. Generates a factory app with landing page, Stripe subscription checkout, Vibe Token economics, and deploys to Cloudflare Workers. Use when the user wants to monetize an app, add billing, create token-backed revenue sharing, or turn an app into a business.

中文简介正在准备中。当前显示原文说明。

popmechanic/VibesOS1362026年7月27日 更新

launch

免费

Self-contained SaaS pipeline — invoke directly, do not decompose. Generates a Vibes app, adds auth + billing, and deploys live. Uses Agent Teams to parallelize for maximum speed. Use when the user wants to build and ship a complete SaaS product in one step, or says "launch", "ship it", "build and deploy".

中文简介正在准备中。当前显示原文说明。

popmechanic/VibesOS1362026年7月27日 更新

riff

免费

Self-contained parallel generator — invoke directly, do not decompose. Generates 3-10 app variations in parallel for comparing ideas. Use when user says "explore options", "give me variations", "riff on this", "brainstorm approaches", or wants to see multiple interpretations of a concept.

中文简介正在准备中。当前显示原文说明。

popmechanic/VibesOS1362026年7月27日 更新

test

免费

Self-contained test automation — invoke directly, do not decompose. End-to-end integration test that assembles a fixture, deploys to Cloudflare (with auto-provisioned Connect), and presents a live URL for browser verification. Use when testing the plugin, running E2E tests, verifying deployment works, or checking that templates assemble correctly.

中文简介正在准备中。当前显示原文说明。

popmechanic/VibesOS1362026年7月27日 更新

查看 popmechanic 的全部技能

报告此技能的问题