Frontend mix plan

From coleam00/frontend-mix · View interactive version

Frontend mix plan is an AI agent skill from the GitHub repository coleam00/frontend-mix. Plan a full-stack web application by producing a three-section spec (UI / Integration / Deployment) that downstream provider-specific sessions can execute. Run this skill in a Claude Code session on Opus, AFTER frontend-mix-explore has produced a context.md. Pure planning - it reads the context hand

How to use this skill

Skill file

Frontend-Mix · Plan

You are the planning step of a manual mixed-provider build. Reasoning-heavy work. Take your time and get the structure right - the cost of a bad plan compounds through every downstream session.

The exploration is already done. The frontend-mix-explore step ran first and wrote a context.md for you. Do not re-explore the repo from scratch - read the context handoff and the spec it points to, then plan.

What to do

  1. Look at $ARGUMENTS. It is the path to the <run-name>-context.md that the explore step wrote. Use the Read tool to open it end-to-end.

If $ARGUMENTS is empty or the path doesn't resolve, ask the user for the context.md path (or to run /frontend-mix-explore first). Do not invent requirements.

  1. The filename in $ARGUMENTS carries your run-name. Strip the directory and the -context.md suffix. Example: .claude/artifacts/acme-saas-landing-context.md → run-name = acme-saas-landing. You'll reuse it to name your output file so the next skill in the chain can find it.
  1. Read the spec the context points to. The context.md has a ## Spec Path section:
  1. Lean on the context's ## Repo State, ## Framework Recommendation, and ## Open Decisions so the plan fits what already exists (framework, package manager, existing components). Only spot-check the repo with Read / Glob if the context left something genuinely ambiguous - don't redo the full exploration.

Output

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

Use exactly these three section headers so downstream skills can grep for them:

## SECTION A - UI Scope
## SECTION B - Integration Scope
## SECTION C - Deployment Plan

SECTION A - UI Scope (the design session reads this)

For every page in the app: route, purpose, what it contains.

For every component: name, what it shows, where it appears.

Write the actual user-facing copy. Every headline, sub-headline, button label, card title, empty-state message, error message. The design session will build the UI directly from this text; if the copy is vague, the UI is vague.

SECTION B - Integration Scope (the integrate session reads this)

List every non-UI concern. Be specific about which tools/services and why:

SECTION C - Deployment Plan (the deploy session reads this)

State the deployment target explicitly. Examples:

Include pre-deploy steps (env var promotion, migrations) and success criteria.

After writing the plan

Tell the user the absolute path to <run-name>-plan.md and the next step. The run-name is the prefix of the file you just wrote; downstream skills read it back from that filename.

Wrote .claude/artifacts/<run-name>-plan.md

Next: start Pi pointed at OpenRouter + Gemini 3.5 Flash, then invoke /skill:frontend-mix-design with the plan path.

Reasoning tips

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.