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.
- package/README.md +74 -9
- package/dist/cli.js +2 -1
- package/package.json +1 -1
- package/plugins/ima-claude/.claude-plugin/plugin.json +2 -2
- package/plugins/ima-claude/agents/explorer.md +29 -15
- package/plugins/ima-claude/agents/implementer.md +58 -13
- package/plugins/ima-claude/agents/memory.md +19 -19
- package/plugins/ima-claude/agents/reviewer.md +84 -34
- package/plugins/ima-claude/agents/tester.md +59 -16
- package/plugins/ima-claude/agents/wp-developer.md +66 -21
- package/plugins/ima-claude/hooks/bootstrap.sh +42 -44
- package/plugins/ima-claude/hooks/prompt_coach_digest.md +14 -17
- package/plugins/ima-claude/hooks/prompt_coach_system.md +10 -12
- package/plugins/ima-claude/personalities/README.md +17 -6
- package/plugins/ima-claude/personalities/enable-efficient.md +61 -0
- package/plugins/ima-claude/personalities/enable-terse.md +71 -0
- package/plugins/ima-claude/skills/agentic-workflows/SKILL.md +35 -71
- package/plugins/ima-claude/skills/architect/SKILL.md +54 -168
- package/plugins/ima-claude/skills/compound-bridge/SKILL.md +41 -94
- package/plugins/ima-claude/skills/design-to-code/SKILL.md +43 -78
- package/plugins/ima-claude/skills/discourse/SKILL.md +79 -194
- package/plugins/ima-claude/skills/discourse-admin/SKILL.md +41 -103
- package/plugins/ima-claude/skills/docs-organize/SKILL.md +63 -203
- package/plugins/ima-claude/skills/ember-discourse/SKILL.md +90 -200
- package/plugins/ima-claude/skills/espocrm/SKILL.md +14 -23
- package/plugins/ima-claude/skills/espocrm-api/SKILL.md +79 -192
- package/plugins/ima-claude/skills/functional-programmer/SKILL.md +33 -237
- package/plugins/ima-claude/skills/gh-cli/SKILL.md +26 -65
- package/plugins/ima-claude/skills/ima-bootstrap/SKILL.md +71 -104
- package/plugins/ima-claude/skills/ima-bootstrap/references/ima-brand.md +32 -22
- package/plugins/ima-claude/skills/ima-brand/SKILL.md +18 -23
- package/plugins/ima-claude/skills/ima-copywriting/SKILL.md +68 -179
- package/plugins/ima-claude/skills/ima-doc2pdf/SKILL.md +32 -102
- package/plugins/ima-claude/skills/ima-editorial-scorecard/SKILL.md +38 -63
- package/plugins/ima-claude/skills/ima-editorial-workflow/SKILL.md +69 -114
- package/plugins/ima-claude/skills/ima-email-creator/SKILL.md +16 -22
- package/plugins/ima-claude/skills/ima-forms-expert/SKILL.md +21 -37
- package/plugins/ima-claude/skills/ima-git/SKILL.md +81 -0
- package/plugins/ima-claude/skills/jira-checkpoint/SKILL.md +39 -120
- package/plugins/ima-claude/skills/jquery/SKILL.md +107 -233
- package/plugins/ima-claude/skills/js-fp/SKILL.md +75 -296
- package/plugins/ima-claude/skills/js-fp-api/SKILL.md +52 -162
- package/plugins/ima-claude/skills/js-fp-react/SKILL.md +47 -270
- package/plugins/ima-claude/skills/js-fp-vue/SKILL.md +55 -209
- package/plugins/ima-claude/skills/js-fp-wordpress/SKILL.md +59 -204
- package/plugins/ima-claude/skills/livecanvas/SKILL.md +19 -32
- package/plugins/ima-claude/skills/mcp-atlassian/SKILL.md +92 -162
- package/plugins/ima-claude/skills/mcp-context7/SKILL.md +32 -64
- package/plugins/ima-claude/skills/mcp-gitea/SKILL.md +98 -188
- package/plugins/ima-claude/skills/mcp-github/SKILL.md +60 -124
- package/plugins/ima-claude/skills/mcp-memory/SKILL.md +1 -177
- package/plugins/ima-claude/skills/mcp-qdrant/SKILL.md +58 -115
- package/plugins/ima-claude/skills/mcp-sequential/SKILL.md +32 -87
- package/plugins/ima-claude/skills/mcp-serena/SKILL.md +54 -80
- package/plugins/ima-claude/skills/mcp-tavily/SKILL.md +40 -63
- package/plugins/ima-claude/skills/mcp-vestige/SKILL.md +75 -116
- package/plugins/ima-claude/skills/php-authnet/SKILL.md +32 -65
- package/plugins/ima-claude/skills/php-fp/SKILL.md +50 -129
- package/plugins/ima-claude/skills/php-fp-wordpress/SKILL.md +25 -73
- package/plugins/ima-claude/skills/phpunit-wp/SKILL.md +103 -463
- package/plugins/ima-claude/skills/playwright/SKILL.md +69 -220
- package/plugins/ima-claude/skills/prompt-starter/SKILL.md +33 -83
- package/plugins/ima-claude/skills/prompt-starter/references/code-review.md +38 -0
- package/plugins/ima-claude/skills/py-fp/SKILL.md +78 -384
- package/plugins/ima-claude/skills/quasar-fp/SKILL.md +54 -255
- package/plugins/ima-claude/skills/quickstart/SKILL.md +7 -11
- package/plugins/ima-claude/skills/rails/SKILL.md +63 -184
- package/plugins/ima-claude/skills/resume-session/SKILL.md +14 -35
- package/plugins/ima-claude/skills/rg/SKILL.md +61 -146
- package/plugins/ima-claude/skills/ruby-fp/SKILL.md +66 -163
- package/plugins/ima-claude/skills/save-session/SKILL.md +10 -39
- package/plugins/ima-claude/skills/scorecard/SKILL.md +42 -40
- package/plugins/ima-claude/skills/skill-analyzer/SKILL.md +42 -71
- package/plugins/ima-claude/skills/skill-creator/SKILL.md +79 -250
- package/plugins/ima-claude/skills/task-master/SKILL.md +11 -31
- package/plugins/ima-claude/skills/task-planner/SKILL.md +44 -153
- package/plugins/ima-claude/skills/task-runner/SKILL.md +61 -143
- package/plugins/ima-claude/skills/unit-testing/SKILL.md +59 -134
- package/plugins/ima-claude/skills/wp-ddev/SKILL.md +38 -120
- 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).
|
|
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,
|
|
12
|
+
After Compound workflow events, store insights automatically:
|
|
13
13
|
|
|
14
14
|
| After This Event | Store This | Where |
|
|
15
15
|
|---|---|---|
|
|
16
|
-
| `/workflows:compound` writes
|
|
17
|
-
| `/workflows:compound` writes
|
|
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: {
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
65
|
-
|
|
66
|
-
|
|
|
67
|
-
|
|
68
|
-
|
|
|
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
|
-
-
|
|
77
|
-
-
|
|
78
|
-
-
|
|
79
|
-
-
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
116
|
+
Also shadow-copy on checkbox updates (`- [ ]` → `- [x]`). `.claude/` is gitignored and survives branch switches.
|
|
157
117
|
|
|
158
|
-
|
|
118
|
+
### Rule 2: Eager Memory Bridge
|
|
159
119
|
|
|
160
|
-
|
|
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
|
|
167
|
-
| Plan
|
|
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
|
|
170
|
-
| Solution
|
|
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
|
-
|
|
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.
|
|
187
|
-
2.
|
|
188
|
-
3.
|
|
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
|
|
138
|
+
### Rule 4: Recovery
|
|
192
139
|
|
|
193
|
-
|
|
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
|
|
198
|
-
- Create custom scripts or utilities
|
|
199
|
-
- Add new MCP servers
|
|
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
|
-
|
|
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
|
|
22
|
-
|
|
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
|
-
|
|
38
|
-
- **`ima-
|
|
39
|
-
- **`
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
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
|
-
|
|
59
|
+
Full set in `references/guardrails.md`. Top 5:
|
|
88
60
|
|
|
89
|
-
1.
|
|
90
|
-
2.
|
|
91
|
-
3.
|
|
92
|
-
4.
|
|
93
|
-
5.
|
|
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 (
|
|
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
|
-
|
|
113
|
-
- Phase
|
|
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
|
|
125
|
-
| `task-master` | Optional —
|
|
126
|
-
| `prompt-starter` |
|
|
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 |
|