<?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: Pierre-Clément Kerneis</title>
    <description>The latest articles on DEV Community by Pierre-Clément Kerneis (@pckerneis).</description>
    <link>https://dev.to/pckerneis</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%2F3202174%2F41598753-4c7b-4df2-bfa3-779793d3ef29.png</url>
      <title>DEV Community: Pierre-Clément Kerneis</title>
      <link>https://dev.to/pckerneis</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/pckerneis"/>
    <language>en</language>
    <item>
      <title>We Need a Spec Format for Design, QA, and Documentation</title>
      <dc:creator>Pierre-Clément Kerneis</dc:creator>
      <pubDate>Sat, 24 May 2025 11:58:52 +0000</pubDate>
      <link>https://dev.to/pckerneis/we-need-a-spec-format-for-design-qa-and-documentation-5a52</link>
      <guid>https://dev.to/pckerneis/we-need-a-spec-format-for-design-qa-and-documentation-5a52</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;Tired of losing track of what your app is &lt;em&gt;supposed&lt;/em&gt; to do? Here's how I ended up building a spec format that drives mockups, tests, and docs — all from a single source of truth.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  🤯 The Problem: Lost in Translation
&lt;/h2&gt;

&lt;p&gt;I've been working as a developer on a web application that's been around for over a decade.&lt;br&gt;&lt;br&gt;
It went from waterfall to Agile.&lt;br&gt;&lt;br&gt;
It went from Jira to GitLab.&lt;br&gt;&lt;br&gt;
Most of the people who worked on the application at the beginning are long gone.&lt;/p&gt;

&lt;p&gt;Somewhere along the way, we lost something: a clear, centralized, and accessible description of what the app is &lt;em&gt;supposed&lt;/em&gt; to do.&lt;/p&gt;

&lt;p&gt;As new features come in and behavior changes, we're left with thousands of tickets that contradict each other.&lt;br&gt;&lt;br&gt;
Requirements are buried in meeting notes or lost in informal conversations.&lt;br&gt;&lt;br&gt;
And my team and I spend hours retro-engineering behaviors that should be obvious.&lt;/p&gt;




&lt;h2&gt;
  
  
  🧠 The Realization: We Need Executable UI Specs
&lt;/h2&gt;

&lt;p&gt;It hit me: even though we have version control, CI/CD, test pipelines, an agile board, and even well-maintained user documentation — we still don't have a &lt;em&gt;living spec&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;In the backend world, &lt;strong&gt;spec-driven development is already a thing&lt;/strong&gt;.&lt;br&gt;&lt;br&gt;
We have tools like &lt;strong&gt;OpenAPI&lt;/strong&gt; (which we eventually started using) that let teams define what an API should do — then auto-generate documentation, mocks, tests, and client code from that spec.&lt;/p&gt;

&lt;p&gt;But on the frontend, I couldn’t find anything that comes close.&lt;/p&gt;

&lt;p&gt;Every team cobbles together their own partial solutions:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Design handoffs in Figma&lt;/li&gt;
&lt;li&gt;User flows described as Cucumber tests&lt;/li&gt;
&lt;li&gt;UI component libraries with Storybook&lt;/li&gt;
&lt;li&gt;Docs scattered across Google Docs or markdown files&lt;/li&gt;
&lt;li&gt;Product specs buried in Jira&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;And everything drifts apart — constantly.&lt;/p&gt;

&lt;p&gt;We need a &lt;strong&gt;frontend equivalent of OpenAPI&lt;/strong&gt;: something UI-focused, developer-friendly, and test-aware.&lt;/p&gt;




&lt;h2&gt;
  
  
  📋 What I Wanted
&lt;/h2&gt;

&lt;p&gt;Here's my wishlist. I wanted something that:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Was easy to write, easy to read — Markdown, YAML, whatever&lt;/li&gt;
&lt;li&gt;Described screens and interactions clearly&lt;/li&gt;
&lt;li&gt;Could turn into automated tests without tons of glue code&lt;/li&gt;
&lt;li&gt;Could generate useful, visual documentation for product owners, QA, and new developers&lt;/li&gt;
&lt;li&gt;Stayed in sync with the code&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🛠️ Building Spequoia
&lt;/h2&gt;

&lt;p&gt;That’s why I started building &lt;strong&gt;Spequoia&lt;/strong&gt; — a human-readable specification format that can power mockups, tests, and documentation from a single source.&lt;/p&gt;

&lt;p&gt;At its core, it’s just a YAML document where you can:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Describe UI screens&lt;/li&gt;
&lt;li&gt;Describe features using Markdown&lt;/li&gt;
&lt;li&gt;Define interaction flows for each feature&lt;/li&gt;
&lt;li&gt;Generate animated wireframe mockups&lt;/li&gt;
&lt;li&gt;Run automated acceptance and regression tests&lt;/li&gt;
&lt;li&gt;Produce interactive documentation and tutorials&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It also comes with a static website generator to bundle everything together — no complex frameworks, no IDE plugins.&lt;br&gt;&lt;br&gt;
You just write specs and share the output with design, dev, and QA.&lt;/p&gt;




&lt;h3&gt;
  
  
  From the very same document, you can:
&lt;/h3&gt;

&lt;h4&gt;
  
  
  🎞️ Animate UI mockups
&lt;/h4&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7f25h05w4aeczz1wa29z.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7f25h05w4aeczz1wa29z.gif" alt="Spequoia Wireframe" width="600" height="341"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  ✅ Generate interactive tutorials from E2E test runs
&lt;/h4&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Foly7x2uv4xbg0ad8234b.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Foly7x2uv4xbg0ad8234b.gif" alt="Spequoia TestReel" width="883" height="611"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  🌐 Pack everything into a static website
&lt;/h4&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsdc2wqhogczyjpnt26se.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsdc2wqhogczyjpnt26se.gif" alt="Spequoia Web" width="599" height="329"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  🚧 What's Next
&lt;/h2&gt;

&lt;p&gt;Spequoia is still early. At the time of writing, it's just a proof-of-concept — but the foundations are there.&lt;br&gt;&lt;br&gt;
And I'd love your feedback, your ideas, or your help shaping it.&lt;/p&gt;

&lt;p&gt;👉 &lt;a href="https://github.com/spequoia/spequoia" rel="noopener noreferrer"&gt;Explore the repo&lt;/a&gt;&lt;br&gt;&lt;br&gt;
🧪 &lt;a href="https://spequoia.github.io/spequoia/example-todomvc/" rel="noopener noreferrer"&gt;Try the interactive demo&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Have you built something similar?&lt;br&gt;&lt;br&gt;
Ever fought against the chaos of missing specs?&lt;br&gt;&lt;br&gt;
I'd love to hear your thoughts — drop a comment!&lt;/p&gt;

</description>
      <category>testing</category>
      <category>frontend</category>
      <category>ux</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
