# Claude Code — Workflow Dispatcher

## Global Rules

**Repo path:** `C:\Users\gb105\OneDrive\Documents\GitHub\core3.com\AI`

**Deploy:** Git push to `main` only. GitHub Actions automatically deploys to `https://www.core3.com/AI/`. No FTP, no manual upload.

**CSS:** Do not change visual styles or layout unless explicitly instructed.

**Before starting any workflow task:** read the relevant workflow file listed below — it contains the exact file paths, data formats, and step-by-step instructions.

---

## Available Workflows

| Workflow | Trigger phrase | Instruction file |
|----------|---------------|-----------------|
| Move-In Action List | "move-in list", "daily action list", "spreadsheet is ready" | `cowork/CLAUDE-movein.md` |
| April–May Calendar | "calendar", "add event", "calendar workflow" | `4012/CLAUDE.md` |
| Heating Guide | "heating guide", "thermostat", "heating page" | *(no instruction file — edit `4012/heating-guide.html` directly)* |
| Underlayment Matrix | "underlayment matrix", "matrix spreadsheet" | *(no instruction file — see workflow below)* |

---

## How to Start

Tell Claude which workflow you want to run. For example:

- *"The daily action spreadsheet has updates (v12) and is ready for web conversion and posting to core3."*
  → Claude reads `cowork/CLAUDE-movein.md` and executes the move-in workflow.

- *"Move the PALs event to May 3 on the calendar."*
  → Claude reads `4012/CLAUDE.md` and updates the calendar.

You can also ask Claude to execute steps directly without naming a workflow — it will infer the right file from context.

---

## Underlayment Matrix Workflow

**Trigger:** *"The underlayment matrix spreadsheet has been updated — please regenerate underlayment-compare-matrix.html"*

**Source file:** `ward/ccw/underlayment-compare-matrix.xlsx`
**Output file:** `ward/ccw/underlayment-compare-matrix.html`
**Menu file:** `ward/ccw/ch-acou-test-menu.html`

**Steps:**
1. Read `underlayment-compare-matrix.xlsx` using PowerShell Excel COM to extract all rows
2. Rebuild the `<tbody>` rows in `underlayment-compare-matrix.html` to match the spreadsheet exactly
3. Increment the version number in both the `VERSION` comment at the top and the `<div class="version-badge">` on the page
4. Update the version number in the menu item description in `ch-acou-test-menu.html`
5. Commit and push both files

**Column mapping (xlsx → HTML):**

| xlsx column | HTML column |
|-------------|-------------|
| No. | # |
| Manufacturor | Manufacturer |
| Product | Product |
| Thickness | Thickness |
| IIC | IIC (Lab) |
| Note | Notes |
| Product Link | Link (use known product URL or leave blank if unknown) |

---

## Repo Structure (reference)

```
AI/
├── cowork/
│   ├── movein-daily-issue-list.html   # Move-in action list (live page)
│   └── CLAUDE-movein.md               # Move-in workflow instructions
├── 4012/
│   ├── calendar-april-may-2026.html   # April–May moving calendar
│   ├── heating-guide.html             # Home heating & cooling reference guide
│   └── CLAUDE.md                      # Calendar workflow instructions
├── ward/
│   └── ccw/
│       └── calendar-606-onboard.html  # Unit 606 onboarding calendar
└── CLAUDE.md                          # ← this file
```
