# Matrix Rain Implementation Plan
> **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking.
**Goal:** Add matrix rain canvas animation to `packages.danix.xyz` headers, using the `danix2-hugo-theme` engine adapted for the header-scoped layout.
**Architecture:** A single JS file at `.assets/matrix-rain.js` is served from the repo root and loaded via `
${CSS}
```
Full `
` block after change:
```bash
danix Slackware Repository
${CSS}
```
- [ ] **Step 2: Verify syntax**
```bash
bash -n gen_web_hook.sh
```
Expected: no output.
- [ ] **Step 3: Commit**
```bash
git add gen_web_hook.sh
git commit -m "feat: load matrix-rain.js in generated _header.html"
```
---
### Task 4: Hide `.assets/` from Apache directory listing
**Files:**
- Modify: `htaccess`
- [ ] **Step 1: Add `IndexIgnore .assets` to `htaccess`**
In `htaccess`, find the `IndexIgnore` line (around line 15). Append `.assets` to it:
```apache
IndexIgnore _header.html _footer.html .htaccess .htpasswd \
CHECKSUMS.md5 CHECKSUMS.md5.asc CHECKSUMS.md5.gz CHECKSUMS.md5.gz.asc \
FILELIST.TXT MANIFEST.bz2 \
PACKAGES.TXT PACKAGES.TXT.gz \
ChangeLog.txt.gz GPG-KEY \
.assets
```
- [ ] **Step 2: Commit**
```bash
git add htaccess
git commit -m "chore: hide .assets dir from Apache autoindex"
```
---
### Task 5: Update CLAUDE.md
**Files:**
- Modify: `CLAUDE.md`
- [ ] **Step 1: Add `.assets/` and `--accent2` notes to CLAUDE.md**
In the **CSS design system** section, update the CSS variables list to include `--accent2`:
```markdown
- Colors: `--bg`, `--bg-card`, `--bg-hover`, `--border`, `--accent`, `--accent-dim`, `--accent2`, `--green`, `--text`, `--text-dim`, `--text-head`
```
Add a new **Static assets** section after the CSS section:
```markdown
## Static assets
`.assets/matrix-rain.js` — matrix rain canvas animation. Served from `$PKGREPO/.assets/`. Loaded via `
```
- [ ] **Step 4: Clean up**
```bash
rm -rf /tmp/test-pkgrepo
```