list
List all architecture decisions and specs with their status. Use when the user asks "what decisions have we made", "list ADRs", "show specs", or wants an overview.
What this skill does
# List Architecture Decisions and Specs
List all ADRs and specs in the project with their status, date, and title.
## Process
<!-- Governing: ADR-0016 (Workspace Mode), SPEC-0014 REQ "Artifact Path Resolution" -->
0. **Resolve artifact paths**: Follow the **Artifact Path Resolution** pattern from `references/shared-patterns.md` to determine the ADR and spec directories. If `$ARGUMENTS` contains `--module <name>`, resolve paths relative to that module; otherwise, in a workspace, aggregate across all modules. The resolved ADR directory is `{adr-dir}` and spec directory is `{spec-dir}`.
<!-- Governing: ADR-0016 (Workspace Mode), SPEC-0014 REQ "Cross-Module Aggregation" -->
**Cross-module aggregation**: When in aggregate mode (no `--module`, workspace detected), list artifacts from all modules. Add a `Module` column to the output tables with module names in square brackets (e.g., `[api]`). Sort by module name first, then by artifact number. When `--module` is provided, scope to that single module — no module column needed. When in single-module mode (no workspace), operate normally.
1. **Parse filter**: Check `$ARGUMENTS` for a filter keyword:
- `adr` -- only show ADRs
- `spec` -- only show specs
- `all` or empty -- show both (default)
2. **Scan for ADRs** (unless filter is `spec`):
- Glob for `{adr-dir}/ADR-*.md` files (in aggregate mode, glob per-module and prefix results with module name)
- For each file, extract `status` and `date` per the **Status Field Extraction** algorithm in Step 3a (`/sdd:prime` defines this canonically; `/sdd:list` reuses it for the same legacy-format reasons)
- Extract the title from the first `# ` heading
- Sort by ADR number
3. **Scan for specs** (unless filter is `adr`):
- Glob for `{spec-dir}/*/spec.md` files (in aggregate mode, glob per-module and prefix results with module name)
- For each file, extract `status` and `date` per the **Status Field Extraction** algorithm referenced above
- Extract the title from the first `# ` heading (e.g., `SPEC-0001: Web Dashboard`)
- Sort by SPEC number
3a. **Status Field Extraction**: same algorithm as `/sdd:prime` Step 3a. Briefly: try YAML frontmatter `status:` first; if absent, scan the first 30 lines for a `- **Status:** {value}` bullet (case-insensitive on "Status"); strip any parenthetical refinement notes (split on `(`, trim); if neither form yields a value, render as `—` when *some* artifacts have status, or drop the Status column entirely when *zero* do.
4. **Present results** as a formatted table:
**Single-module or `--module` mode:**
```
## Architecture Decisions
| ID | Title | Status | Date |
|----|-------|--------|------|
| ADR-0001 | Choose frontend framework | accepted | 2025-01-15 |
| ADR-0002 | Choose PostgreSQL | proposed | 2025-02-01 |
## Specifications
| ID | Title | Status | Date |
|----|-------|--------|------|
| SPEC-0001 | Web Dashboard | approved | 2025-01-20 |
```
**Workspace aggregate mode:**
```
## Architecture Decisions ({N} across {K} modules)
| Module | ID | Title | Status | Date |
|--------|----|-------|--------|------|
| [api] | ADR-0001 | Choose REST over GraphQL | accepted | 2025-01-15 |
| [api] | ADR-0002 | Choose PostgreSQL | proposed | 2025-02-01 |
| [worker] | ADR-0001 | Choose Redis for queues | accepted | 2025-01-20 |
## Specifications ({M} across {K} modules)
| Module | ID | Title | Status | Date |
|--------|----|-------|--------|------|
| [api] | SPEC-0001 | Web Dashboard | approved | 2025-01-20 |
| [worker] | SPEC-0001 | Job Processing | draft | 2025-02-01 |
```
5. **Handle empty results**: If no ADRs or specs exist, tell the user:
- "No ADRs found. Create one with `/sdd:adr [description]`."
- "No specs found. Create one with `/sdd:spec [capability]`."
## Rules
- MUST use the **Status Field Extraction** algorithm in Step 3a to support both YAML-frontmatter and inline-bullet formats — leaving Status blank for legacy repos that use `- **Status:** {value}` is misleading and was reported as a real-world bug
- MUST drop the Status column entirely when zero artifacts in the rendered corpus have a parseable status; render `—` for missing entries when the column is partially populated. **Workspace aggregate mode**: the rendered corpus is the union across all modules — drop the column only when ZERO artifacts across ALL modules have status. If even one module has status, keep the column
- MUST strip parenthetical refinement notes from extracted status values (preserved in source files; not rendered in tables)
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.