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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
reiwa-travel
May 27, 2025
540
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
skill-creator-guide
reiwatravel_0405
0
110
GopherCon-Tour-2025_minami-okada.pdf
reiwatravel_0405
0
430
創業期の急成長を実現した技術戦略を振り返る
reiwatravel_0405
0
230
QA Career Talk vol.5 〜QAエンジニアの生存戦略~
reiwatravel_0405
0
420
20250527_NEWT‐Tech-Talk_hosoi
reiwatravel_0405
0
490
20250527_NEWT‐Tech-Talk_fukuda
reiwatravel_0405
0
530
20250527_NEWT‐Tech-Talk_magara
reiwatravel_0405
0
630
reiwatravel_20250416_vpoe-magara_lt
reiwatravel_0405
2
1.6k
reiwatravel_20250225-newt-tech-talk-14_lt2
reiwatravel_0405
1
560
Featured
See All Featured
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
AI: The stuff that nobody shows you
jnunemaker
PRO
9
980
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2.1k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
4.7k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
730
What does AI have to do with Human Rights?
axbom
PRO
1
2.4k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
660
[SF Ruby Conf 2025] Rails X
palkan
2
1.4k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
780
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.9k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
370
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.2k
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