Documentation Index
Fetch the complete documentation index at: https://mintlify.com/jorgeferrando/sdd-skills/llms.txt
Use this file to discover all available pages before exploring further.
/sdd-recall is the project memory retrieval skill. Before starting a new change, use it to surface relevant decisions, business rules, and architectural rationale from previous change cycles — so you don’t repeat work, contradict settled decisions, or miss important constraints. It searches learnings.md, canonical specs, the domain index, and archived changes, then ranks and presents the most relevant excerpts. In compact mode, it also keeps learnings.md lean as it grows over time.
Usage
Prerequisites
openspec/initialized via/sdd-init- At least one archived change or canonical spec exists
Search mode (default)
Search mode is read-only. It never modifies any file.openspec/steering/learnings.md — synthesized learnings from past change cycles (decisions, discarded alternatives, unexpected couplings, anti-patterns). Checked first because it is the fastest path to non-obvious context.openspec/INDEX.md — domain lookup; matches against domain names, summaries, entities, and keywords.openspec/specs/*/spec.md — canonical specs (current truth for each domain).openspec/changes/archive/*/ — archived changes (historical decisions):
proposal.md— problem context and alternatives considereddesign.md— technical decisions and rationalespecs/*/spec.md— delta specs with business rules
Matches the query against domain names, spec titles, problem descriptions in proposals, decision tables in designs, business rules (
BR-xx entries), and keyword fields in INDEX.md.RECALL: "authentication middleware"
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Canonical specs:
openspec/specs/auth/spec.md
- BR-01: Sessions expire after 24h of inactivity
- BR-02: Refresh tokens are single-use
Archived decisions:
openspec/changes/archive/2026-03-10-add-auth/design.md
- Chose JWT over session cookies — stateless, no server-side storage
- Discarded OAuth2 for v1 — too complex for current scope
openspec/changes/archive/2026-03-10-add-auth/proposal.md
- Original problem: needed auth for public API endpoints
- Out of scope: admin roles (deferred to separate change)
Related domains:
openspec/specs/api/spec.md — references auth middleware in request flow
Suggestions:
- The auth domain already has conventions for token handling — follow them
- The original design explicitly deferred admin roles — if your change
needs them, start a new spec rather than modifying the archived one
- The API spec references auth middleware at the routing layer —
check if your change affects that integration point
All search modes are read-only — they never modify files. Results are informational; you decide what to apply. If a broad query returns too many matches, the skill will ask you to narrow it.
Compact mode
/sdd-recall compact synthesizes and prunes openspec/steering/learnings.md to keep it useful as it grows. This is the only mode that writes a file, and it always asks for confirmation before doing so.
(supersedes entry from {date})openspec/specs/ and INDEX.md)conventions.mdBefore rewriting anything, presents a full summary of what will change and waits for your confirmation:
COMPACT PLAN: openspec/steering/learnings.md
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Entries found: 12
Entries to merge: 3 → 1 (auth coupling mentioned in 2026-01, 2026-02, 2026-03)
Entries to remove: 2 (references module-legacy which was deleted)
Entries to promote: 1 (anti-pattern "never call ServiceA from ServiceB" → conventions.md)
Entries unchanged: 6
Proceed? (y/n)
learnings.md and shows the exact text to add to conventions.md — but does not write conventions.md automaticallyCompact mode rewrites
learnings.md only after you confirm the plan. Any entry promoted to conventions.md is shown as text for you to add manually — the skill never writes conventions.md on its own.Skill metadata
| Field | Value |
|---|---|
name | sdd-recall |
model_hint | haiku |
requires | openspec/specs/ |
produces | (none — search modes are read-only; compact rewrites openspec/steering/learnings.md) |
When to use /sdd-recall
Before /sdd-new
Before /sdd-new
Check whether a similar problem was solved before. Surface existing business rules and past alternatives so your new change builds on settled decisions rather than duplicating or contradicting them.
During /sdd-propose or /sdd-design
During /sdd-propose or /sdd-design
Find alternatives that have already been evaluated and discarded. Review past architectural decisions in the same domain to avoid re-litigating choices that were made deliberately.
When onboarding to an existing project
When onboarding to an existing project
Run
/sdd-recall without a query to see all domains, then search by area to understand why things were built the way they were.Periodically — to maintain learnings.md
Periodically — to maintain learnings.md
Run
/sdd-recall compact regularly (e.g., after every few archived changes) to merge duplicates, remove stale entries, and promote recurring anti-patterns into conventions.md where they belong.Next steps
With relevant context found, use it to inform:/sdd-new "description"— start a new change with full awareness of prior decisions/sdd-propose— write a proposal informed by past alternatives and problem context/sdd-design— make architectural decisions with past rationale already loaded