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
Amazon Q Developer CLIでもコンテキストを使おう! / Use conte...
Search
ymotongpoo
April 04, 2025
Technology
1
60
Amazon Q Developer CLIでもコンテキストを使おう! / Use context in Amazon Q CLI
JAWS-UG Yamanashi #5 での登壇資料です
https://jaws-ug-yamanashi.connpass.com/event/346675/
ymotongpoo
April 04, 2025
Tweet
Share
More Decks by ymotongpoo
See All by ymotongpoo
OpenTelemetry Collector internals
ymotongpoo
6
570
AIとSREの未来 / AI and SRE
ymotongpoo
2
2k
Amazon CloudWatch Application Signals ではじめるバーンレートアラーム / Burn rate alarm with Amazon CloudWatch Application Signals
ymotongpoo
7
900
書籍『入門 OpenTelemetry』 / Intro of OpenTelemetry book
ymotongpoo
11
870
サイト信頼性エンジニアリングとAmazon Web Services / SRE and AWS
ymotongpoo
10
2.8k
オブザーバビリティの観点でみるAWS / AWS from observability perspective
ymotongpoo
11
4.2k
信頼性を支えるテレメトリーパイプラインの構築 / Building Telemetry Pipeline with OpenTelemetry
ymotongpoo
10
7.4k
オブザーバビリティのマクロからミクロまで / Observability from macro to micro
ymotongpoo
13
7.8k
テレメトリーシグナルの相関、してますか? 第一原理からのデバッグを支える計装 / Do you utilize telemetry correlations?
ymotongpoo
4
900
Other Decks in Technology
See All in Technology
米国国防総省のDevSecOpsライフサイクルをAWSのセキュリティサービスとOSSで実現
syoshie
2
740
AIにどこまで任せる?実務で使える(かもしれない)AIエージェント設計の考え方
har1101
3
1.2k
原則から考える保守しやすいComposable関数設計
moriatsushi
3
500
CI/CDとタスク共有で加速するVibe Coding
tnbe21
0
220
TerraformをSaaSで使うとAzureの運用がこんなに楽ちん!HCP Terraformって何?
mnakabayashi
0
290
In Praise of "Normal" Engineers (LDX3)
charity
2
1.2k
【TiDB GAME DAY 2025】Shadowverse: Worlds Beyond にみる TiDB 活用術
cygames
0
690
20250623 Findy Lunch LT Brown
3150
0
720
Observability infrastructure behind the trillion-messages scale Kafka platform
lycorptech_jp
PRO
0
120
Perk アプリの技術選定とリリースから1年弱経ってのふりかえり
stomk
0
120
AWS CDK 実践的アプローチ N選 / aws-cdk-practical-approaches
gotok365
4
400
初めてのAzure FunctionsをClaude Codeで作ってみた / My first Azure Functions using Claude Code
hideakiaoyagi
1
170
Featured
See All Featured
Thoughts on Productivity
jonyablonski
69
4.7k
Building a Modern Day E-commerce SEO Strategy
aleyda
41
7.3k
Unsuck your backbone
ammeep
671
58k
Into the Great Unknown - MozCon
thekraken
39
1.8k
Navigating Team Friction
lara
187
15k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
107
19k
Measuring & Analyzing Core Web Vitals
bluesmoon
7
480
Building an army of robots
kneath
306
45k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
15
1.5k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
137
34k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
130
19k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
30
2.1k
Transcript
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. 1 © 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Q Developer for CLIでも コンテキストを使おう︕ ⼭⼝ 能迪 (@ymotongpoo) J A W S - U G Y A M A N A S H I # 5 アマゾンウェブサービスジャパン合同会社 シニアデベロッパーアドボケイト
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. 2 © 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved. ⾃⼰紹介 ⼭⼝ 能迪(やまぐち よしふみ) アマゾンウェブサービスジャパン合同会社 シニアデベロッパーアドボケイト 専⾨領域 • オブザーバビリティ • SRE全般 @ymotongpoo
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. 3 ひさびさのLTです︕
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. 4 緊張します︕
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. 5 Amazon Q Developer 使ってますか︖
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. 6 Q Dev for CLI 使ってますか︖
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. 7 いますぐ使いましょう︕
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. 8 Builder IDで無料枠分を⾃由に使えます bit.ly/create-builderid
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. 9 Q Dev for CLI を無料枠で利⽤可能
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. 10 Q Dev for CLI に AIエージェント機能が拡張 https://aws.amazon.com/jp/about-aws/whats-new/2025/03/amazon-q-developer-cli-agent-command-line/
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. 11 「Amazon Q Developer CLI での超⾼速な新しいエージェント型のコーディング体験」 Amazon Web Services ブログ 本⽇、Amazon Q Developer は強化した CLI のエージェントを 発表しました。Amazon Bedrock によって強化されたこの新し いエージェントにより、CLI は Claude 3.7 Sonnet の段階的推 論機能を活⽤できるようになりました。(中略)加えて、強化 された CLI はマルチターンの会話をサポートし、エージェン トと動的な対話を⾏いながら作業を進められるようになりまし た。
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. 12 今 Q Dev for CLI が熱い!
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. 13 試してみたくなりましたか︖
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. 14 Builder IDで無料枠分を⾃由に使えます(2回⽬) bit.ly/create-builderid
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. 15 うまく使うにはコツがあります
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. 16 ベータ機能: コンテキスト管理 (2025.04.01現在)
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. 17 c.f. 他のAIコーディングエージェントでの例 AIコーディングエージェントでは⼀般的な機能 • Cline • .clinerules • .clinerules/** • Roo Code • .clinerules-[mode] • Cursor • .cursor/rules/**.mdc • GitHub Copilot • .github/copilot-instructions.md
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. 18 AIエージェントを使いこなす=コンテキストをうまく与える エージェントに与えておきたいコンテキストを事前に記述 グローバル • .amazonq/rules/**/*.md • README.md • AmazonQ.md プロファイルごと • /context add [--force] path/to/file
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. 19 例: Python⽤のプロファイルの場合 1/3 $ cat ~/.aws/qcli/python/order.md # Python⽤プロファイル これはPythonを書くときに必要なプロファイルです。Pythonでコードを⽣成する際にはこの⽅針に必ずした がってください。 ## ロール定義 あなたはPythonのエキスパートです。次の設定に従って⾏動してください。 ### 利⽤するツール 2025年4⽉時点でモダンだとされているツールやライブラリを積極的に活⽤しますが、依存するツールセット はなるべく少なくします。利⽤するツールは次のとおりです。 …
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. 20 例: Python⽤のプロファイルの場合 2/3 > /profile create python current profile: python [python] > /context add --force ~/.aws/qcli/python/**/*.md Added 1 path(s) to profile context.
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. 21 例: Python⽤のプロファイルの場合 3/3 [python] > /context show current profile: python global: .amazonq/rules/**/*.md README.md AmazonQ.md profile: ~/.aws/qcli/python/**/*.md
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. 22
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. 23 試してみたくなりましたか︖
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. 24 Builder IDで無料枠分を⾃由に使えます(3回⽬) bit.ly/create-builderid
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. 25 コンテキストファイルを育てて Q Dev for CLIを使いこなしましょう︕
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. 26 Thank you! © 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.