<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Vadym Koshtovnyi&apos;s blog</title>
    <link>https://vkoshtovnyi.com/en/blog/</link>
    <description>Articles by Vadym Koshtovnyi on how he builds software and how he uses AI to program.</description>
    <language>en</language>
    <atom:link href="https://vkoshtovnyi.com/en/blog/rss.xml" rel="self" type="application/rss+xml"/>
    <lastBuildDate>Fri, 06 Nov 2026 12:00:00 GMT</lastBuildDate>
    <item>
      <title>How this site is built</title>
      <link>https://vkoshtovnyi.com/en/blog/how-this-site-is-built/</link>
      <guid isPermaLink="true">https://vkoshtovnyi.com/en/blog/how-this-site-is-built/</guid>
      <pubDate>Fri, 06 Nov 2026 12:00:00 GMT</pubDate>
      <dc:creator>Vadym Koshtovnyi</dc:creator>
      <category>Web development</category>
      <category>Design</category>
      <category>AI</category>
      <description>Static Astro, no CMS, no animation libraries and no cookies, built with AI. The decisions behind this site and how I made them.</description>
      <content:encoded><![CDATA[<p>I built this site from scratch. Before writing a single line of code, I specified the whole thing with the help of AI: pages, content, look, motion, SEO, privacy and how it gets published. Then an agent built it, ticket by ticket, and I reviewed every step. Here’s what came out of those decisions, why, and how I worked with AI along the way.</p>
<div class="aviso aviso--nota" role="note"><p class="aviso__k">Note</p><p>This is a living Article: I rewrite it whenever something it describes changes. The figures carry the date I measured them.</p></div>
<h2 id="desde-cero" class="prosa__h2 d"><span data-barrido=""><span>Why from scratch</span></span></h2>
<p>The previous site was a single-page React app. It looked fine, but it had basic flaws: if you reloaded any page other than the home page, you got a 404. It had no <code>sitemap.xml</code> or <code>robots.txt</code>, and the blog had eight posts I never got around to writing.</p>
<p>I wanted the opposite: real HTML at every address, fast on an ordinary phone, in Spanish and English, and nothing that breaks on reload. With a high bar for design. I wrote it down like this:</p>
<blockquote>
<p>I want people to go “wooow”. But clean, bug-free, and with nothing that compromises performance or security.</p>
</blockquote>
<p>From the earlier versions I only reused content: the Spanish and English copy from the third one and the screenshots of client websites, taken from my originals. No code at all. I didn’t throw away the flashier versions, though: three of them are now <a href="https://vkoshtovnyi.com/en/experiments/">Experiments</a>, each with its Demo.</p>
<h2 id="direccion" class="prosa__h2 d"><span data-barrido=""><span>The direction: six Homes, one chosen</span></span></h2>
<p>I didn’t pick the look in the abstract. I built six complete Home pages, each with its own idea, and compared them in the browser, switching from one to the next with a bar: A “Monumental”, B “Cinematic”, C “Technical plan”, D “Signal”, E “Folio” and F “Exhibition”.</p>
<figure class="figura ancho" data-r=""><div class="figura__celda isla-oscura"><picture style="--dominante: rgb(8 8 8)"><source type="image/avif" srcset="https://vkoshtovnyi.com/_astro/direccion-d.DJ-bN7Aj_Z2cj3wU.avif 480w, https://vkoshtovnyi.com/_astro/direccion-d.DJ-bN7Aj_Z249koT.avif 800w, https://vkoshtovnyi.com/_astro/direccion-d.DJ-bN7Aj_Zh0gbK.avif 1200w, https://vkoshtovnyi.com/_astro/direccion-d.DJ-bN7Aj_Z1zdjSv.avif 1600w" sizes="(min-width: 1000px) 58rem, 100vw"><source type="image/webp" srcset="https://vkoshtovnyi.com/_astro/direccion-d.DJ-bN7Aj_24zVN3.webp 480w, https://vkoshtovnyi.com/_astro/direccion-d.DJ-bN7Aj_2cJEV4.webp 800w, https://vkoshtovnyi.com/_astro/direccion-d.DJ-bN7Aj_5L9aV.webp 1200w, https://vkoshtovnyi.com/_astro/direccion-d.DJ-bN7Aj_ZavI02.webp 1600w" sizes="(min-width: 1000px) 58rem, 100vw"><img src="https://vkoshtovnyi.com/_astro/direccion-d.DJ-bN7Aj_Z2ifzps.jpg" alt="The Home of direction D “Signal” in the prototype: the profile card with the photo on the left, the giant name in lime and white, the dotted portrait on the right and the prototype bar at the bottom" width="1200" height="750" loading="lazy" decoding="async"></picture></div><figcaption class="figura__pie"><span>Direction D in its prototype, with the bar to switch to the other five.</span><span class="mono">Fig. 01</span></figcaption></figure>
<p>D, “Signal”, won: a graphite background, a single accent color, lime, and a visible grid of cells. At the top, a HUD with live readouts, like an instrument. On the left, a fixed profile card with my photo. And as its signature piece, my portrait turned into a cloud of dots.</p>
<p>All six are still up in the Experiment <a href="https://vkoshtovnyi.com/en/experiments/six-directions/">Six directions for this site</a>, in case you want to see what I turned down. Light Mode came later, and you choose it with the ◐ next to “ES / EN”: grey paper and, in the large type, lime used like a highlighter.</p>
<h2 id="retrato" class="prosa__h2 d"><span data-barrido=""><span>The dotted portrait</span></span></h2>
<p>The portrait on the Home page is a 2D <code>&lt;canvas&gt;</code>, with no WebGL and no libraries. It doesn’t download anything new: it samples the halftone photo that’s already on the page and turns it into 7,647 dots on desktop and 4,838 on mobile.</p>
<p>As you scroll, it changes shape five times: the face over the name, the frame in “About”, a sphere that turns with “What I build”, a dust with a wave behind the AI Vision and, at the end, the face again in the footer. If nothing changes, it doesn’t repaint, and it stops when the tab is hidden.</p>
<p>It has a budget and a safety valve. Measured on November 6, 2026, it spends 0.7 ms of JavaScript per frame on desktop and 2.5 ms on a simulated phone with a CPU six times slower. If a device can’t keep up (more than one frame in twenty above 25 ms for two seconds), it draws half the dots; and if it still can’t, it falls back to the halftone photo, standing still. With reduced motion it doesn’t even start: you see the halftone photo from the beginning.</p>
<h2 id="movimiento" class="prosa__h2 d"><span data-barrido=""><span>Motion without libraries</span></span></h2>
<p>Between pages, the site cross-fades. The HUD, the profile card and the ruler on the right don’t move, and the title you click flies into place on the new page. Try it with “Next article”, at the end of this one.</p>
<p>All of that is the browser’s native cross-document View Transitions, a bit of CSS and a tiny script in the <code>&lt;head&gt;</code> that decides which title flies. No GSAP, no Lenis and no client-side router: every page is a standalone HTML document and scrolling is the browser’s own.</p>
<div class="codigo ancho" data-r=""><div class="codigo__barra mono"><span class="codigo__lenguaje">css</span></div><pre class="codigo__pre" tabindex="0" role="region" aria-label="css" data-verificar-desborda=""><code><span class="t-c">/* let the browser animate the move from one page to another */</span>
@<span class="t-k">view-transition</span> {
  <span class="t-k">navigation</span>: auto;
}

<span class="t-c">/* anything with its own name carries over between pages without moving */</span>
.<span class="t-k">hud</span> {
  <span class="t-k">view-transition-name</span>: hud;
}</code></pre></div>
<p>The rules are few and strict: only transforms, opacity, clipping, filters and colors are animated, and nothing you trigger with the mouse or keyboard takes longer than 900 ms.</p>
<div class="aviso aviso--consejo" role="note"><p class="aviso__k">Tip</p><p>Turn on “Reduce motion” in your system settings and reload. The site navigates without animation, and everything is visible and still from the start.</p></div>
<h2 id="stack" class="prosa__h2 d"><span data-barrido=""><span>Stack and content</span></span></h2>
<p>The site is <a href="https://astro.build">Astro</a> in static mode, with strict TypeScript. Every page is generated at publish time and the hosting only serves files: there’s no Node server or database behind the pages.</p>
<p>On reading pages like this one, there’s little JavaScript and it’s all mine. Measured on November 6, 2026, this Article loads 6.5 kB of compressed JavaScript: the <code>&lt;head&gt;</code> script, which sets the Mode and decides the transitions (0.8 kB); the HUD with its readouts (2 kB); the index on the left and “Copy” (1.3 kB); the analytics (1.1 kB), and little else. The Palette, which opens with ⌘K, is only downloaded when you open it. No libraries. The limit I set for any content page is 8 kB, and 25 for the Home page, with the portrait.</p>
<p>There’s no CMS. Every piece is a folder with its Spanish Version, its English Version and its images, in Markdown and YAML. Whatever isn’t translated (dates, status, relations) lives only in the Spanish file. Special blocks, like notes or videos, are Markdown directives. Without a CMS, publishing a text is a commit, and that’s plenty for me. One will come back, but it’ll be my own.</p>
<p>What there is, is a lot of checking. The build stops if a piece is missing its translation, if an internal link is broken, if a summary isn’t the right length or if a Tag isn’t on its list. That’s thirteen validations in the build and six more at publish time.</p>
<h2 id="sin-cookies" class="prosa__h2 d"><span data-barrido=""><span>No cookies, no banner</span></span></h2>
<p>I wanted to know what gets read, but without a cookie banner: a clean first impression matters more than the data. So there’s no Google Analytics. The analytics are my own: a small script and a small PHP API on the same hosting, with the data in its database.</p>
<p>It uses no cookies, stores nothing in your browser to measure you and sends nothing to third parties. It counts Visits, not people: I don’t know who you are and I won’t recognize you if you come back another day. The contact form goes through the same API and reaches me by email. Everything that’s stored, and for how long, is explained in <a href="https://vkoshtovnyi.com/en/legal/privacy/#analitica">Privacy</a>.</p>
<p>The same goes for embedded videos and examples: nothing from YouTube or anywhere else loads until you click. An automatic check opens every page and fails if anything requests a file from another domain without you asking for it.</p>
<p>I’m deliberately not describing the security in detail. I’ll just say that the server’s headers are checked automatically after every publish, like everything else.</p>
<h2 id="rendimiento" class="prosa__h2 d"><span data-barrido=""><span>Measured performance</span></span></h2>
<p>Before anything is uploaded, every page has to fit its weight budget, and mobile Lighthouse has to score 100 in Accessibility, Best Practices and SEO, in both languages and both Modes. If something doesn’t fit, it doesn’t ship.</p>
<p>Measured on November 6, 2026 with <code>pnpm publicar</code> on my Mac, Lighthouse 13 on a simulated phone:</p>
<div class="tabla" role="region" tabindex="0" aria-label="Table: Page, Performance, Largest element (LCP), Initial download" data-verificar-desborda=""><table>
<thead>
<tr>
<th>Page</th>
<th>Performance</th>
<th>Largest element (LCP)</th>
<th>Initial download</th>
</tr>
</thead>
<tbody>
<tr>
<td>Home</td>
<td>97</td>
<td>2.4 s</td>
<td>207 kB</td>
</tr>
<tr>
<td>This Article</td>
<td>99</td>
<td>2.0 s</td>
<td>131 kB</td>
</tr>
<tr>
<td>Case study (YumeDB)</td>
<td>98</td>
<td>2.1–2.3 s</td>
<td>296 kB</td>
</tr>
<tr>
<td>Project summary</td>
<td>98–99</td>
<td>2.0–2.2 s</td>
<td>170 kB</td>
</tr>
<tr>
<td>Projects listing</td>
<td>99</td>
<td>2.0–2.1 s</td>
<td>181 kB</td>
</tr>
<tr>
<td>Experiment (without its Clip)</td>
<td>99</td>
<td>2.0 s</td>
<td>155 kB</td>
</tr>
<tr>
<td>Blog</td>
<td>97–99</td>
<td>1.8 s</td>
<td>125 kB</td>
</tr>
</tbody>
</table></div>
<p>On every page, Accessibility, Best Practices and SEO score 100, layout shift while loading (CLS) is 0 and blocking time is 0 ms. Each figure is the median of three runs, in Spanish and English and in both Modes.</p>
<p>And the gzipped weight of the heaviest page of each kind:</p>
<div class="tabla" role="region" tabindex="0" aria-label="Table: Home, Heaviest content page" data-verificar-desborda=""><table>
<thead>
<tr>
<th></th>
<th>Home</th>
<th>Heaviest content page</th>
</tr>
</thead>
<tbody>
<tr>
<td>HTML</td>
<td>31.0 kB of 60</td>
<td>17.9 kB of 30 (this Article)</td>
</tr>
<tr>
<td>CSS</td>
<td>20.2 kB of 30</td>
<td>14.3 kB of 20 (AI Classifier)</td>
</tr>
<tr>
<td>Own JavaScript</td>
<td>16.2 kB of 25</td>
<td>7.6 kB of 8 (Videowall)</td>
</tr>
<tr>
<td>Fonts</td>
<td>90.9 kB in 3 files, of 120</td>
<td>90.9 kB in 3 files, of 120</td>
</tr>
</tbody>
</table></div>
<p>Performance doesn’t reach 100. Lighthouse simulates a slow phone on a slow 4G network, and there the largest element takes between 1.8 and 2.4 s to paint. That’s within what counts as good (2.5 s), but it isn’t the 100 I asked for at the start, and I’m not hiding it. What always comes out at zero is layout shift while loading (CLS). Real-visit figures are measured by the analytics; I’ll add them here once there’s data.</p>
<h2 id="publicar" class="prosa__h2 d"><span data-barrido=""><span>Publishing</span></span></h2>
<p>Every time something lands on the main branch, GitHub Actions publishes the site with the same command I can run from my Mac, <code>pnpm publicar</code>:</p>
<ol>
<li>It builds the site and runs the build validations.</li>
<li>It prints both PDF CVs from the same data as the Home page and checks that they fit on two pages.</li>
<li>It measures the weight of every page and runs Lighthouse on one page of each kind.</li>
<li>It warns if a translation has fallen behind the Spanish.</li>
<li>It refuses to publish if an address that was already live disappears without a redirect.</li>
<li>It uploads the files to the hosting and clears the cache.</li>
<li>It checks that the site responds as it should and leaves a git tag with what was published.</li>
</ol>
<p>Every proposed change goes through a dry run first, which is the same thing without uploading anything.</p>
<h2 id="como-use-la-ia" class="prosa__h2 d"><span data-barrido=""><span>How I used AI</span></span></h2>
<p>This is the part I care most about telling, because it says the most about how I work. The split was always the same: <strong>I decide and review; the agent researches, prototypes, codes, writes and translates.</strong> The agent was Claude Code.</p>
<h3 id="the-map-and-the-decisions">The map and the decisions</h3>
<p>I didn’t start with the design or the code. I started with a <strong>map</strong>: a document with the destination (a complete spec, ready to build), what I already knew and what I didn’t. What I didn’t know turned into 25 decision tickets: 14 of questions, 6 of prototypes, 3 of research and 2 of gathering data. Between September 30 and October 8, 2026, all of them were closed.</p>
<p>Each question ticket works in <strong>rounds</strong>. The agent first looks up whatever it can check on its own (the repositories, the old site, the Wayback Machine) and asks me the rest, with lettered options and one recommended. I answer briefly. A real question, condensed, from the first round about this Article: what else to add besides it.</p>
<blockquote>
<p>A, nothing else: “Built from scratch” in the footer links to the Article (recommended). B, also a panel from the HUD. C, also a block in the footer. D, just the Article.</p>
</blockquote>
<p>I answered “A”. That’s why, if you scroll down to the footer, “Built from scratch” brings you here.</p>
<p>I didn’t always go with the recommendation. For an empty Blog, the agent recommended hiding it until the first Article was out; I preferred to show it with a test card, like a channel with no signal. And for a Blog with one or two Articles, none of its three options convinced me. I wrote back: “I’d put boxes that say coming soon or something like that”. By the next round that idea was already variant D of the prototype, and it’s what you see in the Blog today.</p>
<figure class="figura ancho" data-r=""><div class="figura__celda isla-oscura"><picture style="--dominante: rgb(8 8 8)"><source type="image/avif" srcset="https://vkoshtovnyi.com/_astro/dia-1.B1MMYROO_Zrwx6k.avif 480w, https://vkoshtovnyi.com/_astro/dia-1.B1MMYROO_Zc9aGn.avif 800w, https://vkoshtovnyi.com/_astro/dia-1.B1MMYROO_Z1VpyuR.avif 1200w, https://vkoshtovnyi.com/_astro/dia-1.B1MMYROO_Z15LdHa.avif 1600w" sizes="(min-width: 1000px) 58rem, 100vw"><source type="image/webp" srcset="https://vkoshtovnyi.com/_astro/dia-1.B1MMYROO_L07hR.webp 480w, https://vkoshtovnyi.com/_astro/dia-1.B1MMYROO_11ntGO.webp 800w, https://vkoshtovnyi.com/_astro/dia-1.B1MMYROO_kLW3G.webp 1200w, https://vkoshtovnyi.com/_astro/dia-1.B1MMYROO_Z1xccAX.webp 1600w" sizes="(min-width: 1000px) 58rem, 100vw"><img src="https://vkoshtovnyi.com/_astro/dia-1.B1MMYROO_Z1Hj4YK.jpg" alt="The Blog in prototype 20 with one Article and two “Coming soon” boxes, with the “Day 1” bar of switches at the bottom" width="1200" height="750" loading="lazy" decoding="async"></picture></div><figcaption class="figura__pie"><span>The launch-day prototype, with variant D, “Coming soon”, which came from my answer.</span><span class="mono">Fig. 02</span></figcaption></figure>
<p>The same with the copy. For the hero line I gave my rough idea: “Now I analyze the business and build complete platforms of every kind with AI, without lowering the quality”. The agent polished it and I confirmed it in the next round: “I analyze the business and build complete platforms with AI, without lowering the bar”.</p>
<h3 id="prototypes-you-can-switch">Prototypes you can switch</h3>
<p>I decide much better by seeing than by reading. So design questions weren’t answered with a description, but with a <strong>prototype</strong>: a disposable copy of the site with a bar at the bottom to switch variants on the spot, also through a parameter in the address. There were nine prototypes, from the six Homes to the Project page, the Courses, the PDF CV and Light Mode.</p>
<figure class="figura ancho" data-r=""><div class="figura__celda isla-oscura"><picture style="--dominante: rgb(248 248 232)"><source type="image/avif" srcset="https://vkoshtovnyi.com/_astro/modo-claro.BhRjPztp_11cyk9.avif 480w, https://vkoshtovnyi.com/_astro/modo-claro.BhRjPztp_Z1IEUlv.avif 800w, https://vkoshtovnyi.com/_astro/modo-claro.BhRjPztp_Z5S6OG.avif 1200w, https://vkoshtovnyi.com/_astro/modo-claro.BhRjPztp_Z1Xxsza.avif 1600w" sizes="(min-width: 1000px) 58rem, 100vw"><source type="image/webp" srcset="https://vkoshtovnyi.com/_astro/modo-claro.BhRjPztp_1jCkPW.webp 480w, https://vkoshtovnyi.com/_astro/modo-claro.BhRjPztp_Z1qf8OH.webp 800w, https://vkoshtovnyi.com/_astro/modo-claro.BhRjPztp_ZTbfiE.webp 1200w, https://vkoshtovnyi.com/_astro/modo-claro.BhRjPztp_Z1AL3ct.webp 1600w" sizes="(min-width: 1000px) 58rem, 100vw"><img src="https://vkoshtovnyi.com/_astro/modo-claro.BhRjPztp_2seCpN.jpg" alt="The Home of prototype 24 in Light Mode, with the grey paper and the name highlighted in lime, and three bars of switches at the bottom" width="1200" height="750" loading="lazy" decoding="async"></picture></div><figcaption class="figura__pie"><span>The Light Mode prototype: palette, accent, switch and transition, each with its variants.</span><span class="mono">Fig. 03</span></figcaption></figure>
<p>No variant gets deleted. The ones I turned down stay in their prototype, in case I want to look at them again one day.</p>
<h3 id="research-before-deciding">Research before deciding</h3>
<p>The technical questions I wasn’t sure about (which stack for a static site with good SEO, which CMS, how to publish to my hosting, how to measure without cookies and what the law says) were researched by the agent from primary sources: official documentation, specifications and the Spanish data protection agency’s guides. Each piece of research is a note with its sources cited, and it ended in a recommendation that I accepted or not.</p>
<h3 id="the-spec-the-glossary-and-the-decisions">The spec, the glossary and the decisions</h3>
<p>Everything decided ended up in a <strong>spec</strong> of about 2,000 lines, which is the reference for building. Next to it, a glossary with the site’s vocabulary (what a Project, an Experiment, a Section or a Mode is) and five records of decisions that are hard to undo, with the options that were ruled out. It’s the context an agent needs so it doesn’t have to guess.</p>
<h3 id="building-ticket-by-ticket">Building ticket by ticket</h3>
<p>Then came the build, also in tickets. Each one gets its own branch and pull request: the agent builds it, passes every check, reviews its own change, merges it and writes down what it did, what it decided and what’s left for me. I review it and fix whatever I don’t like.</p>
<p>The tool that has done the most for quality is <code>pnpm verificar</code>, a check that opens every page in Spanish and English, in both Modes, at 390, 1024 and 1440 px wide and with reduced motion. On each one it looks for console errors, AA contrast, keyboard focus, whether what happens with the mouse also happens with the keyboard, layout shifts, overflow and content that never becomes visible. Measured on November 6, 2026, that’s 580 combinations per run.</p>
<p>It found things I wouldn’t have seen. One: the Markdown processor read “10:30” as a directive called <code>:30</code> and swallowed the time from the text. It was fixed before a single Article was published.</p>
<h3 id="this-article">This Article</h3>
<p>Even this text has a history. The first draft came out in the prototype for the inner pages, before it was clear what it would cover.</p>
<figure class="figura ancho" data-r=""><div class="figura__celda isla-oscura"><picture style="--dominante: rgb(24 24 24)"><source type="image/avif" srcset="https://vkoshtovnyi.com/_astro/borrador-23.C_ktI0P-_Z1dUfk3.avif 480w, https://vkoshtovnyi.com/_astro/borrador-23.C_ktI0P-_Z15Kwc2.avif 800w, https://vkoshtovnyi.com/_astro/borrador-23.C_ktI0P-_ZB67yq.avif 1200w, https://vkoshtovnyi.com/_astro/borrador-23.C_ktI0P-_Z1Tjbgb.avif 1600w" sizes="(min-width: 1000px) 58rem, 100vw"><source type="image/webp" srcset="https://vkoshtovnyi.com/_astro/borrador-23.C_ktI0P-_Z22dnN1.webp 480w, https://vkoshtovnyi.com/_astro/borrador-23.C_ktI0P-_Z1T3EF0.webp 800w, https://vkoshtovnyi.com/_astro/borrador-23.C_ktI0P-_ZejHbJ.webp 1200w, https://vkoshtovnyi.com/_astro/borrador-23.C_ktI0P-_ZuBzmH.webp 1600w" sizes="(min-width: 1000px) 58rem, 100vw"><img src="https://vkoshtovnyi.com/_astro/borrador-23.C_ktI0P-_2rPH1N.jpg" alt="The first draft of this Article in prototype 23, with its seven-section index on the left and the “Draft” stamp" width="1200" height="750" loading="lazy" decoding="async"></picture></div><figcaption class="figura__pie"><span>The draft in prototype 23, older than the index it has now.</span><span class="mono">Fig. 04</span></figcaption></figure>
<p>Later I settled, in another round, on the ten-section index you’re reading, and the agent wrote it again, in Spanish, in the first person and in my voice. It translated it into English and I corrected it. It doesn’t carry any “written with AI” stamp, like the rest of the site: I explain it here and in the Legal notice, and I stand behind every word.</p>
<h2 id="creditos" class="prosa__h2 d"><span data-barrido=""><span>Credits</span></span></h2>
<ul>
<li><strong>Fonts:</strong> <a href="https://github.com/lettersoup/Sofia-Sans">Sofia Sans Extra Condensed</a>, by Lettersoup, for the large type, and <a href="https://github.com/vercel/geist-font">Geist and Geist Mono</a>, by Vercel, for text and readouts. All three under the SIL Open Font License and served from this domain.</li>
<li><strong>Tools:</strong> <a href="https://astro.build">Astro</a>, TypeScript, Shiki for code, sharp for images, Satori for social images, Playwright and Lighthouse for the checks, and pdf.js to read the CVs. The agent: Claude Code.</li>
<li><strong>Data:</strong> the country in the analytics comes from <a href="https://db-ip.com">IP Geolocation by DB-IP</a>, under a CC BY 4.0 license.</li>
<li><strong>Photo:</strong> it’s mine.</li>
<li><strong>AI:</strong> I designed and wrote this site myself with the help of AI: I decide, review and take responsibility for everything that’s published. The covers of Articles and Courses are generated with AI. I also explain it in the <a href="https://vkoshtovnyi.com/en/legal/legal-notice/#autoria">Legal notice</a>.</li>
</ul>
]]></content:encoded>
    </item>
    <item>
      <title>How I code with AI</title>
      <link>https://vkoshtovnyi.com/en/blog/how-i-code-with-ai/</link>
      <guid isPermaLink="true">https://vkoshtovnyi.com/en/blog/how-i-code-with-ai/</guid>
      <pubDate>Thu, 05 Nov 2026 12:00:00 GMT</pubDate>
      <dc:creator>Vadym Koshtovnyi</dc:creator>
      <category>AI</category>
      <category>How I work</category>
      <description>I&apos;ve coded with AI every day since 2024. How I work: business first, then context, and nothing ships unreviewed.</description>
      <content:encoded><![CDATA[<p>I’ve coded with AI every day since 2024. I don’t use it to write less — I use it to think more.</p>
<p>On the Home page I sum it up in five principles and a one-line workflow. Here is the full version: what I do, what the AI does, where the line sits and why I draw it there. It isn’t a guide or a recipe. It’s how I work today, with what has worked for me and what hasn’t.</p>
<h2 id="negocio" class="prosa__h2 d"><span data-barrido=""><span>I understand the business first</span></span></h2>
<p>Before a single line of code, I analyze the problem, the processes, and which features really matter. The AI doesn’t do this for me, and not because I distrust it: the AI simply wasn’t in the meeting.</p>
<p>An ERP doesn’t start in the database. It starts with how an order comes in, who approves it, what happens when stock runs out and which report management wants at the end of the month. If that isn’t clear, the AI will very quickly write something that doesn’t work. And it will write it well, looking good, which is worse.</p>
<p>That’s why the first phase of any project is mine, and it’s slow: asking questions, drawing the process and writing down the business vocabulary. What an “order” is, what a “work order” is, when one becomes the other. That glossary ends up as a file in the project, read by people and agents alike.</p>
<h2 id="criterio" class="prosa__h2 d"><span data-barrido=""><span>I decide, AI writes</span></span></h2>
<p>I delegate the writing, not the judgment: the architecture, the data model, and the boundaries are mine.</p>
<p>In practice, the AI lays out options and I choose. I ask it to research two or three paths, with their benefits and what they cost, and to tell me which one it recommends and why. Often I go with its recommendation. Sometimes I don’t, because I know something about the business or the client that it doesn’t. What matters is that the decision is written down, with its reasons, and that I’m the one who makes it.</p>
<p>Decisions that are expensive to undo go into a separate record, along with the options that were ruled out. That way, six months from now, neither I nor an agent ends up arguing the same thing again from scratch.</p>
<h2 id="contexto" class="prosa__h2 d"><span data-barrido=""><span>Context is everything</span></span></h2>
<p>AI is only as good as its context: specs, the business vocabulary, and decisions in writing.</p>
<p>This is the principle that has changed the way I work the most. Documentation used to be the thing you wrote at the end, if there was time left. Now it comes first, because it’s what makes an agent work well. An agent without context guesses. With a spec, a glossary and the decisions already made, it executes.</p>
<p>AXEO, the ERP of the company I work for, takes this to the extreme: spec-driven development (SDD), tests before code (TDD), guardrails and documented processes. YumeDB works the same way: the repository has its glossary, its architecture decisions and a folder of features described before they’re built.</p>
<p>The stack matters too. Today I work with TypeScript, Next.js and PostgreSQL, and that’s no accident: it’s the stack AI works best with. Strict types, a huge ecosystem and plenty of public documentation. I come from PHP, Progress OpenEdge, .NET with Angular and .NET with React. I liked them, and .NET with React felt like home. I switched because, with AI, the stack is no longer just my preference: it’s also the agent’s context.</p>
<h2 id="revision" class="prosa__h2 d"><span data-barrido=""><span>Nothing ships unreviewed</span></span></h2>
<p>Everything goes through tests and through my own eyes. Responsibility isn’t delegated.</p>
<p>The AI writing the code doesn’t change whose code it is. If something breaks in production, it’s my problem, not the model’s. So nothing reaches production without passing two filters.</p>
<p>The first one is automatic. Tests, strict types and checks that stop the work when something doesn’t add up. The more the AI writes, the more this filter matters, because it’s the one that never gets tired.</p>
<p>The second one is me. I read the changes, try them and ask about whatever I don’t understand. If I don’t understand a part of the code, it doesn’t go in until I do. It isn’t distrust: tomorrow I’ll be the one maintaining it.</p>
<p>Reviewing also means looking for what isn’t there. An agent does what you ask, and sometimes only that: the edge case, the error message or the page in the other language get left out if nobody mentioned them. That’s what a complete spec is for, and that’s what looking carefully is for.</p>
<h2 id="alcance" class="prosa__h2 d"><span data-barrido=""><span>More reach, same quality</span></span></h2>
<p>AI lets me cover the whole platform, from the data to the interface, with the same bar.</p>
<p>A complete project for a single person used to come at a price: either it took a long time, or something got cut. Usually what got cut was what nobody sees: tests, accessibility, performance, the second language. Today I can ask for all of that and review it, instead of leaving it for later.</p>
<p>That doesn’t mean the AI gets everything right the first time. It means the cost of doing things properly has dropped so much that I no longer have an excuse not to.</p>
<h2 id="flujo" class="prosa__h2 d"><span data-barrido=""><span>My workflow, step by step</span></span></h2>
<p>On the Home page I put it in one line: analysis → specs → tickets → decisions → agents → tests → review → production. Step by step:</p>
<ol>
<li><strong>Analysis.</strong> I understand the business, the processes and what’s really needed. That part is mine.</li>
<li><strong>Specs.</strong> I write down what the system has to do, in the business vocabulary. The AI helps me organize it and find the gaps.</li>
<li><strong>Tickets.</strong> I split the work into pieces that can be built and reviewed on their own, each with its acceptance criteria.</li>
<li><strong>Decisions.</strong> Whatever isn’t clear gets asked and decided before building: with options, a recommendation and my answer in writing.</li>
<li><strong>Agents.</strong> Agents build ticket by ticket, each on its own branch, with the context from the previous steps.</li>
<li><strong>Tests.</strong> Automatic checks first: if something fails, it goes no further.</li>
<li><strong>Review.</strong> I read and try every change before accepting it.</li>
<li><strong>Production.</strong> It ships with one command, or on its own when merged, and then it’s checked that the site responds.</li>
</ol>
<p>This site was built exactly like that, and I go through it in detail in <a href="https://vkoshtovnyi.com/en/blog/how-this-site-is-built/#como-use-la-ia">How this site is built</a>.</p>
<h2 id="herramientas" class="prosa__h2 d"><span data-barrido=""><span>What I work with</span></span></h2>
<p>Claude Code, VS Code with extensions, OpenCode, Codex, Vercel and AI Studio, among others. Tools change every few months and I don’t marry any of them. What doesn’t change is the way I work: if a better one shows up tomorrow, the context I’ve written works for it just the same.</p>
<h2 id="lo-siguiente" class="prosa__h2 d"><span data-barrido=""><span>What’s next</span></span></h2>
<p>Agents that work on their own within the limits I set.</p>
<p>Parts of my work already run that way: an agent picks up a ticket, builds it, passes the checks, reviews its own change and leaves it ready for me to look at. The next step is for that to be the norm rather than the exception, with clear limits: what it can touch, what it can’t, and when it has to stop and ask me.</p>
<p>The hard part isn’t the model. It’s having the business understood, the context written down and the checks in place. In other words, the first four principles.</p>
<p>If you also code with AI and do it differently, I’d like to hear about it. Write to me.</p>
]]></content:encoded>
    </item>
  </channel>
</rss>
