Safely Refactor Production Codebases with AI

Safely Refactor Production Codebases with AI

Online event
Saturday, Mar 14 from 10 am to 11:30 am EDT
Overview

Breaking API migrations, hidden coupling, and large-scale rewrites — done safely with AST-backed AI workflows.

AI can refactor your code in seconds, but it can also introduce subtle breakages just as quickly.

In this focused 90-minute workshop, you’ll learn how to combine AI-assisted reasoning with AST-based structural guarantees to refactor code safely and confidently.

This session shows you how to integrate ast-grep + Claude Code to reduce regression risk — even across large or evolving codebases.

Who This Is For

  • Developers who refactor real-world code (in any language)
  • Engineers using AI tools and wanting safer workflows
  • Tech leads evaluating guardrails for AI-assisted changes
  • Anyone maintaining a codebase where breakages are costly

Whether you're working in a startup environment or a large production system, the techniques are immediately applicable.

What You'll Take Away

ast-grep creator Herrington Darkholme will teach you:

  • How ast-grep helps developers safely refactor codebases and put in place code guardrails
  • How to use ast-grep in production-grade AI-assisted workflows

If you regularly encounter the frustration of searching through your codebases — whether with grep, an IDE's search function, or manual inspection — this workshop is for you. Reduce your fear of refactoring, enforce code best practices tailored to business needs, and adopt breaking changes in dependencies.

Each Ticket Includes

  • Instant access to the full 300+ page Mastering ast-grep ebook, written by ast-grep’s creator Herrington
  • Herrington’s Claude Code prompt templates

Meet the Instructor

This session is delivered by Herrington Darkholme (GitHub, X, Medium), creator of ast-grep and an ex-ByteDance developer proficient in Rust and TypeScript.

Herrington’s primary technical focus is on rewriting and accelerating the web frontend toolchain with Rust, and he is actively involved in several well-known open-source projects, including Vue.js.

Breaking API migrations, hidden coupling, and large-scale rewrites — done safely with AST-backed AI workflows.

AI can refactor your code in seconds, but it can also introduce subtle breakages just as quickly.

In this focused 90-minute workshop, you’ll learn how to combine AI-assisted reasoning with AST-based structural guarantees to refactor code safely and confidently.

This session shows you how to integrate ast-grep + Claude Code to reduce regression risk — even across large or evolving codebases.

Who This Is For

  • Developers who refactor real-world code (in any language)
  • Engineers using AI tools and wanting safer workflows
  • Tech leads evaluating guardrails for AI-assisted changes
  • Anyone maintaining a codebase where breakages are costly

Whether you're working in a startup environment or a large production system, the techniques are immediately applicable.

What You'll Take Away

ast-grep creator Herrington Darkholme will teach you:

  • How ast-grep helps developers safely refactor codebases and put in place code guardrails
  • How to use ast-grep in production-grade AI-assisted workflows

If you regularly encounter the frustration of searching through your codebases — whether with grep, an IDE's search function, or manual inspection — this workshop is for you. Reduce your fear of refactoring, enforce code best practices tailored to business needs, and adopt breaking changes in dependencies.

Each Ticket Includes

  • Instant access to the full 300+ page Mastering ast-grep ebook, written by ast-grep’s creator Herrington
  • Herrington’s Claude Code prompt templates

Meet the Instructor

This session is delivered by Herrington Darkholme (GitHub, X, Medium), creator of ast-grep and an ex-ByteDance developer proficient in Rust and TypeScript.

Herrington’s primary technical focus is on rewriting and accelerating the web frontend toolchain with Rust, and he is actively involved in several well-known open-source projects, including Vue.js.

Lineup

Herrington Darkholme

Good to know

Highlights

  • 1 hour 30 minutes
  • Online

Refund Policy

Refunds up to 7 days before event

Location

Online event

Agenda

Framing Refactoring at Scale (0-5 min)

The real risks: hidden coupling, review limits, regex overreach, and AI edge cases. What structural safety requires.

ast-grep in Practice (5-15 min)

AST-based matching and deterministic rewrites. Production use cases: API migrations, large-scale search, custom guardrails.

Production Case Studies (15-25 min)

Examples from the SWC ecosystem, Shopify Hydrogen, Modern.js, and Vue-macros.

Frequently asked questions
Organized by
Packt Publishing Limited
Followers--
Events92
Hosting2 years
Report this event