agentleFS
brunella328brunella328/andon/skills/spec/SKILL.md

spec

Skill0 starsChanged 2 months agoMITView on GitHub

把目前的對話收斂成一份 spec(含可測的 AC),更新到 story 的 issue body——DOR 門檻的交付物。不訪談,只綜合已經討論過的內容。

168 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use backprop, ios-clean and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • JuliusBrusseeSkill

    backprop

    Bug → spec protocol. When a bug is found or a test fails, trace the cause, decide whether a new §V invariant would catch recurrence, append to §B. This is the one non-obvious thing SDD does that plan-then-execute doesn't. Triggers on test failure, bug report, post-mortem, or explicit user ask.

    Also in 4 projects that use this

  • Saqlain-811Skill

    ios-clean

    Remove the DebugBridge SPM package and all #if DEBUG wiring from an iOS app. (gstack)

    Also in 5 projects that use this

  • Saqlain-811Skill

    ios-fix

    Autonomous iOS bug fixer. (gstack)

    Also in 5 projects that use this

  • bastosSkill

    ios-design-review

    Review iOS app UI/UX design quality using Apple's design principles and the Liquid Glass-era design language from WWDC25/26. Use when asked for a design review, UX critique, visual design assessment, or evaluation of an app's interface quality, design intent, alignment with the new Apple design system, or usability. Triggers: "design review", "UX review", "visual design critique", "review the UI", "does this design work", "evaluate this interface", "design feedback", "Liquid Glass review".

    Also in 5 projects that use this

  • ShreyRaviSkill

    plan-tune

    Self-tuning question sensitivity + developer psychographic for gstack (v1: observational). Review which AskUserQuestion prompts fire across gstack skills, set per-question preferences (never-ask / always-ask / ask-only-for-one-way), inspect the dual-track profile (what you declared vs what your behavior suggests), and enable/disable question tuning. Conversational interface — no CLI syntax required.

    Also in 7 projects that use this

  • timurgaleevSkill

    document-generate

    Generate missing docs for a feature, module or project as tutorials, how-tos, reference and explanation.

    Also in 6 projects that use this

  • +2 more from Saqlain-811

The file

Files
SKILL.md

/sdlc:spec — 定 AC(DOR 門檻)

把目前的對話與 codebase 理解綜合成一份 spec。不要重新訪談使用者—— 還有沒收斂的決策才用 /sdlc:grill-with-docs 補,那是這個 skill 的前一步。

先讀 docs/agents/sdlc.md(tracker 參數)。找不到就停下,請使用者先跑 /sdlc:init。

預設是「更新既有 story 的 body」,不是「開新 issue」

情況動作
使用者指定了 story 編號(如 /sdlc:spec 240)改寫該 issue 的 body,spec 接在既有段落後面
討論的主題明顯對應某張既有 story先問「這是要寫進 #NNN 嗎?」,確認後改寫
真的是全新的工作範圍才開新 issue:走設定檔的「開票三步驟」(Status = Todo),有 Epic 容器就掛進去

Epic 容器 issue 絕不修改或關閉。

流程

  1. 讀 CONTEXT.md,spec 全程用領域詞彙;尊重要動的區域的 ADR。 spec 用設定檔指定的文件語言寫——讀者是批准者(和客戶),不是 AI。
  2. 想清楚測試要下在哪些 seam。優先用既有的 seam、越高越好,理想數量是一。
  3. 依下方模板寫 spec、更新 issue body。
  4. RIPER-5 收尾:
    • story Status → 1.Research Review
    • 留 comment 請批准者審 AC
    • 停下來等批准。 未批准不得進 Plan(不得跑 /sdlc:plan)。

Spec 模板

## Problem            ← 使用者視角的問題
## Solution           ← 使用者視角的解法
## User Stories       ← 長的編號清單:As a…, I want…, so that…
## Implementation Decisions ← 模組、介面、schema、契約。不寫檔案路徑與程式碼(會過期)
## Testing Decisions  ← 議定的 seam、prior art、什麼是好測試(只測外部行為)
## Acceptance Criteria
  - [ ] 每條都能被單獨驗證(測得出來、看得到、點得到)
  - [ ] 禁用「妥善處理」「適當顯示」這類無法判定的措辭
  - [ ] 對照 User Stories 逐條回推,沒有故事沒有 AC
## 不做               ← 明確排除的事,防範圍膨脹。視覺類驗不了收就明講
## 外部依賴           ← 卡在客戶/第三方的前置,逐一標對應 issue 的完整網址。沒有寫「無」

寫完後 DOR 自我核對:

  • 消除歧義:AC 有無邏輯衝突或多重解釋?
  • 資訊缺口:有無缺少的外部數據或裁示?(有 → 列成 Q1、Q2⋯, 標出題目之間的相依與淘汰關係,附你的建議答案)
  • 這張 story 達到 Ready 了嗎?

未決問題(Q1、Q2⋯)寫進 body,不是只留在 comment—— 開工後才浮出來的問題是票沒寫好的證據。

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.