Video summary

Build a Better Software Factory with Claude Code

Main summary

Key takeaways

Technology

Summary

The video presents version 2 of a Claude Code–based software factory: a workflow that takes labeled GitHub issues, routes them through AI agents and deterministic checks, and can produce and merge pull requests.

The creator says the new version adds more structured intake, risk-based routing, stronger validation, parallel task handling, and better visibility into task status, elapsed time, and estimated cost.

How the Factory Works

  1. Issue intake: GitHub issues are the factory’s input. Issues need a specific factory label before the system will process them, providing a human-controlled gate.
  2. Reception and scoping: A Fable agent assesses whether an issue is suitable, defines its scope in the project’s context, evaluates risk, and may reject it or request clarification.
  3. Specification and implementation: The factory creates a specification, then assigns the work to a builder agent.
  4. Deterministic checks: Scripts run project-specific checks—such as linting, type checks, tests, and a build—before code reaches reviewers. Failed checks send the work back for correction.
  5. Review and approval: Agents review the implementation, with Haiku or Sonnet used depending on the assessed risk. Other specialist reviews can run in parallel. An approval stage determines whether a change can be merged automatically or needs human review.
  6. Pull request: The result is a GitHub pull request, with the work and its history available in GitHub.

The pipeline is dynamic: risk and complexity assessments can determine which reviewers or checks a task receives. In the demonstration, review failures sent tasks back to the builder for another round, while other tasks paused for human decisions.

Installation and Demonstration

The creator demonstrates installing the factory in a note-taking app using Claude Code and a prompt. The installation adds a .claude directory containing agent descriptions and a factory skill, along with a factory directory containing scripts and configuration.

The demo processes a dark-mode issue from intake through implementation, checks, review, approval, and an automatically merged pull request. The creator then queues several issues, showing that the factory can process up to three tasks at once. This setting is configurable in config.json. Users can run the whole eligible queue or target a particular issue.

The demo also shows how a human can respond when a task is blocked, inspect its recorded files, and provide feedback through the orchestrator. The dashboard tracks task status, approximate cost, and elapsed time. These figures are presented as comparison and optimization metrics, not necessarily actual billed token costs.

Reliability and Limitations

A key design choice is that task state is updated through factory scripts rather than being edited freely by Claude Code. For example, a single factory-bin-job script updates each task’s job.json file. The creator argues that this makes progression through the workflow more controlled and reliable.

The factory also keeps task data locally, outside Git version control by default. Users would need a separate backup mechanism if they want to preserve it.

The demo exposes several tradeoffs:

  • The more elaborate workflow is more complex than the previous version, and the creator recommends simplifying it to fit a project’s needs.
  • Cheaper models such as Haiku may reduce estimated costs, but weaker reviews could cause unnecessary rework. The creator is cautious about relying on a less capable model for important approval decisions.
  • Stopping the Claude Code session also stopped its background agents. Restarting the factory resumed processing, but work in progress was lost and had to restart.
  • Some tasks required human input, and one was blocked by a factory rule that the creator later fixed.

The creator advises against simply connecting the demonstrated setup to a production system without oversight. Instead, they present it as a starting point for a process that should be monitored and carefully adapted.

They also suggest that software development may move toward managing workflows at a higher level than individual agent interactions, and mention running the factory in the cloud via the Claude Agent SDK as a possible next step.

Guides and Resources Mentioned

  • A software-factory mind map and PDF guide is available through the creator’s email newsletter.
  • The video demonstrates an installation prompt and refers viewers to the factory source code.
  • A previous video covers the earlier software-factory version and its background.
  • The creator also mentions a personal TLDR skill that shortens agent output.

Main Speaker and Sources

  • Main speaker: The ZazenCodes creator, presenting and demonstrating the factory.
  • Technology and services discussed: Claude Code and its agents, GitHub Issues and Pull Requests, project-specific shell checks, and the Claude Agent SDK as a possible future option.
  • Sponsor: Anthropic.

Rate this summary

Your feedback will help improve summaries.

Improve this summary

Reprocess with a stronger model when the summary feels incomplete or inaccurate.

Pro

Translate summary in another language

Pro

Ask questions to this video

Chat for follow-up questions, clarifications, and source-backed answers.

Coming soon

Share this summary

Original video