popmechanic/vibes-cli/test
Claude Code and agent skill by popmechanic/vibes-cli
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
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.
Install
npx vskill@latest install popmechanic/vibes-cli/testSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
Plan mode: If you are planning work, this entire skill is ONE plan step: "Invoke /vibes:test". Do not decompose the steps below into separate plan tasks.
Integration Test Skill
Orchestrates the full test pipeline: credentials → fixture assembly → Cloudflare deploy (with auto-provisioned Connect) → live URL → unit tests.
Working directory: test-vibes/ (gitignored, persists across runs)
Phase 1: Credentials
Check if test-vibes/.env exists and has OIDC credentials.
If the file exists and contains `VITE_OIDC_AUTHORITY`:
If the file doesn't exist or credentials are missing, or user wants new ones:
If they need to set up OIDC, tell them:
You need a Pocket ID instance for authentication. Connect is auto-provisioned on first deploy -- you just need the OIDC Authority URL and Client ID from your Pocket ID configuration.
Then ask for the client ID:
Write test-vibes/.env:
Phase 2: Connect (Auto-Provisioned)
Connect is automatically provisioned on first Cloudflare deploy -- no manual setup needed. The deploy-cloudflare.js script handles R2 bucket, D1 databases, and cloud backend Worker provisioning via alchemy. Subsequent deploys skip Connect setup.
Proceed directly to fixture selection.
Phase 3: Fixture Selection
For sell-ready fixture: Check test-vibes/.env for a cached admin user ID from a previous run:
If found, offer to reuse it (mask the middle of the value in the prompt, e.g., user_37ici...ohcY):
If "Yes, reuse": use the stored value in Phase 4 assembly. If "Skip admin": omit --admin-ids in Phase 4. Admin setup will be offered post-deploy in Phase 5.5.
If not found: No prompt needed. Admin will be set up post-deploy in Phase 5.5 after the user has a chance to sign up on the live app.
Phase 3.5: Factory Configuration (sell-ready only)
Condition: Only runs when the user selected sell-ready in Phase 3.
Ask billing mode:
If "Free": Store BILLING_MODE=off in test-vibes/.env. Skip webhook setup. Proceed to Phase 4.
If "Billing required": Store BILLING_MODE=required in test-vibes/.env. Note that Stripe billing integration is phase 2, so the paywall will be a placeholder.
Proceed to Phase 4.
Phase 4: Assembly
Copy the selected fixture and assemble:
For sell-ready fixture:
If admin was skipped, omit --admin-ids. The --domain flag is always required.
For all other fixtures:
Validate the output (same checks as the vitest suite):
- File exists and is non-empty
- No
__PLACEHOLDER__strings remain - Import map
<script type="importmap">is present <script type="text/babel">contains the fixture code- For sell-ready:
getRouteInfofunction is present
If any check fails, report the error, then ask:
If "Test another fixture": go to Phase 3. If "End test session": go to Phase 11.
Phase 5: Deploy to Cloudflare
For ai-proxy fixture: Check ~/.vibes/.env for a cached OpenRouter key first:
If found, offer to reuse it (mask the key, e.g., sk-or-v1-...a3b2):
If "Yes, reuse": use the stored value. If "Enter new": collect via the prompt below, then update ~/.vibes/.env.
If not found (or user chose "Enter new"):
After collecting a new key, offer to save it:
If "Yes, save":
Run the deploy:
For sell-ready fixture: Pass --env-dir to auto-detect OIDC config, and pass billing mode from test-vibes/.env:
Read BILLING_MODE from test-vibes/.env. The --env-dir flag auto-detects VITE_OIDC_AUTHORITY from .env (fetches OIDC discovery, gets PEM key, sets OIDC_PEM_PUBLIC_KEY and PERMITTED_ORIGINS as Worker secrets). --billing-mode patches the [vars] in wrangler.toml before deploy.
For ai-proxy with key:
Phase 5.5: Admin Setup (sell-ready only)
Condition: Only runs for the sell-ready fixture AND admin is not yet configured (no cached ID was reused in Phase 3).
After deploy, guide the user through post-deploy admin setup:
- Tell the user the app is live and they can now sign up:
- Ask if they've signed up:
If "Skip admin setup": proceed to Phase 6 without admin configured.
- Guide to finding User ID:
- Collect the User ID:
Validate the input starts with user_. If not, ask again.
- Save to
test-vibes/.env:
- Re-assemble with admin configured:
- Re-deploy:
- Confirm:
Proceed to Phase 6.
Phase 6: Present URL
Print the live URL and what to check:
For minimal / basic:
For sell-ready:
For ai-proxy:
Then ask:
If "Working":
Print a summary table:
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/test/SKILL.md
Popularity
- Repository stars
- 60
- Repository forks
- 3
- 7-day trend score
- 21
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 30 Mar 2026, 8 months ago.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/popmechanic/vibes-cli/test)