Skip to content
Skills Library
Programming · Research

phx-recall

/phx-recall

Recall prior work from past sessions — how a bug was fixed, what was decided, where a pattern lives. Use when asked 'have we done this before' or 'how did I fix X' in Elixir/Phoenix work. ccrider MCP when available, else git + solution docs.

Licence
MIT
Last repository change
22.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
2
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 22.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Recall prior work from past sessions — how a bug was fixed, what was decided, where a pattern lives. Use when asked 'have we done this before' or 'how did I fix X' in Elixir/Phoenix work. ccrider MCP when available, else git + solution docs.

Triggers from the description

have we done this beforehow did I fix X
Original author description

Recall prior work from past sessions — how a bug was fixed, what was decided, where a pattern lives. Use when asked 'have we done this before' or 'how did I fix X' in Elixir/Phoenix work. ccrider MCP when available, else git + solution docs.

How it works

  1. Usage
  2. Iron Laws
  3. Workflow
  4. Integration
  5. References
Original SKILL.md headings · 84 lines, 477 words
SKILL.md preview
---
name: phx-recall
description: Recall prior work from past sessions — how a bug was fixed, what was
  decided, where a pattern lives. Use when asked 'have we done this before' or 'how
  did I fix X' in Elixir/Phoenix work. ccrider MCP when available, else git + solution
  docs.
---

# Recall — Session & History Archaeology

Search three evidence layers, cheapest first, to answer "have we solved
this before?". Stop at the first layer that answers the question.

## Usage

```
phx-recall how did we fix the LiveView form that saved silently?
phx-recall what did we decide about the billing context boundaries?
phx-recall which library did we pick for rate limiting and why?
```

## Iron Laws

1. **Cheapest layer first** — solution docs (local grep) → git history →
   session transcripts. Don't fetch sessions when a solution doc answers
2. **ONE ccrider fetch = ONE subagent** — `get_session_messages` responses
   are 3–15KB each. Spawn a subagent per session that writes a summary
   file and exits; NEVER batch multiple session fetches into one context
3. **Cite the evidence** — every claim names its source (solution doc
   path, commit hash, or session date + match snippet). No vague "we did
   this once"
4. **Graceful degradation, stated plainly** — if ccrider MCP is absent,
   say so once and use the fallback layers; never error out

## Workflow

### Layer 1: Compound Solution Docs (always)

Run Grep with keywords from the question over `.claude/solutions/`.
Treat a hit here as the best answer — it was written for exactly this
purpose. Present it and stop unless the user wants more.

### Layer 2: Git Archaeology (always available)

```bash
git log --oneline --grep="{keyword}" -i -20      # commit messages
git log -S "{code-symbol}" --oneline -10          # when a symbol changed
git log --follow --oneline -10 -- {file}          # one file's history
git show {hash} --stat                            # inspect a candidate
```

Use `-S` (pickaxe) when the question names code; `--grep` when it names
intent. Show matching commits with one-line context each.

### Layer 3: Session Transcripts (ccrider MCP, gated)

Check for `mcp__ccrider__*` tools (load via ToolSearch if deferred).

**If absent**: report "ccrider MCP not connected — answered from solution
docs + git history" and stop after Layers 1–2.

**If present**:

1. `mcp__ccrider__search_sessions` with the question's key phrases —
   returns ranked hits with session IDs and snippets
2. Present the top 3–5 hits (date, snippet) and pick the most relevant
   (or ask, if genuinely ambiguous)
3. Per selected session, spawn ONE subagent: "Fetch session {id} via
   `mcp__ccrider__get_session_messages`, extract only what answers
   '{question}', write ≤30 lines to `.claude/recall/{id}.md`" (Iron Law 2)
4. Read the summary files, synthesize the answer with citations

### Step 4: Answer + Compound

Present the answer with its evidence trail. If the recalled knowledge was
NOT already in `.claude/solutions/`, offer `phx-compound` so the next
recall stops at Layer 1.

## Integration

```text
"have we done this before?" → phx-recall
   Layer 1 .claude/solutions/ ──hit──► answer + cite
   Layer 2 git log --grep/-S  ──hit──► answer + cite
   Layer 3 ccrider sessions (gated) ─► answer + cite → offer phx-compound
```

## References

- `references/archaeology-patterns.md` — git pickaxe recipes, ccrider query patterns, subagent prompt template
Files in this package (2)
  • SKILL.md 3 KB
  • references/archaeology-patterns.md 2 KB

Versions

RepositoryScoreLicence
This page · oliver-kriska/claude-elixir-phoenix100MIT
oliver-kriska/claude-elixir-phoenix100MIT
oliver-kriska/claude-elixir-phoenix100MIT
oliver-kriska/claude-elixir-phoenix100MIT

Database snapshot: 13.11.2026 · package version 920c89d4b2ac (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100recall
    Recall prior work from past sessions — how a bug was fixed, what was decided, where a pattern lives. Use when asked 'have we done this before' or 'how did I fix X' in Elixir/Phoenix work. ccrider MCP when available, else git + solution docs.
  • 100phx-full
    Run portable end-to-end lifecycle with gates. Use for full features; use $elixir-phoenix:phx-work for an existing plan.
  • 100elixir-expert
    Expert-level Elixir, Phoenix, OTP, and concurrent systems. Use when the user mentions Phoenix, OTP, Erlang, concurrent, or functional, or when the task involves Elixir Fundamentals or Phoenix Framework.
  • 100gendiff
    Use elixirstream.dev's gendiff API to see exactly what changed between two versions (and flag sets) of an Elixir/Phoenix code generator, so you upgrade from real diffs instead of guessing. Trigger this whenever the user wants to upgrade or bump Phoenix, phx.new, phx.gen.auth,…
  • 95sentry-elixir-sdk
    Full Sentry SDK setup for Elixir. Use when asked to "add Sentry to Elixir", "install sentry for Elixir", or configure error monitoring, tracing, logging, or crons for Elixir, Phoenix, or Plug applications. Supports Phoenix, Plug, LiveView, Oban, and Quantum.
  • 95using-elixir-skills
    This skill should be used when the user works on any .ex or .exs file, mentions Elixir/Phoenix/Ecto/OTP, the project has a mix.exs, or asks "which skill should I use", "new to Elixir", "help with Elixir". Routes to the correct thinking skill BEFORE exploring code. Triggers on…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.