本文へスキップ
Skillpedia
一般的なプログラミング53k · #3383

code-mate-opencode

できること

このAIエージェントは、コードの分析やプログラミング作業を行うのに役立ちます。コードプロジェクトを調べたり、別のコーディングツールと比較したり、OpenCodeという別のツールに作業を任せたりできます。

使う場面

  • ✓コードプロジェクトを分析したいとき。
  • ✓OpenCodeと別のコーディングツールを比較したいとき。
  • ✓AIに特定のコーディング作業をさせたいとき。

スキルのリンク

https://github.com/CherryHQ/cherry-studio/blob/main/resources/code-cli-skills/code-mate-opencode/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/CherryHQ/cherry-studio/blob/main/resources/code-cli-skills/code-mate-opencode/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“このプロジェクトを分析して、主要なファイルを教えて。”

毎週5つの新しいスキル。1分で読めます。

仕組み

バックグラウンドでOpenCodeというプログラムを実行します。OpenCodeがコードを分析し、必要な情報を返すので、あなたが直接操作する必要はありません。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

OpenCode

Run

  1. Set the Bash working directory to the exact project the user named and set a finite timeout, normally 10 minutes.
  2. Check availability with command -v opencode. If it is missing, stop and ask the user to install OpenCode in Code Mate.
  3. Run one task and exit:
opencode run "<prompt>" --format json

Pass the prompt as one quoted argument. Parse stdout as a JSON event stream and treat an error event or nonzero exit as failure. Never start the interactive OpenCode UI or an authentication flow.

Authentication And Permissions

If OpenCode reports a missing provider or credentials, stop and ask the user to configure OpenCode in Code Mate. Never request, read, print, or copy credentials.

Headless mode denies permission prompts by default; keep that behavior for analysis. Only when the user explicitly requests workspace changes may the command enable the minimum tools needed. Do not add --auto merely to avoid a denied permission.

Example: ask OpenCode to inspect a failing test without editing, run the command above from that repository, and summarize the final content event and any tool errors.

よくある質問

OpenCodeとは何ですか?

プログラミングのコードを分析したり、コードを扱ったりするのを助けるツールです。

何かをインストールする必要がありますか?

はい。このエージェントを動かすには、OpenCodeをインストールしておく必要があります。

AIがコードを編集することはありますか?

基本的にはありません。明示的に最小限の必要な変更を依頼しない限り、分析して情報を報告するように設計されています。

詳細

作者による元の説明

Runs OpenCode non-interactively for repository analysis and coding tasks. Use when the user asks to delegate work to OpenCode or compare OpenCode with another coding agent.

repo: CherryHQ/cherry-studio

人気

GitHubのスター
53k
ランキング
#3383
ライセンス
AGPL-3.0
更新日
2026/10/15

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル