Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Cursor CLIによるタスク自動化術
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
taiga
September 19, 2025
210
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Cursor CLIによるタスク自動化術
Cursor Meetup Fukuokaの登壇資料です
https://aiau.connpass.com/event/365360/
taiga
September 19, 2025
Transcript
23 slides
Cursor CLIによるタスク自動化術 Cursor Meetup Fukuoka
自己紹介 興野 大雅 株式会社USEN-ALMEX(U-NEXT.HD) R&D本部 開発部 バックエンド開発グループ 兼 R&D本部 プロジェクト管理部
採用・育成センター 兼 AIエバンジェリスト 開発言語 Go言語 活動 AIエージェントユーザー会 運営 AI駆動開発勉強会 運営
ドキュメント作成できていますか?
ドキュメントの更新は基本的にタスクの最後
システムが完成したらどうなる?
知らんのか 新たなタスクが降ってくる
地味に面倒なのに工数から忘れられがちな ドキュメント作成作業
出来るわけがねぇ!!
GitHubのマージをトリガーに AIに自動でドキュメントを更新してもらおう!!
Cursor CLIの公式ドキュメントに面白いものが
そもそもコレは何だ? A : Cursor CLIヘッドレスモードを使ったGitHub Actions CursorCLIを対話なしで実行することにより スクリプトやパイプラインに直接組み込める
中身を見てみよう - name: Cursor CLI をインストール run: | curl https://cursor.com/install
-fsS | bash cursor CLIをcurlコマンドのサイレントモードでインストール
中身を見てみよう - name: env: MODEL: gpt-5 CURSOR_API_KEY: ${{ secrets.CURSOR_API_KEY }}
run: | cursor-agent -p " …… プロンプト " --force --model "$MODEL" --output-format=text
中身を見てみよう - name: env: MODEL: gpt-5 CURSOR_API_KEY: ${{ secrets.CURSOR_API_KEY }}
run: | cursor-agent -p " …… プロンプト " --force --model "$MODEL" --output-format=text
中身を見てみよう - name: env: MODEL: gpt-5 CURSOR_API_KEY: ${{ secrets.CURSOR_API_KEY }}
run: | cursor-agent -p " …… プロンプト " --force --model "$MODEL" --output-format=text CursorのAPI Keyを設定する必要がある API KeyはCursorのWebページにログインし、Integrationsから New User API Keyを選択することで生成可能
API Keyの発行
中身を見てみよう - name: env: MODEL: gpt-5 CURSOR_API_KEY: ${{ secrets.CURSOR_API_KEY }}
run: | cursor-agent -p " …… プロンプト " --force --model "$MODEL" --output-format=text -p : レスポンスをコンソールに出力 –force : 明示的に拒否されない限りコマンドを強制許可する --model : 使用モデル --output-format : 出力形式(他、jsonなど)
結果
Cloudbuildにも乗せれるのでは?
動いた
課題 リクエストの開始から終了まで ほぼ確実に30分ほどの時間がかかる Cursorのフォーラムでも何人か同じ課題を 持っていたが原因は不明 将来的に解決されると思うが、 現状だとGitHub Actionsの時間の消費や Cloud buildの起動時間が長くなるため、
実業務には反映できない
まとめ 現状だと課題は残るものの mainブランチへのマージをトリガーに変更点を自動でまとめてプルリクを作成させる CICDでの失敗をトリガーに起動させ、失敗の原因と対処法を調査させる などタスクの自動化・効率化の観点で高いポテンシャルを感じる またこのような活用方法は、コレまでと異なり AIに詳しくない人でも似たような結果を簡単に得ることが出来る 業務におけるAI導入の即効性のある効率化の観点からも 注目する必要があるのでは
Thank you!
More Decks by taiga
See All by taiga
Grok Bot Tokyo Hackathon
taigakono
3
5.7k
Cursor SDKを布教したい
taigakono
0
87
エディタを超えたAIの新たなる戦場
taigakono
0
150
マルチリポジトリで開発する際のTips
taigakono
1
500
AI時代に叶えるセキュアなコードレビュー
taigakono
0
110
Cursor基本機能紹介
taigakono
1
1.3k
GitHub Copilotは、大体全てを内包している相棒だぜ!!
taigakono
0
120
コスパの良いjules(Google版Devin)を今のうちに
taigakono
0
160
月の兎ならぬAIの兎について
taigakono
0
64
Featured
See All Featured
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
550
A Modern Web Designer's Workflow
chriscoyier
699
190k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
990
sira's awesome portfolio website redesign presentation
elsirapls
0
500
Building Flexible Design Systems
yeseniaperezcruz
330
41k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
760
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
660
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
2
2.1k
What the history of the web can teach us about the future of AI
inesmontani
PRO
3
810
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.3k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.3k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
1
660