<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Rakesh Waghela</title>
    <description>The latest articles on DEV Community by Rakesh Waghela (@rakesh_waghela_722f0d03b0).</description>
    <link>https://dev.to/rakesh_waghela_722f0d03b0</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%2F1938950%2F0981f1fb-3e71-4d12-9858-11f7a31ee66e.jpg</url>
      <title>DEV Community: Rakesh Waghela</title>
      <link>https://dev.to/rakesh_waghela_722f0d03b0</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/rakesh_waghela_722f0d03b0"/>
    <language>en</language>
    <item>
      <title>I Used Claude Code to Build a KYC Spec for Indian Stock Broking 🇮🇳</title>
      <dc:creator>Rakesh Waghela</dc:creator>
      <pubDate>Fri, 13 Feb 2026 20:38:38 +0000</pubDate>
      <link>https://dev.to/rakesh_waghela_722f0d03b0/i-used-claude-code-to-build-a-kyc-spec-for-indian-stock-broking-34gb</link>
      <guid>https://dev.to/rakesh_waghela_722f0d03b0/i-used-claude-code-to-build-a-kyc-spec-for-indian-stock-broking-34gb</guid>
      <description>&lt;h2&gt;
  
  
  The Problem 🤯
&lt;/h2&gt;

&lt;p&gt;If you've ever tried to open a demat account in India, you know the pain — PAN verification, Aadhaar e-KYC, DigiLocker consent, bank penny drop, KRA registration, CKYC upload, eSign... the list goes on.&lt;/p&gt;

&lt;p&gt;Now imagine you're the engineer who has to &lt;strong&gt;build&lt;/strong&gt; that system. You're staring at 25+ vendor APIs, 8 regulatory bodies, 454 data fields, and SEBI circulars that change every quarter.&lt;/p&gt;

&lt;p&gt;I needed a single source of truth. Something that connects the dots between what the user sees on screen and what happens behind the scenes — the API calls, the batch pipelines, the maker-checker workflows, the exchange registrations.&lt;/p&gt;

&lt;p&gt;So I built one. With Claude Code as my co-pilot. 🤖&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built 📚
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://javajack.github.io/broking-kyc/" rel="noopener noreferrer"&gt;KYC Onboarding Specification&lt;/a&gt;&lt;/strong&gt; — a 57-page technical docs site covering:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;🖥️ &lt;strong&gt;9-screen mobile-first user journey&lt;/strong&gt; — from mobile OTP to eSign in ~6 minutes&lt;/li&gt;
&lt;li&gt;🔌 &lt;strong&gt;25+ vendor integrations&lt;/strong&gt; — Decentro, Digio, HyperVerge, Leegality, TrackWizz, and more&lt;/li&gt;
&lt;li&gt;🏭 &lt;strong&gt;8 parallel batch pipelines&lt;/strong&gt; — KRA, CKYC, NSE, BSE, MCX, CDSL, NSDL, Income&lt;/li&gt;
&lt;li&gt;✅ &lt;strong&gt;Maker-checker admin workflow&lt;/strong&gt; — because compliance teams don't trust automation (rightly so)&lt;/li&gt;
&lt;li&gt;📋 &lt;strong&gt;454-field master dataset&lt;/strong&gt; — every field mapped to its source, validation rule, and destination&lt;/li&gt;
&lt;li&gt;📜 &lt;strong&gt;Full SEBI/KRA/CKYC regulatory mapping&lt;/strong&gt; — current as of Feb 2026&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How Claude Code Helped 🛠️
&lt;/h2&gt;

&lt;p&gt;I didn't write this in Google Docs. I used &lt;strong&gt;Claude Code&lt;/strong&gt; (Anthropic's CLI agent) to research, draft, and iterate on the entire spec.&lt;/p&gt;

&lt;p&gt;Here's what that looked like in practice:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Research phase&lt;/strong&gt; — I'd ask Claude to deep-dive into vendor APIs. "Read the Decentro docs and map their PAN verification response to our field schema." It would search, read, cross-reference, and produce structured tables.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Drafting&lt;/strong&gt; — Each of the 57 pages went through Claude. I'd describe the screen flow or pipeline step, and Claude would draft the technical spec — field mappings, API sequences, error handling, edge cases. I'd review, correct, iterate.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Regulatory cross-referencing&lt;/strong&gt; — SEBI circulars are dense. I'd feed Claude the circular text and ask "What does this mean for our KRA upload format?" Getting structured answers saved hours of lawyer-brain parsing.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The docs site itself&lt;/strong&gt; — Built with Astro Starlight. Claude scaffolded the config, created custom components (screen cards, vendor badges, async bars, status flows), wrote the CSS, and even generated the OG image programmatically.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;SEO &amp;amp; distribution&lt;/strong&gt; — Claude set up JSON-LD structured data, robots.txt, llms.txt, IndexNow submissions to 4 search engines, Wayback Machine archival, and Cloudflare analytics. All from the terminal.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Tech Stack 🏗️
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Layer&lt;/th&gt;
&lt;th&gt;Tool&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Docs framework&lt;/td&gt;
&lt;td&gt;Astro Starlight&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Hosting&lt;/td&gt;
&lt;td&gt;GitHub Pages&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;AI co-pilot&lt;/td&gt;
&lt;td&gt;Claude Code (Opus)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Analytics&lt;/td&gt;
&lt;td&gt;Cloudflare Web Analytics&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Search indexing&lt;/td&gt;
&lt;td&gt;IndexNow + GSC + Bing + Yandex&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Diagrams&lt;/td&gt;
&lt;td&gt;Hand-crafted SVG&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Key Takeaway 💡
&lt;/h2&gt;

&lt;p&gt;Building compliance systems is 20% code and 80% understanding the rules. The hardest part isn't the API integration — it's knowing that CKYC search now returns masked numbers (since Jan 2025), or that DDPI replaced POA (since Nov 2022), or that nominee opt-out requires video verification (since Jan 2025).&lt;/p&gt;

&lt;p&gt;An AI co-pilot doesn't replace domain expertise. But it compresses the research-to-documentation cycle from weeks to days. I went from "we need a KYC spec" to a fully published 57-page docs site in a fraction of the time it would have taken solo.&lt;/p&gt;

&lt;h2&gt;
  
  
  Check It Out 👀
&lt;/h2&gt;

&lt;p&gt;🔗 &lt;strong&gt;Live site&lt;/strong&gt;: &lt;a href="https://javajack.github.io/broking-kyc/" rel="noopener noreferrer"&gt;javajack.github.io/broking-kyc&lt;/a&gt;&lt;br&gt;
🐙 &lt;strong&gt;GitHub&lt;/strong&gt;: &lt;a href="https://github.com/javajack/broking-kyc" rel="noopener noreferrer"&gt;github.com/javajack/broking-kyc&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you're building fintech in India — especially onboarding, KYC, or compliance systems — I hope this saves you some pain. PRs and feedback welcome.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;I'm Rakesh Waghela, a Tech &amp;amp; KYC Solutions Architect. If you're building KYC or compliance systems and want to chat, find me on &lt;a href="https://www.linkedin.com/in/rakeshwaghela" rel="noopener noreferrer"&gt;LinkedIn&lt;/a&gt;, &lt;a href="https://x.com/webiyo" rel="noopener noreferrer"&gt;X (@webiyo)&lt;/a&gt;, or &lt;a href="https://topmate.io/rakeshwaghela" rel="noopener noreferrer"&gt;book a call on Topmate&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>fintech</category>
      <category>ai</category>
      <category>kyc</category>
      <category>onboarding</category>
    </item>
  </channel>
</rss>
