Leanpub Header

Skip to main content

Building Complex Software with GenAI

Build effectively with Claude AI

Minimum price

$19.00

$29.00

You pay

$29.00

Author earns

$23.20
$

...Or Buy With Credits!

You can get credits monthly with a Reader Membership
PDF
EPUB
WEB
About

About

About the Book

This is a concise book describing a systemic "ways of working" with Claude Code and has a companion MCP Server available on GitHub. With more than a thousand hours of my personal time, I have developed one very complex game authoring platform using Claude AI, and the process I developed to achieve a high level of code quality is documented in this book.

Share this book

Author

About the Author

David Cornelson

David Cornelson is an IT veteran of 40 years, having started with COBOL on punch cards, then RPG III, BASIC, Visual Basic, .NET, the cloud, and moving from developer to architect to entrepreneur. He has spent a large portion of his "free time" learning about LLMs and specifically Claude AI. After over a thousand hours of work with Claude, he has discovered a set of patterns/workflows that allow a focused technical person the ability to extract quality code, even targeting complex software engineering.

Contents

Table of Contents

    • Claude Development Workflows: Overview
      • The Complete Development Pipeline
      • Core Workflow Sequence
      • Workflow Components
      • Directory Structure
      • Quick Start Guide
      • Workflow Principles
      • Benefits of This System
      • Advanced Techniques
      • Common Pitfalls to Avoid
      • Next Steps
    • Workflow 0: Project Standards & Configuration
      • Purpose
      • When to Use
      • The Workflow
      • Step-by-Step Process
      • Standards Template
      • 3. Build & Development Tools
      • 4. Development Principles
      • 5. Coding Standards
      • 6. Shell Scripts Policy
      • 7. Testing Standards
      • 8. Documentation Standards
      • 9. Version Control Standards
      • 10. Performance Standards
      • Common Patterns
      • Project-Specific Context
      • File Organization
      • Review Checklist
      • Best Practices
      • Common Configurations
      • Integration with Other Workflows
      • Metrics to Track
      • Next Steps
    • Workflow: Design Mode & Architecture Decision Records (ADRs)
      • Purpose
      • When to Use
      • The Workflow
      • Design Mode vs Planning Mode
      • Step-by-Step Process
      • ADR Template
      • Design Mode Templates
      • ADR Lifecycle Management
      • Integration with Other Workflows
      • Best Practices
      • Common ADR Topics
      • Anti-patterns to Avoid
      • Metrics to Track
      • Example Real-World ADRs
      • Quick Reference
      • Next Steps
    • Workflow: Design Discussion
      • Purpose
      • When to Use
      • The Workflow
      • Step-by-Step Process
      • Design Discussion Template
      • Evaluation Criteria
      • Comparison Matrix
      • Scenario Analysis
      • Recommendation
      • Decision Outcome
      • Appendix
      • Common Discussion Topics
      • Integration with Other Workflows
      • Best Practices
      • Anti-patterns to Avoid
      • Example Design Discussions
      • Metrics to Track
      • Next Steps
    • Workflow: Refactoring
      • Purpose
      • When to Use
      • The Workflow
      • Step-by-Step Process
      • Refactoring Specification Template
      • Proposed Solution
      • Implementation Plan
      • Risk Analysis
      • Success Criteria
      • Validation Plan
      • Documentation Updates
      • Next Steps
    • Workflow 1: Planning Mode
      • Purpose
      • When to Use
      • The Workflow
      • Step-by-Step Process
      • Templates
      • Validation Checklist
      • Documentation Tasks
      • Commit Checklist
      • Phase Handoff
      • Notes Section
      • Troubleshooting
      • Examples from Real Projects
      • Metrics to Track
      • Next Steps
    • Workflow 2: Implementation with Build & Test Logging
      • Purpose
      • When to Use
      • The Workflow
      • Log Structure
      • Step-by-Step Process
      • Shell Scripts for Automation
      • Log Management
      • Usage Patterns
      • Package.json Scripts
      • Advanced Logging Techniques
      • Integration with Claude Workflows
      • Best Practices
      • Common Issues and Solutions
      • Metrics to Track
      • Next Steps
    • Workflow 3: Design Documentation
      • Purpose
      • When to Use
      • The Workflow
      • Step-by-Step Process
      • Design Document Template
      • Implementation Details
      • API Surface
      • Testing Strategy
      • Trade-offs and Decisions
      • Migration Guide
      • Performance Metrics
      • Future Improvements
      • Dependencies
      • References
      • Appendix
      • Review History
      • Step-by-Step Process
      • Review Perspectives
      • Review Response Format
      • Areas for Improvement ⚠️
      • Critical Issues ?
      • Optimization Opportunities ?
      • Refactoring Checklist
      • Code Quality Metrics
      • Architectural Observations
      • Recommendations
      • Learning Points
      • Re-review Focus Areas
      • Comparison to Best Practices
      • Final Notes
      • Best Practices
      • Common Review Findings
      • Metrics to Track
      • Integration with Other Workflows
      • Advanced Techniques
      • Next Steps
    • Workflow 5: Session Context
      • Purpose
      • When to Use
      • The Workflow
      • Step-by-Step Process
      • Session Context Template
      • Active Problems
      • Next Session Starting Point
      • Important Context
      • Command Reference
      • Questions for Next Session
      • Session Metrics
      • Notes & Observations
      • Advanced Techniques
      • Troubleshooting
      • Examples from Real Sessions
      • Integration with Other Workflows
      • Metrics to Track
      • Next Steps

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earned over $14 million writing, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub