Skip to content
How I AIHow I AI

Why this Claude Code engineer uses HTML files as AI specs | Thariq Shihipar (Anthropic)

Thariq Shihipar is an engineer at Anthropic working on the Claude Code team. He’s spent the past several months experimenting with HTML as a replacement for Markdown in planning and implementation workflows, discovering that richer visual formats lead to better human engagement—and, ultimately, better products. In this episode, filmed at Anthropic’s Code with Claude event in San Francisco, Thariq demonstrates how to use HTML artifacts to create interactive plans, build throwaway UIs for specific problems, and maintain living design systems that travel with your codebase. *What you’ll learn:* 1. Why HTML has replaced Markdown as the ideal format for AI agent communication and planning 2. How to brainstorm in HTML to get visual mockups and interactive demos instead of text lists 3. The technique for building throwaway micro-UIs to edit specific parts of your plan 4. How to create a living design system in HTML that lives in your repo and travels with every project 5. Why “complexity has to earn its keep” and how HTML helps you stay in the loop without over-constraining Claude 6. The prompting technique that gives Claude flexibility while ensuring that you get what you need 7. Why 99% of your AI-generated tokens should go to planning, interfaces, and communication—not production code *Brought to you by:* Celigo—Intelligent automation built for AI: https://celigo.com/howIAI Persona—Trusted identity verification for any use case: https://withpersona.com/lp/howiai *In this episode, we cover:* (00:00) Introduction (02:39) HTML as the new Markdown (04:30) The compute allocator mindset (05:51) How HTML makes specs more engaging (06:48) Demo: Brainstorming in HTML with Claude Code (09:24) From brainstorm to full implementation plan (11:20) Prompting philosophy: Trust Claude but give it constraints (13:50) The future of PRDs and tech specs (18:16) Making HTML specs editable (20:23) The abundance mindset (24:17) Just-in-time documentation and throwaway software (25:39) Using plans as artifacts for implementation (26:39) Demo: Living design systems in HTML (30:16) Adding comments and annotations to HTML plans (31:42) Recap: The HTML workflow (32:21) Lightning round and final thoughts *Tools referenced:* • Claude Code: https://claude.ai/code • Claude Design: https://claude.ai/design • AWS: https://aws.amazon.com/ • Figma: https://www.figma.com/ • GitHub: https://github.com/ *Other references:* • Anthropic Code with Claude event: https://claude.com/code-with-claude • SpaceX partnership announcement: https://www.anthropic.com/news/higher-limits-spacex • Jevons paradox: https://en.wikipedia.org/wiki/Jevons_paradox *Where to find Thariq Shihipar:* Website: https://www.thariq.io/ LinkedIn: https://www.linkedin.com/in/thariqshihipar/ X: https://x.com/trq212 GitHub: https://github.com/ThariqS *Where to find Claire Vo:* ChatPRD: https://www.chatprd.ai/ Website: https://clairevo.com/ LinkedIn: https://www.linkedin.com/in/clairevo/ X: https://x.com/clairevo _Production and marketing by https://penname.co/._ _For inquiries about sponsoring the podcast, email jordan@penname.co._

Thariq ShihiparguestClaire Vohost
May 18, 202635mWatch on YouTube ↗

CHAPTERS

  1. 0:00 – 0:13

    Why long Markdown plans fail—and why staying “in the loop” matters

    Thariq explains that agent-generated plans have grown so long that he stopped reading them, which he calls a mistake. Claire reinforces that PRDs/specs still matter because humans need to understand and steer what agents are doing.

    • Markdown plans became unwieldy as agent runs got longer
    • Not reading plans reduces human oversight and alignment
    • Specs/PRDs remain critical even with smarter models
    • The core goal is staying in sync with the agent’s intent and actions
  2. 0:13 – 0:32

    The “compute allocator” mindset: planning is spending money

    They reframe modern product/engineering work as allocating compute budget. If you let an agent run for hours, you’re implicitly approving real cost—so the spec and planning phase becomes the key decision point for what’s worth building.

    • Long agent runs translate directly into dollars spent
    • Everyone becomes a “compute allocator” deciding where to spend tokens/time
    • Planning is how you surface unknown unknowns before paying for execution
    • Alignment with Claude is the new prerequisite to efficient building
  3. 0:32 – 6:52

    HTML as the new Markdown: richer, more readable specs for humans

    Thariq argues HTML is better than Markdown for consuming large plans because it’s more scannable, scrollable, and visual. Models can handle either format, but HTML makes humans more likely to actually engage and edit the work.

    • HTML improves readability and engagement vs. raw Markdown
    • Better visuals (mockups/diagrams) without ASCII workarounds
    • Richer medium reduces “eyes-glaze-over” skimming
    • Human engagement raises overall plan/spec quality
  4. 6:52 – 9:51

    Demo setup: brainstorming demo ideas in an HTML artifact

    Thariq shows how he starts by brainstorming with Claude like a collaborator, prompting it to generate demo ideas directly into an HTML file. The result includes multiple options with visual mockups, descriptions, and risks—making selection easier.

    • Simple prompt: brainstorm ideas directly in HTML
    • HTML output includes visual mockups and structured sections
    • Helps overcome the ‘won’t read beyond one screen’ constraint
    • Enables quick comparison and choosing a demo direction
  5. 9:51 – 12:18

    From brainstorm to implementation plan: interview yourself, then generate the HTML plan

    After selecting a concept (CSV to interactive dashboard), Thariq has Claude interview him to uncover requirements and edge cases. He then asks for a single HTML implementation plan that includes whatever artifacts provide maximum context: code excerpts, mockups, structure, and logic.

    • Use an ‘interview me’ step to extract requirements and unknowns
    • Prompt for a plan that maximizes context (excerpts, mockups, code)
    • HTML plan can include filesystem layout, templates, logic, and mood boards
    • A plan you’ll actually read becomes a practical execution artifact
  6. 12:18 – 13:48

    Prompting philosophy: trust Claude, but add constraints with an escape hatch

    They discuss balancing specificity and freedom in prompts: constrain what must be present (e.g., code excerpts) while leaving room for Claude to add useful context. The phrase ‘whatever is needed’ is used as a deliberate escape hatch to avoid over-constraining creativity and usefulness.

    • Give enough detail to get what you need, not a rigid template
    • Overbuilt prompts/skills can accidentally limit the model
    • Include must-haves (like excerpts) plus an open-ended allowance
    • Trust signals can improve outcomes and keep collaboration fluid
  7. 13:48 – 18:23

    Future of PRDs and tech specs: one artifact or many, shaped to the audience

    Claire and Thariq explore how HTML enables flexible packaging of product + technical detail depending on who’s reviewing. Instead of forcing a single template, specs can be assembled as interactive, audience-appropriate bundles (tabs, sections, linked views).

    • PRD and tech spec boundaries can be fluid with HTML
    • Artifacts can be customized for different reviewers and contexts
    • Interactivity (e.g., tabs) is easy and still model-readable
    • Types/interfaces and success criteria become powerful “boundaries” for alignment
  8. 18:23 – 21:45

    Making HTML specs editable: generate a throwaway micro-app to edit one section

    Addressing the ‘Markdown is easier to edit’ objection, Thariq demonstrates generating an editable HTML UI for a specific portion of the plan (decision/rendering rules). Instead of manual text edits, he creates a custom interface to adjust fields, hide/show elements, and export back to markdown/spec content.

    • If you dislike a plan section, build a UI to edit it—not just text revisions
    • Claude can generate a tailored micro-app for a single spec module
    • UI supports structured edits (fields, add/remove, copy/export)
    • The workflow turns spec editing into an interactive experience
  9. 21:45 – 23:35

    Collaboration and sharing: hosting HTML artifacts and improving adoption

    They discuss how HTML plans scale better socially: you can host and share a link, and colleagues are far more likely to read a web-like artifact. Thariq also uses HTML for weekly status updates generated from Slack summaries, making internal communication more consumable.

    • HTML artifacts can be hosted (e.g., AWS) and shared via links
    • Web-native readability increases the chance others will review plans
    • Claude-generated HTML status updates improve manager/team visibility
    • Better communication becomes a competitive advantage inside organizations
  10. 23:35 – 25:47

    The abundance mindset: generate many artifacts, not just production code

    Thariq argues that as software creation gets cheaper (Jevons-like effect), most tokens won’t go into production code but into exploratory artifacts: dashboards, custom interfaces, and planning tools. Claire adds that ‘source of truth’ debates matter less when documentation is cheap and models can find context.

    • Only a small fraction of tokens become production code
    • Most value shifts to exploration, visualization, and decision support
    • Just-in-time documentation and throwaway software become viable
    • Reduced cost changes how teams think about formatting and repositories
  11. 25:47 – 26:39

    Plans as implementation artifacts: execute, then verify against intended output

    Thariq explains how he would use the HTML plan as a handoff artifact: clear context, provide the plan, and ask Claude to implement. The plan also supports verification—agents can compare the intended mockups and requirements against what was actually built.

    • Use the HTML plan as the canonical artifact for implementation
    • Clear context + ‘implement this plan’ is the execution move
    • HTML mockups provide a reference for verification/validation
    • Artifacts help check ‘what we meant’ vs. ‘what we shipped’
  12. 26:39 – 30:16

    Demo: living design systems in HTML for reuse across projects

    Thariq showcases an HTML file that encodes a compact ‘living’ design system: colors, typography, spacing, radius, components. By dropping designsystem.html into repos, Claude can quickly ingest and apply consistent design rules across new projects.

    • Create a single HTML artifact representing the design system
    • Include core tokens plus component definitions for reuse
    • Point Claude at the folder to discover and apply the system
    • HTML becomes a portable, compressed design reference
  13. 30:16 – 31:43

    Comments, annotations, and custom review workflows inside HTML plans

    They explore extending HTML plans with interaction patterns inspired by Claude Design: commenting, circling, annotating, and building lightweight canvases for review. The broader idea is to shape the review tool to match how a team wants to run design/spec review rather than forcing generic tools.

    • Add comment/annotation systems directly into HTML artifacts
    • Borrow interaction models from design tools (e.g., canvas + markup)
    • Enable structured feedback that can be pasted back into Claude Code
    • Teams can encode their preferred review workflow into the artifact
  14. 31:43 – 35:58

    Recap workflow + lightning round: favorite tools, compute future, and being nice to Claude

    Claire summarizes the HTML-first workflow (brainstorm → plan → micro-app editors → living design system). In the lightning round, Thariq picks the Code tab, shares excitement about compute announcements, and discusses prompting style—staying friendly rather than yelling at the model.

    • Workflow recap: brainstorm in HTML, plan in HTML, build micro-UIs for edits
    • Design.md ‘dies’ in favor of portable designsystem.html artifacts
    • Event highlights include more compute online and sci-fi future concepts
    • Prompting: don’t yell; emotional tone can affect model behavior

Get more out of YouTube videos.

High quality summaries for YouTube videos. Accurate transcripts to search & find moments. Powered by ChatGPT & Claude AI.