Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
LintのみでAIに開発スタイルを叩き込めるのか?
Search
wakye5815
October 10, 2025
4.4k
3
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
LintのみでAIに開発スタイルを叩き込めるのか?
wakye5815
October 10, 2025
More Decks by wakye5815
See All by wakye5815
ZIOでサクッとFunctionalにETL
wakye5815
1
2.4k
sbt-assemblyにハマってDB接続できず時間が溶けた話
wakye5815
1
1.9k
Featured
See All Featured
A Tale of Four Properties
chriscoyier
163
24k
How to build a perfect <img>
jonoalderson
1
5.7k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
260
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
67
55k
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.9k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
320
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.3k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
The Cost Of JavaScript in 2023
addyosmani
55
10k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
The Pragmatic Product Professional
lauravandoore
37
7.3k
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
Transcript
CONFIDENTIAL ©FLINTERS, Inc. All Rights Reserved. LintのみでAIに開 発スタイルを 叩き込 めるのか?
2025/10/10 AI駆動開発 ハンズオン会 【Cursor Workshop Tokyo】 wakye5815
CONFIDENTIAL ©FLINTERS, Inc. All Rights Reserved. 未来につながる火を灯そう 人々を魅了する事業を火に例えるならば、私たちはその種火を作る段階 から関われる事に喜びを感じます。 私たちは社会に役立つ事業を通じて未来につながる火を灯し続けます。
事業内容 生成AI活用支援 WEB開発 広告ソリューション DX支援 マーケティングデータ活用支援 データ人材 教育・派遣
CONFIDENTIAL ©FLINTERS, Inc. All Rights Reserved. ・脇⽥悠介 ・EM@株式会社 FLINTERS ・X
:@wakye5815 ・⾃分のコンテキストウィンドウの ⼩ささが悩み 自己紹介
CONFIDENTIAL ©FLINTERS, Inc. All Rights Reserved. プロンプトを書くのが⾯倒 書いても⻑丁場のセッションだとAI君は忘れだす 0->1開発だと参考にさせたいベースコードがなかったりする 発端
CONFIDENTIAL ©FLINTERS, Inc. All Rights Reserved. CONFIDENTIAL ©FLINTERS, Inc. All
Rights Reserved. ここで思いつき
CONFIDENTIAL ©FLINTERS, Inc. All Rights Reserved. CONFIDENTIAL ©FLINTERS, Inc. All
Rights Reserved. 開発スタイルの全てを Lintで強制できないか?
CONFIDENTIAL ©FLINTERS, Inc. All Rights Reserved. 環境:Typescript/ESLint model:Claude Sonnet 4.5
簡単なTODO CLIアプリの開発 関数型⼤好きチームの開発スタイルのコーディングをゴール 今回の実験のお題目
CONFIDENTIAL ©FLINTERS, Inc. All Rights Reserved. spec.md 1. 要件定義資料 を用意
2. プレーンな状態 で spec.md をもとにAI実装せよと指⽰ 準備
CONFIDENTIAL ©FLINTERS, Inc. All Rights Reserved. データ操作、構造をImmutable 最初の適⽤ルール
CONFIDENTIAL ©FLINTERS, Inc. All Rights Reserved. CONFIDENTIAL ©FLINTERS, Inc. All
Rights Reserved. eslint-plugin- functional
CONFIDENTIAL ©FLINTERS, Inc. All Rights Reserved. 設定
CONFIDENTIAL ©FLINTERS, Inc. All Rights Reserved. CONFIDENTIAL ©FLINTERS, Inc. All
Rights Reserved. Diff LGTM 修正させたいerrorのみを出⼒さ せて、コンテキスのノイズを作 らない⽅が良さそう
CONFIDENTIAL ©FLINTERS, Inc. All Rights Reserved. throw禁⽌。 パターンマッチ、 三項演算⼦の活⽤で式評価 次の適⽤ルール
CONFIDENTIAL ©FLINTERS, Inc. All Rights Reserved. "functional/no-throw-statements": "error", "functional/no-conditional-statements": [
"error", { "allowReturningBranches": false }], うまくts-pattern,ts-resultを使わ せたい しかしLintで弾くだけではどう書 けばいいかわからない 追記設定
CONFIDENTIAL ©FLINTERS, Inc. All Rights Reserved. Lintメッセージを差し替え書き⽤を指⽤
CONFIDENTIAL ©FLINTERS, Inc. All Rights Reserved. CONFIDENTIAL ©FLINTERS, Inc. All
Rights Reserved. Diff ts-resultsでthrow代替 ts-patternの活⽤
CONFIDENTIAL ©FLINTERS, Inc. All Rights Reserved. Context7 MCPの利⽤をLintで促す
CONFIDENTIAL ©FLINTERS, Inc. All Rights Reserved. CONFIDENTIAL ©FLINTERS, Inc. All
Rights Reserved. Diff ts-patternの活⽤
CONFIDENTIAL ©FLINTERS, Inc. All Rights Reserved. Lint = ASTレベルで定義できるガードレール を⾒ることができる
現状コーディングエージェントの多くは、ファイル粒度で 指⽰を適⽤できるので有⽤ ガードレールとしての命令はLintに寄せる、別途どう書かせ るかのプロンプトは必要 ドキュメントに誘導できるLLMフレンドリーなLintは強⼒かも しれない まとめ Lintでどこまでできるのか?
CONFIDENTIAL ©FLINTERS, Inc. All Rights Reserved. ・ 募集職種 カジュアル面談実施中! データエンジニア
Webエンジニア ▪フルスタック開発 インフラ、データ、サーバーサイド、フロントエンドな ど様々な領域に挑戦することが可能 ▪裁量が大きい 開発チームでアーキテクチャ、技術選定が可能 新技術導入にも積極的に取り組む環境 ▪大規模データ デジタルマーケの数億レコードの 大規模データに携われる ▪データマネジメントのプロ データ処理基盤のインフラ構築、設計、開発、デー タの収集、格納、活用まで行う プロフェッショナルな環境