<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Ankit Katiyar on Medium]]></title>
        <description><![CDATA[Stories by Ankit Katiyar on Medium]]></description>
        <link>https://medium.com/@theRealSignet?source=rss-b2a0aa3f293------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*XHOK88664z94BURzbEgitQ.jpeg</url>
            <title>Stories by Ankit Katiyar on Medium</title>
            <link>https://medium.com/@theRealSignet?source=rss-b2a0aa3f293------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 05:49:53 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@theRealSignet/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[AI’s Next Phase Won’t Be Bigger Models — It Will Be Smaller, Specialized, and Tool-Centric]]></title>
            <link>https://medium.com/@theRealSignet/ais-next-phase-won-t-be-bigger-models-it-will-be-smaller-specialized-and-tool-centric-a9de7e907fbd?source=rss-b2a0aa3f293------2</link>
            <guid isPermaLink="false">https://medium.com/p/a9de7e907fbd</guid>
            <dc:creator><![CDATA[Ankit Katiyar]]></dc:creator>
            <pubDate>Tue, 26 May 2026 06:13:27 GMT</pubDate>
            <atom:updated>2026-05-26T06:13:27.252Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*87rXCL8DPKFodVvnY95VUw.jpeg" /></figure><p>Why specialized, tool-centric, and locally deployable AI may become more practical than massive generic models for real-world workflows.</p><p>Artificial Intelligence is advancing at an extraordinary pace. Every few weeks, new models are released, capabilities improve, and adoption expands across software development, enterprise tools, search, and automation.</p><p>But beneath this rapid growth lies a less visible tension:</p><blockquote>While AI adoption is accelerating, the economics of running large-scale AI systems remain extremely challenging.</blockquote><p>Many frontier AI companies operate with high infrastructure costs driven by GPU demand, inference workloads, and rapidly scaling user expectations. At the same time, cloud providers and enterprise software companies are integrating AI into broader profitable ecosystems, which changes how the industry as a whole should be viewed.</p><p>The key question is no longer just:</p><blockquote>“How powerful can AI become?”</blockquote><p>It is increasingly:</p><blockquote>“How can AI be delivered economically at scale?”</blockquote><p>And this shift is pushing the industry toward a different direction than expected — not just bigger models, but more efficient systems.</p><h4><strong>The Real Cost Problem: Beyond Training</strong></h4><p>AI systems involve two major cost phases:</p><ol><li><strong>Training cost (one-time but massive)</strong></li></ol><p>Training frontier models requires:</p><ul><li>large GPU clusters</li><li>high-quality datasets</li><li>long training cycles</li><li>specialized engineering teams</li></ul><p>This can cost hundreds of millions of dollars for state-of-the-art systems.</p><p><strong>2. Inference cost (continuous and scaling)</strong></p><p>Inference — generating responses for users — is where long-term economics become critical.</p><p>Every interaction consumes:</p><ul><li>GPU compute</li><li>memory bandwidth</li><li>networking</li><li>power and cooling</li><li>orchestration and safety layers</li></ul><p>As usage scales into millions or billions of requests, inference often becomes the dominant cost driver for AI products like chatbots, coding assistants, and autonomous agents.</p><p>However, this impact is not uniform:</p><ul><li>High-frequency consumer AI (chatbots, copilots) → heavily inference-dependent</li><li>Enterprise workflows (low-volume, high-value tasks) → more balanced economics</li></ul><h4><strong>Why “Bigger Models” Alone Are Not Enough</strong></h4><p>For years, the dominant assumption in AI development was:</p><blockquote>Larger models trained on more data will consistently outperform smaller ones.</blockquote><p>While this remains partially true, the economics are becoming more complex.</p><p>Scaling models tends to:</p><ul><li>increase compute requirements significantly (often superlinearly in practice),</li><li>increase infrastructure dependency,</li><li>and deliver diminishing performance gains for many routine tasks.</li></ul><p>However, it is important to note a key nuance:</p><blockquote>AI costs per unit of intelligence are also steadily decreasing due to hardware and algorithmic improvements.</blockquote><p>So the reality is a tension between:</p><ul><li>rising demand for intelligence</li><li>and falling cost per token</li></ul><p>This creates a dynamic equilibrium rather than a simple “cost crisis.”</p><h4><strong>Software Engineering as a Perfect Example</strong></h4><p>Software development illustrates why large general-purpose models may be overused in many workflows.</p><p>Most engineering tasks are not open-ended reasoning problems. They are structured, repetitive, and context-specific:</p><ul><li>code completion</li><li>refactoring</li><li>test generation</li><li>CI/CD debugging</li><li>Kubernetes and deployment tasks</li><li>log analysis</li><li>dependency updates</li><li>repository navigation</li></ul><p>For these tasks, what matters most is not world knowledge, but:</p><ul><li>repository context</li><li>tool integration</li><li>execution capability</li><li>workflow awareness</li></ul><p>This leads to an important insight:</p><blockquote>A smaller model deeply integrated with developer tools and codebase context can often outperform a larger general model without that context.</blockquote><h4><strong>The Rise of Hybrid AI Systems</strong></h4><p>Instead of relying on a single large model for everything, AI systems are increasingly evolving toward layered architectures.</p><p>A more efficient structure looks like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/609/1*L_ZAICxTxw83IGgR0PkmcQ.png" /></figure><p>This approach is known as:</p><ul><li>model routing</li><li>cascaded inference</li><li>hybrid AI systems</li></ul><p>It reduces cost by ensuring that expensive models are only used when necessary.</p><h4><strong>Local and Self-Hosted AI: A Growing but Selective Shift</strong></h4><p>Running AI locally or inside enterprise infrastructure is becoming increasingly important, especially for:</p><ul><li>privacy-sensitive organizations</li><li>proprietary codebases</li><li>low-latency systems</li><li>offline environments</li><li>cost-sensitive workloads</li></ul><p>Benefits include:</p><ul><li>reduced cloud dependency</li><li>improved latency</li><li>predictable cost structure</li><li>stronger data control</li></ul><p>However, limitations remain:</p><ul><li>smaller local models still lag frontier models in complex reasoning</li><li>infrastructure and maintenance overhead</li><li>hardware constraints for larger models</li></ul><p>As a result</p><blockquote>Local AI is not replacing cloud AI — but complementing it.</blockquote><h4><strong>Tool-Centric AI Is Becoming More Important Than Model Size</strong></h4><p>One of the most important shifts in AI development is the growing importance of tool use and execution.</p><p>Modern AI systems are increasingly valuable not just because they generate text, but because they can:</p><ul><li>run tests</li><li>execute code</li><li>inspect logs</li><li>interact with CI/CD systems</li><li>modify files</li><li>deploy services</li><li>validate outputs</li></ul><p>This creates a feedback loop:</p><pre>            action → observation → correction → verification</pre><p>In many real-world scenarios, this execution layer contributes more to productivity than raw model intelligence.</p><h4><strong>Infrastructure Constraints Are Becoming Strategic</strong></h4><p>AI is no longer just a software problem. It is tightly coupled with physical infrastructure:</p><ul><li>GPUs and AI accelerators</li><li>data centers</li><li>power grids</li><li>cooling systems</li><li>high-speed networking</li></ul><p>This makes AI one of the most infrastructure-intensive technologies in modern computing.</p><p>As a result, companies are heavily investing in:</p><ul><li>custom AI chips</li><li>optimized inference engines</li><li>advanced cooling systems</li><li>renewable and scalable energy sources</li><li>distributed cloud infrastructure</li></ul><p>These constraints are shaping the pace and cost of AI deployment globally.</p><h4><strong>The Economic Reality: Growth vs Profitability</strong></h4><p>A key tension in the AI industry is the gap between:</p><ul><li>rapid adoption of AI products</li><li>and uncertain long-term profitability for some frontier AI providers</li></ul><p>However, the picture is more nuanced than a simple “AI is unprofitable” narrative:</p><ul><li>some AI-native startups are already profitable</li><li>large cloud providers integrate AI into profitable ecosystems</li><li>AI is increasingly bundled into high-margin enterprise software</li></ul><p>So the real question is not whether AI can be profitable, but:</p><blockquote>which architectures and business models will make it sustainable at scale?</blockquote><h4><strong>What Actually Solves the Cost Problem?</strong></h4><p>The path forward is not a single breakthrough, but a combination of strategies:</p><ol><li><strong>Smaller specialized models</strong></li></ol><p>Not every task requires frontier-level intelligence.</p><p><strong>2. Hybrid routing systems</strong></p><p>Match task complexity with model size.</p><p><strong>3. Tool-aware and agentic workflows</strong></p><p>Shift value from generation to execution.</p><p><strong>4. Retrieval-augmented architectures</strong></p><p>Reduce reliance on parametric memory.</p><p><strong>5. Local and edge deployment</strong></p><p>Reduce cloud inference load where appropriate.</p><p><strong>6. Hardware and inference optimization</strong></p><p>Lower cost per token through better systems design.</p><h4><strong>The Real Shift: From Intelligence to Efficiency</strong></h4><p>The first phase of AI was about proving capability.</p><blockquote>The next phase is about optimizing efficiency.</blockquote><p>The winners of this phase may not necessarily be those with:</p><ul><li>the largest models</li><li>the most compute</li><li>or the most advanced benchmarks</li></ul><p>But those who can:</p><ul><li>deliver sufficient intelligence at the lowest cost,</li><li>integrate deeply into workflows,</li><li>and scale AI sustainably across real-world systems.</li></ul><h4><strong>Final Thought</strong></h4><p>AI is transitioning from a “model race” into an “efficiency race.”</p><p>And in that race, the most important question is no longer:</p><blockquote>How smart can a model be?</blockquote><p>But instead:</p><blockquote>How cheaply can useful intelligence be delivered at scale?</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a9de7e907fbd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Built a Free AI Code Review Tool for Bitbucket Server Using Just a Markdown File]]></title>
            <link>https://medium.com/@theRealSignet/bitbucket-has-no-ai-code-review-so-i-built-one-with-a-markdown-file-af67cdc10ce0?source=rss-b2a0aa3f293------2</link>
            <guid isPermaLink="false">https://medium.com/p/af67cdc10ce0</guid>
            <category><![CDATA[code-review]]></category>
            <category><![CDATA[bitbucket]]></category>
            <category><![CDATA[skills]]></category>
            <category><![CDATA[devtools]]></category>
            <category><![CDATA[claude-code]]></category>
            <dc:creator><![CDATA[Ankit Katiyar]]></dc:creator>
            <pubDate>Mon, 16 Feb 2026 21:00:56 GMT</pubDate>
            <atom:updated>2026-02-17T15:45:19.791Z</atom:updated>
            <content:encoded><![CDATA[<p><em>A single markdown file that turns Claude Code into a full PR review assistant for Bitbucket Server — with AI analysis, inline comments, and natural developer tone.</em></p><p>GitHub developers have Copilot, CodeRabbit, and a dozen AI review tools.</p><p>If you’re on Bitbucket Server behind a corporate firewall, you get almost nothing.</p><p>On a 15-person team, over ten pull requests land every day. Picking one, spending an hour or two to review it, then moving on is normal — but it’s easy for technical issues to slip through. Functional or design concerns still need human judgment, but the repetitive, detail-heavy checks slow everything down.</p><p>That’s why using AI for code review makes sense: let AI catch technical issues while humans focus on logic, design, and context.</p><p>So here’s a solution using Claude Code: a single markdown file that runs from the terminal, analyzes pull requests, and posts inline comments.</p><p>The best part? <strong>One markdown file, no SaaS, no infrastructure, no maintenance.</strong> Claude Code supports <em>skills</em> — markdown files that teach Claude how to perform specific tasks. Drop a .mdbe.claude/commands/, and it becomes a slash command you can invoke anytime.</p><p>For this project, a skill called /bitbucket:pr-commentwas successful. One<strong> command, five actions, zero context switching:</strong></p><pre>/bitbucket:pr-comment https://git.company.com/projects/PROJ/repos/my-service/pull-requests/123</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RQRyHiaAUMwSbRCRCBqSsQ.png" /></figure><p>Here’s how it works and how you can build your own.</p><h3>What Is a Claude Code Skill?</h3><p>A skill is a <strong>markdown file</strong> placed in .claude/commands/ that contains instructions for Claude. When you type /skillname, Claude reads the markdown and follows the steps. No compiled code, no Docker, no infrastructure.</p><pre>your-project/<br>  .claude/<br>    commands/<br>      bitbucket/<br>        pr-comment.md    &lt;-- this is the skill</pre><p>That’s it. One file. Claude does the rest.</p><p><strong><em>Note:</em></strong><em> This is not a built-in Bitbucket feature. The skill is a set of instructions that Claude Code follows at runtime — it calls the Bitbucket REST API on your behalf, analyzes the response, and lets you interact with the results. Think of it as a programmable assistant that happens to speak Bitbucket’s API.</em></p><h3>The 5-Action PR Review Skill</h3><p>The skill gives you five actions after fetching a PR:</p><pre>╭──────────────────────────────────────────────────╮<br>│  What would you like to do?                      │<br>│                                                  │<br>│  &gt; 1. AI Code Review (Recommended)               │<br>│    Analyze PR diff for bugs, security issues,    │<br>│    and quality problems                          │<br>│                                                  │<br>│    2. Reply to a comment                         │<br>│    Reply to a specific comment thread by ID      │<br>│                                                  │<br>│    3. Add general comment                        │<br>│    Post a new top-level comment on the PR        │<br>│                                                  │<br>│    4. Refresh comments                           │<br>│    Fetch latest comments again                   │<br>│                                                  │<br>│    5. Done                                       │<br>│    Exit — no more actions needed                 │<br>│                                                  │<br>╰──────────────────────────────────────────────────╯</pre><p>Let’s walk through each one.</p><h3>Action 1: AI Code Review</h3><p>This is the core feature. Claude fetches the PR diff via the Bitbucket REST API, analyzes every changed line, and presents findings in your terminal — then lets you choose whether to post them as inline comments.</p><p><strong>Nothing is posted automatically.</strong> You always see the findings first and explicitly approve before anything goes to Bitbucket.</p><h3>How It Looks</h3><p>You run the command:</p><pre>&gt; /bitbucket:pr-comment https://git.company.com/.../pull-requests/543</pre><p>Claude fetches the PR and shows the summary:</p><pre>╭─────────────────────────────────────────────────────────────────╮<br>│                                                                  │<br>│  ## PR #543: Add pagination to user API endpoint                 │<br>│                                                                  │<br>│  Author: Alex Chen | Status: OPEN                                │<br>│  Branch: feature/user-pagination -&gt; master                       │<br>│  Reviewers: Sarah Kim, Marcus Weber (APPROVED),                  │<br>│             Jordan Lee                                           │<br>│                                                                  │<br>│  &gt; Add paginated list endpoint for users API.                    │<br>│  &gt; Supports cursor-based pagination with configurable page size. │<br>│                                                                  │<br>╰─────────────────────────────────────────────────────────────────╯</pre><pre>### General Comments</pre><pre>  Sarah Kim (#619876) - 2026-02-15 10:32<br>  &gt; Why is the updateCache hook called from the controller<br>  &gt; instead of going through the service layer?</pre><pre>    -&gt; Alex Chen (#620181) - 2026-02-15 14:45<br>    &gt; Fair question! The hook is not actually called manually —<br>    &gt; it&#39;s triggered by the subscription service whenever<br>    &gt; metadata changes.</pre><pre>### Inline Comments</pre><pre>  #### src/main/java/com/.../UserService.java<br>  Line 127 - Sarah Kim (#619901) - 2026-02-15 10:35 [OPEN]<br>  &gt; Should we validate the page size parameter here?</pre><p>You select <strong>AI Code Review</strong>. Claude fetches the diff, analyzes it, and shows findings:</p><pre>## Code Review — PR #543</pre><pre>Reviewed 8 files, found 3 issues.</pre><pre>1. ProjectService.java:127 — Race condition between exists()<br>   check and findById() call. Both requests could pass the<br>   check before either writes to DB.</pre><pre>2. UserController.java:45 — Request parameter &#39;pageSize&#39;<br>   is Optional but never checked for negative values. Could cause<br>   unexpected behavior downstream.</pre><pre>3. PaginationValidator.java:89 — Offset values validated as<br>   positive integers, but the domain allows 0 (first page).<br>   This would reject valid requests.</pre><p>Then asks what to post:</p><pre>╭──────────────────────────────────────────────────╮<br>│  Post review findings as PR comments?            │<br>│                                                  │<br>│  &gt; Post all findings                             │<br>│    Post selected (choose which ones)             │<br>│    Skip posting (keep in terminal only)          │<br>│                                                  │<br>╰──────────────────────────────────────────────────╯</pre><p>You choose “Post all.” Claude posts a summary comment and each finding as an inline comment anchored to the exact file and line:</p><pre>╭─ Bitbucket PR View ─────────────────────────────────────────────╮<br>│                                                                  │<br>│  Alex Chen — General Comment                                     │<br>│                                                                  │<br>│  Reviewed this PR — looked through 8 files. Found 3 things      │<br>│  worth discussing, posting them as inline comments.              │<br>│                                                                  │<br>╰──────────────────────────────────────────────────────────────────╯</pre><pre>╭─ Bitbucket PR View ─────────────────────────────────────────────╮<br>│                                                                  │<br>│  ProjectService.java                                             │<br>│                                                                  │<br>│  125 |   if (projectRepository.exists(projectId)) {              │<br>│  126 |       // fetch and update                                 │<br>│  127 |       Project project = projectRepository.findById(id);   │<br>│  ────┼───────────────────────────────────────────────────────────│<br>│      │  Alex Chen                                                │<br>│      │                                                           │<br>│      │  This could have a race condition — if two requests       │<br>│      │  hit this endpoint at the same time, both could pass      │<br>│      │  the exists check before either writes to the DB.         │<br>│      │  Might be worth using findById directly and handling      │<br>│      │  the empty Optional instead.                              │<br>│      │                                                           │<br>│  ────┼───────────────────────────────────────────────────────────│<br>│  128 |       project.setMetadata(metadata);                      │<br>│  129 |       return projectRepository.save(project);             │<br>│                                                                  │<br>╰──────────────────────────────────────────────────────────────────╯</pre><p><strong>No bot emoji. No severity badges. No “Finding #1” headers.</strong> Just a developer talking to another developer. Comments go under <strong>your name</strong> because they use your Bitbucket access token.</p><h3>When Code Is Clean</h3><p>A good review tool knows when to say “looks good”:</p><pre>╭─────────────────────────────────────────────────────────────────╮<br>│                                                                  │<br>│  ## PR #93: fix date formatting in CSV export                    │<br>│                                                                  │<br>│  Author: Sarah Kim | Status: MERGED                              │<br>│  Branch: fix/date-format -&gt; master                               │<br>│                                                                  │<br>│  &gt; Zero-pad month and day in generated export filenames.         │<br>│  &gt; report_2025_1_1.csv → report_2025_01_01.csv                  │<br>│                                                                  │<br>╰─────────────────────────────────────────────────────────────────╯</pre><pre>## Code Review — PR #93</pre><pre>Reviewed 1 file, found 0 issues.</pre><pre>No issues found. Looks good!</pre><p>Posted to Bitbucket:</p><pre>╭─ Bitbucket PR View ─────────────────────────────────────────────╮<br>│                                                                  │<br>│  Alex Chen — General Comment                                     │<br>│                                                                  │<br>│  Reviewed the changes — looks good to me. Clean                  │<br>│  implementation, no issues found.                                │<br>│                                                                  │<br>╰──────────────────────────────────────────────────────────────────╯</pre><p><em>No invented findings. No noise. Just an honest review.</em></p><h3>Action 2: Reply to a Comment</h3><p>Select “Reply to a comment,” and Claude asks which thread to reply to:</p><pre>╭──────────────────────────────────────────────────╮<br>│                                                  │<br>│  Which comment ID would you like to reply to?    │<br>│  (e.g., #619876)                                 │<br>│                                                  │<br>╰──────────────────────────────────────────────────╯</pre><pre>  &gt; #619876</pre><pre>  Sarah&#39;s comment: &quot;Why is the updateCache hook<br>  called from the controller instead of going through<br>  the service layer?&quot;</pre><pre>  Claude drafts a reply based on the context:</pre><pre>  &quot;Fair question! The hook is not actually called<br>   manually — it&#39;s triggered by the subscription<br>   service whenever metadata changes. The naming<br>   could be clearer though, happy to rename it<br>   if you think that helps.&quot;</pre><pre>  Post this reply? [Yes / Edit / Cancel]</pre><p>You can also tell Claude what to say directly:</p><pre>&gt; Reply to #619876 saying &quot;Good point, I&#39;ll move this to the service layer&quot;</pre><p>The reply appears on Bitbucket under your name:</p><pre>╭─ Bitbucket PR View ─────────────────────────────────────────────╮<br>│                                                                  │<br>│  Sarah Kim (#619876) - 2026-02-15 10:32                          │<br>│  &gt; Why is the updateCache hook called from the controller        │<br>│  &gt; instead of going through the service layer?                   │<br>│                                                                  │<br>│    Alex Chen (#620181) - 2026-02-15 14:45                        │<br>│    &gt; Fair question! The hook is not actually called manually —   │<br>│    &gt; it&#39;s triggered by the subscription service whenever         │<br>│    &gt; metadata changes. The naming could be clearer though,       │<br>│    &gt; happy to rename it if you think that helps.                 │<br>│                                                                  │<br>╰──────────────────────────────────────────────────────────────────╯</pre><h3>Action 3: Add General Comment</h3><p>Post a new top-level comment on the PR — for observations, questions, or approval notes:</p><pre>╭──────────────────────────────────────────────────╮<br>│                                                  │<br>│  What would you like to comment?                 │<br>│                                                  │<br>╰──────────────────────────────────────────────────╯</pre><pre>  &gt; &quot;Overall looks good. Just the one race condition<br>     to fix in ProjectService, then happy to approve.&quot;</pre><p>Posted to Bitbucket:</p><pre>╭─ Bitbucket PR View ─────────────────────────────────────────────╮<br>│                                                                  │<br>│  Alex Chen — General Comment                                     │<br>│                                                                  │<br>│  Overall looks good. Just the one race condition to fix in       │<br>│  ProjectService, then happy to approve.                          │<br>│                                                                  │<br>╰──────────────────────────────────────────────────────────────────╯</pre><h3>Action 4: Refresh Comments</h3><p>After the PR author pushes fixes or other reviewers comment, hit “Refresh” to pull the latest:</p><pre>╭──────────────────────────────────────────────────╮<br>│                                                  │<br>│  Refreshing comments for PR #543...              │<br>│                                                  │<br>│  Found 2 new comments since last fetch:          │<br>│                                                  │<br>│  Sarah Kim (#620250) - 2026-02-15 15:10          │<br>│  &gt; Good catch on the race condition, fixed in    │<br>│  &gt; commit abc123.                                │<br>│                                                  │<br>│  Marcus Weber (#620255) - 2026-02-15 15:15       │<br>│  &gt; LGTM, approving.                              │<br>│                                                  │<br>╰──────────────────────────────────────────────────╯</pre><p>You can then run another AI review on the new commits, reply to the new comments, or move on.</p><h3>Action 5: Done</h3><p>Exit the review loop. Simple as that.</p><pre>╭──────────────────────────────────────────────────╮<br>│                                                  │<br>│  Done. PR #543 review session complete.          │<br>│                                                  │<br>│  Actions taken:                                  │<br>│  - AI review: 3 findings posted                  │<br>│  - Replied to 1 comment                          │<br>│  - Added 1 general comment                       │<br>│                                                  │<br>╰──────────────────────────────────────────────────╯</pre><h3>Why This Approach Works</h3><h3>Comments Sound Human — Not Like a Bot</h3><p>Most AI tools post comments like this:</p><pre>### 🤖 Finding #1: Null pointer risk<br>**Category:** BUG | **Severity:** HIGH<br>**Location:** `SubscriptionService.java:45`<br>Potential NPE due to race condition.</pre><p>Nobody reads these. They get filed under “automated noise.”</p><p>This skill posts comments like this:</p><pre>This could throw a NullPointerException if the subscription<br>is deleted between the exists check and the findById call.<br>Might be worth using findById directly and handling the<br>empty Optional.</pre><p>Same finding. Completely different reception.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/798/1*bw-avxEjHWjxKDr2BaNp_w.png" /></figure><h3>You Stay in Control</h3><p>Nothing gets posted without your approval. The skill shows findings in your terminal first, then asks: post all, post selected, or skip? You decide what goes on the PR.</p><h3>It’s Fast</h3><p>The entire flow — fetch PR, analyze diff, present findings — takes seconds. Compare that to opening a browser, loading the diff, reading through hundreds of lines, and typing comments manually.</p><h3>It Works Behind Firewalls</h3><p>All API calls happen from your machine to your Bitbucket Server. No data leaves your network. No cloud service required.</p><h3>It’s Free</h3><p>Just Claude Code + a Bitbucket access token.</p><h3>How to Build It</h3><h3>Prerequisites</h3><p>Before you start, make sure you have:</p><ul><li><strong>Claude Code</strong> installed and initialized (<a href="https://docs.anthropic.com/en/docs/claude-code/overview">installation guide</a>)</li><li><strong>Node.js 18+</strong> (the skill uses native fetch() for all HTTP calls)</li><li>The native Windows Command Prompt and PowerShell are not supported for skill execution</li><li>Access to a <strong>Bitbucket Server</strong> instance (7.x or later) with a valid user account</li></ul><h3>Step 1: Create the Skill File</h3><p>Create the file at .claude/commands/bitbucket/pr-comment.md in your project:</p><pre>your-project/<br>  .claude/<br>    commands/<br>      bitbucket/<br>        pr-comment.md</pre><p>The skill file contains:</p><ol><li><strong>URL parsing</strong> — extract project, repo, and PR ID from the Bitbucket URL</li><li><strong>API calls</strong> — fetch PR details, activities, and diff using node -e with fetch()</li><li><strong>Comment display</strong> — format general and inline comments with thread structure</li><li><strong>Action menu</strong> — present the 5 options using AskUserQuestion</li><li><strong>AI review logic</strong> — criteria, rules, confidence threshold, finding format</li><li><strong>Comment posting</strong> — POST to Bitbucket API with proper anchors</li><li><strong>Writing style guide</strong> — rules for natural, human-sounding comments</li></ol><p>The skill uses the Bitbucket Server REST API:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vrAEuoOiX1ooevVixXGM0g.png" /></figure><blockquote>These endpoints are stable across Bitbucket Server 7.x and 8.x. The contextLines parameter on the diff endpoint controls how many surrounding lines are included — 3 is a good default that gives Claude enough context without overwhelming the response.</blockquote><h3>Step 2: Generate a Bitbucket HTTP Access Token</h3><ol><li>Go to your Bitbucket Server (e.g., <a href="https://git.company.com)/">https://git.company.com)</a></li><li>Click your <strong>profile avatar</strong> (top-right) &gt; <strong>Manage Account</strong></li><li>Navigate to <strong>HTTP Access Tokens</strong> (left sidebar)</li><li>Click <strong>Create Token</strong> with <strong>Repository Read + Write</strong> permissions</li><li>Copy the token (shown only once)</li></ol><h3>Step 3: Configure Environment Variables</h3><p>Add to .claude/settings.local.json in your project root:</p><pre>{<br>  &quot;env&quot;: {<br>    &quot;BITBUCKET_BASE_URL&quot;: &quot;https://git.company.com&quot;,<br>    &quot;BITBUCKET_ACCESS_TOKEN&quot;: &quot;BBDC-your-token-here&quot;<br>  },<br>  &quot;permissions&quot;: {<br>    &quot;allow&quot;: [<br>      &quot;Bash(node:*)&quot;<br>    ]<br>  }<br>}</pre><blockquote><em>settings.local.json is gitignored by default — your token stays local.</em></blockquote><h3>Step 4: Handle Corporate SSL</h3><p>Your Bitbucket Server likely uses internal CA certificates. Two options:</p><p><strong>Option A: Add Corporate Certificates (Recommended)</strong></p><p>Full TLS validation with your corporate CA chain. Secure and proper.</p><ol><li>Get your corporate CA certificates (from IT or your browser’s certificate viewer)</li><li>If they’re in DER format (binary), convert to PEM:</li></ol><pre>openssl x509 -inform DER -in corporate-root-ca.crt -out root-ca.pem <br>openssl x509 -inform DER -in corporate-intermediate-ca.crt -out intermediate-ca.pem</pre><p>3. Create a bundle:</p><pre>cat root-ca.pem intermediate-ca.pem &gt; corporate-ca-bundle.pem</pre><p>4. Add to your settings:</p><pre>{   <br>  &quot;env&quot;: {     <br>        &quot;NODE_EXTRA_CA_CERTS&quot;: &quot;/path/to/corporate-ca-bundle.pem&quot;   <br>  } <br>}</pre><p><strong>Option B: Disable SSL Verification (Quick Start)</strong></p><p>If you can’t get the CA certificates or just want to try things out fast. Safe for <strong>internal-only servers</strong> not exposed to the internet:</p><pre>{<br>  &quot;env&quot;: {<br>    &quot;NODE_TLS_REJECT_UNAUTHORIZED&quot;: &quot;0&quot;<br>  }<br>}</pre><blockquote><strong><em>Note:</em></strong><em> Option B disables certificate validation for all Node.js connections in Claude Code. Use Option A for production environments. Option B is fine for internal development servers where you trust the network.</em></blockquote><h3>Step 5: Run It</h3><p>Before rolling this out to your team, <strong>test the skill on one PR first</strong> — ideally one you authored or a small, already-merged PR. This lets you verify the setup, see how findings look, and adjust the review criteria if needed. You don’t want your first real use to accidentally spam a colleague’s PR with 10 comments.</p><pre>/bitbucket:pr-comment https://git.company.com/projects/PROJ/repos/my-service/pull-requests/123</pre><p>Run through the full flow: view comments, trigger AI review, check the findings, and try posting one. Once you’re confident it works, share it with your team.</p><h3>Why a Skill File (Not a Full Plugin)?</h3><p>A skill is a single markdown file. No build step, no dependencies, no packaging. You can:</p><ul><li>Edit it in any text editor</li><li>Share it by copying one file</li><li>Customize the review criteria for your team</li><li>Add new actions without recompiling anything</li></ul><p>It’s the simplest thing that works.</p><p>Once the skill is stable and your team relies on it, you can <strong>package it as a plugin and publish it on your company’s Claude Code marketplace</strong> — making it installable with a single command for everyone in your organization.</p><h3>Why node -e with fetch()?</h3><p>Cross-platform. Works on Windows, macOS, and Linux without any dependencies beyond Node.js 18+. No curl (which segfaults with corporate SSL on some systems), no Python, no external packages.</p><h3>Why Claude as the Reviewer?</h3><p>Claude Code itself is the AI engine. No external API calls, no additional API keys, no extra cost. The skill just feeds the diff to Claude and asks it to analyze. Claude’s reasoning handles the rest.</p><h3>Architecture</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/824/1*yJN3vjUwssoIiazmHnLqWQ.png" /></figure><h3>Real-World Impact</h3><p>After two weeks of using this skill across our team:</p><ul><li><strong>Review turnaround</strong> dropped from hours to minutes</li><li><strong>Bug detection</strong> in PRs went up — race conditions, missing validation, and security gaps that human reviewers were skimming past</li><li><strong>Comment engagement</strong> increased — colleagues actually respond to natural-language comments instead of ignoring bot-formatted ones</li><li><strong>Context switching</strong> eliminated — entire review sessions happen in the terminal</li><li><strong>Reviewer fatigue</strong> reduced — Claude handles the line-by-line analysis, humans focus on architecture and design</li></ul><p>The best part? It took less than an hour to build. One markdown file. No infrastructure. No ongoing maintenance cost.</p><h3>What This Skill Is (and Isn’t)</h3><p>This skill is an <strong>interactive, developer-driven review tool</strong> — you run it manually on a PR, review the findings, and decide what to post. It’s designed for individual use or small team adoption.</p><p>It is <strong>not</strong> a fully automated review bot. If you want to automatically review every PR across all repositories (polling for new PRs, posting comments without human approval, integrating into CI/CD pipelines), you’d need additional automation scripts, scheduling (cron jobs or webhooks), and likely a proper plugin or standalone service. The skill is a great starting point, but full automation is a separate project.</p><h3>Get Started</h3><pre># Create the skill file<br>mkdir -p .claude/commands/bitbucket<br># Add pr-comment.md with the skill instructions</pre><pre># Configure your environment<br># .claude/settings.local.json with BITBUCKET_BASE_URL + BITBUCKET_ACCESS_TOKEN</pre><pre># Run it<br>/bitbucket:pr-comment &lt;your-bitbucket-pr-url&gt;</pre><p>The skill is just a markdown file — copy it into your project and start reviewing. If your company runs a Claude Code marketplace, you can also publish it as a plugin for easy team-wide installation.</p><p><strong>Sample skill file </strong><br><a href="https://github.com/ankitkatiyar567/files/blob/master/AI_CODE_REVIEW_SKILL_TEMPLATE.md">files/AI_CODE_REVIEW_SKILL_TEMPLATE.md at master · ankitkatiyar567/files</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=af67cdc10ce0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I Stopped Using AI as a Tool. I Started Architecting With It.]]></title>
            <link>https://medium.com/@theRealSignet/i-stopped-using-ai-as-a-tool-i-started-architecting-with-it-12e2f6ffa6b3?source=rss-b2a0aa3f293------2</link>
            <guid isPermaLink="false">https://medium.com/p/12e2f6ffa6b3</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Ankit Katiyar]]></dc:creator>
            <pubDate>Mon, 09 Feb 2026 21:31:28 GMT</pubDate>
            <atom:updated>2026-04-09T15:20:21.620Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>Most people think AI transformed software development over the last few years. In reality, it happened fast — much faster than expected.</blockquote><p>Six months ago, I was copy-pasting between ChatGPT and my IDE, treating AI like a faster Stack Overflow. Today I run multi-agent systems that refactor entire services in parallel. The shift wasn’t gradual. It was a series of sudden jumps that changed how I think about building software.</p><h3>A real example: how I architect with AI now</h3><p>Recently I built a structured multi-agent workflow to handle real engineering tasks across our stack instead of using AI like a coding assistant.</p><p>Every task starts the same way: context first.</p><p>When a Jira ticket or request comes in, the system automatically pulls requirements, acceptance criteria, and discussions from Jira, then combines them with architecture decisions and technical specs from Confluence.</p><p>Before any code is generated, agents already understand the system.</p><p>An orchestrator then classifies the task:</p><ul><li>backend, frontend, infrastructure, or cross-system</li><li>simple vs complex</li><li>which specialized agents are needed</li></ul><p>Based on this, multiple agents execute in parallel.</p><p>In one recent feature:</p><ul><li>backend agents analyzed service dependencies and DTO contracts</li><li>architecture agents checked layering and design consistency</li><li>test agents generated integration scenarios</li><li>infrastructure agents validated deployment impact</li></ul><p>All outputs were tracked at session and project level, so nothing was lost between iterations.</p><p>What used to require constant context switching between Jira, Confluence, and code now starts with a fully enriched technical view and coordinated execution.</p><p>The biggest shift wasn’t faster code generation.</p><p>It was moving from:</p><p><em>asking AI to write code</em></p><p>to:</p><p><em>designing systems where AI agents collaborate like an engineering team.</em></p><p>That’s when AI stopped being a tool and became part of the architecture.</p><blockquote>Here’s a simplified view of how my multi-agent development workflow operates.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/920/1*FlpQf7E0jjAxT0JFDJ7-kw.png" /></figure><p>Here’s what actually happened.</p><h3><strong>The Compressed Timeline</strong></h3><h3><strong>Late 2022: ChatGPT</strong></h3><p>Impressive for explanations and snippets, but fundamentally manual. Prompt in, code out, human integrates. A better search engine, not a collaborator.</p><h3>2023: GitHub Copilot Evolves</h3><p>Copilot got significantly better with multi-file suggestions and project context awareness. Then came agentic mode — the first real shift from “autocomplete” toward “assistant that actually does things.”</p><h3>June 2024: Claude 3.5 Sonnet (200K Context)</h3><p>This felt different. Claude Code could hold substantial parts of a codebase in working memory — cross-file dependencies, architectural patterns, system-level reasoning. But that 200K window filled fast on real enterprise code. Mid-refactor, you’d lose context. Powerful but frustratingly bounded.</p><h3>May 2025: Opus 4.5</h3><p>Anthropic released Opus 4.5, their most intelligent model at the time. With 200K context window and enhanced reasoning capabilities, it could handle complex coding tasks and extended agentic workflows. But for many development tasks, it was overkill — powerful but expensive and slower than the Sonnet series.</p><h3>August 2025: 1M Context Beta</h3><p>When Anthropic opened the 1M token context window for beta testing, entire repositories started fitting. You could point it at a monolith and say “find this pattern across all services and propose a migration.” It maintained coherence across hundreds of files.</p><h3>September 2025: Sonnet 4.5</h3><p>Anthropic released Sonnet 4.5, explicitly marketed as their best model for agents and coding. With enhanced context management and the ability to maintain focus over long sessions, this was when AI stopped feeling like a syntax helper and started feeling like a system thinker.</p><h3>Early 2026: Opus 4.6</h3><p>The coordination problem I was solving with custom code? Opus 4.6 addressed it at the model level. Better inter-agent coherence — agents that could actually share intermediate reasoning, not just final outputs. Question each other’s assumptions during the process. Maintain shared state across long workflows. This was the fix for the “specialized agents not communicating” problem that broke my earlier multi-agent setup.</p><h3>Where Things Actually Broke</h3><p>Like many developers, I hit limits and started building. Custom agents for our Spring Boot microservices. Specialized agents for backend patterns, DevOps workflows, security checks.</p><p>Then I tried orchestrating them.</p><p>The problem was immediate and familiar: the main agent delegated to specialists, but those specialists didn’t communicate. Backend agent would implement an API; security agent would review it afterward and reject it. No iterative refinement during the build. Classic distributed systems failure — parallel execution without coordination.</p><p>I had fast agents. I didn’t have a fast team.</p><p>Opus 4.6 changed that. The improved reasoning and coordination capabilities meant my specialized agents could finally talk to each other during the process, not just at the end.</p><h3>Native Tooling: Feature-Dev and PR-Review</h3><p>Alongside model improvements, Anthropic shipped concrete tools that changed daily workflows:</p><ul><li>Feature development mode: An agentic coding capability that takes a feature description and executes it across multiple files — planning, implementing, testing, iterating. Not just generating code, but managing the implementation loop.</li><li>Code review capabilities: Automated review that understands your team’s standards, checks for regressions, suggests architectural improvements, and explains why changes are recommended — not just what to change.</li></ul><p>These aren’t experimental features. They’re production workflows I use daily. The feature development mode handles the boilerplate and initial implementation. Code review catches issues I’d miss in manual review. Together, they compress the “idea to merged PR” timeline from days to hours.</p><p>The key difference from earlier tools: they maintain context across the entire lifecycle. The system remembers constraints from planning when it’s writing tests. It understands the intent behind the feature when it’s evaluating edge cases.</p><h3>The Next Jump: Agent Swarms</h3><h3>Early 2026: Kimi 2.5</h3><p>While Claude solved coordination for my custom agents, Kimi 2.5 introduced Agent Swarm — a different approach entirely. Instead of just scaling up context windows, it scales out: multiple specialized sub-agents executing in parallel, coordinated dynamically.</p><p>In testing, this cuts task completion time significantly for highly parallel work — research across many topics, analysis across hundreds of microservices, pattern detection at scale. The model handles the orchestration overhead that I was building manually.</p><p>Key differences from my earlier setup:</p><ul><li>Self-directed: No predefined workflows. The model analyzes the task and spawns agents as needed.</li><li>True parallelism: Agents execute simultaneously, not sequentially.</li><li>Native coordination: Built-in communication patterns instead of custom messaging layers.</li></ul><p>Pricing is reportedly aggressive compared to other enterprise options, though real costs depend on your specific usage patterns.</p><h3>What This Actually Means for Developers</h3><p>The role shift is real and it’s happening now:</p><p>From writing to directing. I spend less time typing implementations and more time defining objectives, reviewing agent proposals, and verifying architectural decisions. The AI writes the code; I verify the architecture.</p><p>From single-file to system-level. With expanded context, multi-agent parallelism, and automated review catching cross-service issues, AI can reason across entire systems. The bottleneck becomes my ability to review and validate, not the AI’s ability to understand.</p><p>From tools to infrastructure. I don’t choose an AI tool anymore. I architect systems that absorb new capabilities every few weeks. Context engineering and agent orchestration are now core competencies, not nice-to-haves.</p><h3>The Honest Limitations</h3><p>This isn’t magic. Current agents still struggle with:</p><ul><li>Poorly documented legacy systems (business logic buried in stored procedures)</li><li>Circular dependencies that aren’t visible in static analysis</li><li>Nuanced domain constraints that aren’t in code comments</li></ul><p>Automated code review is excellent at catching patterns, but it can miss business logic errors that require domain expertise. Feature development mode sometimes over-engineers simple solutions if you don’t constrain it.</p><p>Parallel agent execution is powerful for analysis, but coordination overhead still matters. More agents isn’t always better — sometimes it’s just more noise.</p><h3>What Comes Next</h3><p>If the last several months brought expanded context windows, feature development workflows, and parallel agent execution, the next phase likely brings:</p><ul><li>Persistent memory across sessions (agents that remember your codebase evolution)</li><li>Specialized models for specific stacks (Spring, Angular, K8s-native agents)</li><li>Real-time collaborative editing between humans and multiple AI agents</li></ul><p>The constraint is no longer model capability. It’s our ability to integrate these capabilities into reliable, verifiable workflows.</p><h3>The Real Shift</h3><p>AI didn’t just get better at writing code. It started participating in architecture decisions — from feature planning through implementation to review. And that changes what it means to be a developer.</p><p>The valuable skills now are system design, requirements engineering, verification, and AI collaboration — not typing speed or syntax memorization. The developers who thrive are those who can direct intelligent systems, not those who write the most lines.</p><p>I stopped using AI as a tool. I started architecting with it. The transition happened faster than I expected, and I’m still adjusting. But there’s no going back to how I worked six months ago.</p><blockquote>The future isn’t AI replacing developers. It’s developers who use AI replacing those who don’t.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=12e2f6ffa6b3" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>