Communitygithub.com

Audomsub/Tiktok-Shop

固定された基点(コミット、ブランチ、タグ、マージベース)からの変更を、2つの軸(標準:コードがリポジトリのドキュメント化されたコーディング標準に従っているか、仕様:コードが元のIssue/仕様要求と一致しているか)でレビューします。両方のレビューを並列サブエージェントで実行し、結果を並べて報告します。ブランチ、PR、作業中の変更のレビュー、または「Xからのレビュー」を依頼された場合に使用します。

Tiktok-Shop とは?

このスキルは、Gitの差分を2つの独立した軸(コーディング標準と仕様適合性)に沿ってレビューするための高度なコードレビューツールです。標準軸では、リポジトリ内のドキュメント化されたコーディング標準(例:CODING_STANDARDS.md)に加え、Fowlerのコードスメル(不適切な名前、重複コードなど)のベースラインをチェックします。仕様軸では、コミットメッセージや指定されたパスから元のIssueや仕様を特定し、実装が要求を満たしているか、スコープクリープがないかを検証します。二つの軸は並列サブエージェントとして独立して実行されるため、各レビューのコンテキストが混ざらず、結果は別々のセクションで報告されます。これにより、標準に準拠しているが仕様を満たしていない、またはその逆といった、片方の軸がもう片方を覆い隠す問題を防ぎます。対応プラットフォームは、Gitを使用し、エージェント機能をサポートする任意の開発環境です。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Audomsub/Tiktok-Shop/tree/HEAD/.agents/skills/code-review

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

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

ドキュメント

2軸レビュー:HEADとユーザーが指定した固定基点の差分をレビューするスキル

  • 標準(Standards):コードはこのリポジトリのドキュメント化されたコーディング標準に準拠しているか?
  • 仕様(Spec):コードは元のIssue/仕様を忠実に実装しているか?

両方の軸は並列サブエージェントとして実行されるため、互いのコンテキストを汚染しません。その後、このスキルがそれぞれの結果を集約します。

Issueトラッカーが提供されている必要があります。提供されていない場合は、ユーザーに /setup-matt-pocock-skills を実行するように指示してください。

プロセス

1. 固定基点を確定する

ユーザーが指定した固定基点(コミットSHA、ブランチ名、タグ、main、HEAD~5など)を使用します。ユーザーが指定しなかった場合は、入力を求めます。

差分コマンドを1回記録:git diff <固定基点>...HEAD(三点ドット。マージベースとの比較)。また、git log <固定基点>..HEAD --oneline でコミットのリストも取得します。

先に進む前に、固定基点が解決可能であること(git rev-parse <固定基点>)、および差分が空でないことを確認します。存在しない参照や空の差分の場合は、2つの並列サブエージェント内ではなく、ここで失敗させる必要があります。

2. 仕様ソースを特定する

元の仕様を以下の優先順位で探します:

  1. コミットメッセージ内のIssue参照(#123、Closes #45、GitLab !67 など)。トラッカードキュメントのワークフローを使用して取得します。
  2. ユーザーが引数として渡したパス。
  3. ブランチ名または機能に一致する、docs/、specs/、または .scratch/ 下の仕様ファイル。
  4. 何も見つからない場合は、ユーザーに仕様の場所を尋ねます。ユーザーが仕様はないと言った場合、Specサブエージェントはスキップされ、「利用可能な仕様なし」と報告します。

3. 標準ソースを特定する

コードの書き方を文書化しているすべてのファイルをリポジトリ内で検索します。CODING_STANDARDS.md または CONTRIBUTING.md が存在する場合は、リストに含める必要があります。

リポジトリが文書化している内容に加えて、標準軸は常に以下のスメルベースラインを保持します。これはFowlerのコードスメル(

Individual skills in this repo

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

Audomsub/Tiktok-Shop

A relentless interview to sharpen a plan or design, which also creates docs (ADR's and glossary) as we go.

Audomsub/Tiktok-Shop

Implement a piece of work based on a spec or set of tickets.

Audomsub/Tiktok-Shop

Postgres best practices maintained by Supabase, for Postgres running anywhere. Load this skill BEFORE writing or changing anything that lives in a Postgres database: creating or altering tables and columns (including choosing column types), schema design, migrations and declarative schema files, RLS policies and the tests that verify them, indexes, triggers, database functions, queues and scheduled jobs (pg_cron, pgmq), vector/semantic search (pgvector), and restoring dumps (pg_restore) or importing data. Also load it when diagnosing slow queries, high CPU, timeouts, EXPLAIN plans, connection exhaustion, locking, bloat, or rows visible to the wrong user or tenant. This is not just a performance guide — schema, migration, security, and SQL authoring tasks need these rules too, even for a one-column change or a single query.

Audomsub/Tiktok-Shop

Use when doing ANY task involving Supabase. Triggers: Supabase products (Database, Auth, Edge Functions, Realtime, Storage, Vectors, Cron, Queues); client libraries and SSR integrations (supabase-js, @supabase/ssr) in Next.js, React, SvelteKit, Astro, Remix; auth issues (login, logout, sessions, JWT, cookies, getSession, getUser, getClaims, RLS); Supabase CLI or MCP server; schema changes, migrations, declarative schemas, security audits, Postgres extensions (pg_graphql, pg_cron, pg_vector); debugging and troubleshooting errors or unexpected behavior on Supabase projects (HTTP errors, Postgres errors, RLS surprises, permission denied, schema cache issues, timeouts, Edge Function crashes, Realtime drops, Storage failures) and reading or querying logs (Logs Explorer, ClickHouse).

Audomsub/Tiktok-Shop

Turn the current conversation into a spec and publish it to the project issue tracker: no interview, just synthesis of what you've already discussed.

Audomsub/Tiktok-Shop

Break a plan, spec, or the current conversation into a set of tracer-bullet tickets, each declaring its blocking edges, published to the configured tracker (edges as text in one file per ticket locally, or native blocking links on a real tracker).

関連スキル