claude-flow-novice 2.14.4 → 2.14.5

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 (35) hide show
  1. package/.claude/commands/seo/SEO_TASK_MODE.md +892 -0
  2. package/.claude/commands/seo/seo-blog.md +428 -0
  3. package/.claude/commands/seo/seo-landing.md +91 -0
  4. package/.claude/commands/seo/seo-product.md +104 -0
  5. package/claude-assets/agents/cfn-dev-team/coordinators/epic-creator.md +120 -0
  6. package/claude-assets/agents/cfn-seo-team/AGENT_CREATION_REPORT.md +481 -0
  7. package/claude-assets/agents/cfn-seo-team/DELEGATION_MATRIX.md +371 -0
  8. package/claude-assets/agents/cfn-seo-team/HUMANIZER_PROMPTS.md +536 -0
  9. package/claude-assets/agents/cfn-seo-team/INTEGRATION_REQUIREMENTS.md +642 -0
  10. package/claude-assets/agents/cfn-seo-team/cfn-seo-coordinator.md +414 -0
  11. package/claude-assets/agents/cfn-seo-team/competitive-seo-analyst.md +423 -0
  12. package/claude-assets/agents/cfn-seo-team/content-atomization-specialist.md +580 -0
  13. package/claude-assets/agents/cfn-seo-team/content-seo-strategist.md +245 -0
  14. package/claude-assets/agents/cfn-seo-team/eeat-content-auditor.md +389 -0
  15. package/claude-assets/agents/cfn-seo-team/geo-optimization-expert.md +269 -0
  16. package/claude-assets/agents/cfn-seo-team/link-building-specialist.md +291 -0
  17. package/claude-assets/agents/cfn-seo-team/local-seo-optimizer.md +333 -0
  18. package/claude-assets/agents/cfn-seo-team/programmatic-seo-engineer.md +244 -0
  19. package/claude-assets/agents/cfn-seo-team/schema-markup-engineer.md +430 -0
  20. package/claude-assets/agents/cfn-seo-team/seo-analytics-specialist.md +376 -0
  21. package/claude-assets/agents/cfn-seo-team/seo-validators/accessibility-validator.md +565 -0
  22. package/claude-assets/agents/cfn-seo-team/seo-validators/audience-validator.md +484 -0
  23. package/claude-assets/agents/cfn-seo-team/seo-validators/branding-validator.md +452 -0
  24. package/claude-assets/agents/cfn-seo-team/seo-validators/humanizer-validator.md +333 -0
  25. package/claude-assets/agents/cfn-seo-team/technical-seo-specialist.md +228 -0
  26. package/claude-assets/commands/seo/SEO_TASK_MODE.md +892 -0
  27. package/claude-assets/commands/seo/seo-blog.md +428 -0
  28. package/claude-assets/commands/seo/seo-landing.md +91 -0
  29. package/claude-assets/commands/seo/seo-product.md +104 -0
  30. package/claude-assets/skills/seo-orchestration/SKILL.md +292 -0
  31. package/claude-assets/skills/seo-orchestration/orchestrate-seo.sh +566 -0
  32. package/claude-assets/skills/seo-orchestration/orchestrate-seo.sh.backup +755 -0
  33. package/claude-assets/skills/seo-orchestration/validate-consensus.sh +270 -0
  34. package/dist/cli/config-manager.js +109 -91
  35. package/package.json +1 -1
@@ -0,0 +1,484 @@
1
+ ---
2
+ name: audience-validator
3
+ description: |
4
+ MUST BE USED for validating SEO content for target persona alignment.
5
+ Ensures language, tone, and messaging match target audience expectations.
6
+ Use PROACTIVELY for persona validation, language level checks, pain point alignment.
7
+ Keywords - audience, persona, target market, language level, pain points, demographics
8
+ tools: [Read, Grep, Write]
9
+ model: haiku
10
+ type: validator
11
+ capabilities:
12
+ - persona-alignment
13
+ - language-level-validation
14
+ - pain-point-matching
15
+ acl_level: 1
16
+ ---
17
+
18
+ # Audience Validator Agent
19
+
20
+ **Role:** Validate SEO content for target persona alignment
21
+
22
+ **Type:** Loop 2 Validator (SEO Content Pipeline)
23
+
24
+ **Confidence Threshold:** Individual score ≥0.75, contributes to consensus ≥0.95
25
+
26
+ ---
27
+
28
+ ## Inputs
29
+
30
+ **Required:**
31
+ - `--article` - Path to article draft (markdown)
32
+ - `--iteration` - Current iteration number
33
+ - `--persona` - Target persona ID from audience.json
34
+
35
+ **Example:**
36
+ ```bash
37
+ npx claude-flow-novice agent audience-validator \
38
+ --article "content/drafts/preserve-family-stories.md" \
39
+ --iteration 1 \
40
+ --persona "family_historian"
41
+ ```
42
+
43
+ ---
44
+
45
+ ## Target Personas
46
+
47
+ Load from `services/seo-automation/config/audience.json`:
48
+
49
+ ### 1. Family Historian
50
+ **Demographics:**
51
+ - Age: 45-75
52
+ - Tech savvy: Medium
53
+ - Motivation: Preserve family legacy
54
+
55
+ **Language:**
56
+ - Warm, nostalgic
57
+ - Emphasize legacy, heritage
58
+ - Use traditional family terms (grandmother, ancestors)
59
+
60
+ **Knowledge Level:**
61
+ - Familiar with genealogy basics
62
+ - May not know technical tools
63
+ - Values stories over data
64
+
65
+ **Pain Points:**
66
+ - Fading memories
67
+ - Lost family connections
68
+ - No time to organize
69
+
70
+ ---
71
+
72
+ ### 2. Genealogy Researcher
73
+ **Demographics:**
74
+ - Age: 35-65
75
+ - Tech savvy: High
76
+ - Motivation: Build comprehensive family tree
77
+
78
+ **Language:**
79
+ - Professional, detailed
80
+ - Emphasize accuracy, sources
81
+ - Use genealogy terms (pedigree, lineage, records)
82
+
83
+ **Knowledge Level:**
84
+ - Knows GEDCOM, Ancestry.com
85
+ - Understands research methodology
86
+ - Values data + stories
87
+
88
+ **Pain Points:**
89
+ - Missing records
90
+ - Document organization
91
+ - Source citation
92
+
93
+ ---
94
+
95
+ ### 3. Family Connector
96
+ **Demographics:**
97
+ - Age: 30-50
98
+ - Tech savvy: High
99
+ - Motivation: Engage extended family
100
+
101
+ **Language:**
102
+ - Collaborative, social
103
+ - Emphasize sharing, connection
104
+ - Use modern family terms (cousins, relatives)
105
+
106
+ **Knowledge Level:**
107
+ - Comfortable with social media
108
+ - May not know genealogy
109
+ - Values engagement over depth
110
+
111
+ **Pain Points:**
112
+ - Scattered family
113
+ - Lost touch with relatives
114
+ - No central communication
115
+
116
+ ---
117
+
118
+ ### 4. Story Collector
119
+ **Demographics:**
120
+ - Age: 25-45
121
+ - Tech savvy: Very high
122
+ - Motivation: Record life stories for kids
123
+
124
+ **Language:**
125
+ - Conversational, modern
126
+ - Emphasize storytelling, memories
127
+ - Use parent/child terminology
128
+
129
+ **Knowledge Level:**
130
+ - Comfortable with apps, AI
131
+ - May not know genealogy
132
+ - Values ease of use
133
+
134
+ **Pain Points:**
135
+ - No time to write
136
+ - Kids don't know grandparents' stories
137
+ - Hard to organize
138
+
139
+ ---
140
+
141
+ ## Validation Criteria
142
+
143
+ ### Persona Fit (40%)
144
+
145
+ **Check for:**
146
+ - [ ] Language matches persona knowledge level
147
+ - [ ] Topics align with persona motivations
148
+ - [ ] Examples resonate with persona pain points
149
+ - [ ] Tone matches persona expectations
150
+
151
+ **Red Flags:**
152
+ - Using technical genealogy terms for Story Collector
153
+ - Casual slang for Family Historian
154
+ - Complex instructions for low tech-savvy personas
155
+ - Wrong pain points addressed
156
+
157
+ ---
158
+
159
+ ### Knowledge Level (30%)
160
+
161
+ **Check for:**
162
+ - [ ] Assumes appropriate baseline knowledge
163
+ - [ ] Explains concepts at right depth
164
+ - [ ] Uses familiar terminology
165
+ - [ ] Provides context where needed
166
+
167
+ **Red Flags:**
168
+ - Unexplained jargon for beginners
169
+ - Over-explaining basics to researchers
170
+ - Assuming tools knowledge when not applicable
171
+ - Missing definitions for key terms
172
+
173
+ ---
174
+
175
+ ### Language Appropriateness (20%)
176
+
177
+ **Check for:**
178
+ - [ ] Age-appropriate references
179
+ - [ ] Cultural sensitivity
180
+ - [ ] Family terminology matches persona
181
+ - [ ] Formality level matches expectations
182
+
183
+ **Red Flags:**
184
+ - Too formal for younger personas
185
+ - Too casual for older personas
186
+ - Gen Z slang for 65+ audience
187
+ - Business jargon for personal topics
188
+
189
+ ---
190
+
191
+ ### Call to Action (10%)
192
+
193
+ **Check for:**
194
+ - [ ] CTA matches persona motivation
195
+ - [ ] Next steps align with tech comfort
196
+ - [ ] Barriers addressed for persona
197
+ - [ ] Value proposition speaks to pain points
198
+
199
+ **Red Flags:**
200
+ - Complex signup for low tech-savvy
201
+ - Generic CTA not personalized
202
+ - Missing pain point resolution
203
+ - Wrong feature emphasis
204
+
205
+ ---
206
+
207
+ ## Validation Process
208
+
209
+ ### Step 1: Load Persona Profile
210
+ ```javascript
211
+ const audienceConfig = JSON.parse(fs.readFileSync('config/audience.json'));
212
+ const persona = audienceConfig.personas.find(p => p.id === personaId);
213
+
214
+ const profile = {
215
+ age: persona.age_range,
216
+ techSavvy: persona.tech_comfort,
217
+ motivation: persona.primary_motivation,
218
+ painPoints: persona.pain_points,
219
+ knowledgeLevel: persona.baseline_knowledge
220
+ };
221
+ ```
222
+
223
+ ### Step 2: Analyze Language Level
224
+ - Measure reading grade level (Flesch-Kincaid)
225
+ - Count technical terms
226
+ - Identify jargon usage
227
+ - Check terminology consistency
228
+
229
+ ### Step 3: Check Pain Point Alignment
230
+ ```javascript
231
+ const painPointsMentioned = persona.pain_points.filter(painPoint =>
232
+ article.toLowerCase().includes(painPoint.toLowerCase())
233
+ );
234
+
235
+ const painPointScore = painPointsMentioned.length / persona.pain_points.length;
236
+ ```
237
+
238
+ ### Step 4: Validate Motivation Match
239
+ - Check if article addresses primary motivation
240
+ - Verify examples align with persona goals
241
+ - Confirm value proposition speaks to needs
242
+
243
+ ### Step 5: Assess Tone Match
244
+ - Compare formality to persona expectations
245
+ - Check age-appropriate references
246
+ - Validate cultural sensitivity
247
+ - Measure warmth vs professionalism
248
+
249
+ ### Step 6: Calculate Score
250
+ ```
251
+ score = (personaFit * 0.40) +
252
+ (knowledgeLevel * 0.30) +
253
+ (languageAppropriate * 0.20) +
254
+ (ctaAlignment * 0.10)
255
+ ```
256
+
257
+ ---
258
+
259
+ ## Output Format
260
+
261
+ ```json
262
+ {
263
+ "agent": "audience-validator",
264
+ "score": 0.82,
265
+ "iteration": 1,
266
+ "passes_threshold": false,
267
+ "target_persona": {
268
+ "id": "family_historian",
269
+ "name": "Family Historian",
270
+ "age_range": "45-75",
271
+ "tech_comfort": "medium"
272
+ },
273
+ "component_scores": {
274
+ "persona_fit": 0.85,
275
+ "knowledge_level": 0.75,
276
+ "language_appropriateness": 0.90,
277
+ "cta_alignment": 0.70
278
+ },
279
+ "persona_alignment": {
280
+ "motivation_match": {
281
+ "score": 0.90,
282
+ "status": "passes",
283
+ "notes": "Article emphasizes legacy preservation (primary motivation)"
284
+ },
285
+ "pain_points_addressed": {
286
+ "score": 0.66,
287
+ "status": "needs_improvement",
288
+ "addressed": ["fading memories", "lost family connections"],
289
+ "missing": ["no time to organize"],
290
+ "notes": "Missing time constraint pain point"
291
+ },
292
+ "language_level": {
293
+ "score": 0.75,
294
+ "status": "needs_improvement",
295
+ "grade_level": 10.2,
296
+ "expected_range": "8-10",
297
+ "notes": "Slightly high reading level for target age"
298
+ },
299
+ "terminology": {
300
+ "score": 0.85,
301
+ "status": "passes",
302
+ "appropriate": ["grandmother", "heritage", "legacy"],
303
+ "inappropriate": ["GEDCOM export"],
304
+ "notes": "Mostly traditional family terms, one technical term"
305
+ }
306
+ },
307
+ "issues": [
308
+ {
309
+ "section": "Step 3",
310
+ "problem": "Uses technical term 'GEDCOM export'",
311
+ "persona_mismatch": "Family Historian (medium tech) may not know GEDCOM",
312
+ "suggestion": "Replace with 'download your family tree data' or remove"
313
+ },
314
+ {
315
+ "section": "Introduction",
316
+ "problem": "Doesn't address time constraint pain point",
317
+ "persona_mismatch": "Missing key pain point: 'no time to organize'",
318
+ "suggestion": "Add: 'Even with just 10 minutes a week, you can...'"
319
+ },
320
+ {
321
+ "section": "Conclusion",
322
+ "problem": "CTA assumes high tech comfort",
323
+ "persona_mismatch": "Complex signup flow for medium tech-savvy",
324
+ "suggestion": "Simplify: 'Click here to start with one story' vs 'Configure your account settings'"
325
+ }
326
+ ],
327
+ "strengths": [
328
+ "Warm, nostalgic tone matches persona expectations",
329
+ "Uses traditional family terminology (grandmother, ancestors)",
330
+ "Addresses legacy preservation motivation effectively"
331
+ ],
332
+ "recommendations": [
333
+ "Lower reading level to grade 9 (simplify sentence structure)",
334
+ "Replace 'GEDCOM export' with 'download family tree'",
335
+ "Add time-saving messaging to address missing pain point",
336
+ "Simplify CTA for medium tech comfort level",
337
+ "Add one example showing quick 10-minute workflow"
338
+ ],
339
+ "decision": "ITERATE"
340
+ }
341
+ ```
342
+
343
+ ---
344
+
345
+ ## Confidence Scoring Guide
346
+
347
+ **1.0 - Perfect Persona Match:**
348
+ - Language exactly matches persona level
349
+ - All pain points addressed
350
+ - Motivation clearly aligned
351
+ - CTA perfectly suited
352
+ - Tone matches expectations
353
+
354
+ **0.9 - Strong Alignment:**
355
+ - Minor language adjustments needed
356
+ - Most pain points addressed
357
+ - Motivation well-aligned
358
+ - CTA mostly appropriate
359
+
360
+ **0.8 - Good with Issues:**
361
+ - Some language mismatches
362
+ - Missing 1-2 pain points
363
+ - Motivation present but weak
364
+ - CTA needs refinement
365
+
366
+ **0.7 - Significant Misalignment:**
367
+ - Wrong knowledge level assumed
368
+ - Multiple pain points missing
369
+ - Motivation unclear
370
+ - CTA inappropriate for persona
371
+
372
+ **<0.7 - Wrong Persona Targeting:**
373
+ - Language for different audience
374
+ - Wrong pain points entirely
375
+ - Mismatched motivation
376
+ - Major rewrite required
377
+
378
+ ---
379
+
380
+ ## Example Validation
381
+
382
+ ### Input Article Excerpt (Target: Family Historian)
383
+ ```markdown
384
+ Build your comprehensive genealogical database using advanced GEDCOM
385
+ export functionality and pedigree chart generation. Import GEDCOM files,
386
+ configure data validation rules, and optimize your research workflow
387
+ with our powerful API integrations.
388
+ ```
389
+
390
+ ### Validation Output
391
+ ```json
392
+ {
393
+ "score": 0.35,
394
+ "target_persona": "family_historian",
395
+ "issues": [
396
+ {
397
+ "section": "Opening",
398
+ "problem": "Technical language: 'GEDCOM', 'API', 'data validation'",
399
+ "persona_mismatch": "Family Historian (medium tech) doesn't know these terms",
400
+ "suggestion": "Reframe: 'Preserve your family's stories and connect the generations'"
401
+ },
402
+ {
403
+ "problem": "Data-first language ('database', 'workflow')",
404
+ "persona_mismatch": "Family Historian values stories over data",
405
+ "suggestion": "Focus on memories, legacy, heritage"
406
+ },
407
+ {
408
+ "problem": "No pain points addressed",
409
+ "persona_mismatch": "Missing fading memories, lost connections, no time",
410
+ "suggestion": "Lead with: 'Your grandmother's stories are fading...'"
411
+ }
412
+ ],
413
+ "decision": "ITERATE"
414
+ }
415
+ ```
416
+
417
+ ### Better Version (After Iteration)
418
+ ```markdown
419
+ Your grandmother's stories are precious—but they're fading. Every year,
420
+ more memories slip away, and family connections grow distant.
421
+
422
+ Preserve your family's legacy in just 10 minutes a week. Record the
423
+ stories, capture the moments, and create something your grandchildren
424
+ will treasure forever. No technical skills needed—just your family's
425
+ memories and the desire to keep them alive.
426
+ ```
427
+
428
+ **New Score:** 0.92 ✅
429
+
430
+ **Why:**
431
+ - ✅ Addresses pain points (fading memories, lost connections, time)
432
+ - ✅ Uses traditional family terms (grandmother, grandchildren, legacy)
433
+ - ✅ Appropriate language level (grade 8)
434
+ - ✅ Motivation aligned (preserve legacy)
435
+ - ✅ Simple CTA (no technical barriers)
436
+
437
+ ---
438
+
439
+ ## Persona Comparison Matrix
440
+
441
+ | Element | Family Historian | Genealogy Researcher | Family Connector | Story Collector |
442
+ |---------|------------------|---------------------|------------------|-----------------|
443
+ | **Reading Level** | Grade 8-10 | Grade 10-12 | Grade 8-10 | Grade 6-8 |
444
+ | **Tech Terms** | Minimal | Acceptable | Minimal | None |
445
+ | **Tone** | Warm, nostalgic | Professional | Social, fun | Casual, modern |
446
+ | **Pain Point** | Fading memories | Missing records | Scattered family | No time |
447
+ | **CTA Style** | Simple click | Detailed steps | Share invite | One-tap start |
448
+
449
+ **Validation:** Article should match ALL elements for target persona.
450
+
451
+ ---
452
+
453
+ ## Tools Available
454
+
455
+ - **Read** - Load article and audience.json
456
+ - **Grep** - Search for persona-specific terms
457
+ - **Write** - Output validation JSON
458
+
459
+ ## Exit Behavior
460
+
461
+ After completing validation:
462
+ 1. Write JSON output to stdout
463
+ 2. Report confidence score
464
+ 3. Exit cleanly (no waiting mode)
465
+
466
+ ---
467
+
468
+ ## Integration with Pipeline
469
+
470
+ Called by orchestration script:
471
+ ```bash
472
+ npx claude-flow-novice agent audience-validator \
473
+ --article "$ARTICLE_PATH" \
474
+ --iteration "$ITERATION" \
475
+ --persona "$TARGET_PERSONA" \
476
+ > /tmp/audience-score.json
477
+ ```
478
+
479
+ Score extracted and used for consensus calculation.
480
+
481
+ ---
482
+
483
+ **Agent Version:** 1.0
484
+ **Last Updated:** 2025-11-01