ima-claude 2.16.0 → 2.20.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 (41) hide show
  1. package/README.md +16 -1
  2. package/dist/cli.js +9 -1
  3. package/package.json +1 -1
  4. package/plugins/ima-claude/.claude-plugin/plugin.json +2 -2
  5. package/plugins/ima-claude/agents/wp-developer.md +2 -1
  6. package/plugins/ima-claude/hooks/prompt_coach_digest.md +1 -1
  7. package/plugins/ima-claude/skills/agentic-workflows/SKILL.md +133 -0
  8. package/plugins/ima-claude/skills/agentic-workflows/references/phases/deliver.md +181 -0
  9. package/plugins/ima-claude/skills/agentic-workflows/references/phases/draft.md +99 -0
  10. package/plugins/ima-claude/skills/agentic-workflows/references/phases/gather.md +130 -0
  11. package/plugins/ima-claude/skills/agentic-workflows/references/phases/outline.md +106 -0
  12. package/plugins/ima-claude/skills/agentic-workflows/references/phases/review.md +137 -0
  13. package/plugins/ima-claude/skills/agentic-workflows/references/standards/draft-format.md +159 -0
  14. package/plugins/ima-claude/skills/agentic-workflows/references/standards/editorial-standards.md +160 -0
  15. package/plugins/ima-claude/skills/agentic-workflows/references/standards/outline-format.md +110 -0
  16. package/plugins/ima-claude/skills/agentic-workflows/references/templates/avada-construction-guide.md +263 -0
  17. package/plugins/ima-claude/skills/agentic-workflows/references/templates/avada-webinar-example.txt +275 -0
  18. package/plugins/ima-claude/skills/agentic-workflows/references/templates/cta-block-catalog.md +169 -0
  19. package/plugins/ima-claude/skills/agentic-workflows/references/templates/espo-email-preparation.md +241 -0
  20. package/plugins/ima-claude/skills/agentic-workflows/references/templates/webinar-recap-email-espo.html +339 -0
  21. package/plugins/ima-claude/skills/agentic-workflows/references/templates/webinar-reminder-email-espo.html +458 -0
  22. package/plugins/ima-claude/skills/agentic-workflows/references/workflows/editorial/webinar-summary.md +81 -0
  23. package/plugins/ima-claude/skills/design-to-code/SKILL.md +126 -0
  24. package/plugins/ima-claude/skills/design-to-code/references/guardrails.md +46 -0
  25. package/plugins/ima-claude/skills/design-to-code/references/phase-a-design-to-prompt.md +141 -0
  26. package/plugins/ima-claude/skills/design-to-code/references/phase-b-prompt-to-code.md +155 -0
  27. package/plugins/ima-claude/skills/design-to-code/references/prompt-template.md +95 -0
  28. package/plugins/ima-claude/skills/espocrm/SKILL.md +79 -0
  29. package/plugins/ima-claude/skills/espocrm-api/SKILL.md +360 -0
  30. package/plugins/ima-claude/skills/espocrm-api/references/where-operators.md +84 -0
  31. package/plugins/ima-claude/skills/functional-programmer/SKILL.md +15 -0
  32. package/plugins/ima-claude/skills/mcp-atlassian/SKILL.md +94 -14
  33. package/plugins/ima-claude/skills/mcp-atlassian/references/direct-api-attachments.md +115 -0
  34. package/plugins/ima-claude/skills/mcp-atlassian/references/direct-api-auth.md +103 -0
  35. package/plugins/ima-claude/skills/mcp-atlassian/references/direct-api-bulk.md +149 -0
  36. package/plugins/ima-claude/skills/mcp-atlassian/references/direct-api-misc.md +195 -0
  37. package/plugins/ima-claude/skills/mcp-atlassian/references/direct-api-sprints.md +158 -0
  38. package/plugins/ima-claude/skills/prompt-starter/SKILL.md +9 -6
  39. package/plugins/ima-claude/skills/wp-ddev/SKILL.md +264 -0
  40. package/plugins/ima-claude/skills/wp-ddev/references/ddev-commands.md +232 -0
  41. package/plugins/ima-claude/skills/wp-ddev/references/wp-cli-reference.md +406 -0
@@ -0,0 +1,110 @@
1
+ # Outline Format
2
+
3
+ Structural rules for outlines produced by the outline phase. Injected by the consumer when the recipe declares this file.
4
+
5
+ ---
6
+
7
+ ## What an Outline Is
8
+
9
+ An outline is a structural proposal in bullet points. It is not a draft. It contains no prose paragraphs. It communicates architecture — what sections exist, in what order, what each section argues, and where visual elements land.
10
+
11
+ The outline is the contract between the outline phase and the draft phase. The draft phase follows the outline unless a deviation is explicitly documented.
12
+
13
+ ---
14
+
15
+ ## Governing Principle
16
+
17
+ Structure around reader needs, not source material architecture.
18
+
19
+ The source material (transcript, study, press release) has its own sequence driven by how it was produced. That sequence is rarely the best sequence for a reader encountering the material for the first time. The outline phase's job is to find the reader's sequence.
20
+
21
+ Ask: what does the reader need to know first to understand what comes next? Start there.
22
+
23
+ ---
24
+
25
+ ## Required Elements
26
+
27
+ Every outline must contain these elements in this order:
28
+
29
+ ### Title
30
+ A proposed headline. Clear, specific, benefit-oriented. Not a topic label — a claim or a promise. The draft phase may refine it, but the outline provides a working title.
31
+
32
+ ### Intro
33
+ Three components:
34
+ - **Hook** — the entry point that earns the reader's attention. One sentence. Can be a bold claim, a striking finding, a tension, or a question the reader is already asking.
35
+ - **Frame** — what this piece is about and why it matters now. One to two sentences.
36
+ - **Setup** — what the reader will get from reading. One sentence.
37
+
38
+ ### Body Sections (3–5)
39
+ For each section:
40
+ - **Section title** — communicates the core argument, not just the topic
41
+ - **Core argument** — one sentence stating what this section claims
42
+ - **Key points** — bullet list of the specific evidence, data, or ideas that support the core argument
43
+ - **Asset placements** — where images, video embeds, or CTAs land within this section (if applicable)
44
+ - **Quote placements** — where blockquotes land inline, with the speaker and a fragment of the quote
45
+
46
+ Sections must not overlap in argument. If two sections are making the same point, merge them.
47
+
48
+ ### Related Reading
49
+ Three to five links or resource types. Can be TBD if assets are not yet confirmed. Include a brief description of each.
50
+
51
+ ### Editorial Watch Items
52
+ Things the draft phase should pay special attention to:
53
+ - Naming sensitivities (speakers, institutions, studies)
54
+ - Attribution requirements (quotes that must be near-verbatim)
55
+ - Gaps that need `[bracket]` treatment
56
+ - Recipe-specific requirements the draft phase must apply
57
+ - Anything from the gather phase gaps section that was not resolved
58
+
59
+ ### Word Target
60
+ Carry forward from the gather phase. If the outline reveals the scope is larger or smaller than estimated, adjust and explain the change in one sentence.
61
+
62
+ ---
63
+
64
+ ## Section Scope
65
+
66
+ Each body section argues exactly one thing. The section title states that argument. Every key point in the section supports that argument. If a section has key points that pull in two directions, split it into two sections.
67
+
68
+ Aim for 3–5 sections. Fewer than 3 means the content lacks depth. More than 5 means the scope is too broad or the arguments are not being consolidated.
69
+
70
+ ---
71
+
72
+ ## Visual Element Placement
73
+
74
+ Apply these rules for every asset:
75
+
76
+ - **No adjacent visual elements** — never place two images, embeds, or CTAs in sequence without prose between them
77
+ - **Images break up content within sections** — place images mid-section when a section runs long, not at the top as a header image (unless the recipe specifies a hero)
78
+ - **CTAs go between sections** — interstitial CTAs belong in the transition between sections, not embedded within a section's prose
79
+ - **Video embeds** — typically at the top of the piece as the hero element; note this in the intro element, not a body section
80
+
81
+ ---
82
+
83
+ ## Quote Placement
84
+
85
+ Quotes belong inline where they would naturally land if the reader encountered them in prose — not in a separate "Quotes" section.
86
+
87
+ For each quote, mark its placement in the relevant section's key points:
88
+
89
+ ```
90
+ - Quote: [Speaker last name]: "[fragment of quote]" — after point about [topic]
91
+ ```
92
+
93
+ Blockquote format in the draft:
94
+ ```
95
+ > [Speaker Name]: "exact or near-verbatim quote"
96
+ ```
97
+
98
+ Select quotes that advance the section's core argument. Do not include quotes for variety or because they seem interesting. Every quote should be the best available evidence for the point it follows.
99
+
100
+ ---
101
+
102
+ ## What Does NOT Belong in an Outline
103
+
104
+ - Prose paragraphs — outlines use bullets, not paragraphs
105
+ - Every detail from the source material — only what advances the reader's understanding
106
+ - Meta descriptions — these belong in the draft
107
+ - A separate "Quotes" section — quotes go inline
108
+ - The source material's own section structure — unless it happens to be the best reader sequence
109
+ - Stacked visual elements — no two adjacent assets
110
+ - Speculative sections — if you are not confident a section belongs, it does not belong
@@ -0,0 +1,263 @@
1
+ # Avada/Fusion Builder Construction Guide
2
+
3
+ General reference for building IMA blog posts and editorial pages in the WordPress backend using Fusion Builder shortcode markup. This document covers building blocks, syntax patterns, and placement principles. It is content-type agnostic. Content-type-specific templates (webinar summaries, research posts, etc.) live in their respective project instruction files and reference this guide for construction mechanics.
4
+
5
+ ---
6
+
7
+ ## Core Container Structure
8
+
9
+ Every post is wrapped in a single container → row → column stack:
10
+
11
+ ```
12
+ [fusion_builder_container]
13
+ [fusion_builder_row]
14
+ [fusion_builder_column type="1_1"]
15
+ <!-- all content blocks go here -->
16
+ [/fusion_builder_column]
17
+ [/fusion_builder_row]
18
+ [/fusion_builder_container]
19
+ ```
20
+
21
+ This outer wrapper never changes. Copy verbatim from any existing post.
22
+
23
+ ---
24
+
25
+ ## Content Block Types
26
+
27
+ ### Text Block
28
+ The workhorse. Used for body paragraphs, bullet lists, blockquotes, and inline links.
29
+
30
+ ```
31
+ [fusion_text]
32
+ <p>Paragraph content here with <strong>strategic bold</strong> for emphasis.</p>
33
+
34
+ <blockquote>"Speaker quote here." — <strong>Name</strong></blockquote>
35
+
36
+ <ul>
37
+ <li><strong>Label:</strong> Description text</li>
38
+ <li><strong>Label:</strong> Description text</li>
39
+ </ul>
40
+ [/fusion_text]
41
+ ```
42
+
43
+ **Usage notes:**
44
+ - One `fusion_text` block per logical content section. Don't cram an entire post into one block.
45
+ - Break into new blocks at natural visual anchor points: before/after images, at section transitions.
46
+ - `<strong>` for emphasis within paragraphs. Don't bold entire sentences.
47
+ - `<blockquote>` for speaker/researcher quotes with em-dash attribution.
48
+
49
+ ### Title Block
50
+ Used for section headers and styled intro text.
51
+
52
+ ```
53
+ [fusion_title title_type="text" style_type="none" title_tag="h2"]
54
+ <strong>N.</strong> Section Title
55
+ [/fusion_title]
56
+ ```
57
+
58
+ For styled intro blocks (non-heading text that needs title-level formatting):
59
+
60
+ ```
61
+ [fusion_title title_type="text" style_type="none" size="div"]
62
+ Intro text styled as a title block
63
+ [/fusion_title]
64
+ ```
65
+
66
+ **Usage notes:**
67
+ - Numbered sections use `<h2><strong>N.</strong> Section Title</h2>` inside a `fusion_text` block (not `fusion_title`) for consistency with existing posts.
68
+ - `fusion_title` is primarily for standalone headers and styled intro text.
69
+
70
+ ### Image Block
71
+ Used for slide images, diagrams, headshots, promo graphics, and resource covers.
72
+
73
+ ```
74
+ [fusion_imageframe
75
+ image_id="ATTACHMENT_ID|full"
76
+ style_type="none"
77
+ alt="Descriptive alt text"
78
+ align="center"
79
+ lightbox="yes"
80
+ margin_top="20px"
81
+ margin_bottom="20px"]
82
+ https://imahealth.org/wp-content/uploads/path/to/image.jpg
83
+ [/fusion_imageframe]
84
+ ```
85
+
86
+ **Lightbox rules:**
87
+ - `lightbox="yes"` for diagrams, charts, slides, data tables — anything the reader might want to zoom into
88
+ - `lightbox="no"` for promo images and linked graphics. Add `link` attribute when the image should click through to a page.
89
+
90
+ **Sizing:**
91
+ - Headshots: `max_width="200"` in a `1_4` column
92
+ - Slide images: full-width within the content column
93
+ - Promo images: full-width, linked, no lightbox
94
+
95
+ **Border treatment for covers, figures, and charts:**
96
+ - Study covers, guide covers, book covers, figures, charts, and graphs: `bordersize="3" bordercolor="#00066f" borderradius="10"`
97
+ - This applies to any image that represents a document or data visualization. It does not apply to promo images, headshots, or hero images.
98
+
99
+ **External links:**
100
+ - All links to external sites (anything outside imahealth.org) must include `linktarget="_blank"` on imageframes and `target="_blank"` on `<a>` tags within fusion_text blocks.
101
+
102
+ **Video embed spacing:**
103
+ - The first `fusion_text` block after a video embed should include `margin_top="30px"` for breathing room between the video player and the body text.
104
+
105
+ ### Button Block
106
+ Used for CTAs (forums, donation, external links).
107
+
108
+ ```
109
+ [fusion_button
110
+ link="https://imahealth.org/forums/"
111
+ icon="fa-comments fas"
112
+ alignment="center"]
113
+ Continue the conversation at the Forums
114
+ [/fusion_button]
115
+ ```
116
+
117
+ ### Separator Block
118
+ Used for visual breaks between major sections.
119
+
120
+ ```
121
+ [fusion_separator style_type="single solid" sep_color="#e0e0e0" border_size="2"][/fusion_separator]
122
+ ```
123
+
124
+ ### Code Block (for embeds)
125
+ Used for video embeds and any content requiring base64-encoded shortcodes.
126
+
127
+ ```
128
+ [fusion_code]BASE64_ENCODED_SHORTCODE_HERE[/fusion_code]
129
+ ```
130
+
131
+ **Common use:** Cloudflare stream video embeds. Encode the stream shortcode as base64 and place inside `fusion_code`.
132
+
133
+ ---
134
+
135
+ ## Layout Patterns
136
+
137
+ ### Single Column (default)
138
+ Most content uses the outer 1_1 column. No inner rows needed.
139
+
140
+ ### Two-Column Split (e.g., resource covers, side-by-side elements)
141
+ Nested inner row with two half-width columns:
142
+
143
+ ```
144
+ [fusion_builder_row_inner]
145
+ [fusion_builder_column_inner type="1_2"]
146
+ [fusion_imageframe ...]image_url[/fusion_imageframe]
147
+ [fusion_text]<p style="text-align: center;"><strong>Title</strong><br>One-line description</p>[/fusion_text]
148
+ [/fusion_builder_column_inner]
149
+ [fusion_builder_column_inner type="1_2"]
150
+ [fusion_imageframe ...]image_url[/fusion_imageframe]
151
+ [fusion_text]<p style="text-align: center;"><strong>Title</strong><br>One-line description</p>[/fusion_text]
152
+ [/fusion_builder_column_inner]
153
+ [/fusion_builder_row_inner]
154
+ ```
155
+
156
+ **Use when:** Featuring two related resources side by side (PDF covers, guide pairs, before/after comparisons).
157
+
158
+ ### Headshot + Bio (e.g., expert profiles, author intros)
159
+ Quarter-width image column + three-quarter text column:
160
+
161
+ ```
162
+ [fusion_builder_row_inner]
163
+ [fusion_builder_column_inner type="1_4"]
164
+ [fusion_imageframe image_id="ID|full" max_width="200" style_type="none" align="center"]
165
+ headshot_url
166
+ [/fusion_imageframe]
167
+ [/fusion_builder_column_inner]
168
+ [fusion_builder_column_inner type="3_4"]
169
+ [fusion_text]
170
+ <p><strong>Name</strong><br><em>Title, Credentials</em></p>
171
+ <p>Bio paragraph.</p>
172
+ [/fusion_text]
173
+ [/fusion_builder_column_inner]
174
+ [/fusion_builder_row_inner]
175
+ ```
176
+
177
+ **Credential structure:** Keep parallel across multiple experts. If some lack titles/achievements, simplify everyone to the same level of detail (e.g., institution affiliation only).
178
+
179
+ ---
180
+
181
+ ## Interstitials (Global Blocks)
182
+
183
+ Reusable CTA blocks stored as Fusion Builder globals. Each global block requires the full `row_inner` → `column_inner` → content structure inline. The `fusion_global` attribute syncs with WordPress, but **the inline content is what renders**. Never swap a global ID without swapping the full content block.
184
+
185
+ **Available blocks and their full markup live in the CTA Block Catalog** (`cta-block-catalog.md`). That file is the single source of truth for all globals. Copy the markup verbatim from the catalog when placing CTAs in post markup.
186
+
187
+ ### Placement Principles
188
+
189
+ - One interstitial every 1–2 sections
190
+ - Never back to back
191
+ - Place at natural pause points, not mid-argument
192
+ - Engagement CTAs (Journal, Research Hub, Substack, Conference) go earlier in the post as informational breaks
193
+ - Donation CTAs are the ask: they go late, typically before the emotional close or final section
194
+ - Match the donation CTA to the content topic (webinar → Webinar Donation, cancer → Cancer Research Donation, research study → Research Donation, journal → Journal Donation). The CTA catalog has usage notes for each block.
195
+
196
+ ---
197
+
198
+ ## Image Placement Decision Framework
199
+
200
+ 1. **Does the section introduce a visual concept (framework, diagram, cycle)?** → Place the corresponding image immediately after the text introduces it, before the next paragraph continues.
201
+
202
+ 2. **Are new resources being released?** → Use the two-column PDF cover split in the section that introduces them.
203
+
204
+ 3. **Is there a contextually relevant promo?** → Place after the final body section. Must be earned by the content (e.g., speakers mentioned in the post are at the conference).
205
+
206
+ 4. **Are there 2+ sections in a row without a visual break?** → Insert an interstitial between them.
207
+
208
+ 5. **Does the post feel visually dense in the middle?** → Rearrange interstitials to create breathing room.
209
+
210
+ ---
211
+
212
+ ## TODO Placeholders
213
+
214
+ Use these standardized placeholders in templates. Replace before publishing.
215
+
216
+ | Placeholder Pattern | What to Replace With |
217
+ |---------------------|---------------------|
218
+ | `VIDEO_EMBED_BASE64_HERE` | Base64-encoded fusion_code shortcode |
219
+ | `*_HEADSHOT_ID` | WordPress media library attachment ID |
220
+ | `PATH_TO_*.jpg` | Full URL path to image in media library |
221
+ | `*_COVER_ID` | Media library ID for guide/resource cover images |
222
+ | Any `image_id="*_ID\|full"` | Actual WordPress attachment ID |
223
+
224
+ ---
225
+
226
+ ## Related Reading Block
227
+
228
+ Standard footer block before the forums button. Curated links relevant to the post content.
229
+
230
+ ```
231
+ [fusion_text]
232
+ <h2>Related Reading</h2>
233
+ <ul>
234
+ <li><strong>Label:</strong> <a href="URL">Title</a></li>
235
+ <li><strong>Label:</strong> <a href="URL">Title</a></li>
236
+ </ul>
237
+ [/fusion_text]
238
+ ```
239
+
240
+ **Format:** Bold type label + linked title. No descriptions. Labels indicate content type (Guide, Monograph, Webinar, Hub, etc.).
241
+
242
+ ---
243
+
244
+ ## Forums Button (standard footer)
245
+
246
+ Appears at the bottom of every post. Copy verbatim.
247
+
248
+ ```
249
+ [fusion_button link="/forums/" icon="fa-comments fas" alignment="center"]
250
+ Continue the conversation at the Forums
251
+ [/fusion_button]
252
+ ```
253
+
254
+ ---
255
+
256
+ ## Transition to LiveCanvas / Bootstrap
257
+
258
+ When the environment changes, the principles carry over:
259
+
260
+ - **Content structure** (intro → experts → body sections → related reading) doesn't change
261
+ - **Image placement logic** doesn't change
262
+ - **Interstitial placement logic** doesn't change
263
+ - **What changes:** The markup language. Fusion Builder shortcodes become Bootstrap utility classes and HTML. This document will be updated with new markup patterns, but the structural logic transfers directly.