architect
AgentDeep 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.
Claude Code
$ npx -y skills add FerroxLabs/ijfw --agent claude-code
Cursor
Cursor also loads subagents from .claude/agents, so copy this file there to use it in Cursor.
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.
Deep reasoning agent. Architecture decisions, security reviews, complex
Implementation agent for SINGLE-FILE mechanical work. Writing code, generating boilerplate, scaffolding components, implementing…
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…
Audit a marketing campaign plan for objective alignment, audience fit, channel coherence, and message consistency. Trigger before…
Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…