Skip to content

feat: AI Project Planner in global + Create dropdown - #6

Merged
Gardner-Programs merged 1 commit into
masterfrom
feature/ai-project-planner
May 15, 2026
Merged

feat: AI Project Planner in global + Create dropdown#6
Gardner-Programs merged 1 commit into
masterfrom
feature/ai-project-planner

Conversation

@Gardner-Programs

Copy link
Copy Markdown
Owner

Summary

  • Adds ✨ AI Planner as a 4th option in the + Create dropdown (visible from any page)
  • User describes what they want to build, sets sprint count (1–6), sprint length (1–4 weeks), and team size
  • Claude generates a full multi-sprint plan with work items distributed logically: foundation first, core features in the middle, polish and testing at the end
  • Preview step shows collapsible sprint cards — expand each to see its tasks, priorities, and story points
  • "Create All Sprints & Tasks" commits everything to the selected project in one shot with live progress feedback

How it works

  • AiProjectPlannerDialog — 4-step dialog (form → generating → preview → creating)
  • generateProjectPlan() in ai.ts — sends a structured prompt to claude-haiku-4-5-20251001, parses the multi-sprint JSON response
  • Items per sprint scaled to team size (~2× team size, capped at 3–12)
  • Sprint creation is sequential (items need sprint IDs); items within each sprint are created in parallel

Test plan

  • Click + Create → confirm "✨ AI Planner" appears as 4th option
  • Fill in goal, adjust sliders, click "Generate Plan" — loading spinner appears
  • Preview shows correct number of sprints with expandable task lists
  • "← Regenerate" returns to form with fields intact
  • "Create All Sprints & Tasks" shows per-sprint progress, then closes
  • Sprints tab reflects the newly created sprints and items

Requires VITE_ANTHROPIC_API_KEY in .env (or Vercel environment variables)

🤖 Generated with Claude Code

Adds '✨ AI Planner' option to the + Create menu. User describes what
they want to build, picks sprint count/duration/team size, and Claude
generates a full multi-sprint project plan with tasks. Preview shows
collapsible sprint cards before committing; creates all sprints and
work items in one shot.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@vercel

vercel Bot commented May 15, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
plan-it Ready Ready Preview, Comment May 15, 2026 3:45pm

@Gardner-Programs
Gardner-Programs merged commit ac6f7a2 into master May 15, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant