Speq Patch Prのロゴ

Speq Patch Pr

組織
exasol-labs
speq-patch-pr

Ships a bug fix, small feature, or tweak as one ready PR: runs /speq-patch on the patch/patch-name branch, bumps the version, commits, and opens a ready pull request. Run again to resume. Arg: change intent text.

概要

公開者exasol-labs
リポジトリspeq-skill
スキル名speq-patch-pr
スター
54
フォーク
6
同梱ファイル
1
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 1個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    exasol-labsがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルSpeq Patch PrをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/exasol-labs/speq-skill/tree/main/.claude/skills/speq-patch-pr
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/exasol-labs/speq-skill.git /tmp/speq-skill
mkdir -p .claude/skills
cp -r /tmp/speq-skill/.claude/skills/speq-patch-pr .claude/skills/speq-patch-pr
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでSpeq Patch Prを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にSpeq Patch Prを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Speq Patch Prは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Patch, PR flow (Orchestrator)

This skill runs /speq-patch on its own branch and ships the result as a ready PR. /speq-patch writes the code, tests, specs, and docs. You run every git/gh action yourself, per /speq-git-operations. Stop on the first failed step and report it. Running it again resumes the work.

Required Skills

Invoke before starting:

  • /speq-writing-guardrails: prose style for GitHub text
  • /speq-git-operations: git/gh writes, PR title, version bump

/speq-patch invokes its own required skills.

Workflow

0. Load Project Hook

Check for .speq/patch-pr-hook.md in the repo root.

  • Present: read it. Announce "Loaded project hook: .speq/patch-pr-hook.md". Its content is authoritative: it can add to, change, or override any part of this workflow. If the hook conflicts with this workflow, the hook wins.
  • Absent: continue without mention.

1. Check Prerequisites and Name

  1. gh auth status fails, or the repository has no origin remote → stop before any edit and name the missing piece.
  2. Run /speq-patch steps 0 to 3: its hook, prerequisites, discovery, the patch name, and the first size check.
  3. Derive the PR title from <patch-name> per /speq-git-operations § PR title and version bump.

2. Branch

Run checkout with patch/<patch-name>.

  • Found: the latest commit HEAD is not on origin/<default-branch>, has the PR title as subject, and git status --porcelain lists nothing outside the patch folder, new files included → go to step 5. Otherwise go to step 3.
  • Not found: run create-branch with patch/<patch-name> and base: origin/<default-branch>. Uncommitted changes the user assigned to the patch carry over.

3. Patch

Run /speq-patch steps 4 to 8, but keep the patch folder: step 5 deletes it. Keep the report for the PR body. Skip its closing line.

4. Bump Version

Bump the version file and sync the lockfile per /speq-implement-pr step 3, at the level /speq-git-operations § PR title and version bump gives.

5. Ship

  1. Run the suites and the lint command once more per /speq-patch step 4, so the PR reports the tree it ships. Red → stop and report as in /speq-patch step 4.
  2. A run that resumed here reads the ADR and architecture lines from the commit's diff, and the affected plans from speq plan list.
  3. Ship:
Run operation: ship-ready (per /speq-git-operations)
  paths: every file /speq-patch changed except the patch folder, the version file, and the lockfile
  message: <the PR title>
  title: <the PR title>
  body: per references/pr-body-template.md
  1. Delete the patch folder specs/_plans/<patch-name>/.

Never merge the PR.

6. Report

Give the PR link, the new version, and the /speq-patch report.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Speq Patch Pr」では何ができますか?

Ships a bug fix, small feature, or tweak as one ready PR: runs /speq-patch on the patch/patch-name branch, bumps the version, commits, and opens a ready pull request. Run again to resume. Arg: change intent text.

TypingMindでSpeq Patch Prを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Speq Patch Prはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにSpeq Patch Prをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/exasol-labs/speq-skill/tree/main/.claude/skills/speq-patch-prを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Speq Patch Prを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Speq Patch Prは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもSpeq Patch Prを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Speq Patch Pr」は無料ですか?

はい。exasol-labsがGitHubでMITライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇