Communitygithub.com

mattpocock/loop-me

このワークスペース内で構築したいワークフローの仕様について、私を問い詰めてください。

loop-me とは?

このスキルは、ユーザーの生活や仕事における反復パターン(「ループ」)を特定し、それをAIエージェントが実装可能なワークフロー仕様として文書化するための対話型セッションを提供します。主にClaude Codeのようなコーディングエージェント向けに設計されており、`/grilling` というステートフルなコマンドを通じて、仕様が完全に定義されるまで質問を繰り返します。ワークフロー仕様は `workflows/*.md` に保存され、トリガー、チェックポイント、ブリーフなどの共通語彙を用いて記述されます。このスキルの最終目標は、実装者が一切の質問をせずにワークフローを構築できるほど詳細な仕様を作成することです。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/mattpocock/skills/tree/main/skills/in-progress/loop-me

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

ステートフルな /grilling セッションを実行し、その唯一の出力は ワークフロー 仕様です。グリル(執拗な、一度に一連の質問、各質問に推奨回答を添付する)の規律を使用し、以下の語彙と目標を達成します。グリリングによって問題が解決されるにつれて、仕様の作成、編集、削除を行います。

ループレンズ

ループ とは、ユーザーの人生における繰り返しパターンです。例:キャリア、1週間、毎朝、単一の反復活動。人生をループの中のループとして描くことで、実際にどれほど活動が予測可能であるかが明らかになり、それが 委任 に値する理由となります。このレンズを使用して、仕様化する価値のあるループを見つけ、ユーザーが気づいていないループを提案してください。

ワークフロー とは、1つのループの仕様を具体化したものです。ワークフローはループ上で実行されます。ループはその実行中のインスタンスです。ワークフローは workflows/*.md に格納され、唯一の情報源です。

語彙

共有言語であり、ワークフローが必要とする場合にのみ使用されます。決してチェックリストではありません。 構造的なものを強制しないでください:グリリングが必要と示さない限り、ワークフローにAI、チェックポイント、スケジュールは必要ありません。

  • トリガー:各実行を起動するもの。イベント(新しいメール、新しい課題)または スケジュール(毎朝)です。通常、イベントトリガーの方が効率的です。
  • チェックポイント:人間がループ内で検証または判断を行うポイントです。チェックポイントがなく、自律的に実行されるワークフローもあります。AIをまったく使用しないワークフローもあります。
  • 右にプッシュ:チェックポイントを可能な限り先送りします。人間を関与させる前に最大限の作業を行い、すべてを準備した状態で、遅い段階で一度だけ質問します。
  • ブリーフ:チェックポイントが提示するもの。タイトで、判断可能な要約(何が生成されたか、なぜか、そしてアセット自体へのリンク)。生の出力ではありません。ユーザーはドラフトではなくブリーフを読みます。レビューの速さが不可欠です。

完了の定義

ワークフロー仕様は、実装エージェントが質問を一切せずに構築できる状態になったときに完了です。その状態になるまでグリリングを続けてください。質問が残っているうちは何も完了していません。

ワークスペース

  • workflows/*.md:ワークフローごとに1つの仕様。
  • NOTES.md:ユーザーの世界、使用するツール、処理するチャネル、およびそれらに対するユーザー自身の用語に関する生のメモ。空または薄い場合は、仕様を具体化する前にユーザーの世界についてインタビューしてください。あいまいな用語が表面化したら、正規の用語に絞り込み、ここに記録してください。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

mattpocock/ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

mattpocock/caveman

Ultra-compressed communication mode. Cuts token usage ~75% by dropping filler, articles, and pleasantries while keeping full technical accuracy. Use when user says "caveman mode", "talk like caveman", "use caveman", "less tokens", "be brief", or invokes /caveman.

mattpocock/claude-handoff

Hand the current conversation off to a fresh background agent that picks up the work immediately.

mattpocock/codebase-design

Shared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary.

mattpocock/design-an-interface

Generate multiple radically different interface designs for a module using parallel sub-agents. Use when user wants to design an API, explore interface options, compare module shapes, or mentions "design it twice".

mattpocock/diagnose

Disciplined diagnosis loop for hard bugs and performance regressions. Reproduce → minimise → hypothesise → instrument → fix → regression-test. Use when user says "diagnose this" / "debug this", reports a bug, says something is broken/throwing/failing, or describes a performance regression.

mattpocock/diagnosing-bugs

Diagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports something broken/throwing/failing/slow.

mattpocock/domain-modeling

Build and sharpen a project's domain model. Use when the user wants to pin down domain terminology or a ubiquitous language, record an architectural decision, or when another skill needs to maintain the domain model.

mattpocock/edit-article

Edit and improve articles by restructuring sections, improving clarity, and tightening prose. Use when user wants to edit, revise, or improve an article draft.

mattpocock/git-guardrails-claude-code

Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute. Use when user wants to prevent destructive git operations, add git safety hooks, or block git push/reset in Claude Code.

mattpocock/grilling

Grill the user relentlessly about a plan or design. Use when the user wants to stress-test a plan before building, or uses any 'grill' trigger phrases.

mattpocock/grill-me

Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree. Use when user wants to stress-test a plan, get grilled on their design, or mentions "grill me".

mattpocock/grill-with-docs

Grilling session that challenges your plan against the existing domain model, sharpens terminology, and updates documentation (CONTEXT.md, ADRs) inline as decisions crystallise. Use when user wants to stress-test a plan against their project's language and documented decisions.

mattpocock/handoff

Compact the current conversation into a handoff document for another agent to pick up.

mattpocock/implement

Implement a piece of work based on a PRD or set of issues.

mattpocock/implement-spec

Implement a specification in code.

mattpocock/improve-codebase-architecture

Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.

mattpocock/migrate-to-shoehorn

Migrate test files from `as` type assertions to @total-typescript/shoehorn. Use when user mentions shoehorn, wants to replace `as` in tests, or needs partial test data.

mattpocock/obsidian-vault

Search, create, and manage notes in the Obsidian vault with wikilinks and index notes. Use when user wants to find, create, or organize notes in Obsidian.

mattpocock/prototype

Build a throwaway prototype to flesh out a design — a runnable terminal app for state/business-logic questions, or several radically different UI variations toggleable from one route.

関連スキル