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
1
200
LintのみでAIに開発スタイルを叩き込めるのか?
wakye5815
October 10, 2025
Tweet
Share
More Decks by wakye5815
See All by wakye5815
ZIOでサクッとFunctionalにETL
wakye5815
1
2.1k
sbt-assemblyにハマってDB接続できず時間が溶けた話
wakye5815
1
1.6k
Featured
See All Featured
Rails Girls Zürich Keynote
gr2m
95
14k
How to Ace a Technical Interview
jacobian
280
24k
Git: the NoSQL Database
bkeepers
PRO
431
66k
Statistics for Hackers
jakevdp
799
220k
Building a Scalable Design System with Sketch
lauravandoore
462
33k
Building Applications with DynamoDB
mza
96
6.6k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
252
21k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4k
Bash Introduction
62gerente
615
210k
Balancing Empowerment & Direction
lara
4
680
Mobile First: as difficult as doing things right
swwweet
224
10k
Code Review Best Practice
trishagee
72
19k
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エンジニア ▪フルスタック開発 インフラ、データ、サーバーサイド、フロントエンドな ど様々な領域に挑戦することが可能 ▪裁量が大きい 開発チームでアーキテクチャ、技術選定が可能 新技術導入にも積極的に取り組む環境 ▪大規模データ デジタルマーケの数億レコードの 大規模データに携われる ▪データマネジメントのプロ データ処理基盤のインフラ構築、設計、開発、デー タの収集、格納、活用まで行う プロフェッショナルな環境