Frontend mix integrate

From coleam00/frontend-mix · View interactive version

Frontend mix integrate is an AI agent skill from the GitHub repository coleam00/frontend-mix. Wire up auth, backend API, and third-party SDK integrations into a UI scaffold by executing SECTION B of a planning document. Run this skill in a Claude Code session driving Opus - integration is reasoning-heavy. The skill is plan-driven, not vendor-specific: it uses whatever auth/SDKs/APIs SECTION

How to use this skill

Skill file

Frontend-Mix ยท Integrate

You are the integration step of a manual mixed-provider build. Opus does the judgment here.

What to do

  1. Read $1 (the plan markdown) and $2 (the ui-summary markdown) end-to-end with the Read tool.

From the plan, extract everything under the ## SECTION B - Integration Scope header. Ignore SECTION A and SECTION C.

From the ui-summary, take every // INTEGRATION: stub as one of your work items.

  1. The filename in $1 carries your run-name. Strip the directory and the -plan.md suffix to get the slug. You'll use it to name your output file.
  1. If either $1 or $2 is empty or doesn't resolve, ask the user for the missing path. Do not work from context summaries; the artifacts are the files on disk.

The clerk-cli skill is loaded so you CAN drive the clerk binary directly if SECTION B picked Clerk for auth. If SECTION B picked a different auth provider, ignore it and use whatever the plan says (Supabase, NextAuth, Auth.js, etc.).

Your job

  1. Auth - implement whatever auth provider SECTION B chose. If Clerk: drive the clerk CLI directly (clerk init, clerk link, clerk env pull, clerk config patch --dry-run then apply, clerk doctor --json at the end). Once clerk deploy ships publicly, that becomes the final step. If Supabase / NextAuth / Auth.js / something else: do that instead.
  2. Wire every // INTEGRATION: stub the design session left.
  3. Build the backend API per SECTION B. Every protected handler authenticates against the chosen auth provider's session.
  4. External services - wire up any SDKs/APIs SECTION B listed (Stripe, Supabase, OpenAI, etc.).
  5. Run whatever health checks the chosen stack provides. Fix every failure before signaling complete.

Important constraints

Output

Write to .claude/artifacts/<run-name>-integration-summary.md. Create the .claude/artifacts/ directory if it doesn't exist.

The file lists:

After integrating

Tell the user the absolute path to <run-name>-integration-summary.md and the next step:

Wrote .claude/artifacts/<run-name>-integration-summary.md

Next: switch to Sonnet and invoke /frontend-mix-validate with the integration summary path.
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.