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
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
510
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
88
GopherCon-Tour-2025_minami-okada.pdf
reiwatravel_0405
0
360
創業期の急成長を実現した技術戦略を振り返る
reiwatravel_0405
0
200
QA Career Talk vol.5 〜QAエンジニアの生存戦略~
reiwatravel_0405
0
380
20250527_NEWT‐Tech-Talk_hosoi
reiwatravel_0405
0
450
20250527_NEWT‐Tech-Talk_fukuda
reiwatravel_0405
0
500
20250527_NEWT‐Tech-Talk_magara
reiwatravel_0405
0
580
reiwatravel_20250416_vpoe-magara_lt
reiwatravel_0405
2
1.6k
reiwatravel_20250225-newt-tech-talk-14_lt2
reiwatravel_0405
1
530
Featured
See All Featured
How to Think Like a Performance Engineer
csswizardry
28
2.6k
Site-Speed That Sticks
csswizardry
13
1.2k
4 Signs Your Business is Dying
shpigford
187
22k
Technical Leadership for Architectural Decision Making
baasie
3
400
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.9k
Git: the NoSQL Database
bkeepers
PRO
432
67k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
WENDY [Excerpt]
tessaabrams
11
38k
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
570
Designing Experiences People Love
moore
143
24k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.1k
Amusing Abliteration
ianozsvald
1
200
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