Skip to content
William Alexander
  • Home
  • Case Studies
  • Personal Projects
  • Articles
  1. Home
  2. Articles
  3. How I Use AI to Build Websites Faster
AI for Business

How I Use AI to Build Websites Faster

A practical look at AI-assisted development—what works, what doesn't, and why the human element still matters

August 2, 2025 10 min read

Key Takeaways

  • AI accelerates execution but doesn't replace developer judgment—you still need to know what to build
  • Claude Code (terminal-based AI) outperforms browser tools by understanding your full codebase context
  • Expect 75-90% time savings on boilerplate, documentation, and scaffolding tasks
  • Always review AI-generated code like a pull request from a junior developer
  • The developers who benefit most are those with expertise to evaluate and improve AI output
Overview

The Reality of AI in Web Development

Every week, someone asks me if AI is going to replace web developers. The honest answer: no—but it's already changed how I work. I ship projects faster, write better code, and spend more time on problems that actually matter.

I've been using AI tools seriously for over two years now. Not as a novelty, but as an integral part of my development workflow. The results have been transformative—but not in the "write my entire website" way that headlines suggest.

The Key Shift

AI doesn't replace thinking. It accelerates the execution of decisions you've already made. The developer who understands what to build still matters enormously.

Let me show you exactly how I integrate AI into real client projects, what works, what doesn't, and the mistakes I made learning these lessons.

The Process

My AI-Assisted Workflow

Here's how AI fits into my actual development process, not a theoretical workflow, but what I do every day on client projects.

  1. Project Understanding (Still 100% Human)

    Discovery calls, requirement gathering, understanding the business problem—this remains entirely human work. AI can't replace the judgment needed to understand what a client actually needs versus what they're asking for.

  2. Architecture & Planning (AI-Assisted Research)

    When evaluating technology choices or architectural approaches, I use AI to quickly research options, understand tradeoffs, and identify potential issues I might not have considered.

  3. Code Generation (Where AI Shines)

    Writing boilerplate, creating database schemas, building CRUD operations, generating tests—AI handles these quickly while I focus on business logic and user experience.

  4. Review & Refinement (Critical Human Step)

    Every line of AI-generated code gets reviewed. I understand it, test it, and often improve it. The AI provides a strong first draft; I provide the quality assurance.

Tooling

My Primary Tool: Claude Code

I've tried many AI coding tools over the past two years. These days, I work almost exclusively with Claude Code—Anthropic's CLI tool that runs directly in my terminal alongside my code.

Why Claude Code Works for Me

Unlike browser-based AI assistants, Claude Code has direct access to my project files. It can read my codebase, understand the existing patterns, and make changes in place. This eliminates the constant copy-paste cycle that makes other AI tools feel clunky.

Here's what I use it for daily:

  • Exploring unfamiliar codebases and understanding how pieces connect
  • Writing new features that match existing project conventions
  • Debugging issues by letting Claude trace through the actual code
  • Refactoring with confidence—Claude can update all the related files
  • Writing tests that actually cover the edge cases I care about
  • Documentation that stays accurate because Claude reads the source

The Context Advantage

The biggest difference with Claude Code is context. It's not just answering questions about code I paste in—it's working inside my project, understanding the full picture. When I ask it to add a feature, it knows what patterns I'm already using.

The Workflow

My typical session: I open a terminal in my project directory, start Claude Code, and describe what I'm trying to accomplish. Claude reads the relevant files, proposes an approach, and makes the changes. I review everything before it touches the filesystem, but the back-and-forth is remarkably efficient.

For quick questions or general research, I'll still use Claude in a browser. But for actual development work? Claude Code has become indispensable.

Case Study

Real Project Example

Let me walk through a recent project where Claude Code meaningfully accelerated delivery.

The Project

A franchise education company needed a custom WordPress admin dashboard for their franchisees. The existing interface used raw ACF options forms—functional, but confusing for non-technical franchise owners. They needed a branded, intuitive replacement that preserved all the existing functionality.

Traditional estimate: 4 weeks. Actual delivery: under 3 weeks, including revisions.

Where Claude Code Helped

Admin Interface Scaffolding

Described the dashboard requirements and existing ACF structure. Claude Code generated the custom admin page classes, menu registration, and template structure. I refined the organization and added the client's specific branding.

ACF Data Integration

The tricky part was preserving compatibility with existing ACF field data while presenting it through a new interface. Claude Code helped map the field groups and generate the save/load logic.

Multisite Compatibility

The client runs a WordPress multisite network with dozens of franchise subsites. Claude Code helped ensure the dashboard worked correctly across the network with proper capability checks and site-specific data isolation.

CSS and Branding

Generated the initial admin stylesheet structure, then iterated with Claude Code to match the client's brand colors and create a cohesive visual design that felt professional rather than "WordPress admin."

Where I Stayed Hands-On

  • All client communication and requirement clarification
  • User experience decisions—what to show, what to hide, how to organize
  • Prototyping and iterating based on client feedback
  • Testing across the multisite network
  • Final code review and security checks before deployment
Honest Assessment

What AI Gets Wrong

AI assistance isn't magic. Here are patterns I've learned to watch for:

Common AI Pitfalls

AI tools confidently generate code that looks correct but has subtle bugs. They hallucinate API methods that don't exist. They optimize for the wrong things. Trust but verify—always.

Specific Problems I've Encountered

  • Outdated patterns: AI suggests jQuery when the project uses vanilla JS
  • Security oversights: Generated code that didn't properly sanitize inputs
  • Performance issues: N+1 queries that looked fine in isolation
  • Over-engineering: Complex solutions when simple ones would work
  • Missing context: Code that ignores existing project conventions

The solution isn't to avoid AI—it's to maintain the expertise needed to catch these issues. AI is a powerful tool for developers, not a replacement for development skills.

Results

Time Savings Breakdown

Based on tracking my last 10 projects, here's where AI saves the most time:

Task Type Traditional Time AI-Assisted Time Time Saved
Boilerplate/scaffolding 4-6 hours 30-60 min 80-90%
Database schema design 2-3 hours 30-45 min 75-85%
Writing tests 3-4 hours 1-2 hours 50-60%
Documentation 2-4 hours 30-60 min 75-85%
Debugging 1-3 hours 30-90 min 40-50%
Architecture decisions 2-4 hours 1-2 hours 40-50%
Client communication 2-3 hours 2-3 hours 0%

Notice that client communication time doesn't decrease. That's intentional—relationships and understanding requirements still require human attention. The time saved on execution gives me more capacity for the work that matters most.

Practical Steps

Getting Started

If you're a developer looking to integrate AI effectively, here's my advice:

  1. Start with code review. Have AI explain unfamiliar code before you try generating new code. This builds trust in what it understands.
  2. Use it for boilerplate first. Low-risk tasks like generating CRUD operations or form validation are great starting points.
  3. Always review generated code. Treat it like a pull request from a junior developer—helpful but needs oversight.
  4. Learn to write good prompts. Specific context leads to better output. Include relevant constraints, conventions, and requirements.
  5. Keep your skills sharp. The developers who benefit most from AI are those who can evaluate and improve its output.

AI makes good developers faster. It doesn't make non-developers into developers. The expertise to know what to build—and whether the build is correct—remains essential.

My working principle

Frequently Asked Questions

Will AI replace web developers?

No. AI accelerates execution but cannot replace the judgment needed for requirements gathering, architecture decisions, and quality assurance. Developers who understand what to build remain essential.

What is the best AI tool for web development?

For actual development work, I recommend Claude Code—Anthropic's CLI tool that works directly in your project directory. It understands your codebase context, unlike browser-based tools that require copy-pasting code.

How much time does AI save in web development?

Based on tracking my projects, AI saves 80-90% on boilerplate/scaffolding, 75-85% on documentation and database design, and 40-50% on debugging. Client communication time remains unchanged.

Is AI-generated code safe to use?

AI-generated code requires review like any code from a junior developer. Common issues include security oversights, outdated patterns, and performance problems. Always review and test before deployment.
AI Web Development Productivity Claude Code Workflow
William Alexander

William Alexander

Senior Web Developer

25+ years of web development experience spanning higher education and small business. Currently Senior Web Developer at Wake Forest University.

Related Articles

Web Strategy

5 Signs Your Small Business Website Is Costing You Customers

7 min read
Higher Ed Web

Why WordPress Multisite Makes Sense for Universities

8 min read

Interested in AI-assisted development?

I build custom web solutions using modern tools and practices. Let's discuss how AI can accelerate your project.

© 2026 williamalexander.co. All rights reserved.