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
61
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
本部長の代わりに提案書レビュー! KDDI営業が毎日使うAIエージェント「A-BOSS」開発秘話
minorun365
PRO
14
2.3k
AIの最新技術&テーマをつまんで紹介&フリートークするシリーズ #1 量子機械学習の入門
tkhresk
0
120
JSX - 歴史を振り返り、⾯⽩がって、エモくなろう
pal4de
3
1.1k
Oracle Cloud Infrastructure:2025年6月度サービス・アップデート
oracle4engineer
PRO
1
130
登壇ネタの見つけ方 / How to find talk topics
pinkumohikan
1
120
生成AIでwebアプリケーションを作ってみた
tajimon
2
120
Perk アプリの技術選定とリリースから1年弱経ってのふりかえり
stomk
0
120
Workflows から Agents へ ~ 生成 AI アプリの成長過程とアプローチ~
belongadmin
3
170
Agentic Workflowという選択肢を考える
tkikuchi1002
1
320
_第3回__AIxIoTビジネス共創ラボ紹介資料_20250617.pdf
iotcomjpadmin
0
140
2年でここまで成長!AWSで育てたAI Slack botの軌跡
iwamot
PRO
2
130
A2Aのクライアントを自作する
rynsuke
1
140
Featured
See All Featured
Faster Mobile Websites
deanohume
307
31k
The Pragmatic Product Professional
lauravandoore
35
6.7k
A designer walks into a library…
pauljervisheath
206
24k
Java REST API Framework Comparison - PWX 2021
mraible
31
8.6k
Rails Girls Zürich Keynote
gr2m
94
14k
Documentation Writing (for coders)
carmenintech
71
4.9k
Making Projects Easy
brettharned
116
6.2k
Being A Developer After 40
akosma
90
590k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
32
2.3k
Bash Introduction
62gerente
614
210k
Building Flexible Design Systems
yeseniaperezcruz
328
39k
Building a Modern Day E-commerce SEO Strategy
aleyda
41
7.3k
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.