Communitygithub.com

Audomsub/Tiktok-Shop

將當前對話轉化為規格書,並發布到專案的議題追蹤系統:無需面試,僅需綜合已討論的內容。

Tiktok-Shop 是什麼?

這個技能會讀取當前對話的上下文和程式碼庫的狀態,自動產出一份結構化規格書(spec),然後直接發布到專案的議題追蹤系統(如 GitHub Issues),並自動貼上「ready-for-agent」的分類標籤。開發者不需要再進行額外的面試或訪談,因為技能會從已有的對話中提取需求。使用前必須已經提供議題追蹤器和分類標籤詞彙表(若無則需執行 `/setup-matt-pocock-skills`)。支援的流程包括:探索儲存庫現狀、繪製測試接縫並與使用者確認、最後根據給定的模板撰寫規格書。模板包含問題陳述、解決方案、詳細的使用者故事、實作決策、測試決策、範圍外事項以及其他備註。此技能適合用於 Claude Code、Cursor、Codex 等需要自動產生開發規格的 AI 代理工具。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Audomsub/Tiktok-Shop/tree/HEAD/.agents/skills/to-spec

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

此技能會讀取當前對話的上下文和程式碼庫的理解,並產出一份規格書。請不要面試使用者;只需綜合你已經知道的內容。

議題追蹤器和分類標籤詞彙表應該已經提供給你。如果沒有,請告訴使用者執行 /setup-matt-pocock-skills。

流程

  1. 探索儲存庫以了解程式碼庫的當前狀態(如果尚未探索)。在整個規格書中使用專案的領域詞彙表,並尊重你觸及領域中的任何 ADR。

  2. 草擬你要測試功能的接縫。應優先使用現有接縫而非建立新接縫。使用最高可能的接縫。如果需要新的接縫,請在你所能提出的最高點提議。程式碼庫中的接縫越少越好 - 理想數量是一個。

與使用者確認這些接縫是否符合他們的期望。

  1. 使用以下模板撰寫規格書,然後將其發布到專案的議題追蹤系統。應用 ready-for-agent 分類標籤 - 無需額外的分類。

問題陳述

從使用者的角度來看,使用者面臨的問題。

解決方案

從使用者的角度來看,問題的解決方案。

使用者故事

一長串、編號的使用者故事清單。每個使用者故事應採用以下格式:

  1. 身為 <角色>,我想要 <功能>,以便 <效益>

<使用者故事範例>

  1. 身為行動銀行客戶,我想要查看帳戶餘額,以便更好地做出消費決策 </使用者故事範例>

這份使用者故事清單應極為詳盡,並涵蓋功能的所有面向。

實作決策

已做出的實作決策清單。這可以包含:

  • 將被建立/修改的模組
  • 這些模組將被修改的介面
  • 開發者的技術說明
  • 架構決策
  • 資料庫綱要變更
  • API 合約
  • 特定的互動

請不要包含具體的檔案路徑或程式碼片段。它們可能會很快過時。

例外:如果原型產生的程式碼片段比文字能更精確地編碼某個決策(狀態機、reducer、綱要、類型形狀),請將它內嵌在相關決策中,並簡短說明它來自原型。請只保留富含決策的部分,而非一個可運作的示範,僅保留重要的部分。

測試決策

已做出的測試決策清單。包含:

  • 什麼是好的測試的描述(只測試外部行為,不測試實作細節)
  • 哪些模組將會被測試
  • 這些測試的先例(即程式碼庫中類似的測試類型)

範圍外事項

此規格書中範圍外事項的描述。

進一步備註

關於此功能的任何進一步備註。

Individual skills in this repo

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

Audomsub/Tiktok-Shop

Review the changes since a fixed point (commit, branch, tag, or merge-base) along two axes: Standards (does the code follow this repo's documented coding standards?) and Spec (does the code match what the originating issue/spec asked for?). Runs both reviews in parallel sub-agents and reports them side by side. Use when the user wants to review a branch, a PR, work-in-progress changes, or asks to \"review since X\".

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

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).

相關技能