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

code-mate-pi

できること

このエージェントは、「Pi」というツールを使って、コード内の特定のタスクを分析したり実装したりします。継続的なやり取りを必要とせず、自動で実行されます。

使う場面

  • ✓AIにコードを分析させて、問題を見つけたいとき。
  • ✓プロジェクトに特定の機能を実装させたいとき。
  • ✓繰り返し行うコード分析の作業を自動化したいとき。

スキルのリンク

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

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

使い方

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

貼り付け用メッセージ

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

AIへの頼み方の例

“このファイルを分析して、構文エラーがあるかどうか教えてください。”

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

仕組み

バックグラウンドで「Pi」プログラムを起動し、コードを分析して、結果をコンピュータが読み取りやすい形式(JSON)で返すように設定します。開始前に「Pi」がインストールされているか、アクセス設定が正しいかを確認します。

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

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

Pi

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 pi. If it is missing, stop and ask the user to install Pi in Code Mate.
  3. Run one sessionless task:
pi --mode json --no-session "<prompt>"

Pass the prompt as one quoted argument. Parse stdout as JSONL and inspect error events; Pi can report model or tool failure in the event stream, so process exit alone is insufficient. Never start interactive Pi or /login.

Authentication And Permissions

If Pi reports missing login, model, provider, or API configuration, stop and ask the user to configure Pi in Code Mate. Never request, read, print, or copy credentials.

Pi has no tool-approval prompt and normally exposes read, write, edit, and Bash tools. For analysis, append --tools read,grep,find,ls. Include write, edit, or Bash only when the user explicitly requested workspace changes, and keep the tool list and working directory as narrow as possible.

Example: run a read-only diagnosis with --tools read,grep,find,ls, then use the final JSONL message only if no error event occurred.

よくある質問

「Pi」とは何ですか?

「Pi」は、コードの分析や作業を自動で行うためのプログラムです。

「非対話型」とはどういう意味ですか?

エージェントが各ステップでユーザーの許可や確認を求めることなく、自分で作業を進めるという意味です。

「Pi」がインストールされていない場合はどうなりますか?

エージェントは、動作させるには「Pi」のインストールが必要であることをお知らせします。

詳細

作者による元の説明

Runs Pi non-interactively and parses its JSON event stream for repository tasks. Use when the user asks to delegate a bounded analysis or implementation task to Pi.

repo: CherryHQ/cherry-studio

人気

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

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

0

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

コメント

  • …

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

似ているスキル