<?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: Duan Rafael Ribeiro</title>
    <description>The latest articles on DEV Community by Duan Rafael Ribeiro (@duan_rafaelribeiro_8ced5).</description>
    <link>https://dev.to/duan_rafaelribeiro_8ced5</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F2480864%2F977ea37d-0174-41a2-bfeb-657f16f4506a.jpg</url>
      <title>DEV Community: Duan Rafael Ribeiro</title>
      <link>https://dev.to/duan_rafaelribeiro_8ced5</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/duan_rafaelribeiro_8ced5"/>
    <language>en</language>
    <item>
      <title>Open Quality: a vendor-neutral spec for "Quality as Code"</title>
      <dc:creator>Duan Rafael Ribeiro</dc:creator>
      <pubDate>Wed, 25 Nov 2026 17:31:54 +0000</pubDate>
      <link>https://dev.to/duan_rafaelribeiro_8ced5/open-quality-a-vendor-neutral-spec-for-quality-as-code-4o2n</link>
      <guid>https://dev.to/duan_rafaelribeiro_8ced5/open-quality-a-vendor-neutral-spec-for-quality-as-code-4o2n</guid>
      <description>&lt;p&gt;Hi everyone,&lt;/p&gt;

&lt;p&gt;I've been working on Open Quality, an open source specification and CLI for describing software quality as code.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why I built it&lt;/strong&gt;&lt;br&gt;
Infrastructure used to be configured by hand and documented in wikis, until tools like Terraform made it a versioned file that the whole team could review, diff and reproduce. Software quality is still where infrastructure was back then: the rules live in scattered docs, spreadsheets and people's heads.&lt;/p&gt;

&lt;p&gt;Open Quality applies the same idea to quality. The goal is a single, centralized, versioned file that describes how quality is controlled in a project: its requirements, measures, stages, roles and approvals. The model is based on ISO/IEC 25010 for quality characteristics, so teams get a common vocabulary instead of reinventing their own process every time.&lt;/p&gt;

&lt;p&gt;Because it's declarative and vendor-neutral, the contract stays the same whichever tools you use underneath, and changes to your quality process go through pull requests like any other change.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How it works&lt;/strong&gt;&lt;br&gt;
A quality contract is a set of YAML resources. A QualityContract is the entry point, and it references everything else: quality requirements, the measures they are checked against, workflow stages, documentation, roles and approval policies.&lt;/p&gt;

&lt;p&gt;Here's an excerpt from the minimal example, a payment API:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;kind&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;QualityContract&lt;/span&gt;
&lt;span class="na"&gt;metadata&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;id&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;payment-api&lt;/span&gt;
  &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Payment API&lt;/span&gt;

&lt;span class="c1"&gt;# Documentation resources to this project
&lt;/span&gt;&lt;span class="na"&gt;docs&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="s"&gt;technical-design&lt;/span&gt;

&lt;span class="c1"&gt;# Team members and their assigned roles
&lt;/span&gt;&lt;span class="na"&gt;team&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;email&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;engineer@example.com&lt;/span&gt;
    &lt;span class="na"&gt;roles&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="s"&gt;software-engineer&lt;/span&gt;
  &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;email&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;lead@example.com&lt;/span&gt;
    &lt;span class="na"&gt;roles&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="s"&gt;quality-lead&lt;/span&gt;
      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="s"&gt;engineering-manager&lt;/span&gt;

&lt;span class="c1"&gt;# Predefined quality characteristics, based on ISO models
&lt;/span&gt;&lt;span class="na"&gt;quality&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;characteristics&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;characteristic&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;reliability&lt;/span&gt;
      &lt;span class="na"&gt;subcharacteristics&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;subcharacteristic&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;availability&lt;/span&gt;
          &lt;span class="na"&gt;requirements&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s"&gt;api-availability-greater-than-99%&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
    &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;characteristic&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;maintainability&lt;/span&gt;
      &lt;span class="na"&gt;subcharacteristics&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;subcharacteristic&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;testability&lt;/span&gt;
          &lt;span class="na"&gt;requirements&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s"&gt;unit-test-coverage-greater-than-90%&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The CLI works on that contract:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;oq measure&lt;/strong&gt; records values for the measure inputs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;oq check&lt;/strong&gt; computes each measure and prints PASS or FAIL per requirement.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;oq plan&lt;/strong&gt; and &lt;strong&gt;oq apply&lt;/strong&gt; sync the contract with providers: GitLab, GitHub, Jira Cloud and OpenProject.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;What I'm looking for&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;User feedback on the idea and the spec, including what you'd need before trying it on a real project.&lt;/p&gt;

&lt;p&gt;Real-world use cases: if you're willing to model one real service's quality contract, I'd like to hear where the format breaks.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Links&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Docs: &lt;a href="https://open-quality.com" rel="noopener noreferrer"&gt;https://open-quality.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;GitHub: &lt;a href="https://github.com/duanribeiro/open-quality" rel="noopener noreferrer"&gt;https://github.com/duanribeiro/open-quality&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I'll be around to answer questions and take criticism. Thanks for reading!&lt;/p&gt;

</description>
      <category>cli</category>
      <category>devops</category>
      <category>opensource</category>
      <category>testing</category>
    </item>
  </channel>
</rss>
