Never Twiceのロゴ

Never Twice

組織
off-grid-ai
never-twice

Turn each pull request review into a sharper engineering standard, so the same mistake doesn't come back. Your agent keeps only the general lessons from a review, writes each into code-check with a signal a grep can catch, and logs its source. Use when you say "learn from this review", "/never-twice", "update the standard from these comments", or at the end of safe-to-merge.

概要

公開者off-grid-ai
リポジトリskills
スキル名never-twice
スター
189
フォーク
23
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

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

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

スキルの指示

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

Learn from every review

The code-check skill is only as good as the mistakes it has learned to catch. Every review is a free lesson. This skill decides which lessons are worth keeping, and folds those, and only those, back into code-check so the next PR starts from a higher bar. The discipline is as much about what you REFUSE to add as what you add: a bloated standard is an ignored standard.

Where the standard lives. code-check/SKILL.md (its PLAN, AUDIT and Standards sections) and its provenance log code-check/LEDGER.md, wherever your agent installed the skill (for example .claude/skills/, .agents/skills/, or the project's own skills folder). If the team keeps its standard elsewhere (a CONTRIBUTING.md, an engineering handbook), fold lessons there instead and keep the same ledger beside it.

Input. The review comments for a PR: from safe-to-merge Phase 2, or gh pr view <n> --comments plus gh api repos/{owner}/{repo}/pulls/{n}/comments, or a set the user pastes. Include your own AUDIT findings and any bug that slipped past the test suite: a shipped regression is the highest-signal lesson there is ("why did the suite stay green?").


Step 1: For each comment, classify GENERIC or SPECIFIC

Promote a lesson into the standard only if all five hold:

  1. Recurs. It is a class of mistake, not this feature's domain bug. The test: "Would this exact comment be valid on an unrelated PR, in another repo?" If it only makes sense for this feature, it is SPECIFIC: discard.
  2. Maps to a section. It sharpens an existing rule, tell or anti-pattern in one Standards section (Separation of concerns, Avoid local state, SOLID, SSOT / DRY, One seam across platforms, Testing, Design, Copy, Branch / PR / honesty, Mechanical gates), or it shows a genuinely missing section. Name the section.
  3. Detectable. You can state it as a rule with a tell: a concrete signal a reviewer or a grep can catch next time (kind ===, a hardcoded hex color, expect(x).toHaveBeenCalled(), a duplicated constant). "Write better code" is not a tell: discard.
  4. Not already covered. Search the current skill. If the rule is already there, do NOT duplicate it; at most tighten the existing wording. Most near-misses land here.
  5. Portable. It belongs in the cross-repo standard. Repo-specific facts (a path, a command, a token name) go to that repo's agent instructions (CLAUDE.md, AGENTS.md, .cursor/rules, or the equivalent), not here. Anything a formatter or linter already enforces is not a lesson: it is a gate config (Mechanical gates).

Discard (do not touch the skill) when: it is a one-off domain bug; a style preference the formatter or linter owns; project-specific (it goes to the repo's agent instructions); already covered; or a nit with no general signal. Discarding is the common, correct outcome: most comments are SPECIFIC.

Output a short table: each comment, GENERIC or SPECIFIC, and for a generic one the target section and the tell.

Step 2: Fold the GENERIC lessons in, minimally

For each GENERIC lesson:

  • Prefer sharpening an existing bullet over adding a new one. Add the missing tell or anti-pattern to the rule that already exists. Add a new bullet only when no existing rule covers it. Add a new section only when a whole dimension is missing (rare; justify it).
  • Write in the skill's voice: an imperative rule, the tell, and optionally the anti-pattern. Terse. Match the density of the text around it. No preamble, no hedging.
  • Keep it tight. The bar for this skill is high signal, no bloat. If your addition makes a section longer without making it sharper, cut it back. One vivid tell beats three paragraphs.
  • One section per lesson. If a comment spans two sections, split it.

Step 3: Show the diff, apply, log

  • Show the exact before and after edit to code-check/SKILL.md for each accepted lesson. Keep edits surgical (a tightened sentence, an added tell); never rewrite a section.
  • Apply the edits.
  • Log provenance in code-check/LEDGER.md, one line per accepted lesson: YYYY-MM-DD · <repo> PR #<n> · <section> · <the one-line lesson>. The ledger is the audit trail: it lets anyone see why a rule exists and revert a bad addition. Use absolute dates. Keep only the one-liner in the ledger; the content lives in the skill.
  • Report: N comments reviewed, M generic (folded into which sections), N minus M specific (discarded, with why in one phrase). If M is 0, say so plainly. A review with no general lesson is normal and honest; do not invent one to justify an edit.

Guardrails

  • The skill must not only grow. When you add, look for a rule the new tell makes redundant, and merge them. Net size stays roughly flat; density rises.
  • Never weaken a rule to match a shipped mistake. Lessons raise the bar, never lower it (as with coverage: raise, never lower).
  • A shipped regression changes the test class, not just the code. If the lesson is "the suite stayed green while the feature broke", the edit is a sharper Testing tell about the missing corner or seam. Then search the codebase for tests of the same shape.
  • Don't over-fit to one loud reviewer. One bot's style preference is not a standard. The "would it recur elsewhere?" test must pass on its own merits.

よくある質問

AIスキル「Never Twice」では何ができますか?

Turn each pull request review into a sharper engineering standard, so the same mistake doesn't come back. Your agent keeps only the general lessons from a review, writes each into code-check with a signal a grep can catch, and logs its source. Use when you say "learn from this review", "/never-twice", "update the standard from these comments", or at the end of safe-to-merge.

TypingMindでNever Twiceを使うメリットは何ですか?

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

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

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/off-grid-ai/skills/tree/main/review/skills/never-twiceを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Never Twiceを使えるAIモデルはどれですか?

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

Never Twiceで使えるAIモデルの数に制限はありますか?

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

AIスキル「Never Twice」は無料ですか?

はい。off-grid-aiがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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