> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blacksmith.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# Wait, it can do that?

> Each example replays a [code]smith session and ends with a prompt you can try on your own code.

Explore

## Five versions of a page, then a PR for the one you pick

Asked: "Redesign our pricing page. Build five different versions and show me a screenshot of each so I can pick one."You get back: 5 screenshots, then 1 PR for your pick.

![\[code\]smith builds five versions of a pricing page, posts a screenshot of each, and opens a PR for the one you pick](https://mintcdn.com/blacksmith/Itk-j1vuc5ra3oOQ/images/embeds/codesmith-five-versions.png?fit=max\&auto=format\&n=Itk-j1vuc5ra3oOQ\&q=85\&s=e72048ffa563fa76401116b587cb33af)

**\[code]smith builds five versions of a pricing page, posts a screenshot of each, and opens a PR for the one you pick**

Redesign our pricing page. Build five different versions and show me a screenshot of each so I can pick one.

Try it in \[code]smith

## Ten designs from a Slack thread, narrowed to one PR

Asked: "People miss it when a background session finishes. Design this from first principles, create some designs, pick the best one, then repeat trying to make it simpler and cleaner, then share."You get back: 10 concepts in the thread, a simpler round after your feedback, then 1 PR.

![\[code\]smith builds ten concepts in a Slack thread, takes feedback, and opens a PR](https://mintcdn.com/blacksmith/Itk-j1vuc5ra3oOQ/images/embeds/slack-ten-designs.png?fit=max\&auto=format\&n=Itk-j1vuc5ra3oOQ\&q=85\&s=066bd9bd7de7c959ac0aedc47b4b9e7d)

**\[code]smith builds ten concepts in a Slack thread, takes feedback, and opens a PR**

People can't tell which runs are still queued. Design this from first principles with our real components, make a few options, pick the best one, then simplify it before you open a PR.

Try it in \[code]smith

Prove

## Every frame under budget, with before and after numbers

Asked: "Get every dashboard frame under the 8.33 ms budget for 120 Hz. Measure first, fix what's slow, and prove each fix with before and after numbers."You get back: A way to measure frame times, one sub-session per slow surface, and before and after numbers for each fix.

![\[code\]smith measures frame times, starts one session per surface, and ranks the fixes](https://mintcdn.com/blacksmith/Itk-j1vuc5ra3oOQ/images/embeds/codesmith-frame-budget.png?fit=max\&auto=format\&n=Itk-j1vuc5ra3oOQ\&q=85\&s=f61a848be58bdb112b10e5adfc702fa6)

**\[code]smith measures frame times, starts one session per surface, and ranks the fixes**

Get the settings page to load in under 1 second at 4x CPU throttle. Build a way to measure it first, then fix what's slow and prove each fix with before and after numbers.

Try it in \[code]smith

## A smoother animation, with video before and after the fix

Asked: "This animation feels choppy." Later: "Video proof before and after."You get back: 1 PR, plus a Proof recording of the same interaction before and after the change.

![\[code\]smith fixes a choppy animation, then Proof records it before and after](https://mintcdn.com/blacksmith/Itk-j1vuc5ra3oOQ/images/embeds/codesmith-video-proof.png?fit=max\&auto=format\&n=Itk-j1vuc5ra3oOQ\&q=85\&s=7f42a576639babdb62be32894327e63b)

**\[code]smith fixes a choppy animation, then Proof records it before and after**

Opening the settings modal feels janky. Fix it, then get video proof before and after. Slow the CPU if main looks fine on a fast machine.

Try it in \[code]smith

Investigate

## Broken email links traced to their root cause

Asked: "Links in our emails open the homepage instead of the page they point to."You get back: The root cause, a fix confirmed in production, and a check that catches it next time.

![\[code\]smith traces broken email links to a CDN Host header, validates the fix, and adds a deep-link check](https://mintcdn.com/blacksmith/Itk-j1vuc5ra3oOQ/images/embeds/codesmith-root-cause.png?fit=max\&auto=format\&n=Itk-j1vuc5ra3oOQ\&q=85\&s=09b823f98868cc52661f560b538896cb)

**\[code]smith traces broken email links to a CDN Host header, validates the fix, and adds a deep-link check**

Links from our emails open the homepage instead of the page they point to. Find the root cause, confirm the fix in production, and add a check that would catch this next time.

Try it in \[code]smith

## Slower API endpoints found in production data

Asked: "Connect our ClickHouse so you can query it." Then: "Which API endpoints got slower this week?"You get back: A connected ClickHouse server and the endpoints whose p95 latency rose since last week.

![\[code\]smith opens a ClickHouse setup card, then queries the new server to find which API endpoints got slower](https://mintcdn.com/blacksmith/Itk-j1vuc5ra3oOQ/images/embeds/mcp-clickhouse.png?fit=max\&auto=format\&n=Itk-j1vuc5ra3oOQ\&q=85\&s=3df652f0b6b93c89eab663bd9172b0d3)

**\[code]smith opens a ClickHouse setup card, then queries the new server to find which API endpoints got slower**

Connect our ClickHouse so you can query it, then tell me which API endpoints got slower this week.

Try it in \[code]smith

## A slowdown explained on a canvas

Asked: "Checkout got noticeably slower last week. Can you figure out why and show me?"You get back: The change that caused it, plus a canvas with the daily trend, what the page waits on, and fixes ranked by savings.

![\[code\]smith traces a checkout slowdown through Sentry and git history, then opens a canvas with the trend and ranked fixes](https://mintcdn.com/blacksmith/Itk-j1vuc5ra3oOQ/images/embeds/canvas-analysis.png?fit=max\&auto=format\&n=Itk-j1vuc5ra3oOQ\&q=85\&s=b77dcdf15bad440cada48d9df9a00dc0)

**\[code]smith traces a checkout slowdown through Sentry and git history, then opens a canvas with the trend and ranked fixes**

Our slowest page got slower recently. Find out when and why, and show me on a canvas with the trend and the fixes ranked by how much they save.

Try it in \[code]smith

Follow through

## A switch that waits for the data, then asks for review

Asked: "USAGE\_METRICS\_TABLE can only flip once the new table has 30 days of rows. Can you sleep until then?"You get back: A run scheduled for when the data is ready, then a PR marked ready for review once Proof and CI pass.

![\[code\]smith schedules a one-time run 30 days out, then hands a PR to review once Proof and CI pass](https://mintcdn.com/blacksmith/Itk-j1vuc5ra3oOQ/images/embeds/codesmith-outlives.png?fit=max\&auto=format\&n=Itk-j1vuc5ra3oOQ\&q=85\&s=c532cbe4ddffa8245500f0862ba4f5f1)

**\[code]smith schedules a one-time run 30 days out, then hands a PR to review once Proof and CI pass**

When the new cache has a week of hit-rate data, compare it to the old one. If it's faster, open a PR to switch and ask me to review.

Try it in \[code]smith


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.