<?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 Aran Cloverink Chananar on Medium]]></title>
        <description><![CDATA[Stories by Aran Cloverink Chananar on Medium]]></description>
        <link>https://medium.com/@cloverinks?source=rss-62c699b77458------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*G3YD3mWtMAOFwg0G4ha7vw.jpeg</url>
            <title>Stories by Aran Cloverink Chananar on Medium</title>
            <link>https://medium.com/@cloverinks?source=rss-62c699b77458------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 00:09:53 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@cloverinks/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[Load WSL Rules Only on Windows — Stop Wasting Context on Mac]]></title>
            <link>https://cloverinks.medium.com/load-wsl-rules-only-on-windows-stop-wasting-context-on-mac-e34ddc6fee38?source=rss-62c699b77458------2</link>
            <guid isPermaLink="false">https://medium.com/p/e34ddc6fee38</guid>
            <category><![CDATA[mac]]></category>
            <category><![CDATA[wsl]]></category>
            <category><![CDATA[claude-code]]></category>
            <category><![CDATA[windows]]></category>
            <dc:creator><![CDATA[Aran Cloverink Chananar]]></dc:creator>
            <pubDate>Fri, 29 May 2026 04:59:53 GMT</pubDate>
            <atom:updated>2026-05-29T04:59:53.262Z</atom:updated>
            <content:encoded><![CDATA[<p>If you work across Windows (WSL) and Mac, you know the drill: you have WSL-specific rules in Claude Code — path conventions, interop quirks — but on Mac they mean nothing. They still get loaded into context every session, wasting tokens for free.</p><p>The fix: a SessionStart hook that detects the platform and only loads WSL rules when you’re actually on WSL.</p><h3>How It Works</h3><p>Claude Code’s SessionStart hook runs a shell command at the start of every session. If the command outputs a JSON object with hookSpecificOutput.additionalContext, that content gets injected into the conversation before Claude responds. If it outputs nothing — nothing is injected.</p><p>That’s the whole mechanism. Check the platform, inject if WSL, do nothing if Mac.</p><h3>The Setup</h3><p>Three files. That’s it.</p><pre>// .claude/settings.json<br>{<br>  &quot;hooks&quot;: {<br>    &quot;SessionStart&quot;: [<br>      {<br>        &quot;hooks&quot;: [<br>          { &quot;type&quot;: &quot;command&quot;, &quot;command&quot;: &quot;.claude/platform/load-platform.sh&quot; }<br>        ]<br>      }<br>    ]<br>  }<br>}</pre><pre># .claude/platform/load-platform.sh<br>#!/usr/bin/env bash<br><br>if grep -qiE &quot;(microsoft|wsl)&quot; /proc/version 2&gt;/dev/null; then<br>  CONTEXT=$(cat .claude/platform/wsl.md)<br>  jq -n --arg ctx &quot;$CONTEXT&quot; &#39;{<br>    hookSpecificOutput: {      hookEventName: &quot;SessionStart&quot;,<br>      additionalContext: $ctx<br>    }<br>  }&#39;<br>fi<br><br>exit 0<br></pre><p>Make it executable: chmod +x .claude/platform/load-platform.sh</p><h3>A quick note on gotchas</h3><p>stdout must be clean JSON — if your shell profile prints anything on startup, it’ll break parsing. Keep wsl.md under 10,000 characters. And since Claude Code 2.1.0, the injection is silent: nothing shows in the chat UI. To verify it’s working, just ask Claude what it knows about your WSL setup.</p><p>Set it up once, commit it, and forget it. Every session will pick up the right context for the right machine — automatically.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e34ddc6fee38" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Shipwright: Turning Claude Code into a Production-Grade Shipping Crew]]></title>
            <link>https://cloverinks.medium.com/shipwright-turning-claude-code-into-a-production-grade-shipping-crew-7bed5486a9dc?source=rss-62c699b77458------2</link>
            <guid isPermaLink="false">https://medium.com/p/7bed5486a9dc</guid>
            <category><![CDATA[developer-tools]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[claude-code]]></category>
            <category><![CDATA[github]]></category>
            <dc:creator><![CDATA[Aran Cloverink Chananar]]></dc:creator>
            <pubDate>Thu, 28 May 2026 05:55:02 GMT</pubDate>
            <atom:updated>2026-05-28T05:55:02.610Z</atom:updated>
            <content:encoded><![CDATA[<h3>You finish coding. Then comes the real grind: audit, review, UX check, doc updates, a clean commit, push, and a PR. Easy to rush. Easier to skip.</h3><p>So I built Shipwright.</p><h4>What Shipwright is</h4><p>Shipwright is a set of Claude Code skills that take a branch from “done coding” to “PR ready to merge” with one command: /ship.</p><p>One command. Four quality gates. No silent failures. If a gate fails, the pipeline stops and tells you why.</p><h4>The pipeline: A → R → D → S</h4><p>Audit finds issues and auto-fixes Critical and Major ones. On main it scans the whole project; on a feature branch only the diff.</p><p>Review detects whether the change is frontend, backend, or both, then runs code and UX review with a fix loop, up to 3 rounds.</p><p>Docs syncs documentation to match the code, then verifies it. Pass or fail.</p><p>Ship makes a clean commit per phase, pushes, and opens the PR. Pushing to main is blocked.</p><p>After merge, /merge-pr waits for CI, squash-merges, and cleans up the branch.</p><h4>How the gates work</h4><p>Quality has to be measurable, or it’s just a vibe.</p><p>Code review starts at 10. Critical issues cost 3, Major 1, Warnings 0.5 (capped at 2), Suggestions nothing. Pass threshold is strictly above 9, so 9.0 still fails.</p><p>UX review targets a perfect 10. Any issue, at any level, fails the gate. UX problems compound — one misaligned button is invisible, three feel sloppy.</p><p>Fix loops cap at 3 rounds. If it still fails, the pipeline halts and reports what’s left. No infinite loops burning tokens.</p><h4>Use it your way</h4><p>/ship orchestrates everything, but 11 other skills work standalone. Models are matched to the job: Opus for deep reasoning (/ship, review and design skills), Sonnet for coordination (/review-full, /audit-full, /update-docs, /push), Haiku for mechanical work (/merge-pr).</p><p>Not sure which review to run? Use /review-full — it auto-detects scope.</p><p>Every project-specific value is marked with a CONFIGURE comment: source paths, build commands, review thresholds (lower to &gt;8 for internal tools, &gt;7 for prototypes), merge strategy, commit format. Make it yours.</p><h4>Install</h4><p>In any Claude Code session:</p><pre>/plugin marketplace add cloverink/shipwright<br>/plugin install shipwright@shipwright</pre><p>You’ll need Claude Code, a git repo, and the GitHub CLI for PRs.</p><h4>Why I built it</h4><p>A good AI coding assistant shouldn’t just write code. It should ship it. And shipping production code isn’t “the code compiles” — it’s audit, review, docs, and a clean history.</p><p>Shipwright makes those the default, not chores you have to remember.</p><p>Try it: <a href="https://github.com/cloverink/shipwright">github.com/cloverink/shipwright</a>. MIT licensed.</p><p>— Aran Chananar</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7bed5486a9dc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My Facebook account was under attack]]></title>
            <link>https://cloverinks.medium.com/my-facebook-account-was-under-attack-c828fb715572?source=rss-62c699b77458------2</link>
            <guid isPermaLink="false">https://medium.com/p/c828fb715572</guid>
            <dc:creator><![CDATA[Aran Cloverink Chananar]]></dc:creator>
            <pubDate>Wed, 26 Feb 2025 15:05:07 GMT</pubDate>
            <atom:updated>2025-02-26T15:05:07.859Z</atom:updated>
            <content:encoded><![CDATA[<h4>My Facebook account was suspended because my IG doesn’t follow our rules</h4><p>This is a short note for myself. If you are looking for this issue.</p><blockquote>We’ve suspended your account<br>Your Facebook account was suspended because your Instagram account xxxxxxx doesn’t follow our rules.<br>You have 180 days left to appeal. Log in to your linked Instagram account to appeal our decision.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZIcsxgrVCiRwKQIwuucRGg.png" /><figcaption>my facebook was suspended</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NOZ_xkSdMysSOZ6yW7mO1Q.png" /><figcaption>My IG was unlinked</figcaption></figure><p><strong>Yes I will not go into a detail but for this problem I cannot do anything:</strong></p><ol><li>Logged in to facebook and shows <strong>sespended</strong> message</li><li>Logged in to IG and my IG was <strong>unlinked</strong> from my facebook account WTF!</li><li>Go to facebook <strong>help center</strong> but they removed a a form to appeal.</li></ol><p>So what can I do <strong>¯\_(ツ)_/¯</strong></p><p><strong>And… The solution is</strong></p><ol><li>Buy a <a href="https://about.meta.com/technologies/meta-verified/">Meta Verified to your IG Account</a> because they have an <strong>Enchanced Support</strong></li><li>After your IG have 🔷 ( Meta Verified ) then goto Settings</li><li>Scroll To Help then you will see <strong>Meta Verified Enchanced Support</strong></li><li>Then you will see the mnu <strong>Connect with support</strong></li><li>And select your case ( for me I choose Account access )</li><li>Go next till you found a <strong>Contact support button</strong></li><li>Then the realtime chat will happend ( I’m waiting around 3 min )</li><li>Next step a support will send your ticket to Review and wait around 24 hours ( They will ask your new email )</li><li>Then for the next day, they contact me via Phone and give me a code to login to my account</li><li>And That all, Have a good luck.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c828fb715572" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Win11 WSL: Error code: Wsl/CallMsi/REGDB_E_CLASSNOTREG]]></title>
            <link>https://cloverinks.medium.com/win11-wsl-error-code-wsl-callmsi-regdb-e-classnotreg-d99b14260757?source=rss-62c699b77458------2</link>
            <guid isPermaLink="false">https://medium.com/p/d99b14260757</guid>
            <dc:creator><![CDATA[Aran Cloverink Chananar]]></dc:creator>
            <pubDate>Tue, 18 Feb 2025 18:50:43 GMT</pubDate>
            <atom:updated>2025-02-18T18:50:43.171Z</atom:updated>
            <content:encoded><![CDATA[<p>short note to fixed this</p><ol><li>Goto <a href="https://github.com/microsoft/WSL/releases/">https://github.com/microsoft/WSL/releases/</a></li><li>Download some msi file matched your os ( such as wsl.2.4.x.x64.msi )</li><li>Install …</li><li>Done !!</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d99b14260757" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Suppress ESLint’s Annoying TypeScript Warnings (Even When It’s Not Officially Supported)]]></title>
            <link>https://cloverinks.medium.com/how-to-suppress-eslints-annoying-typescript-warnings-even-when-it-s-not-officially-supported-f97b531a7562?source=rss-62c699b77458------2</link>
            <guid isPermaLink="false">https://medium.com/p/f97b531a7562</guid>
            <dc:creator><![CDATA[Aran Cloverink Chananar]]></dc:creator>
            <pubDate>Thu, 13 Feb 2025 12:37:08 GMT</pubDate>
            <atom:updated>2025-02-13T12:37:35.984Z</atom:updated>
            <content:encoded><![CDATA[<p>Just a short note for me again lol</p><p>If you face this warning message when you try to run some lint command like this</p><pre>$ npm run lint<br><br>&gt; xxx@1.0.1 lint<br>&gt; eslint &quot;{src,apps,libs,test}/**/*.ts&quot;<br><br>=============<br><br>WARNING: You are currently running a version of TypeScript which is not officially supported by @typescript-eslint/typescript-estree.<br><br>You may find that it works just fine, or you may not.<br><br>SUPPORTED TYPESCRIPT VERSIONS: &gt;=3.3.1 &lt;5.2.0<br><br>YOUR TYPESCRIPT VERSION: 5.7.3<br><br>Please only submit bug reports when using the officially supported version.<br><br>=============</pre><p>If you good with this without change your deps version and need to ignore this warning then add this to your .eslintrc.js</p><pre>module.exports = {<br>  parserOptions: {<br>    ...<br>    warnOnUnsupportedTypeScriptVersion: false, &lt;&lt;&lt;&lt;&lt;<br>  },<br>...<br>};</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f97b531a7562" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Shadcn sidebar error DialogContent requires a DialogTitle]]></title>
            <link>https://cloverinks.medium.com/shadcn-sidebar-error-dialogcontent-requires-a-dialogtitle-2ccebae4d270?source=rss-62c699b77458------2</link>
            <guid isPermaLink="false">https://medium.com/p/2ccebae4d270</guid>
            <dc:creator><![CDATA[Aran Cloverink Chananar]]></dc:creator>
            <pubDate>Sun, 24 Nov 2024 10:04:09 GMT</pubDate>
            <atom:updated>2024-11-24T10:04:09.809Z</atom:updated>
            <content:encoded><![CDATA[<p>Small note to fix this one</p><ol><li>Open your sidebar.tsx</li><li>Search &lt;SheetContent should be only one location on your original file</li><li>Then edit code like this</li></ol><pre>    if (isMobile) {<br>      return (<br>        &lt;Sheet open={openMobile} onOpenChange={setOpenMobile} {...props}&gt;<br>          &lt;SheetContent<br>            data-sidebar=&quot;sidebar&quot;<br>            data-mobile=&quot;true&quot;<br>            className=&quot;w-[--sidebar-width] bg-sidebar p-0 text-sidebar-foreground [&amp;&gt;button]:hidden&quot;<br>            style={<br>              {<br>                &#39;--sidebar-width&#39;: SIDEBAR_WIDTH_MOBILE,<br>              } as React.CSSProperties<br>            }<br>            side={side}<br>          &gt;<br>++++        &lt;VisuallyHidden&gt;<br>++++          &lt;SheetHeader&gt;<br>++++            &lt;SheetTitle&gt;Sidebar&lt;/SheetTitle&gt;<br>++++            &lt;SheetDescription&gt;Sidebar&lt;/SheetDescription&gt;<br>++++          &lt;/SheetHeader&gt;<br>++++        &lt;/VisuallyHidden&gt;<br>            &lt;div className=&quot;flex h-full w-full flex-col&quot;&gt;{children}&lt;/div&gt;<br>          &lt;/SheetContent&gt;<br>        &lt;/Sheet&gt;<br>      )<br>    }</pre><p>4. Done !!!</p><blockquote>Note<br>need to install `@radix-ui/react-visually-hidden`</blockquote><p>Ref <a href="https://github.com/shadcn-ui/ui/issues/4302#issuecomment-2423790230">https://github.com/shadcn-ui/ui/issues/4302#issuecomment-2423790230</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2ccebae4d270" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Chrome hide tab group at bookmark bar ?]]></title>
            <link>https://cloverinks.medium.com/chrome-hide-tab-group-at-bookmark-bar-38940a38fed5?source=rss-62c699b77458------2</link>
            <guid isPermaLink="false">https://medium.com/p/38940a38fed5</guid>
            <dc:creator><![CDATA[Aran Cloverink Chananar]]></dc:creator>
            <pubDate>Wed, 16 Oct 2024 19:53:10 GMT</pubDate>
            <atom:updated>2024-10-16T19:53:10.047Z</atom:updated>
            <content:encoded><![CDATA[<h3>Chrome hide tab group at bookmark bar ?</h3><p>Wow, the new update is so annoying; it adds a ‘New Tabs Group’ button as the first element on the bookmark bar.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/266/1*aaT3uQ-Ox2j5Ezy6YYEnBA.png" /></figure><p>The simple way to remove it !!!<br>Just right-click on the bookmark bar and untick ‘Show Tab Group’</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/542/1*rwMOyiIDNRzz8XTxYX5iog.png" /></figure><p>yay good bye.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=38940a38fed5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Window WSL install YQ]]></title>
            <link>https://cloverinks.medium.com/window-wsl-install-yq-972686392e60?source=rss-62c699b77458------2</link>
            <guid isPermaLink="false">https://medium.com/p/972686392e60</guid>
            <dc:creator><![CDATA[Aran Cloverink Chananar]]></dc:creator>
            <pubDate>Sat, 28 Sep 2024 19:43:57 GMT</pubDate>
            <atom:updated>2024-09-28T19:43:57.843Z</atom:updated>
            <content:encoded><![CDATA[<p>Try</p><pre>sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys CC86BB64<br>sudo add-apt-repository ppa:rmescandon/yq<br>sudo apt update<br>sudo apt install yq -y</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=972686392e60" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[PrismaJS — Generate Random ID]]></title>
            <link>https://cloverinks.medium.com/prismajs-generate-random-id-7b91c0738366?source=rss-62c699b77458------2</link>
            <guid isPermaLink="false">https://medium.com/p/7b91c0738366</guid>
            <dc:creator><![CDATA[Aran Cloverink Chananar]]></dc:creator>
            <pubDate>Sat, 24 Aug 2024 09:40:10 GMT</pubDate>
            <atom:updated>2024-08-24T09:40:10.286Z</atom:updated>
            <content:encoded><![CDATA[<h3>PrismaJS — Generate Random ID</h3><p>Just a shortnote for me again lol</p><p>I need to gen a random ID but cuid() feature is not good enought format then found some plugin but it creating an ID at Application Layer then I used this way to generate a random ID at DB Layer</p><pre>model User {<br>  uid       String      @id @default(dbgenerated(&quot;concat(&#39;user_&#39;, substring(md5(random()::text || clock_timestamp()::text), 1, 20))&quot;))<br>  email     String      @unique<br>  ...<br>  ...<br>}</pre><p>The an example output should be like user_b3d9bb1fea4865d5de73</p><p>Anyway we also have simple query as below</p><pre><br>select concat(&#39;prefix_&#39;, substring(md5(random()::text), 0, 20)); -- prefix_00602f4f8eb157dc2a8<br>select md5(random()::text); -- 1dec5525df3d09c5f6afee5cfaf04271<br>select gen_random_uuid(); -- 60e3d0d8-32b7-4124-b410-ee1779a314d5<br>SELECT md5(random()::text || clock_timestamp()::text); -- 59d2f71fdf02f38d8b4630b4f05fff2f<br><br>SELECT substring(translate(gen_random_uuid()::text, &#39;-&#39;, &#39;&#39;), 1, 15) AS unique_id; -- 25c00a9dc2f6469</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7b91c0738366" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Booking — FINAL FANTASY VII REBIRTH Orchestra World Tour @ BKK]]></title>
            <link>https://cloverinks.medium.com/final-fantasy-vii-rebirth-orchestra-world-tour-bkk-6ba0050abc83?source=rss-62c699b77458------2</link>
            <guid isPermaLink="false">https://medium.com/p/6ba0050abc83</guid>
            <dc:creator><![CDATA[Aran Cloverink Chananar]]></dc:creator>
            <pubDate>Sat, 03 Aug 2024 03:31:03 GMT</pubDate>
            <atom:updated>2024-08-03T03:31:29.693Z</atom:updated>
            <content:encoded><![CDATA[<p>ตื่นมากดตั๋ว FF7 มาดูซิว่าเค้าทำระบบแบบไหน</p><p>ok น่าจะเป็น คล้าย websocket stream time จากมาจากหลังบ้านรอสัญญาณ โชว์เวลานับถอยหลังด้วยน่าจะเป็นเวลา server</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/840/1*l8AE3XxqLzEMuCfQbkhuAw.png" /><figcaption>รอก่อนเวลา</figcaption></figure><p>เข้ามาแล้ว รอคิวต่อ น่าจะ ฝั่ง session id ไว้ที่ cookies หรือ storage อะไรก็ช่างเหอะ ได้คิว 246 บ้าไปแล้ว</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/911/1*xDwWJeMClQ-5x8xQW7H8sw.png" /><figcaption>กดเข้ามาได้ queue ก่อน landing เข้า booking page</figcaption></figure><p>ข้ามไปเลย เพราะ ตอนซื้อ มันปกติ แต่ คนเต็มไวมาก ตรงโซนที่อยากได้</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/841/1*-O-8EMHczm0awgVDTJKrCA.png" /><figcaption>เลือก seat</figcaption></figure><p>สรุปได้โซน UM2 แถวหน้าสุด ok แหละ ไม่ได้แย่ เห็นจอชัดเลย VIP ด้วย</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/947/1*Llc0jwbkSf1sqohxtqNtjw.png" /><figcaption>วิว Omega (VIP) Seat UM2</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/878/1*g7ZcX0DTDmqqfvk738RT5A.png" /><figcaption>เรียบร้อย 2 ใบ บังคับแฟนไปดูด้วย อิอิ</figcaption></figure><p>ok ไปนอนต่อได้</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6ba0050abc83" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>