Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
20250527_NEWT‐Tech-Talk_semba
Search
reiwa-travel
May 27, 2025
570
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
20250527_NEWT‐Tech-Talk_semba
reiwa-travel
May 27, 2025
More Decks by reiwa-travel
See All by reiwa-travel
reiwatravel ai era
reiwatravel_0405
0
1.4k
skill-creator-guide
reiwatravel_0405
0
160
GopherCon-Tour-2025_minami-okada.pdf
reiwatravel_0405
0
470
創業期の急成長を実現した技術戦略を振り返る
reiwatravel_0405
0
260
QA Career Talk vol.5 〜QAエンジニアの生存戦略~
reiwatravel_0405
0
450
20250527_NEWT‐Tech-Talk_hosoi
reiwatravel_0405
0
510
20250527_NEWT‐Tech-Talk_fukuda
reiwatravel_0405
0
560
20250527_NEWT‐Tech-Talk_magara
reiwatravel_0405
0
680
reiwatravel_20250416_vpoe-magara_lt
reiwatravel_0405
2
1.7k
Featured
See All Featured
sira's awesome portfolio website redesign presentation
elsirapls
0
460
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
270
AI Search: Where Are We & What Can We Do About It?
aleyda
0
8.1k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
710
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
3.5k
Balancing Empowerment & Direction
lara
6
1.3k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
460
Into the Great Unknown - MozCon
thekraken
41
2.8k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.2k
Everyday Curiosity
cassininazir
0
360
Transcript
© 2023 Reiwa Travel, Inc. Backendでの取り組み
© 2023 Reiwa Travel, Inc. 2 Backend Engineer せんば たく
Career 2017 - 2020 Abema TV (Cyber Agent) 2020 - 2024 BILL.Inc @Sydney 2024 - now 令和トラベル Family 👨(自分) 👩 (妻) 👶 (子) 😺 (猫)
© 2023 Reiwa Travel, Inc. 3 1. 開発環境の整備 2.
具体的な取り組み事例 3. 効果測定と可視化 目次
© 2023 Reiwa Travel, Inc. 4 1. 開発環境の整備 2.
具体的な取り組み事例 3. 効果測定と可視化 目次
© 2023 Reiwa Travel, Inc. Rulesの共通化 5
© 2023 Reiwa Travel, Inc. Rulesの共通化 6 - .clinerules -
xxx.md - yyy.md
© 2023 Reiwa Travel, Inc. Rulesの共通化 7 - .clinerules -
xxx.md - yyy.md xxx.md Coding Rule Project Structure Testing Policy etc... 最初にこれらのmarkdownが読み込まれ るため、outputの精度が上がる
© 2023 Reiwa Travel, Inc. Rulesの共通化 8 - .clinerules -
xxx.md - yyy.md .clinerules/xxx.md - .cursor - rules - xxx.md - yyy.md .cursor/rules/xxx.md :
© 2023 Reiwa Travel, Inc. Rulesの共通化 9 - .clinerules -
xxx.md - yyy.md - .cursor - rules - xxx.md - yyy.md .clinerules/xxx.md .cursor/rules/xxx.md ⚠ 共通で管理したい
© 2023 Reiwa Travel, Inc. Rulesの共通化 10 - .clinerules -
project-structure.md - .cursor - rules - project-structure.md - .agent-rules - project-structure.md 特定のAI Agentに依存しない形でrule fileを定義 .agent-rules/project-structure.md # Project Structure … ## Directory Pattern …
© 2023 Reiwa Travel, Inc. Rulesの共通化 11 各Agentのrulesで.agent-rulesを参照する形でRulesを書く .clinerules/project-structure.md 詳細は以下のファイルを確認してく
ださい: .agent-rules/project-structure.md - .clinerules - project-structure.md - .cursor - rules - project-structure.md - .agent-rules - project-structure.md
© 2023 Reiwa Travel, Inc. 命名規則を使ったContextの最適化 12
© 2023 Reiwa Travel, Inc. 命名規則を使ったContextの最適化 13 monorepoを採⽤しており、複数のprojectが ⼀つのrepositoryに含まれている
© 2023 Reiwa Travel, Inc. 命名規則を使ったContextの最適化 14 monorepoを採⽤しており、複数のprojectが ⼀つのrepositoryに含まれている ‧project毎に異なるRuleがある
‧とはいえ、共通で守りたいRuleもある
© 2023 Reiwa Travel, Inc. 命名規則を使ったContextの最適化 15 monorepoを採⽤しており、複数のprojectが ⼀つのrepositoryに含まれている ‧全てのrulesをそのまま定義すると、
promptに無駄なContextが含まれてしまう ‧project毎に異なるRuleがある ‧とはいえ、共通で守りたいRuleもある
© 2023 Reiwa Travel, Inc. ‧repository全体で共通のrule → globalをprefixにする 命名規則を使ったContextの最適化 16
rulesに関する命名規則の導⼊ ‧project特有のrule → project名をprefixにする e.g, global-monorepo.md, etc... e.g, newt-nems-api.md, etc...
© 2023 Reiwa Travel, Inc. ‧repository全体で共通のrule → globalをprefixにする 命名規則を使ったContextの最適化 17
rulesに関する命名規則の導⼊ ‧project特有のrule → project名をprefixにする e.g, global-monorepo.md, etc... e.g, newt-nems-api.md, etc... ✅ 命名からruleのスコープが判定可能
© 2023 Reiwa Travel, Inc. 命名規則を使ったContextの最適化 18 scriptで動的にrulesを追加 ‧global rulesは.clinerulesでgit管理
それ以外はgit管理対象から外す .gitignore
© 2023 Reiwa Travel, Inc. 命名規則を使ったContextの最適化 19 scriptで動的にrulesを追加 ‧global rulesは.clinerulesでgit管理
それ以外はgit管理対象から外す ‧project特有のrulesは.clinerules-bank でgit管理
© 2023 Reiwa Travel, Inc. 命名規則を使ったContextの最適化 20 scriptで動的にrulesを追加 ‧global rulesは.clinerulesでgit管理
それ以外はgit管理対象から外す ‧project特有のrulesは.clinerules-bank でgit管理 ‧ scriptを通して、対象のrulesを .clinerules-bank → .clinerulesに配置
© 2023 Reiwa Travel, Inc. 命名規則を使ったContextの最適化 21 scriptで動的にrulesを追加 ‧global rulesは.clinerulesでgit管理
それ以外はgit管理対象から外す ‧project特有のrulesは.clinerules-bank でgit管理 ‧ scriptを通して、対象のrulesを .clinerules-bank → .clinerulesに配置 ✅ チームごとに最適なContextが渡される
© 2023 Reiwa Travel, Inc. 22 1. 開発環境の整備 2.
具体的な取り組み事例 3. 効果測定と可視化 目次
© 2023 Reiwa Travel, Inc. Devinを使ったJIRA連携 23
© 2023 Reiwa Travel, Inc. 24 Devinを使ったJIRA連携 ‧JIRAからDevinをTrigger ‧Descriptionに基づいて Devinが実装
→ PRを作成 ‧初期実装をDevinに任せることで 初動の⾼速化 概要 🚀 効果 🔥 ‧AI駆動開発の促進に貢献
© 2023 Reiwa Travel, Inc. Devinを使ったCode Review 25
© 2023 Reiwa Travel, Inc. 26 Devinを使ったCode Review ‧DevinがソースコードをReview ‧コード規約に沿ってコメントで指
摘 ‧コーディング規約違反や ガイドライン逸脱を事前検出 概要 🚀 効果 🔥 ‧レビュワーはよりハイコンテキスト なビジネスロジックや設計にFocus
© 2023 Reiwa Travel, Inc. 27 1. 開発環境の整備 2.
具体的な取り組み事例 3. 効果測定と可視化 目次
© 2023 Reiwa Travel, Inc. Commit履歴を使った効果測定 28
© 2023 Reiwa Travel, Inc. Commit履歴を使った効果測定 29 commit 5314a8a43e157b64b0bc7e7895a2acbd3018b244 Author:
takusemba <
[email protected]
> Date: Wed May 7 19:33:29 2025 +0900 feat: update xxx table Co-authored-by: Cline <cline@localhost> commit 4fddc6887b56d8294df884b531d936f14b39b769 Author: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Mon May 26 10:27:56 2025 +0000 fix xxx and yyy Co-Authored-By:
[email protected]
<
[email protected]
>
© 2023 Reiwa Travel, Inc. Commit履歴を使った効果測定 30 commit 5314a8a43e157b64b0bc7e7895a2acbd3018b244 Author:
takusemba <
[email protected]
> Date: Wed May 7 19:33:29 2025 +0900 feat: update xxx table Co-authored-by: Cline <cline@localhost> commit 4fddc6887b56d8294df884b531d936f14b39b769 Author: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Mon May 26 10:27:56 2025 +0000 fix xxx and yyy Co-Authored-By:
[email protected]
<
[email protected]
> Devinの場合 Authorにdevin Co-Authorに自分が入る
© 2023 Reiwa Travel, Inc. Commit履歴を使った効果測定 31 commit 5314a8a43e157b64b0bc7e7895a2acbd3018b244 Author:
takusemba <
[email protected]
> Date: Wed May 7 19:33:29 2025 +0900 feat: update xxx table Co-authored-by: Cline <cline@localhost> commit 4fddc6887b56d8294df884b531d936f14b39b769 Author: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Mon May 26 10:27:56 2025 +0000 fix xxx and yyy Co-Authored-By:
[email protected]
<
[email protected]
> clinerulesを使って Co-Authorがclineになるよ うに指示
© 2023 Reiwa Travel, Inc. 32 Commit履歴を使った効果測定
© 2023 Reiwa Travel, Inc. 33 Commit履歴を使った効果測定
© 2023 Reiwa Travel, Inc. 34 Commit履歴を使った効果測定
© 2023 Reiwa Travel, Inc. 35 Commit履歴を使った効果測定
© 2023 Reiwa Travel, Inc. Thank you