Skip to content

feat: implement GitHub repo creation with AI-generated scaffold files#38

Draft
DealPatrol wants to merge 1 commit into
mainfrom
claude/implement-todo-item-SVr1b
Draft

feat: implement GitHub repo creation with AI-generated scaffold files#38
DealPatrol wants to merge 1 commit into
mainfrom
claude/implement-todo-item-SVr1b

Conversation

@DealPatrol
Copy link
Copy Markdown
Owner

Summary

  • Implements the // TODO: Create GitHub repo with scaffold in app/dashboard/results/page.tsx
  • After a scaffold is successfully generated, the results page now calls /api/github/create-repo with the AI-generated files
  • Extends /api/github/create-repo to accept an optional scaffoldFiles parameter; when provided, those files are used instead of hardcoded templates

Test plan

  • Sign in with GitHub and navigate to the Results page
  • Click "Generate Scaffold" on a discovered app
  • Verify a GitHub repository is created with the AI-generated scaffold files
  • Verify the alert shows the new repository URL on success
  • Verify an error message is shown if repo creation fails (e.g. name conflict)

https://claude.ai/code/session_01P7WFRLD4UQoEpoZKD3RbEe


Generated by Claude Code

After scaffold generation succeeds, the results page now calls
/api/github/create-repo with the AI-generated files instead of stopping
at an alert. The create-repo route accepts an optional scaffoldFiles
parameter; when provided it uses those files directly rather than
generating hardcoded templates, so the created repository reflects the
Claude-generated scaffold.

https://claude.ai/code/session_01P7WFRLD4UQoEpoZKD3RbEe
@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented May 14, 2026

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

Project Deployment Actions Updated (UTC)
repo-app-architect Ready Ready Preview, Comment May 14, 2026 3:52am
repofuse Ready Ready Preview, Comment, Open in v0 May 14, 2026 3:52am
v0-repo-app-architect Ready Ready Preview, Comment, Open in v0 May 14, 2026 3:52am

Request Review

@supabase
Copy link
Copy Markdown

supabase Bot commented May 14, 2026

This pull request has been ignored for the connected project bpjftwoiosftvjvxpovz because there are no changes detected in supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

Copy link
Copy Markdown
Owner Author

@DealPatrol DealPatrol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approve

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.

2 participants