Community程式設計與開發github.com

viictiiyo-dev/tiktok-bridge

根據專案描述初始化新的規格結構

tiktok-bridge 是什麼?

此技能主要用於初始化規格結構。它會根據使用者提供的專案描述生成一個獨特的功能名稱,並建立對應的規格目錄與初始化檔案(spec.json 與 requirements.md)。此流程會優先檢查是否已有來自 /kiro-discovery 的簡報(brief.md),以預先填寫專案描述並跳過重複的提問步驟。此外,它會確保功能名稱的唯一性,並在遇到衝突、範本缺失或寫入失敗時提供明確的錯誤處理與建議。此技能支援所有依循此規格架構的開發環境,特別適用於需要結構化文件管理的專案。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/viictiiyo-dev/tiktok-bridge/tree/HEAD/.opencode/skills/kiro-spec-init

Installed? Explore more 程式設計與開發 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜歡的 AI 中提問

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

說明文件

規格初始化

執行步驟

  1. 檢查簡報:如果 .kiro/specs/{feature-name}/brief.md 存在(由 /kiro-discovery 建立),則讀取它。簡報包含來自探索階段的問題、方法、範圍和限制。使用此內容預先填寫專案描述,並跳過簡報已回答的澄清問題。
  2. 釐清意圖:requirements.md 中的專案描述必須包含三個要素:(a) 誰有問題,(b) 當前情況,(c) 應該改變什麼。如果 brief.md 存在並涵蓋這些要素,則跳至步驟 3。否則,在繼續之前要求使用者澄清。提出所需的問題,不要自行填補空白。
  3. 檢查唯一性:檢查 .kiro/specs/ 是否有命名衝突。如果該目錄已存在且僅包含 brief.md(無 spec.json),請使用該目錄(探索階段已建立)。
  4. 建立目錄:.kiro/specs/[feature-name]/(如果探索階段已存在則跳過)
  5. 使用範本初始化檔案:
    • 讀取 .kiro/settings/templates/specs/init.json
    • 讀取 .kiro/settings/templates/specs/requirements-init.md
    • 取代佔位符:
      • {{FEATURE_NAME}} → 生成的功能名稱
      • {{TIMESTAMP}} → 目前 ISO 8601 時間戳記
      • {{PROJECT_DESCRIPTION}} → 如果有 brief.md 則使用其內容,否則使用 $ARGUMENTS
      • es → 語言代碼(從使用者的輸入語言偵測,預設為 en)
    • 將 spec.json 和 requirements.md 寫入規格目錄

重要限制

  • 請勿生成需求、設計或任務。此技能僅建立 spec.json 和 requirements.md。

輸出說明

使用 spec.json 中指定的語言提供輸出,結構如下:

  1. 生成的功能名稱:feature-name 格式,附帶 1-2 句理由說明
  2. 專案摘要:簡短摘要(1 句)
  3. 已建立檔案:附帶完整路徑的項目符號清單
  4. 下一步:命令區塊,顯示 /kiro-spec-requirements <feature-name>

格式要求:

  • 使用 Markdown 標題(##, ###)
  • 將命令包裹在程式碼區塊中
  • 保持總輸出簡潔(少於 250 字)
  • 根據 spec.json.language 使用清晰、專業的語言

安全性與備援

  • 功能名稱不明確:如果功能名稱生成不明確,提出 2-3 個選項並讓使用者選擇
  • 範本遺失:如果 .kiro/settings/templates/specs/ 中不存在範本檔案,報告錯誤並附上特定遺失檔案路徑,建議檢查儲存庫設定
  • 目錄衝突:如果功能名稱已存在,附加數字後綴(例如 feature-name-2)並通知使用者自動衝突解決方案
  • 寫入失敗:報告錯誤並附上特定路徑,建議檢查權限或磁碟空間

Individual skills in this repo

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

viictiiyo-dev/tiktok-bridge

Investigate implementation failures using root-cause-first debugging. Use when an implementer is blocked, verification fails, or repeated remediation does not converge.

viictiiyo-dev/tiktok-bridge

Entry point for new work. Determines the best action path or work decomposition (update existing spec, create new spec, mixed decomposition, or no spec needed) and refines ideas through structured dialogue.

viictiiyo-dev/tiktok-bridge

Implement approved tasks using TDD with subagent dispatch. Runs all pending tasks autonomously or selected tasks manually.

viictiiyo-dev/tiktok-bridge

Review a task implementation against approved specs, task boundaries, and verification evidence. Use after an implementer finishes a task, after remediation, or before accepting a task as complete.

viictiiyo-dev/tiktok-bridge

Create complete specs (requirements, design, tasks) for all features in roadmap.md using parallel sub-agent dispatch by dependency wave.

viictiiyo-dev/tiktok-bridge

Create comprehensive technical design for a specification

viictiiyo-dev/tiktok-bridge

Quick spec generation with interactive or automatic mode

viictiiyo-dev/tiktok-bridge

Generate comprehensive requirements for a specification

viictiiyo-dev/tiktok-bridge

Show specification status and progress

viictiiyo-dev/tiktok-bridge

Generate implementation tasks for a specification

viictiiyo-dev/tiktok-bridge

Create custom steering documents for specialized project contexts

viictiiyo-dev/tiktok-bridge

Manage .kiro/steering/ as persistent project knowledge

viictiiyo-dev/tiktok-bridge

Interactive technical design quality review and validation

viictiiyo-dev/tiktok-bridge

Analyze implementation gap between requirements and existing codebase

viictiiyo-dev/tiktok-bridge

Validate feature-level integration after all tasks are implemented. Checks cross-task consistency, full test suite, and overall spec coverage.

viictiiyo-dev/tiktok-bridge

Verify completion and success claims with fresh evidence. Use before claiming a task is complete, a fix works, tests pass, or a feature is ready for GO.

相關技能