Skip to content
Back to skills

Evolution

ASecurity

Learn a codebase by reading what CHANGED — old features, new features, reversals, the full CLI/API surface compared against the modules that back it, every branch and every tag, and the release gap between them. Appends each run to a growing ledger so successive runs compound instead of repeating. Use when user says "evolution", "what changed", "old vs new features", "learn our code", "read all changes", "list all branches and tags", or returns to a repo after time away. Do NOT trigger for a ...

  • 132 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added December 3, 2026
documentationrustgobashgitapi

Works with

  • cli
  • api

Security analysis

A100/100

Scanned December 3, 2026

npx -y skills add Soul-Brews-Studio/arra-oracle-skills-cli --skill evolution --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Evolution?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Evolution
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/soul-brews-studio-evolution/badge)](https://www.skillsdirectory.com/skills/soul-brews-studio-evolution)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: evolution
description: Learn a codebase by reading what CHANGED — old features, new features, reversals, the full CLI/API surface compared against the modules that back it, every branch and every tag, and the release gap between them. Appends each run to a growing ledger so successive runs compound instead of repeating. Use when user says "evolution", "what changed", "old vs new features", "learn our code", "read all changes", "list all branches and tags", or returns to a repo after time away. Do NOT trigger for a single commit (use git show), session history (use /dig), or finding where code lives (use /trace).
group: code
tier: full
---

# /evolution

> Read the diff of the project against itself. Features arrive, features reverse, and the
> gap between the newest tag and the newest commit is where the lying starts.

Appends to `ψ/memory/evolution/<repo>.md`. **Never overwrites** — each run adds a dated
section, so run 5 can see what run 1 believed and whether it held.

```text
/evolution              # full pass, append a new section
/evolution --since <ref># only changes after a tag/commit/date
/evolution --quick      # surface + counts only, no per-commit reading
```

## Rule: curiosity is the deliverable

A run that only restates `git log --oneline` has failed. Every pass must surface at least
one thing a changelog would not say. Look for these — they are where the insight lives:

| hunt for | how it shows up |
|---|---|
| **a reversal** | a later commit undoing an earlier design, not fixing a bug |
| **release gap** | newest tag older than newest commit → shipped ≠ written |
| **orphan branch** | work committed, never merged, never tagged |
| **surface drift** | a CLI command with no module, or a module with no command |
| **deprecations** | `deprecated: true`, `--flag is deprecated`, zombie/archive moves |
| **doc lag (generated)** | a README table a script writes drifting from disk — regenerate and the drift is gone |
| **doc lag (prose)** | a hand-written claim no generator touches: nothing will ever fix it by itself |
| **cadence shape** | tags bunched in days then silence, vs thinning intervals — burst and stop is a person leaving, not a project decaying |

If a pass finds none of these, say so plainly — "no reversals, no gap, surface matches"
is a real finding. Do not manufacture one.

**A run with zero new commits is normal and is not an excuse.** Code stops moving; docs, counts,
branch lists, tag cadence and the surface do not stop drifting, and the previous run's open question is
still open. Read something this time that no earlier run read. If the whole pass is genuinely unchanged,
say "0 commits, nothing drifted" and name what you checked to know that.

## 1. Surface — the API paths

Commands come from the registry, not from guessing. Verify against live `--help`; a
command that exists in a module but is not registered is a finding, not a typo.

```bash
# modules that back commands
ls src/cli/commands/*.ts | xargs -n1 basename | sed 's/.ts//' | tr '\n' ' '

# the names each module actually registers
for f in src/cli/commands/*.ts; do
  printf '%-14s %s\n' "$(basename "$f" .ts)" \
    "$(rg -o "\.command\(\s*['\"]([a-z][a-z0-9:_-]*)" "$f" | sed "s/.*['\"]//" | sort -u | tr '\n' ' ')"
done

# ground truth
<run-the-cli> --help
```

Compare the three. **Report module ↔ command mismatches explicitly** — one module may
register several commands (`xray.ts` → `inspect`, `xray`), and a command may carry an
alias (`install|add`). Both are normal; an unregistered module is not.

## 2. Branches — all of them, local and remote

```bash
git branch --format='%(refname:short)'
git branch -r --format='%(refname:short)' | rg -v HEAD
```

For each non-default branch worth naming, say whether it is **merged, ahead, or orphaned**:

```bash
git branch --no-merged <default> --format='%(refname:short)'
git log <default>..<branch> --oneline | wc -l
```

A branch holding commits that reach no tag is unreleased work. Name it.

## 3. Tags — count, newest, and the gap

```bash
git tag | wc -l
git tag --sort=-creatordate | head -8
git log "$(git tag --sort=-creatordate | head -1)"..HEAD --oneline | wc -l

# cadence — the shape matters more than the count
git tag --sort=-creatordate --format='%(creatordate:short)' | uniq -c | head -12
```

**Read the cadence, do not just print it.** A project winding down shows thinning intervals. Tags
bunched into a few consecutive days followed by flat silence is a different fact: one working session
that released as it went and stopped when it ended. Say which shape you see, with the counts.

**The gap is the headline.** Commits after the newest tag are written-but-unshipped. State
the number and the branch they sit on.

## 4. Changes — old, new, reversed

```bash
SINCE=${SINCE:-$(git tag --sort=-creatordate | head -1)}
git log "$SINCE"..HEAD --date=short --format='%ad %h %s'

# new capability: files ADDED
git log "$SINCE"..HEAD --diff-filter=A --name-only --format= | sort -u

# removed capability
git log "$SINCE"..HEAD --diff-filter=D --name-only --format= | sort -u
```

Classify each commit — **do not just list them**:

- **new** — capability that did not exist
- **changed** — behaviour altered
- **reversed** — undoes an earlier deliberate decision (read the earlier commit to confirm;
  a reversal is the single most valuable thing this skill finds)
- **fix** — restores intended behaviour
- **chore** — no behaviour change

For anything marked **reversed**, name the commit it reverses and what the original
reasoning was. That pair is the insight.

## 5. Counts worth tracking across runs

```bash
ls -d skills/*/ | wc -l        # or the repo's equivalent unit
ls -d src/skills/*/ | wc -l
git tag | wc -l
```

The ledger makes these a time series. A count that moved without a commit explaining it is
a finding.

**Record the list, not only the number, for anything you want to diff next run** — branch names, tag
names, skill names. A later run that sees `20 (was 21)` and has no list cannot say *which* one went,
and "a branch disappeared, unknown which" is a weaker finding than it needed to be. Keep long lists in
a `<details>` block so the section stays readable.

When a count did move, check whether the thing that vanished had a remote copy. A deleted branch that
lived on origin is housekeeping; a deleted branch that lived on one disk is lost work.

## 6. Append — never overwrite

```bash
ROOT=$(git rev-parse --show-toplevel)
PSI=$(readlink -f "$ROOT/ψ" 2>/dev/null || echo "$ROOT/ψ")
OUT="$PSI/memory/evolution/$(basename "$ROOT").md"
mkdir -p "$(dirname "$OUT")"
[ -f "$OUT" ] || printf '# Evolution — %s\n\nAppend-only. Newest section last.\n' "$(basename "$ROOT")" > "$OUT"
```

Append one section per run:

```markdown
---

## <YYYY-MM-DD HH:MM> · <HEAD short sha> · <branch>

**Surface**: N commands / M modules · mismatches: <list or none>
**Branches**: N local (was M), K remote · unreleased: <branch (n commits)> or none · `<details>` the full list
**Tags**: N total · newest <tag> (<date>) · **gap: n commits**
**Counts**: <unit>: a (was b)

### Answer to run N's open question
<state it as settled, refuted or still open — and show the commands. A refuted hypothesis is a
finding, not a failure: say "refuted" in those words so run N+2 does not re-ask it.>

### New
### Changed
### Reversed
### Insight
<the thing a changelog would not say. Required. "none found" is allowed, invention is not.>

### Open question for next run
<what this pass could not settle>
```

**Read the previous section before writing a new one.** If a past run's open question is now
answerable, answer it in the new section and say which run asked. That is what makes the
ledger compound rather than repeat.

Announce the absolute path:

```bash
echo "📈 Evolution: $OUT"
```

## Rules

- Verify the command surface against live `--help`. Never list commands from memory.
- Every claim carries its command. A count with no command behind it is a guess.
- A reversal must cite both commits.
- Never overwrite the ledger; append only.
- Read the previous section first, and close its open question when you can.
- Size the window before trusting a `rg` count — an 8-line window around an array reported 16 entries of 22,
  which would have manufactured a doc-lag finding. For a list, print the whole list.
- Timestamps in the section header come from `date` at write time, never from the previous section's
  pattern.
- `--quick` may skip per-commit classification. It may NOT skip the tag gap — that is the
  one number most likely to be wrong and most likely to matter.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in documentation →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.