architect
Deep reasoning agent. Architecture decisions, security reviews, complex
Map new files in plan to closest existing analog. Auto-fires at plan-time so subagents onboard via PATTERNS.md.
$ npx -y skills add FerroxLabs/ijfw --agent claude-codeHow it fires
How this agent gets triggered: by you, by Claude, or both.
Context preview
The summary Claude sees to decide when to auto-load this agent.
Map new files in plan to closest existing analog. Auto-fires at plan-time so subagents onboard via PATTERNS.md.
name: ijfw-pattern-mapper description: "Map new files in plan to closest existing analog. Auto-fires at plan-time so subagents onboard via PATTERNS.md." model: sonnet allowed-tools: Read, Grep, Glob since: '1.4.4'
Map every new file in the current plan to the closest existing analog in the codebase. Write PATTERNS.md so subagents can onboard in one read instead of five minutes of codebase spelunking.
Onboarding accelerator. In v1.4.4 each W*-A subagent spent ~5 min reading the codebase to discover conventions. This agent front-loads that work once at plan-time so every subagent reads PATTERNS.md and immediately knows which existing file to emulate.
1. **Read the plan** — find `.planning/<phase>/plan.md` (or accept explicit task list). Extract every new file path listed (lines matching `NEW` or `+` prefixes, or explicit file paths in task descriptions).
2. **For each new file**, find the closest analog:
look at existing files in that directory first.
or `*-verifier.js` files.
similar subject matter.
if available, else pick alphabetically last).
3. **Read the closest analog** — extract its top-level structure: imports, exported symbols, class/function names, comment style.
4. **Write `.planning/<phase>/PATTERNS.md`**:
# Pattern Map — <phase> | new_file | closest_analog | reason | key_shape_to_match | |---|---|---|---| | path/to/new.js | path/to/existing.js | same dir + role | exports, fn sigs |
One row per new file. `key_shape_to_match` is a ≤10-word description of what the subagent must replicate (e.g. "default export async fn, gate-result return").
`.planning/<phase>/plan.md`.
File: `.planning/<phase>/PATTERNS.md` — markdown table as described above.
No gate-result schema required. Failure mode: if no analog is found, write `(no analog — greenfield)` in the `closest_analog` column.
be concrete, not guessed.
IJFW — It Just F*cking Works. Ferrox Labs' local-first infrastructure for AI coding agents: shared memory, smart routing, multi-AI cross-audits, disciplined workflow.
Repo: FerroxLabs/ijfw
Deep reasoning agent. Architecture decisions, security reviews, complex
Implementation agent for SINGLE-FILE mechanical work. Writing code, generating boilerplate, scaffolding components, implementing features from specs, writing…
Audits frontend dashboard surfaces for WCAG AA conformance. Trigger after any dashboard UI change.
Design-phase WCAG 2.1 AA review of UI artefacts: contrast, semantics, focus, ARIA. Trigger per design review pass.
Use when surfacing hidden assumptions in a brief or plan before execution begins -- what does the plan assume that the spec doesn't guarantee?
Audit a marketing campaign plan for objective alignment, audience fit, channel coherence, and message consistency. Trigger before each campaign-execution wave.