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.

Refactoring production codebases is risky; traditional tooling has limitations, and applying AI in an unstructured way introduces uncertainty.

This workshop is for senior/principal engineers responsible for larger codebases, helping you reduce the risk of AI-assisted refactoring introducing production failures. Tech leads making design decisions around what tooling, processes, and workflows to use for codebase management will also find this workshop valuable.

Each Ticket Includes

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

What You'll Take Away

ast-grep creator Herrington Darkholme demonstrates an approach that integrates ast-grep with Claude Code, combining AI-assisted reasoning with AST-based (structural) guarantees to enable safer large-scale refactors.

You'll learn:

  • How ast-grep helps senior engineers 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 across codebases with larger surface area, enforce code best practices tailored to business needs, and adopt breaking changes in dependencies.

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.

Refactoring production codebases is risky; traditional tooling has limitations, and applying AI in an unstructured way introduces uncertainty.

This workshop is for senior/principal engineers responsible for larger codebases, helping you reduce the risk of AI-assisted refactoring introducing production failures. Tech leads making design decisions around what tooling, processes, and workflows to use for codebase management will also find this workshop valuable.

Each Ticket Includes

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

What You'll Take Away

ast-grep creator Herrington Darkholme demonstrates an approach that integrates ast-grep with Claude Code, combining AI-assisted reasoning with AST-based (structural) guarantees to enable safer large-scale refactors.

You'll learn:

  • How ast-grep helps senior engineers 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 across codebases with larger surface area, enforce code best practices tailored to business needs, and adopt breaking changes in dependencies.

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--
Events87
Hosting2 years
Report this event