<?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: Roman Krivtsov</title>
    <description>The latest articles on DEV Community by Roman Krivtsov (@yarax).</description>
    <link>https://dev.to/yarax</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%2F138430%2Fe9d32487-b60c-454e-97c1-ead733dc4000.png</url>
      <title>DEV Community: Roman Krivtsov</title>
      <link>https://dev.to/yarax</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/yarax"/>
    <language>en</language>
    <item>
      <title>Your static documentation checker</title>
      <dc:creator>Roman Krivtsov</dc:creator>
      <pubDate>Mon, 10 Nov 2025 08:55:44 +0000</pubDate>
      <link>https://dev.to/yarax/your-static-documentation-checker-3dio</link>
      <guid>https://dev.to/yarax/your-static-documentation-checker-3dio</guid>
      <description>&lt;h1&gt;
  
  
  Your static documentation checker
&lt;/h1&gt;

&lt;h2&gt;
  
  
  Ducku
&lt;/h2&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%2Ft59hqpm9j68th8xadsqe.png" 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%2Ft59hqpm9j68th8xadsqe.png" alt=" " width="304" height="313"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/duckuio/ducku_cli" rel="noopener noreferrer"&gt;Ducku&lt;/a&gt; addresses this problem by treating documentation as something that must be monitored continuously, just like code quality or infrastructure drift. It is not a generator or a rewriting tool. It is a static documentation checker that verifies consistency between documentation and the actual system state.&lt;/p&gt;

&lt;p&gt;Ducku works by extracting structural signals from your repository — environment variables, API routes, service entry points, module imports, directory structure, configuration keys — and comparing them with what is referenced in your READMEs and wiki. When something diverges, it flags it.&lt;/p&gt;

&lt;p&gt;This reduces the cognitive load on developers:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;You no longer need to remember to “update docs later”&lt;/li&gt;
&lt;li&gt;Incomplete documentation no longer accumulates silently&lt;/li&gt;
&lt;li&gt;Outdated or misleading sections are detected early&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In other words, Ducku lowers the cost of correctness, not the cost of writing.&lt;/p&gt;

&lt;h3&gt;
  
  
  Current Capabilities
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Entity presence checking&lt;/strong&gt;: Detects when environment variables, config keys, ports, API routes, or script names appear in documentation but not in code (and the other way around).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Parallel entity coverage&lt;/strong&gt;: Identifies groups of similar items (services, ETL jobs, lambda handlers, CLI commands) and flags undocumented additions.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Dead module analysis&lt;/strong&gt;: Detects files that are not imported/used anywhere — either entry points that deserve explanation or obsolete artifacts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;URL integrity check&lt;/strong&gt;: Detects broken or outdated links to internal or external resources.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Spell and style consistency&lt;/strong&gt;: Basic hygiene that normally gets ignored.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This is already enough to reduce a large portion of silent documentation drift in real projects.&lt;/p&gt;

&lt;h3&gt;
  
  
  What Comes Next
&lt;/h3&gt;

&lt;p&gt;We still have many static check use cases in mind, and they will be also eventually implemented, but after that the next step is helping teams answer 2 questions:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Is the semantic meaning of things in docs is correct?&lt;/li&gt;
&lt;li&gt;What should be actually documented and what is better left implicit?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The goal is not to force verbose, redundant documentation. Quite the opposite: Ducku will learn patterns of &lt;em&gt;meaningful&lt;/em&gt; documentation — the parts where architecture, domain decisions, and operational contracts are encoded — and highlight areas where missing documentation is likely to lead to real onboarding or maintenance cost.&lt;/p&gt;

&lt;p&gt;We are starting small — but the direction is:&lt;br&gt;&lt;br&gt;
&lt;strong&gt;Documentation consistency as part of CI, not as an afterthought.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If your documentation is not checked, it &lt;em&gt;will&lt;/em&gt; rot.&lt;/p&gt;

&lt;p&gt;Ducku makes that rot visible.&lt;/p&gt;

</description>
      <category>tooling</category>
      <category>productivity</category>
      <category>writing</category>
      <category>automation</category>
    </item>
  </channel>
</rss>
