Remember

educlopez/ui-craft/cli/assets/codex/skills/remember

作者 educlopezceecc8e1fb0c2befda73da996435900d6dd0c1ac無授權條款375 個星標收錄於 2026年10月9日更新於 2026年10月9日儲存庫5 週前更新

Record a learned design constraint from a correction into the project brief. Invoke when the user asks for remember on their UI, or mentions 'remember' alongside design / UI / frontend work.

AI 產生的概覽

把從修正中學到的 UI 設計限制記錄到專案簡報,讓後續工作階段沿用。

功能
從使用者的修正或參數中擷取設計規則與原因,並在 .ui-craft/brief.md 的第 6 節(已學限制)附加帶日期的項目。若簡報或該節不存在則建立;若新限制與既有原則或限制衝突,會將其標記為已棄用而非刪除;也可選擇把規則同步到外部記憶服務以供跨專案使用。最後以一行確認規則記錄的位置。
適用情境
當使用者要求記住某項 UI、設計或前端偏好,或修正設計決策並希望其被保留時使用。它是更廣泛的 ui-craft 技能的一個視角,著重設計工作而非一般筆記。
執行需求
僅為指示,沒有指令碼。需要存取專案的 .ui-craft/brief.md 檔案;若需跨專案記憶,還需要代理可用的外部記憶服務。
<!-- HARNESS MIRROR — do not edit here. Canonical source: skills/ or commands/. After editing source, copy into cli/assets/<harness>/ and repo-root harness mirrors. -->

Context: this sub-skill is one lens of the broader ui-craft skill. If the ui-craft skill is also installed, read its SKILL.md first for Discovery + Anti-Slop + Craft Test, then apply the specific lens below.

Load references/brief.md (sections 6 + Self-Correction) before proceeding.

Step 1: Capture the constraint

From the argument (or the immediately preceding correction in the conversation), capture:

  • What changed or is preferred — the concrete rule.
  • Why — the reason. Mandatory; without it the constraint can't generalize. If it isn't stated, ask one short question.
  • Phrase the rule so a future build can apply it without this conversation's context.

Step 2: Write it to the brief

Append a dated entry to section 6 (Learned constraints) of .ui-craft/brief.md:

markdown
- **YYYY-MM-DD** — <the rule>. *Why:* <reason>.

Create the brief (run /brief) or the section 6 heading if absent. If the new constraint contradicts an existing principle or constraint, mark the old one deprecated with a dated reason (brief is append-mostly) rather than deleting it. Never store a rule that breaches the accessibility/correctness floor — record the closest compliant interpretation and say so.

Step 3: Cross-project reach (optional)

If the user signals this should apply to all their projects ("in all my projects", "whenever you work with me"), that's general memory, outside the brief's project scope:

  • If an external memory service is available to the agent, mirror the constraint there so other projects inherit it.
  • If not, record it in this brief and note that cross-project recall would need such a service.

Step 4: Confirm

Report in one line where it landed and what it changes, e.g.:

Recorded in the brief (learned constraint): never gradients on a hero here.

Next step: Keep working. The constraint now lives in the brief, so every future session reads it (rung 2).

來源與署名

來源:educlopez/ui-craft位於cli/assets/codex/skills/remember提交ceecc8e

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架