Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Figma 6 min read Case study easyNovice

How Coinbase used Code Connect to guide agents and shrink token costs

Coinbase's design system team mapped every Coinbase Design System component to its code counterpart with Figma Code Connect. Using Claude Code and a figma-code-connect skill, they went from partial to full coverage in about four hours. They then benchmarked design-to-code agent runs with and without Code Connect: the same form design, a deliberately vague prompt, Sonnet 4.6, and resets between runs. Across three runs, Code Connect cut tokens by 11.5%, implementation time by 22.3% and cost by 22.5%, and agents picked components like Stepper and ListCell correctly instead of rebuilding them from primitives or hallucinating icon names. The team's conclusion is that agent skills shape how code gets written, while Code Connect supplies the component context agents need when starting from designs.

Related posts

  • Figma agent vs. one button: shipping design tokens to npm

    GitButler mediumAdept

    Automating a design-token release pipeline (Figma variables → DTCG JSON → Terrazzo CSS → npm) with the Figma agent worked but took six minutes per run. The agent's sandbox has no git or network, so it had to stream a 54 KB file through its own capped context into a GitHub connector. The winning setup is the existing plugin's "Push to server" button opening a PR, plus two Claude-written GitHub Actions workflows. One rebuilds CSS, infers patch/minor bumps (majors need an explicit label) and comments a token diff; the other publishes via npm trusted publishing over OIDC. The takeaway: use LLMs to write scripts and CI, not as a runtime for deterministic pipelines, and let tools move bytes by file path rather than through model context.

  • Testing AI coding agents (2025): Cursor vs. Claude, OpenAI, and Gemini

    Render mediumAdept

    Four AI coding agents (Cursor with Claude Sonnet 4, Claude Code, Gemini CLI and OpenAI Codex) were compared on a one-prompt Next.js URL-shortener build with Postgres, Docker and Render MCP deployment, plus real tasks in a large Go API monorepo (Kubernetes pod leader election with go-quartz, NATS retry logic) and an Astro/Keystatic website. Cursor scored highest overall (8/10 average), producing the most complete app, including Docker Compose and a SQL migration, and following codebase-specific patterns. Gemini CLI excelled at large-context refactors but struggled on the greenfield build. Codex's model produced accurate, idiomatic code but was held back by setup friction and a weaker CLI UX. All tools faltered on novel or obscure libraries without targeted guidance, so experienced engineers still need to audit the output.

  • How we make AI coding more cost efficient without sacrificing task quality

    GitHub Engineering mediumAdept

    GitHub Copilot cut agent costs by optimizing for whole-task outcomes rather than per-tool-call token counts, after finding that aggressive shell-output compression (RTK) made agents reread or rerun commands and raised end-to-end cost. Four changes were validated with offline benchmarks and online A/B tests. They were selective output compression that preserves source-like output such as git diff and keeps a recovery path (5.5%), removing line-number prefixes from the view tool (3.1%), a meta-prompted task-tool prompt saving about 1,300 tokens per turn (2.9%), and batching background-task completion results to avoid retrieval turns (2.3%). The prompt rewrite initially serialized parallel agents, which shows that prompt behaviour needs regression tests and that savings must be measured in each workflow where a change ships.

  • Agentic coding at ClickHouse

    ClickHouse mediumAdept

    ClickHouse uses coding agents, mainly Claude Code with Opus 4.6 and Codex CLI as a fallback, for daily work on its large C++ codebase, which the author says became practical with Claude Opus 4.5 in November 2025. Productive scenarios include typing specified code, finishing stale PRs, boilerplate and infra configs, merge conflicts, porting code between codebases, small refactorings, fixing paper cuts and exploring unfamiliar code. One port, fixing ClickHouse dialect support in the Polyglot SQL translator, took 36 hours and about $500. For automated code review, an in-house bot driving Copilot CLI with custom instructions far outperformed GitHub's Copilot integration, leaving humans to judge architecture while the bot catches race conditions and resource bugs. The recommendation is to start with a CLI agent rather than an IDE-integrated one, always review generated diffs, and motivate adoption by example rather than mandate.

  • Does it matter how you feed an agent its context?

    OLX Tech mediumAdept

    How context is packaged for a coding agent (one big prompt, handoff notes pointing to files, staged ICM pipeline) barely changed cost, speed or quality on a realistic 18–20 file change across three mature codebases. A bounded team of specialist sub-agents behind a thin dispatcher was about 30% cheaper and fastest (~19 minutes per run). Its output was merge-ready only one time in three because no agent owned the lint gate. Making every specialist responsible for formatting and lint fixed that, and the main cost driver turned out to be how many sub-agents get spawned, with one Default run spawning eleven and costing $13.22.

The quest for software engineering knowledge.

Look:
Layout: