Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Teaching AI the "Manners" of Your Code ── Desig...

Sponsored · Ship Features Fearlessly Turn features on and off without deploys. Used by thousands of Ruby developers.

Teaching AI the "Manners" of Your Code ── Designing Team Development That Balances Quality and Speed

On our team, after adopting an AI coding agent, we could write code faster — but we kept running into the same problem: code that didn't follow our team's coding style triggered repeated review comments and revisions, and our reviews piled up. Even when AI speeds up the work, if your team's own style isn't conveyed to it, quality and speed remain a rade-off.

We overcame this by putting our lead engineers' tacit knowledge into words as a style guide, and teaching the AI to understand our team's coding rules. In this session, we'll share how we extracted that design philosophy, how we built AI into every step from implementation to review, and how the system keeps improving as we operate it — all backed by real data.

Rather than being tied to any specific tool, we'll introduce this as a general framework that any team can reproduce.

More Decks by LINEヤフーTech (LY Corporation Tech)

Other Decks in Technology

Transcript

  1. 1 2026.06.29 LY Corporation Hideki Eguchi | Media & Search

    Domain, Media CTO SBU Teaching AI the "Manners" of Your Code Designing Team Development That Balances Quality and Speed AIにコードの"お作法"を教える 品質と速度を両⽴するチーム開発の設計
  2. ー Joined Yahoo! JAPAN (now LY Corporation) in 2007. ー

    Since 2014, has been developing baseball-related services at Sportsnavi. ー Now: baseball systems × AI coding agents Hideki Eguchi
  3. Agenda 1. Background & Challenge 2. Approach 3. Triple Quality

    Assurance 4. Results 1. 背景と課題 2. アプローチ 3. 3つの品質チェック 4. 成果 5. It Keeps Getting Better 5. 育ち続ける仕組み
  4. Bloated Frontend ̶ hard to maintain Migrating to BFF ̶

    a 3-year effort, alongside daily work Adopted AI agents to speed up the migration 01 03 02 Scaling up, mid-BFF migration | ⼤規模化し、BFF化の途中だった The Baseball System
  5. 2. Approach From Tacit Knowledge to a Style Guide |

    暗黙知をスタイルガイドへ
  6. how to code PRs opened what gets flagged コードではなく、PRを分析する Analyze

    the PRs, Not Just the Code PRs reviewed The reasoning lives in the PR, not the code
  7. Two prompts, two angles “Analyze PRs opened by the Architect

    → design, rules, tests” “Analyze PRs the Architect reviewed → what they flag, the limits” Both sides reveal the full philosophy 実際のプロンプト The Actual Prompts
  8. Design for Testability ̶ signs a class should be split

    ・ Logic you want to test is hidden in a private method ・ Mock setup is too complex → responsibilities are mixed ・ Hard to test = hard to change スタイルガイドの中⾝ Inside the Style Guide Rules from real experience
  9. ⾃⼰強化のループ A Self-Reinforcing Loop Review Finds an Issue AI Improves

    Feedback to Guide Every loop makes the guide stronger