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
430
1
Share
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
More Decks by ymotongpoo
See All by ymotongpoo
生成AI時代の開発と運用 / Dev and Ops in Gen AI era
ymotongpoo
9
4.6k
生成AI時代にこそ求められるSRE / SRE for Gen AI era
ymotongpoo
12
9.1k
プロファイルとAIエージェントによる効率的なデバッグ / Effective debugging with profiler and AI assistant
ymotongpoo
1
1.7k
Goのビルドシステムの変遷 / The history of Go's build system
ymotongpoo
14
11k
今日から始めるpprof / Pprof workshop for beginners
ymotongpoo
8
8.4k
Amazon CloudWatchのメトリクスインターバルについて / Metrics interval matters
ymotongpoo
6
540
生成AI時代のSRE / SRE in Gen AI era
ymotongpoo
1
240
OpenTelemetry Collector internals
ymotongpoo
7
1.1k
AIとSREの未来 / AI and SRE
ymotongpoo
2
3.1k
Other Decks in Technology
See All in Technology
Do Ruby::Box dream of Modular Monolith?
joker1007
1
310
弁護士ドットコム株式会社 エンジニア職向け 会社紹介資料
bengo4com
1
120
2026年に相応しい 最先端プラグインホストの設計<del>と実装</del>
atsushieno
0
130
Standards et agents IA : un tour d’horizon de MCP, A2A, ADK et plus encore
glaforge
0
120
社内エンジニア勉強会の醍醐味と苦しみ/tamadev
nishiuma
0
100
Introduction to Sansan Meishi Maker Development Engineer
sansan33
PRO
0
390
AI時代 に増える データ活用先
takahal
0
170
目的ファーストのハーネス設計 ~ハーネスの変更容易性を高めるための優先順位~
gotalab555
8
1.9k
AI時代のガードレールとしてのAPIガバナンス
nagix
0
210
ぼくがかんがえたさいきょうのあうとぷっと
yama3133
0
180
Introduction to Sansan for Engineers / エンジニア向け会社紹介
sansan33
PRO
6
74k
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
16k
Featured
See All Featured
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
1
3.5k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
730
The World Runs on Bad Software
bkeepers
PRO
72
12k
How to train your dragon (web standard)
notwaldorf
97
6.6k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
1k
How to build a perfect <img>
jonoalderson
1
5.4k
How Software Deployment tools have changed in the past 20 years
geshan
0
33k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
130
Game over? The fight for quality and originality in the time of robots
wayneb77
1
160
Java REST API Framework Comparison - PWX 2021
mraible
34
9.3k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
3.8k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.7k
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.