Skip to main content

How Anthropic uses Claude in Product Engineering

TL;DR

  • Claude Code acts as an AI assistant, empowering engineers to quickly onboard onto new codebases and rapidly implement features, even in unfamiliar tech stacks.
  • It autonomously processes design specifications, interacts with the application through tools like Playwright, makes iterative code changes, and validates them, presenting a ready-for-review solution.
  • By handling the detailed implementation, Claude Code enables developers to focus on higher-level strategic decisions, architectural considerations, and cross-team collaboration.

Takeaways

  • Claude Code serves as an AI assistant for software development, capable of understanding design documents and modifying code.
  • It can significantly accelerate the onboarding process for engineers transitioning to unfamiliar codebases, such as a backend engineer starting on a frontend project.
  • The AI integrates with testing frameworks like Playwright to run the application, analyze its current state, and validate iterative code changes.
  • To implement a feature, a user prompts Claude Code with requirements, specifies design documents to read (e.g., EXCEL_RENDERER_DESIGN.md), and indicates tools to use (e.g., Playwright MCP).
  • Claude Code's workflow involves reading the codebase, starting the application to understand the current state, requesting permission for file modifications, and then entering a loop of making, validating, and iterating on code changes.
  • Upon completion, the AI provides a summary of all changes made, which are then ready for human review.
  • Using Claude Code allows engineers to delegate detailed coding tasks and focus on broader strategic planning, system-level architecture, and navigating trade-offs.

Vocabulary

Claude Code — An AI assistant designed to assist software developers by understanding, generating, and modifying code. Frontend engineer — A software developer who specializes in the user-facing parts of an application, dealing with the visual interface and user interactions. Backend engineer — A software developer who focuses on the server-side logic, databases, and APIs that power an application, typically not directly interacting with the user interface. Codebase — The entire collection of source code, configurations, and related files that comprise a software project. Playwright — An open-source Node.js library used for automating web browsers, commonly for end-to-end testing and interacting with web applications programmatically. Excel renderer — A software component or feature responsible for displaying the content of spreadsheet files (like Excel, CSV, or TSV) within an application. Design doc — A formal document that outlines the technical specifications, architecture, and planned features of a software project or component. Iterating — In software development, the process of repeatedly refining, testing, and improving code or a feature through successive cycles of changes. Onboarding — The process of familiarizing a new team member with a project's tools, processes, and existing codebase.

Transcript

Having Claude Code and being able to use Claude Code in my work, it almost feels like having this super power and this ability to send off a sidekick to go take the time, go figure it out, come back, report back. One of the reactions I get very often is “Holy snap, you’re living in the future.” When I first joined Anthropic I joined a team that was working on code execution and file generation within Claude.ai. So this is essentially giving Claude a computer and the ability to generate files, which include Excel files. And we had a deadline. We were trying to get this out in a month and a half. I was able to use Claude Code to get my groundings in the codebase. I am primarily a backend engineer. This is a front end. In times past, it would take me a long time to onboard onto the codebase. One of the coolest things about Claude Code so far in my work was when I realized I could hook it up to the Playwright MCP. Let me show you how I implemented the Excel rendering feature using Claude Code. Firstly, entering my prompt, I need you to implement the Excel renderer feature for Claude.ai. Read the EXCEL_RENDERER_DESIGN.md, which is the design doc that contains a spec. Use the Playwright MCP. The feature should allow a user to preview Excel, CSV, and TSV files. So now Claude Code is reading the codebase, starting the Claude.ai app using the Playwright MCP, and you can see here it does this to get an accurate read of what the feature looks like without it being implemented yet. And now I can see the preview. It’s not actually implemented, and now that it’s ready to actually start implementing code, it asks me for permission to make changes to those files. I will accept that. And now Claude will run off in this loop with Playwright and continue making changes, validating them, and iterating on that. There we go. We have the summary of all the changes Claude Code made, and it is ready for me to review the code. I still get to do what I love. I still get to write code. I still get to build things. I can focus on writing code from scratch if I wanted to, but now I can think about, like, hey, how does the broader system come together? And now I can focus more on the higher level decisions related to that. So it’s like, ok you’ve given me the data I need, now I can think about the strategy, I can think about what trade-offs we need to make with this information. I can think about how this fits in with other teams and then figure out the more human aspects of the work we need to get done. I mean, it’s absolutely ridiculous. It really is. It’s kind of mind-blowing. Claude Code has helped me dream bigger. I felt like I was always limited by what languages I’m proficient at. It’s just opened up a whole lot of possibilities of things you can get done.

Feedback / ReportSpotted an issue or have an improvement idea?