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
130
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
生成AI時代のSRE / SRE in Gen AI era
ymotongpoo
1
29
OpenTelemetry Collector internals
ymotongpoo
6
620
AIとSREの未来 / AI and SRE
ymotongpoo
2
2.2k
Amazon CloudWatch Application Signals ではじめるバーンレートアラーム / Burn rate alarm with Amazon CloudWatch Application Signals
ymotongpoo
7
970
書籍『入門 OpenTelemetry』 / Intro of OpenTelemetry book
ymotongpoo
11
900
サイト信頼性エンジニアリングとAmazon Web Services / SRE and AWS
ymotongpoo
11
2.9k
オブザーバビリティの観点でみるAWS / AWS from observability perspective
ymotongpoo
11
4.4k
信頼性を支えるテレメトリーパイプラインの構築 / Building Telemetry Pipeline with OpenTelemetry
ymotongpoo
10
7.5k
オブザーバビリティのマクロからミクロまで / Observability from macro to micro
ymotongpoo
13
8k
Other Decks in Technology
See All in Technology
第64回コンピュータビジョン勉強会「The PanAf-FGBG Dataset: Understanding the Impact of Backgrounds in Wildlife Behaviour Recognition」
x_ttyszk
0
240
毎晩の 負荷試験自動実行による効果
recruitengineers
PRO
5
180
60以上のプロダクトを持つ組織における開発者体験向上への取り組み - チームAPIとBackstageで構築する組織の可視化基盤 - / sre next 2025 Efforts to Improve Developer Experience in an Organization with Over 60 Products
vtryo
3
1.9k
助けて! XからWaylandに移行しないと新しいGNOMEが使えなくなっちゃう 2025-07-12
nobutomurata
2
200
組織内、組織間の資産保護に必要なアイデンティティ基盤と関連技術の最新動向
fujie
0
280
All About Sansan – for New Global Engineers
sansan33
PRO
1
1.2k
伴走から自律へ: 形式知へと導くSREイネーブリングによる プロダクトチームの信頼性オーナーシップ向上 / SRE NEXT 2025
visional_engineering_and_design
3
460
衛星運用をソフトウェアエンジニアに依頼したときにできあがるもの
sankichi92
1
1.1k
〜『世界中の家族のこころのインフラ』を目指して”次の10年”へ〜 SREが導いたグローバルサービスの信頼性向上戦略とその舞台裏 / Towards the Next Decade: Enhancing Global Service Reliability
kohbis
3
1.5k
安定した基盤システムのためのライブラリ選定
kakehashi
PRO
3
130
AWS Well-Architected から考えるオブザーバビリティの勘所 / Considering the Essentials of Observability from AWS Well-Architected
sms_tech
1
110
Digitization部 紹介資料
sansan33
PRO
1
4.5k
Featured
See All Featured
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
KATA
mclloyd
30
14k
Making the Leap to Tech Lead
cromwellryan
134
9.4k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
48
2.9k
Navigating Team Friction
lara
187
15k
Visualization
eitanlees
146
16k
jQuery: Nuts, Bolts and Bling
dougneiner
63
7.8k
Producing Creativity
orderedlist
PRO
346
40k
A better future with KSS
kneath
238
17k
YesSQL, Process and Tooling at Scale
rocio
173
14k
GraphQLとの向き合い方2022年版
quramy
49
14k
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
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.