Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
LintのみでAIに開発スタイルを叩き込めるのか?
Search
wakye5815
October 10, 2025
2
1.8k
LintのみでAIに開発スタイルを叩き込めるのか?
wakye5815
October 10, 2025
Tweet
Share
More Decks by wakye5815
See All by wakye5815
ZIOでサクッとFunctionalにETL
wakye5815
1
2.2k
sbt-assemblyにハマってDB接続できず時間が溶けた話
wakye5815
1
1.7k
Featured
See All Featured
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.2k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
285
14k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
54k
Six Lessons from altMBA
skipperchong
29
4.1k
Why You Should Never Use an ORM
jnunemaker
PRO
60
9.6k
Producing Creativity
orderedlist
PRO
348
40k
The Art of Programming - Codeland 2020
erikaheidi
56
14k
GraphQLとの向き合い方2022年版
quramy
50
14k
Speed Design
sergeychernyshev
33
1.4k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
51k
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エンジニア ▪フルスタック開発 インフラ、データ、サーバーサイド、フロントエンドな ど様々な領域に挑戦することが可能 ▪裁量が大きい 開発チームでアーキテクチャ、技術選定が可能 新技術導入にも積極的に取り組む環境 ▪大規模データ デジタルマーケの数億レコードの 大規模データに携われる ▪データマネジメントのプロ データ処理基盤のインフラ構築、設計、開発、デー タの収集、格納、活用まで行う プロフェッショナルな環境