<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Bharath Nayak</title>
    <description>The latest articles on DEV Community by Bharath Nayak (@bharathnayakt).</description>
    <link>https://dev.to/bharathnayakt</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F269312%2Fea2095f4-4e20-443f-965d-e59b3bf002d6.jpg</url>
      <title>DEV Community: Bharath Nayak</title>
      <link>https://dev.to/bharathnayakt</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/bharathnayakt"/>
    <language>en</language>
    <item>
      <title>Making HTML Artifacts Collaborative for AI Workflows</title>
      <dc:creator>Bharath Nayak</dc:creator>
      <pubDate>Tue, 02 Jun 2026 11:23:28 +0000</pubDate>
      <link>https://dev.to/bharathnayakt/making-html-artifacts-collaborative-for-ai-workflows-3f20</link>
      <guid>https://dev.to/bharathnayakt/making-html-artifacts-collaborative-for-ai-workflows-3f20</guid>
      <description>&lt;p&gt;Recently, there has been a lot of discussion around a simple question:&lt;/p&gt;

&lt;p&gt;Should AI artifacts default to Markdown or HTML?&lt;/p&gt;

&lt;p&gt;Markdown is simple, readable, and token-friendly.&lt;/p&gt;

&lt;p&gt;HTML is heavier, but it can represent information in a much richer way. With HTML, an artifact can have proper sections, tables, cards, callouts, layouts, visual hierarchy, and even interactive components. While HTML may consume more tokens upfront, the additional structure and clarity can reduce ambiguity and back-and-forth later.&lt;/p&gt;

&lt;p&gt;My thinking went in a slightly different direction:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;If HTML becomes a serious medium for AI-generated artifacts, how do we make it collaborative?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;That's where I noticed a gap.&lt;/p&gt;

&lt;p&gt;At work, I use Confluence extensively. Someone writes a specification, others leave comments on specific sections, and those comments are later addressed by the author—or increasingly, by AI. The workflow feels natural.&lt;/p&gt;

&lt;p&gt;But with HTML artifacts, collaboration isn't as straightforward.&lt;/p&gt;

&lt;p&gt;If I want to comment on a specific paragraph, table row, section, or card, how do I point an AI to the exact location?&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;"Change the third section" is vague.&lt;/li&gt;
&lt;li&gt;Copying and pasting text is brittle.&lt;/li&gt;
&lt;li&gt;Raw HTML isn't easy to review visually.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;So I started building HTML Review Kit.&lt;/p&gt;

&lt;p&gt;GitHub Repository: &lt;a href="https://github.com/bharathnayak03/html-review-kit" rel="noopener noreferrer"&gt;https://github.com/bharathnayak03/html-review-kit&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What is HTML Review Kit?
&lt;/h2&gt;

&lt;p&gt;HTML Review Kit makes static HTML artifacts reviewable and AI-editable.&lt;/p&gt;

&lt;p&gt;You can:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Open an HTML artifact in a browser&lt;/li&gt;
&lt;li&gt;Annotate specific parts of the rendered page&lt;/li&gt;
&lt;li&gt;Leave review comments&lt;/li&gt;
&lt;li&gt;Generate a prompt that can be sent directly to an AI coding agent&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The generated prompt includes both the review comments and the targeting information needed to locate the corresponding source content.&lt;/p&gt;

&lt;p&gt;The approach is inspired by the W3C Web Annotation Data Model:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.w3.org/TR/annotation-model/" rel="noopener noreferrer"&gt;https://www.w3.org/TR/annotation-model/&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How does targeting work?
&lt;/h2&gt;

&lt;p&gt;To help AI identify the exact content being reviewed, the tool captures multiple targeting mechanisms, including:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;data-hrk-id&lt;/li&gt;
&lt;li&gt;Text Quote Selectors&lt;/li&gt;
&lt;li&gt;CSS Selectors&lt;/li&gt;
&lt;li&gt;XPath&lt;/li&gt;
&lt;li&gt;Source file metadata&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This gives AI enough context to reliably locate and modify the correct part of the source document.&lt;/p&gt;

&lt;h2&gt;
  
  
  Workflow
&lt;/h2&gt;

&lt;p&gt;The workflow looks like this:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Generate or write an HTML artifact&lt;/li&gt;
&lt;li&gt;Review it visually&lt;/li&gt;
&lt;li&gt;Leave comments on specific elements&lt;/li&gt;
&lt;li&gt;Copy the generated review prompt&lt;/li&gt;
&lt;li&gt;Ask an AI agent to address the comments&lt;/li&gt;
&lt;li&gt;Update the source HTML&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Potential Use Cases
&lt;/h2&gt;

&lt;p&gt;HTML Review Kit can be useful for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;AI-generated specifications&lt;/li&gt;
&lt;li&gt;Design documents&lt;/li&gt;
&lt;li&gt;Product requirement documents&lt;/li&gt;
&lt;li&gt;Reports&lt;/li&gt;
&lt;li&gt;Dashboards&lt;/li&gt;
&lt;li&gt;Knowledge-base articles&lt;/li&gt;
&lt;li&gt;Rich documentation&lt;/li&gt;
&lt;li&gt;Any HTML-based artifact that benefits from review and iteration&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  AI Agent Skill Included
&lt;/h2&gt;

&lt;p&gt;I've also added an AI agent skill to the repository.&lt;/p&gt;

&lt;p&gt;Install it with:&lt;/p&gt;

&lt;p&gt;bash npx skills add bharathnayak03/html-review-kit &lt;/p&gt;

&lt;p&gt;Once installed, simply ask your AI coding agent to use html-review-kit while generating HTML artifacts.&lt;/p&gt;


&lt;div class="crayons-card c-embed text-styles text-styles--secondary"&gt;
    &lt;div class="c-embed__content"&gt;
      &lt;div class="c-embed__body flex items-center justify-between"&gt;
        &lt;a href="https://x.com/_tbnu/article/2061767886067437886" rel="noopener noreferrer" class="c-link fw-bold flex items-center"&gt;
          &lt;span class="mr-2"&gt;x.com&lt;/span&gt;
          

        &lt;/a&gt;
      &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;


&lt;h2&gt;
  
  
  Looking for Feedback
&lt;/h2&gt;

&lt;p&gt;This is an early exploration into making HTML a more collaborative medium for AI workflows.&lt;/p&gt;

&lt;p&gt;I'd love to hear your thoughts:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Is this a problem you've run into?&lt;/li&gt;
&lt;li&gt;Would a review workflow like this be useful for your team?&lt;/li&gt;
&lt;li&gt;What features would make it more valuable?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Feedback, ideas, and contributions are welcome.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>discuss</category>
      <category>html</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
