ima-claude 2.20.0 → 2.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. package/README.md +74 -9
  2. package/dist/cli.js +2 -1
  3. package/package.json +1 -1
  4. package/plugins/ima-claude/.claude-plugin/plugin.json +2 -2
  5. package/plugins/ima-claude/agents/explorer.md +29 -15
  6. package/plugins/ima-claude/agents/implementer.md +58 -13
  7. package/plugins/ima-claude/agents/memory.md +19 -19
  8. package/plugins/ima-claude/agents/reviewer.md +84 -34
  9. package/plugins/ima-claude/agents/tester.md +59 -16
  10. package/plugins/ima-claude/agents/wp-developer.md +66 -21
  11. package/plugins/ima-claude/hooks/bootstrap.sh +42 -44
  12. package/plugins/ima-claude/hooks/prompt_coach_digest.md +14 -17
  13. package/plugins/ima-claude/hooks/prompt_coach_system.md +10 -12
  14. package/plugins/ima-claude/personalities/README.md +17 -6
  15. package/plugins/ima-claude/personalities/enable-efficient.md +61 -0
  16. package/plugins/ima-claude/personalities/enable-terse.md +71 -0
  17. package/plugins/ima-claude/skills/agentic-workflows/SKILL.md +35 -71
  18. package/plugins/ima-claude/skills/architect/SKILL.md +54 -168
  19. package/plugins/ima-claude/skills/compound-bridge/SKILL.md +41 -94
  20. package/plugins/ima-claude/skills/design-to-code/SKILL.md +43 -78
  21. package/plugins/ima-claude/skills/discourse/SKILL.md +79 -194
  22. package/plugins/ima-claude/skills/discourse-admin/SKILL.md +41 -103
  23. package/plugins/ima-claude/skills/docs-organize/SKILL.md +63 -203
  24. package/plugins/ima-claude/skills/ember-discourse/SKILL.md +90 -200
  25. package/plugins/ima-claude/skills/espocrm/SKILL.md +14 -23
  26. package/plugins/ima-claude/skills/espocrm-api/SKILL.md +79 -192
  27. package/plugins/ima-claude/skills/functional-programmer/SKILL.md +33 -237
  28. package/plugins/ima-claude/skills/gh-cli/SKILL.md +26 -65
  29. package/plugins/ima-claude/skills/ima-bootstrap/SKILL.md +71 -104
  30. package/plugins/ima-claude/skills/ima-bootstrap/references/ima-brand.md +32 -22
  31. package/plugins/ima-claude/skills/ima-brand/SKILL.md +18 -23
  32. package/plugins/ima-claude/skills/ima-copywriting/SKILL.md +68 -179
  33. package/plugins/ima-claude/skills/ima-doc2pdf/SKILL.md +32 -102
  34. package/plugins/ima-claude/skills/ima-editorial-scorecard/SKILL.md +38 -63
  35. package/plugins/ima-claude/skills/ima-editorial-workflow/SKILL.md +69 -114
  36. package/plugins/ima-claude/skills/ima-email-creator/SKILL.md +16 -22
  37. package/plugins/ima-claude/skills/ima-forms-expert/SKILL.md +21 -37
  38. package/plugins/ima-claude/skills/ima-git/SKILL.md +81 -0
  39. package/plugins/ima-claude/skills/jira-checkpoint/SKILL.md +39 -120
  40. package/plugins/ima-claude/skills/jquery/SKILL.md +107 -233
  41. package/plugins/ima-claude/skills/js-fp/SKILL.md +75 -296
  42. package/plugins/ima-claude/skills/js-fp-api/SKILL.md +52 -162
  43. package/plugins/ima-claude/skills/js-fp-react/SKILL.md +47 -270
  44. package/plugins/ima-claude/skills/js-fp-vue/SKILL.md +55 -209
  45. package/plugins/ima-claude/skills/js-fp-wordpress/SKILL.md +59 -204
  46. package/plugins/ima-claude/skills/livecanvas/SKILL.md +19 -32
  47. package/plugins/ima-claude/skills/mcp-atlassian/SKILL.md +92 -162
  48. package/plugins/ima-claude/skills/mcp-context7/SKILL.md +32 -64
  49. package/plugins/ima-claude/skills/mcp-gitea/SKILL.md +98 -188
  50. package/plugins/ima-claude/skills/mcp-github/SKILL.md +60 -124
  51. package/plugins/ima-claude/skills/mcp-memory/SKILL.md +1 -177
  52. package/plugins/ima-claude/skills/mcp-qdrant/SKILL.md +58 -115
  53. package/plugins/ima-claude/skills/mcp-sequential/SKILL.md +32 -87
  54. package/plugins/ima-claude/skills/mcp-serena/SKILL.md +54 -80
  55. package/plugins/ima-claude/skills/mcp-tavily/SKILL.md +40 -63
  56. package/plugins/ima-claude/skills/mcp-vestige/SKILL.md +75 -116
  57. package/plugins/ima-claude/skills/php-authnet/SKILL.md +32 -65
  58. package/plugins/ima-claude/skills/php-fp/SKILL.md +50 -129
  59. package/plugins/ima-claude/skills/php-fp-wordpress/SKILL.md +25 -73
  60. package/plugins/ima-claude/skills/phpunit-wp/SKILL.md +103 -463
  61. package/plugins/ima-claude/skills/playwright/SKILL.md +69 -220
  62. package/plugins/ima-claude/skills/prompt-starter/SKILL.md +33 -83
  63. package/plugins/ima-claude/skills/prompt-starter/references/code-review.md +38 -0
  64. package/plugins/ima-claude/skills/py-fp/SKILL.md +78 -384
  65. package/plugins/ima-claude/skills/quasar-fp/SKILL.md +54 -255
  66. package/plugins/ima-claude/skills/quickstart/SKILL.md +7 -11
  67. package/plugins/ima-claude/skills/rails/SKILL.md +63 -184
  68. package/plugins/ima-claude/skills/resume-session/SKILL.md +14 -35
  69. package/plugins/ima-claude/skills/rg/SKILL.md +61 -146
  70. package/plugins/ima-claude/skills/ruby-fp/SKILL.md +66 -163
  71. package/plugins/ima-claude/skills/save-session/SKILL.md +10 -39
  72. package/plugins/ima-claude/skills/scorecard/SKILL.md +42 -40
  73. package/plugins/ima-claude/skills/skill-analyzer/SKILL.md +42 -71
  74. package/plugins/ima-claude/skills/skill-creator/SKILL.md +79 -250
  75. package/plugins/ima-claude/skills/task-master/SKILL.md +11 -31
  76. package/plugins/ima-claude/skills/task-planner/SKILL.md +44 -153
  77. package/plugins/ima-claude/skills/task-runner/SKILL.md +61 -143
  78. package/plugins/ima-claude/skills/unit-testing/SKILL.md +59 -134
  79. package/plugins/ima-claude/skills/wp-ddev/SKILL.md +38 -120
  80. package/plugins/ima-claude/skills/wp-local/SKILL.md +26 -108
@@ -5,34 +5,26 @@ description: "Compound Engineering integration — memory bridge (Compound → V
5
5
 
6
6
  # Compound Bridge — Compound Engineering + ima-claude Integration
7
7
 
8
- Minimal connective tissue between Compound Engineering (structured workflows) and ima-claude (coding standards + memory). Removing this skill returns both systems to standalone behavior.
8
+ Minimal connective tissue between Compound Engineering (structured workflows) and ima-claude (coding standards + memory).
9
9
 
10
10
  ## Memory Bridge: Compound → Vestige/Qdrant
11
11
 
12
- After Compound workflow events, **automatically store insights** without being asked:
12
+ After Compound workflow events, store insights automatically:
13
13
 
14
14
  | After This Event | Store This | Where |
15
15
  |---|---|---|
16
- | `/workflows:compound` writes a solution | Root cause + key insight (1-2 sentences) | Vestige `smart_ingest`, node_type: `pattern` |
17
- | `/workflows:compound` writes a solution (>500 words) | Full solution content | Qdrant `qdrant-store`, collection: `compound-solutions` |
16
+ | `/workflows:compound` writes solution | Root cause + key insight (1-2 sentences) | Vestige `smart_ingest`, node_type: `pattern` |
17
+ | `/workflows:compound` writes solution (>500 words) | Full solution content | Qdrant `qdrant-store`, collection: `compound-solutions` |
18
18
  | `/workflows:plan` completes with research | Key decisions + approach chosen | Vestige `smart_ingest`, node_type: `decision` |
19
19
  | `/workflows:review` finds P1/P2 issues | Pattern summary of findings | Vestige `smart_ingest`, node_type: `pattern` |
20
20
 
21
- ### Compound → Vestige Example
22
-
23
- After `/workflows:compound` finishes writing to `docs/solutions/`:
24
-
25
21
  ```
22
+ # Vestige (all solutions)
26
23
  mcp__vestige__smart_ingest
27
- content: "Root cause: {concise root cause}. Fix: {approach taken}. Key insight: {what we learned}"
24
+ content: "Root cause: {cause}. Fix: {approach}. Key insight: {learning}"
28
25
  node_type: "pattern"
29
- ```
30
-
31
- ### Compound → Qdrant Example (Large Solutions)
32
26
 
33
- For solutions over ~500 words, also store the full document in Qdrant for RAG retrieval:
34
-
35
- ```
27
+ # Qdrant (large solutions only)
36
28
  mcp__qdrant-memory__qdrant-store
37
29
  information: "{full solution content}"
38
30
  metadata: {"type": "compound-solution", "source": "docs/solutions/{filename}"}
@@ -40,49 +32,39 @@ mcp__qdrant-memory__qdrant-store
40
32
 
41
33
  ## Memory Bridge: Vestige → Compound Research
42
34
 
43
- When orchestrating `/workflows:plan`, **search Vestige before/alongside** the learnings-researcher agent:
35
+ Before/alongside `/workflows:plan`, search Vestige:
44
36
 
45
37
  ```
46
38
  mcp__vestige__search query: "{feature keywords}" limit: 5
47
39
  ```
48
40
 
49
- Include Vestige results alongside file-based learnings, marked as cross-project provenance:
41
+ Include results marked as cross-project provenance:
50
42
 
51
43
  ```markdown
52
44
  ### Prior Knowledge (Cross-Project — Vestige)
53
45
  - {vestige result 1}
54
- - {vestige result 2}
55
46
 
56
47
  ### Prior Solutions (Project — docs/solutions/)
57
48
  - {learnings-researcher results}
58
49
  ```
59
50
 
60
- This supplements but does not replace the learnings-researcher's `docs/solutions/` grep.
61
-
62
51
  ## Role Separation: Planning
63
52
 
64
- Both `task-master` and `/workflows:plan` handle planning. They have different lanes:
65
-
66
- | Need | Use | Why |
67
- |---|---|---|
68
- | Formal feature planning with research | `/workflows:plan` | Research agents, structured documentation, living plan file |
69
- | Ad-hoc work breakdown during implementation | `task-master` | Decomposition patterns, storage strategy, agent delegation |
70
- | Breaking a plan into executable tasks | Both | Plan creates the doc; task-master principles guide breakdown |
71
-
72
- ### task-master Principles That Enhance Compound Workflows
73
-
74
- These apply when `/workflows:work` creates its task list:
53
+ | Need | Use |
54
+ |---|---|
55
+ | Formal feature planning with research | `/workflows:plan` |
56
+ | Ad-hoc work breakdown during implementation | `task-master` |
57
+ | Breaking a plan into executable tasks | Both |
75
58
 
76
- - **Two-level max** agent delegation (Compound's swarm already respects this)
77
- - **Model selection**: Sonnet for execution, Opus for orchestration
78
- - **Minimal context principle** for subagents only include what they need
79
- - **Vertical decomposition** for sequential work, **horizontal** for parallel
59
+ task-master principles that apply inside `/workflows:work`:
60
+ - Two-level max agent delegation
61
+ - Sonnet for execution, Opus for orchestration
62
+ - Minimal context for subagents
63
+ - Vertical decomposition for sequential, horizontal for parallel
80
64
 
81
65
  ## Per-Project Config: `compound-engineering.local.md`
82
66
 
83
- Create this file in project roots where both systems are used. It tells Compound's review agents about our coding standards.
84
-
85
- ### Template
67
+ Create in project roots where both systems are used. Commit it early — it's persistent config, not a transient artifact.
86
68
 
87
69
  ```markdown
88
70
  ---
@@ -114,87 +96,52 @@ Language skills auto-activate by context:
114
96
  - Minimal context principle for subagents
115
97
  ```
116
98
 
117
- ### When to Create
99
+ Create when: project uses both ima-claude AND Compound workflows, or before first `/workflows:review`. Don't create for single-system projects.
118
100
 
119
- Create `compound-engineering.local.md` when:
120
- - A project uses both ima-claude skills AND Compound Engineering workflows
121
- - You're about to run `/workflows:review` for the first time in a project
101
+ ## Artifact Resilience
122
102
 
123
- Don't create it for projects that only use one system.
124
-
125
- ## What Works Without This Skill
126
-
127
- These integrate naturally — no bridge needed:
128
-
129
- - ima-claude language/FP skills auto-activate during `/workflows:work` by file type
130
- - Compound's research agents (learnings-researcher, best-practices-researcher) fill gaps ima-claude doesn't cover
131
- - Compound's 15 specialized review agents complement our FP-focused standards
132
- - Compound's brainstorm workflow is genuinely new capability
133
-
134
- ## Artifact Resilience: Surviving Branch Switches & Context Compaction
135
-
136
- Compound workflows write artifacts to the working tree (`docs/brainstorms/`, `docs/plans/`, `docs/solutions/`, `todos/`). These files are **not committed** during workflows. Git branch switching during `/workflows:work` **destroys them**. Context compaction loses agent results that reference them. This section prevents that.
103
+ Compound writes artifacts to working tree (`docs/brainstorms/`, `docs/plans/`, `docs/solutions/`, `todos/`) but doesn't commit them. Branch switches destroy them. Context compaction loses references.
137
104
 
138
105
  ### Rule 1: Shadow Copy to `.claude/compound/`
139
106
 
140
- **After EVERY workflow artifact write**, immediately copy the file to `.claude/compound/`:
107
+ After every workflow artifact write, copy to `.claude/compound/`:
141
108
 
142
- ```
143
- # After /workflows:brainstorm writes to docs/brainstorms/
109
+ ```bash
144
110
  cp docs/brainstorms/{file}.md .claude/compound/brainstorms/{file}.md
145
-
146
- # After /workflows:plan writes to docs/plans/
147
111
  cp docs/plans/{file}.md .claude/compound/plans/{file}.md
148
-
149
- # After /workflows:compound writes to docs/solutions/
150
112
  cp docs/solutions/{category}/{file}.md .claude/compound/solutions/{category}/{file}.md
151
-
152
- # After /workflows:review writes to todos/
153
113
  cp todos/{file}.md .claude/compound/todos/{file}.md
154
114
  ```
155
115
 
156
- Create directories with `mkdir -p` as needed. The `.claude/` directory is gitignored and **survives branch switches** — just like Claude Code's own plan files.
116
+ Also shadow-copy on checkbox updates (`- [ ]` `- [x]`). `.claude/` is gitignored and survives branch switches.
157
117
 
158
- **Also shadow-copy on edits**: When `/workflows:work` updates plan checkboxes (`- [ ]` → `- [x]`), copy the updated plan to the shadow location too.
118
+ ### Rule 2: Eager Memory Bridge
159
119
 
160
- ### Rule 2: Eager Memory Bridge (Store Immediately, Not Just at Completion)
161
-
162
- Don't wait until a workflow finishes to bridge to memory. Store **immediately after each artifact write**:
120
+ Store immediately after each artifact write, not at workflow completion:
163
121
 
164
122
  | After Writing | Store Immediately |
165
123
  |---|---|
166
- | Brainstorm document | Vestige `smart_ingest`: key decisions + open questions, node_type: `decision` |
167
- | Plan document | Vestige `smart_ingest`: approach + task list summary, node_type: `decision` |
124
+ | Brainstorm | Vestige `smart_ingest`: key decisions + open questions, node_type: `decision` |
125
+ | Plan | Vestige `smart_ingest`: approach + task list summary, node_type: `decision` |
168
126
  | Plan checkbox update | Vestige `smart_ingest`: progress snapshot (X of Y tasks done), node_type: `observation` |
169
- | Review todo file | Vestige `smart_ingest`: finding summary + priority, node_type: `pattern` |
170
- | Solution document | Vestige + Qdrant (per existing rules above) |
171
-
172
- This ensures that even if context compacts or the session dies, the knowledge survives in memory.
127
+ | Review todo | Vestige `smart_ingest`: finding summary + priority, node_type: `pattern` |
128
+ | Solution | Vestige + Qdrant (per rules above) |
173
129
 
174
130
  ### Rule 3: Pre-Branch-Switch Checkpoint
175
131
 
176
- **Before ANY `git checkout`, `git switch`, or worktree operation** during a Compound workflow:
177
-
178
- 1. Verify all workflow artifacts have shadow copies in `.claude/compound/`
179
- 2. If any are missing, create them immediately
180
- 3. Store a Vestige snapshot: `smart_ingest` with content summarizing current workflow state (which phase, what's done, what's next), node_type: `observation`
181
-
182
- ### Rule 4: Recovery from Shadow Copies
183
-
184
- If workflow artifacts are lost (branch switch, reset, or interrupted session):
132
+ Before any `git checkout`, `git switch`, or worktree operation during a Compound workflow:
185
133
 
186
- 1. Check `.claude/compound/` for shadow copies
187
- 2. Restore them to their working-tree locations (`docs/plans/`, etc.)
188
- 3. Check Vestige for the most recent workflow state snapshot
189
- 4. Resume from where we left off
134
+ 1. Verify all artifacts have shadow copies in `.claude/compound/`
135
+ 2. Create any missing copies
136
+ 3. Vestige `smart_ingest`: current workflow state (phase, done, next), node_type: `observation`
190
137
 
191
- ### Rule 5: Commit `compound-engineering.local.md` Early
138
+ ### Rule 4: Recovery
192
139
 
193
- This file is **persistent project config**, not a transient artifact. When creating or modifying `compound-engineering.local.md`, commit it to the current branch promptly so it survives branch switches via git rather than shadow copies.
140
+ If artifacts are lost: check `.claude/compound/` restore to working-tree locations check Vestige for latest state snapshot resume.
194
141
 
195
142
  ## What This Skill Does NOT Do
196
143
 
197
- - Modify the Compound Engineering plugin — it stays as-is from the marketplace
198
- - Create custom scripts or utilities — all integration is skill instructions
199
- - Add new MCP servers — uses existing Vestige, Qdrant, Serena
144
+ - Modify the Compound Engineering plugin
145
+ - Create custom scripts or utilities
146
+ - Add new MCP servers
200
147
  - Force workflows — both systems remain independently functional
@@ -5,122 +5,87 @@ description: "Convert design screenshots into working WordPress code through a t
5
5
 
6
6
  # Design to Code
7
7
 
8
- Orchestrate the transformation of design screenshots into working WordPress code. Two phases, one skill — produce the implementation prompt (Phase A), then execute it (Phase B).
9
-
10
- You are the orchestrator. You analyze designs, compose prompts, delegate implementation, and verify results. You do NOT implement directly — you delegate to `ima-claude:wp-developer` agents.
11
-
12
- ---
8
+ Two-phase workflow: screenshots implementation prompt (Phase A) working WordPress code (Phase B). You orchestrate; delegate implementation to `ima-claude:wp-developer`.
13
9
 
14
10
  ## Mode Selection
15
11
 
16
- Determine the mode from the user's input:
17
-
18
12
  ```
19
13
  What did the user provide?
20
14
  ├── Screenshots/mockups (no existing prompt)
21
- │ → Phase A: Design Prompt
22
- │ → Read references/phase-a-design-to-prompt.md
23
-
24
- ├── An existing implementation prompt
25
- │ → Phase B: Prompt → Code
26
- │ → Read references/phase-b-prompt-to-code.md
27
-
15
+ │ → Phase A → references/phase-a-design-to-prompt.md
16
+ ├── Existing implementation prompt
17
+ → Phase B → references/phase-b-prompt-to-code.md
28
18
  └── Screenshots + "implement this" / "full pipeline"
29
19
  → Phase A then Phase B in sequence
30
- → Phase A produces prompt → user reviews → Phase B executes
31
20
  ```
32
21
 
33
- ---
34
-
35
22
  ## Required Skills
36
23
 
37
- Always load alongside this skill:
38
- - **`ima-brand`** — color palette, typography, mixins (needed for both phases)
39
- - **`ima-bootstrap`** — utility classes, grid system, components
40
-
41
- Phase B additionally needs:
42
- - **`php-fp-wordpress`** — WordPress development patterns, security, shortcodes
43
-
44
- ---
24
+ - **`ima-brand`** color palette, typography, mixins (both phases)
25
+ - **`ima-bootstrap`** — utility classes, grid, components
26
+ - **`php-fp-wordpress`** — WordPress patterns (Phase B only)
45
27
 
46
28
  ## Phase A: Design → Prompt
47
29
 
48
- Transform design screenshots into a detailed, section-by-section implementation prompt. Output: a ~200-300 line prompt file matching the team's established template structure.
49
-
50
- Before starting, search Qdrant for `design-to-prompt` to recall prior lessons.
51
-
52
- ### Steps (read `references/phase-a-design-to-prompt.md` for detailed procedures)
53
-
54
- 1. **GATHER** — Fetch Jira context + receive screenshots + explore codebase (parallel)
55
- 2. **ANALYZE** — Load brand palette from `ima-brand` (**must complete before COMPOSE**)
56
- 3. **CROP** — Full view → section detection → detail crops (iterative PIL cropping)
57
- 4. **EXTRACT** — Per crop: exact text, icons, colors, layout, spacing
58
- 5. **MAP** — Visual elements → brand variables, components → existing shortcodes
59
- 6. **COMPOSE** — Write prompt using `references/prompt-template.md` structure
60
- 7. **VALIDATE** — Re-check each section against its crop for accuracy
30
+ Output: ~200-300 line prompt file matching team template. Search Qdrant for `design-to-prompt` before starting.
61
31
 
62
- **Output**: Save prompt to `docs/designs/{ticket}/PROMPT.md` and Serena memory as `{feature-name}-plan`.
32
+ | Step | Action |
33
+ |------|--------|
34
+ | GATHER | Fetch Jira context + receive screenshots + explore codebase (parallel) |
35
+ | ANALYZE | Load brand palette from `ima-brand` — must complete before COMPOSE |
36
+ | CROP | Full view → section detection → detail crops (iterative PIL cropping) |
37
+ | EXTRACT | Per crop: exact text, icons, colors, layout, spacing |
38
+ | MAP | Visual elements → brand variables, components → existing shortcodes |
39
+ | COMPOSE | Write prompt using `references/prompt-template.md` structure |
40
+ | VALIDATE | Re-check each section against its crop for accuracy |
63
41
 
64
- After Phase A, present the prompt to the user. Stop here unless running full pipeline.
65
-
66
- ---
42
+ Save prompt to `docs/designs/{ticket}/PROMPT.md` and Serena memory as `{feature-name}-plan`. Present to user; stop here unless running full pipeline.
67
43
 
68
44
  ## Phase B: Prompt → Code
69
45
 
70
- Execute an implementation prompt to produce working WordPress code. Input: a structured prompt (from Phase A or user-provided).
71
-
72
- Before starting, search Qdrant for `design-to-code` to recall prior lessons.
46
+ Search Qdrant for `design-to-code` before starting.
73
47
 
74
- ### Steps (read `references/phase-b-prompt-to-code.md` for detailed procedures)
75
-
76
- 1. **RESEARCH** Brand SCSS files + current code + component libraries (parallel explorers)
77
- 2. **ARCHITECTURE** New file vs modify, function reuse, component migration decision
78
- 3. **DECOMPOSE** Stories by page section; Story 1 = foundation, Stories 2-N = parallel fills, final = polish
79
- 4. **IMPLEMENT** Delegate to `ima-claude:wp-developer` per story with precise prompts
80
- 5. **REVIEW** Verify copy, colors, element order, asset paths (orchestrator review before visual test)
81
- 6. **VISUAL-QA** Compile SASS → screenshot desktop + mobile → compare to design → iterate
82
-
83
- ---
48
+ | Step | Action |
49
+ |------|--------|
50
+ | RESEARCH | Brand SCSS files + current code + component libraries (parallel explorers) |
51
+ | ARCHITECTURE | New file vs modify, function reuse, component migration decision |
52
+ | DECOMPOSE | Stories by page section; Story 1 = foundation, Stories 2-N = parallel fills, final = polish |
53
+ | IMPLEMENT | Delegate to `ima-claude:wp-developer` per story with precise prompts |
54
+ | REVIEW | Verify copy, colors, element order, asset paths before visual test |
55
+ | VISUAL-QA | Compile SASS → screenshot desktop + mobile → compare to design → iterate |
84
56
 
85
57
  ## Critical Guardrails
86
58
 
87
- Read `references/guardrails.md` for the complete set. The top 5 (each learned from a real failure):
59
+ Full set in `references/guardrails.md`. Top 5:
88
60
 
89
- 1. **Never hardcode colors**always brand SCSS variables or Bootstrap utilities
90
- 2. **Always verify asset paths exist** — Glob/grep before referencing; check existing usage patterns
91
- 3. **Always provide exact copy text**never let agents paraphrase; include verbatim text in quotes
92
- 4. **Load brand palette BEFORE composition** — informs every color reference on first pass
93
- 5. **Check site header/footer first** — don't build custom components that duplicate existing site elements
61
+ 1. Never hardcode colors — use brand SCSS variables or Bootstrap utilities
62
+ 2. Always verify asset paths exist — Glob/grep before referencing
63
+ 3. Always provide exact copy text — include verbatim text in quotes, never let agents paraphrase
64
+ 4. Load brand palette BEFORE composition — informs every color reference on first pass
65
+ 5. Check site header/footer first — don't build components that duplicate existing site elements
94
66
 
95
- ---
96
-
97
- ## Agent Delegation Model
67
+ ## Agent Delegation
98
68
 
99
69
  | Role | Agent | When |
100
- |---|---|---|
70
+ |------|-------|------|
101
71
  | Orchestrator | opus (you) | All phases — research, planning, decomposition, delegation, review, surgical fixes |
102
72
  | Codebase explorer | `ima-claude:explorer` (haiku) | GATHER/RESEARCH: find existing shortcodes, templates, SCSS files |
103
73
  | Implementer | `ima-claude:wp-developer` (sonnet) | IMPLEMENT: write PHP/SCSS with skills: ima-brand, ima-bootstrap, php-fp-wordpress |
104
- | Reviewer | `ima-claude:reviewer` (sonnet, read-only) | REVIEW: brand compliance + accessibility audit (for larger implementations) |
105
-
106
- Orchestrator does surgical fixes (<5 lines) directly via Edit tool. Anything larger → delegate to wp-developer.
74
+ | Reviewer | `ima-claude:reviewer` (sonnet, read-only) | REVIEW: brand compliance + accessibility audit (larger implementations) |
107
75
 
108
- ---
76
+ Orchestrator does surgical fixes (<5 lines) directly via Edit. Anything larger → delegate to wp-developer.
109
77
 
110
78
  ## Qdrant Integration
111
79
 
112
- Before each phase, search Qdrant for prior lessons:
113
- - Phase A: `qdrant_find("design-to-prompt workflow")` — retrieves methodology, cropping techniques, composition decisions
114
- - Phase B: `qdrant_find("design-to-code implementation")` — retrieves decomposition patterns, delegation templates, QA patterns
115
-
116
- ---
80
+ - Phase A: `qdrant_find("design-to-prompt workflow")`
81
+ - Phase B: `qdrant_find("design-to-code implementation")`
117
82
 
118
83
  ## Related Skills
119
84
 
120
85
  | Skill | Relationship |
121
- |---|---|
86
+ |-------|------|
122
87
  | `ima-brand` | Required — color palette, typography, mixins |
123
88
  | `ima-bootstrap` | Required — utility classes, grid, components |
124
- | `php-fp-wordpress` | Required for Phase B — WordPress dev patterns |
125
- | `task-master` | Optional — for complex multi-page designs needing Epic > Story > Task decomposition |
126
- | `prompt-starter` | Pattern borrowed — Phase A follows its "builder not executor" philosophy |
89
+ | `php-fp-wordpress` | Required for Phase B |
90
+ | `task-master` | Optional — complex multi-page designs needing Epic > Story > Task |
91
+ | `prompt-starter` | Phase A follows its "builder not executor" philosophy |