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
450
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
サンプリングは統計学である: 数理的根拠に基づき、オブザーバビリティのコストと精度を両立する
ymotongpoo
11
6.2k
Loadbalancing exporter internals
ymotongpoo
2
190
サンプリングは「作る」のか「使う」のか? 分散トレースのコストと運用を両立する実践的戦略 / Why you need the tail sampling and why you don't want it
ymotongpoo
4
330
生成AI時代の開発と運用 / Dev and Ops in Gen AI era
ymotongpoo
9
4.9k
生成AI時代にこそ求められるSRE / SRE for Gen AI era
ymotongpoo
12
11k
プロファイルとAIエージェントによる効率的なデバッグ / Effective debugging with profiler and AI assistant
ymotongpoo
1
2k
Goのビルドシステムの変遷 / The history of Go's build system
ymotongpoo
15
13k
今日から始めるpprof / Pprof workshop for beginners
ymotongpoo
8
10k
Amazon CloudWatchのメトリクスインターバルについて / Metrics interval matters
ymotongpoo
6
570
Other Decks in Technology
See All in Technology
今こそ聞きたいソフトウェア設計 ドメイン駆動設計再入門
masuda220
PRO
8
2.3k
事業価値と Engineering 2026年度版
recruitengineers
PRO
12
2.6k
AI ネイティブな組織に Gemini Enterprise Agent Platform がなぜ必要なのか
asei
1
160
[MIRU26] Open-Vocabulary Intention-Guided Object Detection in Diverse Scenes
keio_smilab
PRO
0
130
Forza Horizon 6 のテレメトリ機能で 自動運転に使えそうな学習データを集める話
henjin0
0
110
Cursor Meetup Sapporo - Cursor物語 続編
cocacola917
0
110
MIRU 2026 チュートリアル
keisuke198619
0
740
DevOps Agentで運用判断をチーム資産にする~Agent InstructionsとAgent Skillを継続的に育てる~
fujioka6789
0
200
20260722_品質と開発生産性の相互作用
magicpod
0
110
Swift&Xcodeのバージョンアップにまつわる怖かった思い出 / Scary Memories of Swift and Xcode Updates
bitkey
PRO
0
140
最高のシステムプロンプトを作るためにフィードバック機能を導入した話
alchemy1115
1
300
SmartHR Engineering Team Deck
smarthr
0
170
Featured
See All Featured
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
450
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
340
Code Review Best Practice
trishagee
74
20k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
450
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Faster Mobile Websites
deanohume
310
32k
Leo the Paperboy
mayatellez
8
2.1k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.3k
A Modern Web Designer's Workflow
chriscoyier
698
190k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
A designer walks into a library…
pauljervisheath
211
24k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
240
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.