The Claude Code & GitHub WORKFLOW to Build Complex Apps

The video outlines a productivity-enhancing workflow for building complex web apps using Claude Code and GitHub, centered on a cycle of planning, creating, testing, and deploying with detailed issue refinement, automated testing, and continuous integration. It emphasizes the importance of human oversight alongside AI assistance, robust testing, and code review to ensure maintainability and quality throughout development and deployment.

In this video, the creator shares their workflow using Claude Code and GitHub to build a complex web app, which has significantly enhanced their productivity. The workflow revolves around a cycle of four key phases: plan, create, test, and deploy. It starts with creating detailed GitHub issues that outline the work to be done. Claude Code then uses a slash command to process these issues by breaking them down into smaller tasks, writing code, testing it through automated test suites and Puppeteer for UI interactions, committing the changes, and opening pull requests for review. Continuous integration via GitHub Actions ensures that tests and linters run automatically on every commit, maintaining code quality before merging into the main branch.

The creator emphasizes that while AI coding assistants like Claude Code are powerful, software development requires more than just writing code. The workflow is heavily inspired by the well-established GitHub flow, which is effective for small teams, including a human paired with an AI assistant. The planning phase is particularly crucial, involving refining and breaking down issues into atomic, manageable tasks. The creator notes that initially, they were overly optimistic about jumping straight from issue creation to coding, but found that spending time on detailed specifications and issue refinement was essential for success.

Setting up a robust foundation is key to this workflow. This includes having a well-defined test suite, continuous integration, and Puppeteer for browser-based UI testing. The creator prefers using Rails for its modular MVC framework and integrated testing capabilities, which facilitate easier collaboration with AI coding agents. They also discuss the importance of reviewing code changes, either personally or by having Claude Code perform pull request reviews using specialized slash commands. This review process helps catch maintainability and readability improvements that might be missed initially.

Regarding code commits, the creator shares their evolving approach. Initially, they manually reviewed all code changes before committing, but over time, they have allowed Claude Code to handle commits directly, relying heavily on the test suite to catch issues. They reference a thoughtful article by Thomas Tacic that argues developers should always read and understand code, whether written by themselves or AI, reinforcing the responsibility humans have in the development process. The deployment phase is automated via Render, which deploys the app whenever changes are merged into the main branch.

Finally, the video touches on advanced topics like using Git work trees to run multiple Claude Code instances in parallel for handling several issues simultaneously. However, the creator found this approach cumbersome due to permission management and merge conflicts, preferring to work with a single Claude instance for now. They also mention the option of using Claude via GitHub Actions for small fixes but caution against using it for large code changes due to metered API billing. Overall, the workflow balances human oversight with AI assistance, leveraging detailed planning and testing to build complex applications efficiently.