<?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>Forem: Alexander Adrian</title>
    <description>The latest articles on Forem by Alexander Adrian (@aleadr).</description>
    <link>https://forem.com/aleadr</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%2F3734440%2Fc6c9a65a-8d0a-4c39-b784-b1366752b4fa.jpg</url>
      <title>Forem: Alexander Adrian</title>
      <link>https://forem.com/aleadr</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/aleadr"/>
    <language>en</language>
    <item>
      <title>Beyond the Prompt: A Framework for AI-Driven Content Systems</title>
      <dc:creator>Alexander Adrian</dc:creator>
      <pubDate>Fri, 20 Feb 2026 08:52:48 +0000</pubDate>
      <link>https://forem.com/aleadr/beyond-the-prompt-a-framework-for-ai-driven-content-systems-28k</link>
      <guid>https://forem.com/aleadr/beyond-the-prompt-a-framework-for-ai-driven-content-systems-28k</guid>
      <description>&lt;p&gt;&lt;em&gt;My journey to automatically update a website from a Telegram chat.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;In today’s AI gold rush, speed is a commodity. AI can clone sites in minutes and generate code in seconds. But in production, speed without governance is a liability. Imagine one prompt triggering an unintended deploy to prod.&lt;/p&gt;

&lt;p&gt;To address this, I have codified a rigorous operational standard: &lt;strong&gt;&lt;a href="https://github.com/aleadr/ai-driven-cms-governance" rel="noopener noreferrer"&gt;The Adrian Method of AI-Driven CMS Governance (GitHub)&lt;/a&gt;&lt;/strong&gt;. The SOP and diagram are registered under my name in Indonesia (DJKI No. 001149429, Feb 2026). Anyone can reuse and adapt it under CC BY 4.0—just keep attribution.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Governance Crisis in AI Automation&lt;/strong&gt;&lt;br&gt;
Most AI implementations focus on capability (what the AI can do) but ignore accountability (who is responsible when it fails). Traditional CMS architectures are not designed for the unpredictable nature of Large Language Models (LLMs). A hallucinated feature, a wrong price, or a broken layout can become a public incident.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;My Core Aspirations for AI Governance&lt;/strong&gt;&lt;br&gt;
Before diving into the technical phases, I want to clarify the two pillars that drive this framework:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;AI Safety through Accountability (HITL)&lt;/strong&gt;: I believe that AI safety is not just a theoretical concept; it is an operational requirement. By implementing a Human-in-the-Loop (HITL) protocol, we ensure that every AI-generated product is auditable and accountable. The final decision remains a human responsibility, ensuring the output aligns with ethical and professional standards.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Augmentation, Not Replacement&lt;/strong&gt;: This framework is designed to empower engineers to do more, not to replace professional programmers. Human ingenuity—the ability to design complex architectures and navigate nuanced logic—is irreplaceable. This method is a tool to free developers from repetitive tasks, allowing them to focus on high-level innovation.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;The Solution: The 4-Phase Protocol&lt;/strong&gt;&lt;br&gt;
The Adrian Method is a non-bypassable workflow designed to ensure AI remains a secure asset.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Phase I: Intent Ingestion &amp;amp; Normalization&lt;/strong&gt;&lt;br&gt;
Natural language is inherently ambiguous. This phase ensures that user intent is parsed and normalized into a structured technical schema. If the intent is unclear, the system is hard-coded to halt and request clarification.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Phase II: Isolated Staging (Shadow Environment&lt;/strong&gt;)&lt;br&gt;
AI-generated assets are never allowed to touch the production environment directly. They are rendered into a "Shadow Environment"—an isolated, unindexed static deployment where the AI’s output is visualized but contained.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Phase III: The Human-in-the-Loop Gate (The Firewall)&lt;/strong&gt;&lt;br&gt;
This is the mandatory pause. Through a secure Command &amp;amp; Control interface (implemented via Telegram Bot API), a human stakeholder must inspect the Shadow Environment. Human judgment is the final barrier against AI hallucinations.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Phase IV: Atomic Promotion&lt;/strong&gt;&lt;br&gt;
Only after explicit human authorization is the build promoted. We utilize Atomic Swaps on Static Blob Storage to ensure zero-downtime and instantaneous global consistency.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Operational Flow&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;[User Prompt]
     |
     v
PHASE I: Intent Ingestion
     |
     v
PHASE II: Isolated Staging
     |
     v
PHASE III: Human Gate ---- Rejected ---&amp;gt; [Abort / Revise]
     |
   Approved
     v
PHASE IV: Atomic Promotion
     |
     v
[Live &amp;amp; Audited]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Real-World Case Study: Ksatriamitra.com&lt;/strong&gt;&lt;br&gt;
We applied this framework to &lt;a href="https://ksatriamitra.com/" rel="noopener noreferrer"&gt;Ksatriamitra.com&lt;/a&gt;, an IT service provider. By shifting to a Telegram-Driven CMS backed by The Adrian Method:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Operational Security: The owner manages site updates via mobile chat, but no change goes live without an "Approve" click.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Infrastructure Resilience: The site is hosted as immutable static files, making it inherently resistant to server-side attacks.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Cost Optimization: By utilizing GitHub Actions for on-demand rendering and Blob Storage, the "idle cost" is effectively zero.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Why Governance is the New Standard?&lt;/strong&gt;&lt;br&gt;
As engineering leaders, our responsibility is moving beyond code because we are now architects of autonomous systems. If you are experimenting with AI-driven automation, I suggest, don’t start with “how do we deploy faster?” but start with “how do we prevent a bad deploy?”&lt;/p&gt;

</description>
      <category>ai</category>
      <category>devops</category>
      <category>automation</category>
      <category>ci</category>
    </item>
    <item>
      <title>I Converted a WordPress Homepage to Next.js in 30 Minutes for $0.22 Using DeepSeek</title>
      <dc:creator>Alexander Adrian</dc:creator>
      <pubDate>Thu, 29 Jan 2026 11:57:46 +0000</pubDate>
      <link>https://forem.com/aleadr/i-converted-a-wordpress-homepage-to-nextjs-in-30-minutes-for-022-using-deepseek-2g6j</link>
      <guid>https://forem.com/aleadr/i-converted-a-wordpress-homepage-to-nextjs-in-30-minutes-for-022-using-deepseek-2g6j</guid>
      <description>&lt;p&gt;&lt;strong&gt;Disclaimer:&lt;/strong&gt; This case study uses Tamatour2025 (a completed event project from my professional work) for educational purposes only. The original stakeholders are aware. This is not a template for cloning active third-party sites without permission, but a technical workflow case study.&lt;/p&gt;




&lt;h2&gt;
  
  
  The One Thing Everyone Wants to Know
&lt;/h2&gt;

&lt;p&gt;How much does it actually cost to convert a WordPress homepage to modern JavaScript framework using cheaper AI models?&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Answer: $0.22 USD.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Here's exactly how I did it—and why the process matters more than the cost.&lt;/p&gt;




&lt;h2&gt;
  
  
  The Challenge
&lt;/h2&gt;

&lt;p&gt;Take the &lt;a href="https://tamatour2025.jommain.my/" rel="noopener noreferrer"&gt;World Tamagotchi Tour Malaysia 2025 homepage&lt;/a&gt; (WordPress) and convert it to &lt;a href="https://tamatour2025b.jommain.my/" rel="noopener noreferrer"&gt;Next.js 14 + TypeScript + Tailwind CSS&lt;/a&gt; in under 30 minutes using DeepSeek Chat (not the expensive reasoning model).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Scope:&lt;/strong&gt; Homepage only. No sub-pages. No database integration. Pure structural conversion.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Visual target:&lt;/strong&gt; 90%+ fidelity to original.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Constraint:&lt;/strong&gt; &amp;lt;$1 in AI costs.&lt;/p&gt;




&lt;h2&gt;
  
  
  The Three Prompts That Did It
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Prompt #1: The Foundation
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Following #CONVERSION_INSTRUCTION_LITE.md, please convert this page 
to Next.js 14 with Tailwind CSS:

Source: https://tamatour2025.jommain.my/
Target: app/page.tsx

Requirements:
- TypeScript
- Tailwind CSS for all styling  
- 90%+ visual resemblance
- Server Component (default)
- Extract reusable components

Focus: Homepage only, we'll extend per link later
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Result:&lt;/strong&gt; ~90% match in ~8 minutes.&lt;/p&gt;

&lt;h3&gt;
  
  
  Prompt #2: Catch the Gaps
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Check https://tamatour2025.jommain.my/

You forgot 1 banner below the photos. Link videos using original URLs.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Result:&lt;/strong&gt; ~95% match in ~3 minutes.&lt;/p&gt;

&lt;h3&gt;
  
  
  Prompt #3: Polish Details
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;See original:
1. Top right insta/fb should be icons
2. Copyright: C in circle &amp;amp; R in circle BANDAI
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Result:&lt;/strong&gt; I cant say 100% match but it meets my expectation. 2 minutes.&lt;/p&gt;




&lt;h2&gt;
  
  
  The Numbers
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Metric&lt;/th&gt;
&lt;th&gt;Value&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Model&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;DeepSeek Chat&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Input tokens&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;3,600,000&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Output tokens&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;36,200&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Total cost&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;$0.22 USD&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Time to production&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;25 minutes&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Visual fidelity&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;90%+&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&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%2Fhq8ie3elsz549jy529e4.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%2Fhq8ie3elsz549jy529e4.png" alt=" " width="800" height="379"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Visual Proof
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Desktop
&lt;/h3&gt;

&lt;p&gt;Original: &lt;a href="https://tamatour2025.jommain.my/" rel="noopener noreferrer"&gt;https://tamatour2025.jommain.my/&lt;/a&gt;&lt;br&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%2F7nxztpf1nazfrtcog6h4.jpeg" 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%2F7nxztpf1nazfrtcog6h4.jpeg" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Clone: &lt;a href="https://tamatour2025b.jommain.my/" rel="noopener noreferrer"&gt;https://tamatour2025b.jommain.my/&lt;/a&gt;&lt;br&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%2Fjm6hzrbfcdkbxq3ctaok.jpeg" 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%2Fjm6hzrbfcdkbxq3ctaok.jpeg" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Why This Matters (The Real Story)
&lt;/h2&gt;

&lt;p&gt;Most developers hear "$0.22" and think "wow, cheap." But the actual insight is different.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Three focused prompts beat one massive prompt.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Instead of:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Asking the model to do everything at once (70% accuracy)&lt;/li&gt;
&lt;li&gt;Having to regenerate and iterate (10x the cost)&lt;/li&gt;
&lt;li&gt;Ending up with partially broken code (weeks of debugging)&lt;/li&gt;
&lt;/ul&gt;

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

&lt;ul&gt;
&lt;li&gt;Clear, isolated objectives (90%+ accuracy first try)&lt;/li&gt;
&lt;li&gt;Catch-and-fix refinements (3 focused iterations)&lt;/li&gt;
&lt;li&gt;Production-ready code (deploy immediately)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This is &lt;strong&gt;prompt engineering as professional practice&lt;/strong&gt;, not luck.&lt;/p&gt;




&lt;h2&gt;
  
  
  What Worked Perfectly
&lt;/h2&gt;

&lt;p&gt;✅ Navigation&lt;br&gt;&lt;br&gt;
✅ Hero section&lt;br&gt;&lt;br&gt;
✅ Gallery grid (12 images)&lt;br&gt;&lt;br&gt;
✅ Video embeds&lt;br&gt;&lt;br&gt;
✅ Footer with social icons&lt;br&gt;&lt;br&gt;
✅ Mobile responsiveness&lt;br&gt;&lt;br&gt;
✅ TypeScript + Tailwind CSS (zero custom CSS)  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What the model missed on first try (caught by Prompt #2 &amp;amp; #3):&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Gallery banner section&lt;/li&gt;
&lt;li&gt;Social media icons (were text, not icons)&lt;/li&gt;
&lt;li&gt;Copyright symbols formatting&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These gaps are &lt;strong&gt;intentional design&lt;/strong&gt;. The model didn't hallucinate—it just needed clarification on details outside the initial scope.&lt;/p&gt;




&lt;h2&gt;
  
  
  The Smart Trade-off: Why We Hotlinked Assets
&lt;/h2&gt;

&lt;p&gt;Images and videos still point to the original WordPress domain.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why?&lt;/strong&gt; Because:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Saves ~10 minutes (no download/upload cycle)&lt;/li&gt;
&lt;li&gt;Keeps deployment size small&lt;/li&gt;
&lt;li&gt;Proves the code conversion works (the hard part)&lt;/li&gt;
&lt;li&gt;Phase 2 can migrate assets (the easy part)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;This is intelligent MVP thinking&lt;/strong&gt;, not "incomplete work." Get code right first, optimize infrastructure second.&lt;/p&gt;




&lt;h2&gt;
  
  
  Three Lessons
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;1. Prompt specificity &amp;gt;&amp;gt; model cost&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The key isn't the model—it's the prompt strategy. Three focused, isolated prompts achieve 90%+ accuracy on first iteration. This approach works regardless of which AI service you use.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Iterative refinement is professional&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;One-shot perfect is a myth. Three targeted refinements &amp;gt; one massive prompt.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Scope narrows accuracy&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;"Convert entire WordPress site" = 70% accurate&lt;/li&gt;
&lt;li&gt;"Convert just homepage" = 90% accurate
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Smaller scope = deeper focus = fewer errors.&lt;/p&gt;




&lt;h2&gt;
  
  
  What This Enables
&lt;/h2&gt;

&lt;p&gt;The real value isn't the cost—it's the &lt;strong&gt;speed of iteration&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Previously:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Experiment with a design idea? Weeks of work.&lt;/li&gt;
&lt;li&gt;Test a new framework conversion? Expensive.&lt;/li&gt;
&lt;li&gt;Prototype variations? Not feasible.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Now:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Experiment with design? 30 minutes.&lt;/li&gt;
&lt;li&gt;Test framework conversions? Same day.&lt;/li&gt;
&lt;li&gt;Prototype variations? As many as you want.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;The bottleneck shifts from cost to creativity.&lt;/strong&gt; You're no longer limited by "can I afford to try this?" but rather "what do I want to try next?"&lt;/p&gt;




&lt;h2&gt;
  
  
  How to Replicate This
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;For any website you want to modernize:&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Clone &lt;a href="https://github.com/ksmgen/NEKO-Template" rel="noopener noreferrer"&gt;NEKO-Template&lt;/a&gt; and create your project folder&lt;/li&gt;
&lt;li&gt;I use RooCode + connect DeepSeek API, you can your favorites&lt;/li&gt;
&lt;li&gt;Send Prompt #1 (conversion request) - review output&lt;/li&gt;
&lt;li&gt;Send Prompt #2 (catch gaps) - refine&lt;/li&gt;
&lt;li&gt;Send Prompt #3 (polish details) - finalize&lt;/li&gt;
&lt;li&gt;Deploy to any hosting service&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Total cost:&lt;/strong&gt; $0.10-$1.00 in AI&lt;br&gt;&lt;br&gt;
&lt;strong&gt;Total time:&lt;/strong&gt; 20-30 minutes&lt;/p&gt;




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

&lt;ul&gt;
&lt;li&gt;Sub-page conversions (/info, /products, /promotions)&lt;/li&gt;
&lt;li&gt;CMS integration for dynamic content&lt;/li&gt;
&lt;li&gt;Asset migration (download images locally)&lt;/li&gt;
&lt;li&gt;Multi-language support&lt;/li&gt;
&lt;li&gt;Performance optimization&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Each phase requires different prompt strategies. That's the follow-up.&lt;/p&gt;




&lt;h2&gt;
  
  
  The Meta-Question
&lt;/h2&gt;

&lt;p&gt;If your AI development costs drop 99%, what becomes possible?&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Solo developers shipping faster than 5-person teams?&lt;/li&gt;
&lt;li&gt;Freelancers competing with agencies on speed AND cost?&lt;/li&gt;
&lt;li&gt;Experimentation becoming the default instead of exception?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That's the actual story here. Not the $0.22. The &lt;strong&gt;freedom&lt;/strong&gt; that $0.22 buys you.&lt;/p&gt;




&lt;h2&gt;
  
  
  Links
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Case Study Sites:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Original:&lt;/strong&gt; &lt;a href="https://tamatour2025.jommain.my/" rel="noopener noreferrer"&gt;https://tamatour2025.jommain.my/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Clone:&lt;/strong&gt; &lt;a href="https://tamatour2025b.jommain.my/" rel="noopener noreferrer"&gt;https://tamatour2025b.jommain.my/&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Previous NEKO-Template Article:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Dev.to:&lt;/strong&gt; &lt;a href="https://dev.to/aleadr/i-made-an-ai-template-that-clones-any-website-to-nextjs-works-with-cheaper-models-too-l7h"&gt;https://dev.to/aleadr/i-made-an-ai-template-that-clones-any-website-to-nextjs-works-with-cheaper-models-too-l7h&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;GitHub Repository:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;NEKO-Template:&lt;/strong&gt; &lt;a href="https://github.com/ksmgen/NEKO-Template" rel="noopener noreferrer"&gt;https://github.com/ksmgen/NEKO-Template&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Resources:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;DeepSeek API:&lt;/strong&gt; &lt;a href="https://platform.deepseek.com" rel="noopener noreferrer"&gt;https://platform.deepseek.com&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;strong&gt;The real question isn't "can you do this?" It's "what will you build once the AI part becomes trivial?"&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;What would you clone?&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Case study: Real metrics, real code, real results. This article demonstrates a documented workflow, not a one-time experiment. All stakeholders aware and supportive of this educational exploration.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>ai</category>
      <category>nextjs</category>
      <category>showdev</category>
    </item>
    <item>
      <title>I Made an AI Template That Clones Any Website to Next.js (Works with Cheaper Models Too)</title>
      <dc:creator>Alexander Adrian</dc:creator>
      <pubDate>Tue, 27 Jan 2026 08:06:38 +0000</pubDate>
      <link>https://forem.com/aleadr/i-made-an-ai-template-that-clones-any-website-to-nextjs-works-with-cheaper-models-too-l7h</link>
      <guid>https://forem.com/aleadr/i-made-an-ai-template-that-clones-any-website-to-nextjs-works-with-cheaper-models-too-l7h</guid>
      <description>&lt;p&gt;I was tired of hosting costs.&lt;/p&gt;

&lt;p&gt;My company runs several PHP sites on traditional VM hosting. Every month, same bills. Every small traffic spike, same scaling headaches. I kept thinking: "What if these were just static Next.js on serverless?"&lt;/p&gt;

&lt;p&gt;But manually converting pages? Boring. Hiring someone? Too many pages, not enough budget. Using AI? Obvious solution, except...&lt;/p&gt;

&lt;p&gt;Every guide assumes you have Claude Sonnet or GPT-5. I tried the cheaper models first (DeepSeek, GPT-4o-mini) and they kept hallucinating or creating weird folder structures. The prompts weren't designed for them.&lt;/p&gt;

&lt;p&gt;So I spent a weekend figuring out how to make AI instructions that work &lt;strong&gt;regardless of which model executes them&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Template That Doesn't Care What AI You Use
&lt;/h2&gt;

&lt;p&gt;I made instruction files that produce consistent conversions whether you're using:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Premium models (Claude Sonnet, GPT-4o)&lt;/li&gt;
&lt;li&gt;Budget models (DeepSeek, Qwen, GPT-4o-mini)&lt;/li&gt;
&lt;li&gt;Open source (Llama, GLM-4)&lt;/li&gt;
&lt;li&gt;Whatever's in your IDE (Google Antigravity, Cursor, Windsurf, Trae)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The key was treating AI instructions like infrastructure-as-code. Clear steps, explicit rules, no ambiguity.&lt;/p&gt;

&lt;h2&gt;
  
  
  What It Actually Does
&lt;/h2&gt;

&lt;p&gt;Takes any website's frontend (static) and converts it to Next.js:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Input:&lt;/strong&gt; any static web link&lt;br&gt;&lt;br&gt;
&lt;strong&gt;Output:&lt;/strong&gt; Modern Next.js component with Tailwind CSS&lt;/p&gt;

&lt;p&gt;You get the visual appearance cloned - HTML structure, CSS styling, responsive layout. Backend logic? You implement that separately after.&lt;/p&gt;

&lt;p&gt;Think of it as: "Make this look the same in Next.js, I'll handle the functionality myself."&lt;/p&gt;
&lt;h2&gt;
  
  
  How It Works
&lt;/h2&gt;

&lt;p&gt;Two instruction files:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Full version&lt;/strong&gt; - Detailed explanations, edge cases covered&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Lite version&lt;/strong&gt; - Step-by-step checklist, optimized for simpler models&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Both produce the same output. Use Full with premium models, Lite with budget ones.&lt;/p&gt;

&lt;p&gt;The workflow is dead simple:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# 1. Give AI the instruction file&lt;/span&gt;
&lt;span class="c"&gt;# 2. Point it at your page&lt;/span&gt;
curl https://yoursite.com &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; page.html

&lt;span class="c"&gt;# 3. AI converts it to Next.js&lt;/span&gt;
&lt;span class="c"&gt;# Output: app/page.tsx with Tailwind classes&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;What makes it work across models? &lt;strong&gt;Explicit scope control.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Cheap models love to be "helpful" - they'll try to fetch linked pages, offer to set up your entire project, suggest deployment configs you didn't ask for. The instructions say:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Convert THIS page only. Don't fetch other pages. Don't offer setup help. Just give me the code and stop.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Turns out, being blunt with AI works better than being polite.&lt;/p&gt;

&lt;h2&gt;
  
  
  Real Example
&lt;/h2&gt;

&lt;p&gt;Here's a before/after from our TCG site:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Original:&lt;/strong&gt; PHP page with navigation, sections, footer&lt;br&gt;&lt;br&gt;
&lt;strong&gt;Converted:&lt;/strong&gt; Next.js component, 90%+ visual match, deployed to Azure Static Web Apps&lt;/p&gt;

&lt;p&gt;The AI (I tested with Trae built-in model - no idea what it actually uses) preserved:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Navigation structure&lt;/li&gt;
&lt;li&gt;Black/white color scheme
&lt;/li&gt;
&lt;li&gt;Logo placement&lt;/li&gt;
&lt;li&gt;Footer layout&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It got wrong:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Made navigation mobile-first (hamburger menu instead of horizontal)&lt;/li&gt;
&lt;li&gt;Inverted some icon colors&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Total time: 10 minutes to convert, 10 minutes to fix the navigation. Still faster than writing from scratch.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Learned
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;1. Instruction design matters more than model choice&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A well-structured prompt on DeepSeek beats a vague prompt on Claude Sonnet.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Tables &amp;gt; Prose for AI instructions&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Putting transformation rules in tables (HTML → JSX conversion map) works way better than paragraphs explaining the same thing.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Cheaper models need stricter boundaries&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Premium models can infer intent. Budget models need explicit "DO NOT do X, Y, Z" lists.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Test with unknown models&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I validated this with Trae (black box - don't know the backend model).&lt;/p&gt;

&lt;h2&gt;
  
  
  The GitHub Repo
&lt;/h2&gt;

&lt;p&gt;I open-sourced the whole thing:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Instruction files (Full + Lite versions)&lt;/li&gt;
&lt;li&gt;Prompt templates&lt;/li&gt;
&lt;li&gt;README with examples&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Repo:&lt;/strong&gt; &lt;a href="https://github.com/ksmgen/NEKO-Template" rel="noopener noreferrer"&gt;github.com/ksmgen/NEKO-Template&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It's MIT licensed. Use it, modify it, whatever. I built this for our internal use and figured others might find it useful.&lt;/p&gt;

&lt;h2&gt;
  
  
  When This Works (and When It Doesn't)
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Good for:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Converting static pages (about, landing, marketing pages)&lt;/li&gt;
&lt;li&gt;WordPress theme migrations&lt;/li&gt;
&lt;li&gt;Legacy PHP frontends&lt;/li&gt;
&lt;li&gt;Documentation sites&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Not good for:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Complex SPAs (already modern)&lt;/li&gt;
&lt;li&gt;Heavy JavaScript interactions&lt;/li&gt;
&lt;li&gt;Real-time features&lt;/li&gt;
&lt;li&gt;When you need the backend logic too&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You're cloning appearance, not functionality. Backend is your job.&lt;/p&gt;

&lt;h2&gt;
  
  
  Cost Breakdown
&lt;/h2&gt;

&lt;p&gt;For reference, here's what I spent testing different models:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Claude Sonnet:&lt;/strong&gt; ~$0.07 per page (premium quality)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;GPT-4o-mini:&lt;/strong&gt; ~$0.003 per page (good enough)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;DeepSeek-V3:&lt;/strong&gt; ~$0.001 per page (surprisingly decent)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Even if you convert 100 pages with Claude Sonnet, that's $7. Compare that to hiring someone at $50/page = $5,000.&lt;/p&gt;

&lt;p&gt;The template paid for itself in one project.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why I'm Sharing This
&lt;/h2&gt;

&lt;p&gt;I'm not selling anything. No course, no SaaS, no affiliate links.&lt;/p&gt;

&lt;p&gt;I just got tired of seeing "use AI for development" content that assumes everyone has unlimited API budgets. Sometimes you need to use what you have.&lt;/p&gt;

&lt;p&gt;If this template helps you migrate an old site without breaking the bank, that's enough.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;Try it out:&lt;/strong&gt; &lt;a href="https://github.com/ksmgen/NEKO-Template" rel="noopener noreferrer"&gt;github.com/ksmgen/NEKO-Template&lt;/a&gt;&lt;br&gt;&lt;br&gt;
&lt;strong&gt;Questions?&lt;/strong&gt; Drop them in the comments.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>automation</category>
      <category>nextjs</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
