claude-flow-novice 2.14.3 → 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 (194) hide show
  1. package/.claude/commands/CFN_LOOP_TASK_MODE.md +4 -47
  2. package/.claude/commands/seo/SEO_TASK_MODE.md +892 -0
  3. package/.claude/commands/seo/seo-blog.md +428 -0
  4. package/.claude/commands/seo/seo-landing.md +91 -0
  5. package/.claude/commands/seo/seo-product.md +104 -0
  6. package/.claude/skills/cfn-redis-coordination/demos/test-cancel-swarm.sh +0 -276
  7. package/claude-assets/agents/cfn-dev-team/coordinators/epic-creator.md +120 -0
  8. package/claude-assets/agents/cfn-seo-team/AGENT_CREATION_REPORT.md +481 -0
  9. package/claude-assets/agents/cfn-seo-team/DELEGATION_MATRIX.md +371 -0
  10. package/claude-assets/agents/cfn-seo-team/HUMANIZER_PROMPTS.md +536 -0
  11. package/claude-assets/agents/cfn-seo-team/INTEGRATION_REQUIREMENTS.md +642 -0
  12. package/claude-assets/agents/cfn-seo-team/cfn-seo-coordinator.md +414 -0
  13. package/claude-assets/agents/cfn-seo-team/competitive-seo-analyst.md +423 -0
  14. package/claude-assets/agents/cfn-seo-team/content-atomization-specialist.md +580 -0
  15. package/claude-assets/agents/cfn-seo-team/content-seo-strategist.md +245 -0
  16. package/claude-assets/agents/cfn-seo-team/eeat-content-auditor.md +389 -0
  17. package/claude-assets/agents/cfn-seo-team/geo-optimization-expert.md +269 -0
  18. package/claude-assets/agents/cfn-seo-team/link-building-specialist.md +291 -0
  19. package/claude-assets/agents/cfn-seo-team/local-seo-optimizer.md +333 -0
  20. package/claude-assets/agents/cfn-seo-team/programmatic-seo-engineer.md +244 -0
  21. package/claude-assets/agents/cfn-seo-team/schema-markup-engineer.md +430 -0
  22. package/claude-assets/agents/cfn-seo-team/seo-analytics-specialist.md +376 -0
  23. package/claude-assets/agents/cfn-seo-team/seo-validators/accessibility-validator.md +565 -0
  24. package/claude-assets/agents/cfn-seo-team/seo-validators/audience-validator.md +484 -0
  25. package/claude-assets/agents/cfn-seo-team/seo-validators/branding-validator.md +452 -0
  26. package/claude-assets/agents/cfn-seo-team/seo-validators/humanizer-validator.md +333 -0
  27. package/claude-assets/agents/cfn-seo-team/technical-seo-specialist.md +228 -0
  28. package/claude-assets/commands/CFN_LOOP_TASK_MODE.md +4 -47
  29. package/claude-assets/commands/seo/SEO_TASK_MODE.md +892 -0
  30. package/claude-assets/commands/seo/seo-blog.md +428 -0
  31. package/claude-assets/commands/seo/seo-landing.md +91 -0
  32. package/claude-assets/commands/seo/seo-product.md +104 -0
  33. package/claude-assets/skills/cfn-redis-coordination/demos/test-cancel-swarm.sh +0 -276
  34. package/claude-assets/skills/seo-orchestration/SKILL.md +292 -0
  35. package/claude-assets/skills/seo-orchestration/orchestrate-seo.sh +566 -0
  36. package/claude-assets/skills/seo-orchestration/orchestrate-seo.sh.backup +755 -0
  37. package/claude-assets/skills/seo-orchestration/validate-consensus.sh +270 -0
  38. package/dist/agents/agent-loader.js +165 -146
  39. package/dist/agents/agent-loader.js.map +1 -1
  40. package/dist/cli/agent-prompt-builder.js +25 -0
  41. package/dist/cli/agent-prompt-builder.js.map +1 -1
  42. package/package.json +1 -1
  43. package/.claude/skills/cfn-redis-coordination/HEARTBEAT.md +0 -57
  44. package/.claude/skills/cfn-redis-coordination/HEARTBEAT_MONITORING.md +0 -267
  45. package/.claude/skills/cfn-redis-coordination/LOGGING.md +0 -260
  46. package/.claude/skills/cfn-redis-coordination/README.md +0 -65
  47. package/.claude/skills/cfn-redis-coordination/SECURITY_REVIEW.md +0 -25
  48. package/.claude/skills/cfn-redis-coordination/SHUTDOWN_HANDLING.md +0 -164
  49. package/.claude/skills/cfn-redis-coordination/SKILL.md +0 -720
  50. package/.claude/skills/cfn-redis-coordination/demos/test-dlq.sh +0 -129
  51. package/.claude/skills/cfn-redis-coordination/demos/test-iteration-feedback.sh +0 -320
  52. package/.claude/skills/cfn-redis-coordination/demos/test-orchestrator.sh +0 -249
  53. package/.claude/skills/cfn-redis-coordination/demos/test-priority-wake-phase4-unix.sh +0 -148
  54. package/.claude/skills/cfn-redis-coordination/demos/test-priority-wake-phase4.sh +0 -163
  55. package/.claude/skills/cfn-redis-coordination/demos/test-priority-wake.sh +0 -138
  56. package/.claude/skills/cfn-redis-coordination/demos/test-quick-fix.sh +0 -81
  57. package/.claude/skills/cfn-redis-coordination/demos/test-quorum-absolute.sh +0 -45
  58. package/.claude/skills/cfn-redis-coordination/demos/test-quorum-fallback.sh +0 -68
  59. package/.claude/skills/cfn-redis-coordination/demos/test-quorum-percentage.sh +0 -56
  60. package/.claude/skills/cfn-redis-coordination/demos/test-quorum-with-retry.sh +0 -81
  61. package/.claude/skills/cfn-redis-coordination/demos/test-quorum.sh +0 -57
  62. package/.claude/skills/cfn-redis-coordination/demos/test-shutdown-handling.sh +0 -187
  63. package/.claude/skills/cfn-redis-coordination/demos/test-shutdown.sh +0 -160
  64. package/.claude/skills/cfn-redis-coordination/demos/test-utils-unix.sh +0 -97
  65. package/.claude/skills/cfn-redis-coordination/demos/test-utils.sh +0 -97
  66. package/.claude/skills/cfn-redis-coordination/demos/test-waiting-mode.sh +0 -59
  67. package/.claude/skills/cfn-redis-coordination/examples/README.md +0 -73
  68. package/.claude/skills/cfn-redis-coordination/examples/grafana-dashboard.json +0 -352
  69. package/.claude/skills/cfn-redis-coordination/examples/hierarchical-pattern.sh +0 -127
  70. package/.claude/skills/cfn-redis-coordination/examples/mesh-pattern.sh +0 -171
  71. package/.claude/skills/cfn-redis-coordination/examples/timeout-handling.sh +0 -227
  72. package/.claude/skills/cfn-redis-coordination/examples/waiting-mode-pattern.sh +0 -239
  73. package/.claude/skills/cfn-redis-coordination/execute-product-owner-decision.sh +0 -258
  74. package/.claude/skills/cfn-redis-coordination/get-agent-timeout.sh +0 -177
  75. package/.claude/skills/cfn-redis-coordination/heartbeat-functions.sh +0 -137
  76. package/.claude/skills/cfn-redis-coordination/heartbeat-protocol.md +0 -106
  77. package/.claude/skills/cfn-redis-coordination/heartbeat.sh +0 -126
  78. package/.claude/skills/cfn-redis-coordination/init-swarm.sh +0 -148
  79. package/.claude/skills/cfn-redis-coordination/invoke-redis-pattern.sh +0 -220
  80. package/.claude/skills/cfn-redis-coordination/invoke-waiting-mode.sh +0 -283
  81. package/.claude/skills/cfn-redis-coordination/list-active-swarms.sh +0 -147
  82. package/.claude/skills/cfn-redis-coordination/log-event.sh +0 -109
  83. package/.claude/skills/cfn-redis-coordination/metrics-export.sh +0 -674
  84. package/.claude/skills/cfn-redis-coordination/metrics-schema.json +0 -66
  85. package/.claude/skills/cfn-redis-coordination/metrics-storage.md +0 -31
  86. package/.claude/skills/cfn-redis-coordination/monitor-cfn-violations.sh +0 -391
  87. package/.claude/skills/cfn-redis-coordination/monitor-heartbeats.sh +0 -101
  88. package/.claude/skills/cfn-redis-coordination/orchestrate-cfn-loop-v3.sh +0 -141
  89. package/.claude/skills/cfn-redis-coordination/orchestrate-cfn-loop.sh +0 -31
  90. package/.claude/skills/cfn-redis-coordination/orchestrate-cfn-loop.sh.bak +0 -0
  91. package/.claude/skills/cfn-redis-coordination/priority-wake-mechanism.md +0 -75
  92. package/.claude/skills/cfn-redis-coordination/priority_wake.py +0 -134
  93. package/.claude/skills/cfn-redis-coordination/query-dlq.sh +0 -162
  94. package/.claude/skills/cfn-redis-coordination/query-logs.sh +0 -103
  95. package/.claude/skills/cfn-redis-coordination/redis-pattern.sh +0 -619
  96. package/.claude/skills/cfn-redis-coordination/retrieve-context.sh +0 -58
  97. package/.claude/skills/cfn-redis-coordination/select-specialist-agent.sh +0 -371
  98. package/.claude/skills/cfn-redis-coordination/semantic-match-tfidf.py +0 -252
  99. package/.claude/skills/cfn-redis-coordination/send-heartbeat.sh +0 -165
  100. package/.claude/skills/cfn-redis-coordination/signal.sh +0 -38
  101. package/.claude/skills/cfn-redis-coordination/store-context.sh +0 -86
  102. package/.claude/skills/cfn-redis-coordination/store-epic-context.sh +0 -123
  103. package/.claude/skills/cfn-redis-coordination/test-context-injection.sh +0 -354
  104. package/.claude/skills/cfn-redis-coordination/test-timeout-enforcement.sh +0 -513
  105. package/.claude/skills/cfn-redis-coordination/tests/convert-line-endings.sh +0 -15
  106. package/.claude/skills/cfn-redis-coordination/tests/dlq-functionality-test.sh +0 -102
  107. package/.claude/skills/cfn-redis-coordination/tests/edge-cases-test.sh +0 -99
  108. package/.claude/skills/cfn-redis-coordination/tests/integration-test.sh +0 -170
  109. package/.claude/skills/cfn-redis-coordination/tests/retry-mechanism-test.sh +0 -82
  110. package/.claude/skills/cfn-redis-coordination/tests/run-test-suite.sh +0 -92
  111. package/.claude/skills/cfn-redis-coordination/tests/run-tests.sh +0 -4
  112. package/.claude/skills/cfn-redis-coordination/tests/test-heartbeat-monitoring.sh +0 -418
  113. package/.claude/skills/cfn-redis-coordination/tests/test-heartbeat-simple.sh +0 -124
  114. package/.claude/skills/cfn-redis-coordination/tests/test-primitives.sh +0 -166
  115. package/.claude/skills/cfn-redis-coordination/tests/test-utils.sh +0 -54
  116. package/.claude/skills/cfn-redis-coordination/tests/test_utils.sh +0 -49
  117. package/.claude/skills/cfn-redis-coordination/v2_modularization/core_orchestration.sh +0 -76
  118. package/.claude/skills/cfn-redis-coordination/validate-parameters.sh +0 -492
  119. package/claude-assets/skills/cfn-redis-coordination/HEARTBEAT.md +0 -57
  120. package/claude-assets/skills/cfn-redis-coordination/HEARTBEAT_MONITORING.md +0 -267
  121. package/claude-assets/skills/cfn-redis-coordination/LOGGING.md +0 -260
  122. package/claude-assets/skills/cfn-redis-coordination/README.md +0 -65
  123. package/claude-assets/skills/cfn-redis-coordination/SECURITY_REVIEW.md +0 -25
  124. package/claude-assets/skills/cfn-redis-coordination/SHUTDOWN_HANDLING.md +0 -164
  125. package/claude-assets/skills/cfn-redis-coordination/SKILL.md +0 -720
  126. package/claude-assets/skills/cfn-redis-coordination/demos/test-dlq.sh +0 -129
  127. package/claude-assets/skills/cfn-redis-coordination/demos/test-iteration-feedback.sh +0 -320
  128. package/claude-assets/skills/cfn-redis-coordination/demos/test-orchestrator.sh +0 -249
  129. package/claude-assets/skills/cfn-redis-coordination/demos/test-priority-wake-phase4-unix.sh +0 -148
  130. package/claude-assets/skills/cfn-redis-coordination/demos/test-priority-wake-phase4.sh +0 -163
  131. package/claude-assets/skills/cfn-redis-coordination/demos/test-priority-wake.sh +0 -138
  132. package/claude-assets/skills/cfn-redis-coordination/demos/test-quick-fix.sh +0 -81
  133. package/claude-assets/skills/cfn-redis-coordination/demos/test-quorum-absolute.sh +0 -45
  134. package/claude-assets/skills/cfn-redis-coordination/demos/test-quorum-fallback.sh +0 -68
  135. package/claude-assets/skills/cfn-redis-coordination/demos/test-quorum-percentage.sh +0 -56
  136. package/claude-assets/skills/cfn-redis-coordination/demos/test-quorum-with-retry.sh +0 -81
  137. package/claude-assets/skills/cfn-redis-coordination/demos/test-quorum.sh +0 -57
  138. package/claude-assets/skills/cfn-redis-coordination/demos/test-shutdown-handling.sh +0 -187
  139. package/claude-assets/skills/cfn-redis-coordination/demos/test-shutdown.sh +0 -160
  140. package/claude-assets/skills/cfn-redis-coordination/demos/test-utils-unix.sh +0 -97
  141. package/claude-assets/skills/cfn-redis-coordination/demos/test-utils.sh +0 -97
  142. package/claude-assets/skills/cfn-redis-coordination/demos/test-waiting-mode.sh +0 -59
  143. package/claude-assets/skills/cfn-redis-coordination/examples/README.md +0 -73
  144. package/claude-assets/skills/cfn-redis-coordination/examples/grafana-dashboard.json +0 -352
  145. package/claude-assets/skills/cfn-redis-coordination/examples/hierarchical-pattern.sh +0 -127
  146. package/claude-assets/skills/cfn-redis-coordination/examples/mesh-pattern.sh +0 -171
  147. package/claude-assets/skills/cfn-redis-coordination/examples/timeout-handling.sh +0 -227
  148. package/claude-assets/skills/cfn-redis-coordination/examples/waiting-mode-pattern.sh +0 -239
  149. package/claude-assets/skills/cfn-redis-coordination/execute-product-owner-decision.sh +0 -258
  150. package/claude-assets/skills/cfn-redis-coordination/get-agent-timeout.sh +0 -177
  151. package/claude-assets/skills/cfn-redis-coordination/heartbeat-functions.sh +0 -137
  152. package/claude-assets/skills/cfn-redis-coordination/heartbeat-protocol.md +0 -106
  153. package/claude-assets/skills/cfn-redis-coordination/heartbeat.sh +0 -126
  154. package/claude-assets/skills/cfn-redis-coordination/init-swarm.sh +0 -148
  155. package/claude-assets/skills/cfn-redis-coordination/invoke-redis-pattern.sh +0 -220
  156. package/claude-assets/skills/cfn-redis-coordination/invoke-waiting-mode.sh +0 -283
  157. package/claude-assets/skills/cfn-redis-coordination/list-active-swarms.sh +0 -147
  158. package/claude-assets/skills/cfn-redis-coordination/log-event.sh +0 -109
  159. package/claude-assets/skills/cfn-redis-coordination/metrics-export.sh +0 -674
  160. package/claude-assets/skills/cfn-redis-coordination/metrics-schema.json +0 -66
  161. package/claude-assets/skills/cfn-redis-coordination/metrics-storage.md +0 -31
  162. package/claude-assets/skills/cfn-redis-coordination/monitor-cfn-violations.sh +0 -391
  163. package/claude-assets/skills/cfn-redis-coordination/monitor-heartbeats.sh +0 -101
  164. package/claude-assets/skills/cfn-redis-coordination/orchestrate-cfn-loop-v3.sh +0 -141
  165. package/claude-assets/skills/cfn-redis-coordination/orchestrate-cfn-loop.sh +0 -31
  166. package/claude-assets/skills/cfn-redis-coordination/orchestrate-cfn-loop.sh.bak +0 -0
  167. package/claude-assets/skills/cfn-redis-coordination/priority-wake-mechanism.md +0 -75
  168. package/claude-assets/skills/cfn-redis-coordination/priority_wake.py +0 -134
  169. package/claude-assets/skills/cfn-redis-coordination/query-dlq.sh +0 -162
  170. package/claude-assets/skills/cfn-redis-coordination/query-logs.sh +0 -103
  171. package/claude-assets/skills/cfn-redis-coordination/redis-pattern.sh +0 -619
  172. package/claude-assets/skills/cfn-redis-coordination/retrieve-context.sh +0 -58
  173. package/claude-assets/skills/cfn-redis-coordination/select-specialist-agent.sh +0 -371
  174. package/claude-assets/skills/cfn-redis-coordination/semantic-match-tfidf.py +0 -252
  175. package/claude-assets/skills/cfn-redis-coordination/send-heartbeat.sh +0 -165
  176. package/claude-assets/skills/cfn-redis-coordination/signal.sh +0 -38
  177. package/claude-assets/skills/cfn-redis-coordination/store-context.sh +0 -86
  178. package/claude-assets/skills/cfn-redis-coordination/store-epic-context.sh +0 -123
  179. package/claude-assets/skills/cfn-redis-coordination/test-context-injection.sh +0 -354
  180. package/claude-assets/skills/cfn-redis-coordination/test-timeout-enforcement.sh +0 -513
  181. package/claude-assets/skills/cfn-redis-coordination/tests/convert-line-endings.sh +0 -15
  182. package/claude-assets/skills/cfn-redis-coordination/tests/dlq-functionality-test.sh +0 -102
  183. package/claude-assets/skills/cfn-redis-coordination/tests/edge-cases-test.sh +0 -99
  184. package/claude-assets/skills/cfn-redis-coordination/tests/integration-test.sh +0 -170
  185. package/claude-assets/skills/cfn-redis-coordination/tests/retry-mechanism-test.sh +0 -82
  186. package/claude-assets/skills/cfn-redis-coordination/tests/run-test-suite.sh +0 -92
  187. package/claude-assets/skills/cfn-redis-coordination/tests/run-tests.sh +0 -4
  188. package/claude-assets/skills/cfn-redis-coordination/tests/test-heartbeat-monitoring.sh +0 -418
  189. package/claude-assets/skills/cfn-redis-coordination/tests/test-heartbeat-simple.sh +0 -124
  190. package/claude-assets/skills/cfn-redis-coordination/tests/test-primitives.sh +0 -166
  191. package/claude-assets/skills/cfn-redis-coordination/tests/test-utils.sh +0 -54
  192. package/claude-assets/skills/cfn-redis-coordination/tests/test_utils.sh +0 -49
  193. package/claude-assets/skills/cfn-redis-coordination/v2_modularization/core_orchestration.sh +0 -76
  194. package/claude-assets/skills/cfn-redis-coordination/validate-parameters.sh +0 -492
@@ -0,0 +1,333 @@
1
+ ---
2
+ name: humanizer-validator
3
+ description: |
4
+ MUST BE USED for validating SEO content for natural, human-like writing.
5
+ Detects AI-generated language patterns and ensures conversational tone.
6
+ Use PROACTIVELY for content review, AI detection, natural language validation.
7
+ Keywords - humanizer, AI detection, natural writing, conversational tone, content validation
8
+ tools: [Read, Grep, Write]
9
+ model: haiku
10
+ type: validator
11
+ capabilities:
12
+ - content-validation
13
+ - ai-detection
14
+ - natural-language-review
15
+ acl_level: 1
16
+ ---
17
+
18
+ # Humanizer Validator Agent
19
+
20
+ **Role:** Validate SEO content for natural, human-like writing
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
+
34
+ **Example:**
35
+ ```bash
36
+ npx claude-flow-novice agent humanizer-validator \
37
+ --article "content/drafts/preserve-family-stories.md" \
38
+ --iteration 1
39
+ ```
40
+
41
+ ---
42
+
43
+ ## Validation Criteria
44
+
45
+ ### Red Flags (AI-Generated Language)
46
+
47
+ **Generic Openings:**
48
+ - ❌ "In today's digital age..."
49
+ - ❌ "In the modern world..."
50
+ - ❌ "Have you ever wondered..."
51
+ - ❌ "It's no secret that..."
52
+
53
+ **AI Tell-Tale Phrases:**
54
+ - ❌ "Delve into"
55
+ - ❌ "It's worth noting"
56
+ - ❌ "Unlock the potential"
57
+ - ❌ "Game-changer"
58
+ - ❌ "Navigate the landscape"
59
+ - ❌ "Embark on a journey"
60
+
61
+ **Overused Transitions:**
62
+ - ❌ Every paragraph starts with "Moreover", "Furthermore", "Additionally"
63
+ - ❌ Formulaic structure (same pattern repeated)
64
+
65
+ **Corporate Jargon:**
66
+ - ❌ "Leverage"
67
+ - ❌ "Utilize" (use "use")
68
+ - ❌ "Synergy"
69
+ - ❌ "Paradigm shift"
70
+
71
+ **Other Issues:**
72
+ - ❌ No personality or voice
73
+ - ❌ No personal examples or anecdotes
74
+ - ❌ All sentences same length/structure
75
+ - ❌ Passive voice dominates
76
+
77
+ ---
78
+
79
+ ### Requirements (Human Writing)
80
+
81
+ **Conversational Tone:**
82
+ - ✅ Sounds like talking to a friend
83
+ - ✅ Uses contractions naturally
84
+ - ✅ Addresses reader directly ("you", "your")
85
+
86
+ **Varied Structure:**
87
+ - ✅ Mix of short and long sentences
88
+ - ✅ Different paragraph openings
89
+ - ✅ Natural flow between ideas
90
+
91
+ **Personal Touch:**
92
+ - ✅ Includes specific examples
93
+ - ✅ Personal stories or anecdotes
94
+ - ✅ Relatable scenarios
95
+ - ✅ Emotional connection
96
+
97
+ **Active Voice:**
98
+ - ✅ Subject performs action
99
+ - ✅ Direct, clear statements
100
+ - ✅ Engaging, not passive
101
+
102
+ **Natural Transitions:**
103
+ - ✅ Ideas flow logically
104
+ - ✅ Questions lead to answers
105
+ - ✅ Examples support points
106
+
107
+ ---
108
+
109
+ ## Validation Process
110
+
111
+ ### Step 1: Read Article
112
+ Load markdown file and parse sections.
113
+
114
+ ### Step 2: Check Red Flags
115
+ Scan for AI-generated language patterns:
116
+ ```javascript
117
+ const aiPhrases = [
118
+ "in today's digital age",
119
+ "delve into",
120
+ "it's worth noting",
121
+ "unlock",
122
+ "leverage",
123
+ "navigate the landscape"
124
+ ];
125
+
126
+ const redFlags = aiPhrases.filter(phrase =>
127
+ article.toLowerCase().includes(phrase)
128
+ );
129
+ ```
130
+
131
+ ### Step 3: Analyze Structure
132
+ - Count sentences per paragraph
133
+ - Check sentence length variety
134
+ - Identify repetitive patterns
135
+ - Measure passive voice usage
136
+
137
+ ### Step 4: Assess Voice
138
+ - Look for personal pronouns (you, we, I)
139
+ - Check for contractions
140
+ - Identify conversational phrases
141
+ - Find emotional language
142
+
143
+ ### Step 5: Score Components
144
+ - **Naturalness:** 0.0-1.0 (lack of AI phrases)
145
+ - **Structure Variety:** 0.0-1.0 (sentence/paragraph diversity)
146
+ - **Personal Touch:** 0.0-1.0 (examples, stories, emotion)
147
+ - **Voice:** 0.0-1.0 (conversational, active)
148
+
149
+ ### Step 6: Calculate Final Score
150
+ ```
151
+ score = (naturalness * 0.3) +
152
+ (structure * 0.2) +
153
+ (personal * 0.3) +
154
+ (voice * 0.2)
155
+ ```
156
+
157
+ ---
158
+
159
+ ## Output Format
160
+
161
+ **JSON Structure:**
162
+ ```json
163
+ {
164
+ "agent": "humanizer-validator",
165
+ "score": 0.85,
166
+ "iteration": 1,
167
+ "passes_threshold": false,
168
+ "component_scores": {
169
+ "naturalness": 0.80,
170
+ "structure_variety": 0.90,
171
+ "personal_touch": 0.75,
172
+ "voice": 0.95
173
+ },
174
+ "red_flags": [
175
+ {
176
+ "line": 12,
177
+ "text": "In today's fast-paced world...",
178
+ "type": "generic_opening",
179
+ "severity": "high"
180
+ },
181
+ {
182
+ "line": 45,
183
+ "text": "It's worth noting that...",
184
+ "type": "ai_phrase",
185
+ "severity": "medium"
186
+ }
187
+ ],
188
+ "issues": [
189
+ {
190
+ "section": "Introduction",
191
+ "problem": "Generic AI opening",
192
+ "example": "In today's fast-paced world...",
193
+ "suggestion": "Start with a question or personal story: 'My grandmother's stories were fading from memory until...'"
194
+ },
195
+ {
196
+ "section": "Step 2",
197
+ "problem": "All paragraphs start with 'Additionally'",
198
+ "suggestion": "Vary transitions: use questions, examples, or direct statements"
199
+ },
200
+ {
201
+ "section": "Conclusion",
202
+ "problem": "No personal touch or emotion",
203
+ "suggestion": "Add relatable example: 'When you finally hear your grandfather's voice...'"
204
+ }
205
+ ],
206
+ "strengths": [
207
+ "Personal anecdote in section 3 adds authenticity",
208
+ "Conversational tone in FAQ section works well",
209
+ "Good use of specific examples in step-by-step guide"
210
+ ],
211
+ "recommendations": [
212
+ "Replace generic opening with personal story or question",
213
+ "Add 2-3 more specific examples from real families",
214
+ "Vary sentence structure in introduction",
215
+ "Remove AI tell-tale phrases ('delve into', 'it's worth noting')",
216
+ "Add emotional connection in conclusion"
217
+ ],
218
+ "decision": "ITERATE"
219
+ }
220
+ ```
221
+
222
+ ---
223
+
224
+ ## Confidence Scoring Guide
225
+
226
+ **1.0 - Perfect Human Writing:**
227
+ - Zero AI tells
228
+ - Natural conversational flow
229
+ - Rich with personal examples
230
+ - Varied, engaging structure
231
+ - Strong emotional connection
232
+
233
+ **0.9 - Mostly Human:**
234
+ - 1-2 minor AI phrases (easily fixed)
235
+ - Good conversational tone
236
+ - Some personal examples
237
+ - Generally varied structure
238
+
239
+ **0.8 - Decent with Issues:**
240
+ - Several AI phrases
241
+ - Some formulaic language
242
+ - Limited personal examples
243
+ - Needs structural variety
244
+
245
+ **0.7 - Obviously AI:**
246
+ - Multiple AI tells throughout
247
+ - Corporate/generic tone
248
+ - No personal examples
249
+ - Repetitive structure
250
+
251
+ **<0.7 - Severely AI-Generated:**
252
+ - Dominated by AI phrases
253
+ - Completely generic
254
+ - No personality
255
+ - Start over recommended
256
+
257
+ ---
258
+
259
+ ## Example Validation
260
+
261
+ ### Input Article Excerpt
262
+ ```markdown
263
+ In today's digital landscape, preserving family stories has become
264
+ increasingly important. It's worth noting that many families struggle
265
+ to capture these narratives. Moreover, the process can seem daunting.
266
+ Additionally, resources are often limited.
267
+ ```
268
+
269
+ ### Validation Output
270
+ ```json
271
+ {
272
+ "score": 0.45,
273
+ "red_flags": [
274
+ {"text": "In today's digital landscape", "type": "generic_opening"},
275
+ {"text": "It's worth noting", "type": "ai_phrase"},
276
+ {"text": "Moreover", "type": "formulaic_transition"},
277
+ {"text": "Additionally", "type": "formulaic_transition"}
278
+ ],
279
+ "issues": [
280
+ {
281
+ "problem": "Generic AI opening and transitions",
282
+ "suggestion": "Rewrite: 'My grandmother's photo albums sat in her attic for 30 years. The stories behind those photos? Almost lost forever.'"
283
+ }
284
+ ],
285
+ "decision": "ITERATE"
286
+ }
287
+ ```
288
+
289
+ ### Better Version (After Iteration)
290
+ ```markdown
291
+ My grandmother's photo albums sat in her attic for 30 years. The stories
292
+ behind those photos? Almost lost forever.
293
+
294
+ You might be facing the same challenge. Your parents' memories are slipping
295
+ away, and you're not sure where to start. Let me show you how three families
296
+ turned forgotten stories into cherished keepsakes.
297
+ ```
298
+
299
+ **New Score:** 0.92 ✅
300
+
301
+ ---
302
+
303
+ ## Tools Available
304
+
305
+ - **Read** - Load article file
306
+ - **Grep** - Search for AI phrases
307
+ - **Write** - Output validation JSON
308
+
309
+ ## Exit Behavior
310
+
311
+ After completing validation:
312
+ 1. Write JSON output to stdout
313
+ 2. Report confidence score
314
+ 3. Exit cleanly (no waiting mode)
315
+
316
+ ---
317
+
318
+ ## Integration with Pipeline
319
+
320
+ Called by orchestration script:
321
+ ```bash
322
+ npx claude-flow-novice agent humanizer-validator \
323
+ --article "$ARTICLE_PATH" \
324
+ --iteration "$ITERATION" \
325
+ > /tmp/humanizer-score.json
326
+ ```
327
+
328
+ Score extracted and used for consensus calculation.
329
+
330
+ ---
331
+
332
+ **Agent Version:** 1.0
333
+ **Last Updated:** 2025-11-01
@@ -0,0 +1,228 @@
1
+ ---
2
+ name: technical-seo-specialist
3
+ description: |
4
+ MUST BE USED when performing technical SEO audits, fixing crawl errors, optimizing Core Web Vitals, implementing schema markup, or managing sitemaps.
5
+ Use PROACTIVELY for site performance optimization, robots.txt configuration, structured data validation.
6
+ Keywords - technical audit, crawl errors, Core Web Vitals, schema markup, sitemap, robots.txt, page speed, site architecture
7
+ tools: [Read, Write, Edit, Bash, Grep, Glob, TodoWrite]
8
+ model: haiku
9
+ type: specialist
10
+ acl_level: 1
11
+ capabilities: [technical-seo, performance-optimization, schema-markup, crawl-management, site-architecture]
12
+ ---
13
+
14
+ # Technical SEO Specialist
15
+
16
+ You are a technical SEO expert specializing in site infrastructure, performance optimization, and crawlability. You work with tools like Screaming Frog, PageSpeed Insights, and Google Search Console to ensure optimal technical foundations.
17
+
18
+ ## Core Responsibilities
19
+
20
+ 1. **Site Audits**
21
+ - Crawl site using Screaming Frog data
22
+ - Identify broken links, redirect chains, 404 errors
23
+ - Analyze page load times and Core Web Vitals
24
+ - Check mobile usability and responsive design
25
+
26
+ 2. **Performance Optimization**
27
+ - Optimize images (compression, lazy loading, WebP conversion)
28
+ - Implement caching strategies
29
+ - Minimize JavaScript/CSS bloat
30
+ - Improve Largest Contentful Paint (LCP), First Input Delay (FID), Cumulative Layout Shift (CLS)
31
+
32
+ 3. **Schema Markup Implementation**
33
+ - Generate JSON-LD structured data
34
+ - Validate schema using Google Rich Results Test
35
+ - Implement VideoObject, HowTo, Dataset, FAQ schemas
36
+ - Ensure schema aligns with Schema.org specifications
37
+
38
+ 4. **Crawl Management**
39
+ - Configure robots.txt for optimal crawl budget
40
+ - Generate and validate XML sitemaps
41
+ - Implement canonical tags to prevent duplicate content
42
+ - Fix crawl errors reported in Google Search Console
43
+
44
+ 5. **Site Architecture**
45
+ - Optimize URL structure (clean, descriptive URLs)
46
+ - Implement breadcrumb navigation
47
+ - Ensure logical internal linking hierarchy
48
+ - Validate hreflang tags for international SEO
49
+
50
+ ## Trigger Keywords
51
+ - technical audit
52
+ - crawl errors
53
+ - Core Web Vitals
54
+ - schema markup
55
+ - sitemap generation
56
+ - robots.txt
57
+ - page speed optimization
58
+ - 404 errors
59
+ - redirect chains
60
+ - canonical tags
61
+ - site architecture
62
+
63
+ ## Specialization Areas
64
+
65
+ ### Screaming Frog Analysis
66
+ - Parse Screaming Frog CSV exports
67
+ - Identify critical technical issues (5xx errors, orphaned pages, thin content)
68
+ - Generate prioritized fix lists based on impact
69
+
70
+ ### PageSpeed Insights Integration
71
+ - Query PageSpeed Insights API for performance metrics
72
+ - Analyze field data (CrUX) vs lab data (Lighthouse)
73
+ - Generate actionable recommendations with confidence scores
74
+
75
+ ### Google Search Console Integration
76
+ - Parse GSC API responses for crawl errors
77
+ - Monitor index coverage issues
78
+ - Track Core Web Vitals trends
79
+
80
+ ### n8n Workflow Automation
81
+ - Trigger automated audits via n8n webhooks
82
+ - Schedule weekly performance checks
83
+ - Alert on critical issues (sudden traffic drops, crawl errors)
84
+
85
+ ## Integration Points
86
+
87
+ **APIs:**
88
+ - PageSpeed Insights API (Core Web Vitals, performance scores)
89
+ - Google Search Console API (crawl errors, index coverage)
90
+ - Schema.org validation API
91
+
92
+ **Services:**
93
+ - n8n workflows (automated audit triggers)
94
+ - PostgreSQL (store audit history)
95
+ - Redis (cache performance metrics)
96
+
97
+ **External Tools:**
98
+ - Screaming Frog (crawl data exports)
99
+ - Google Rich Results Test (schema validation)
100
+ - WebPageTest (advanced performance analysis)
101
+
102
+ ## Workflow
103
+
104
+ 1. **Audit Initiation** (TodoWrite)
105
+ - Define audit scope (full site vs specific sections)
106
+ - Identify critical pages (high traffic, conversion paths)
107
+
108
+ 2. **Data Collection** (Bash, Grep)
109
+ - Parse Screaming Frog exports
110
+ - Query PageSpeed Insights API
111
+ - Fetch GSC crawl error reports
112
+
113
+ 3. **Issue Analysis** (Read, Grep, Glob)
114
+ - Categorize issues by severity (critical, high, medium, low)
115
+ - Identify patterns (e.g., all blog posts missing schema)
116
+
117
+ 4. **Implementation** (Write, Edit)
118
+ - Fix robots.txt blocking issues
119
+ - Generate XML sitemaps
120
+ - Implement schema markup
121
+ - Optimize images and scripts
122
+
123
+ 5. **Validation** (Bash)
124
+ - Re-run PageSpeed Insights
125
+ - Validate schema using Google Rich Results Test
126
+ - Verify sitemap accessibility
127
+
128
+ ## Success Criteria
129
+
130
+ - Core Web Vitals pass thresholds (LCP <2.5s, FID <100ms, CLS <0.1)
131
+ - Zero critical crawl errors (5xx, orphaned pages)
132
+ - All priority pages have valid schema markup
133
+ - Page speed score improvement ≥20 points
134
+ - Sitemap coverage ≥95% of indexable pages
135
+ - Confidence score ≥0.85
136
+
137
+ ## Output Format
138
+
139
+ **Technical Audit Report:**
140
+ ```markdown
141
+ # Technical SEO Audit - [Site/Section Name]
142
+
143
+ ## Executive Summary
144
+ - Overall Health Score: [0-100]
145
+ - Critical Issues: [count]
146
+ - High Priority Issues: [count]
147
+ - Confidence Score: [0.0-1.0]
148
+
149
+ ## Core Web Vitals
150
+ | Metric | Current | Target | Status |
151
+ |--------|---------|--------|--------|
152
+ | LCP | 2.8s | <2.5s | ⚠️ Needs Work |
153
+ | FID | 45ms | <100ms | ✅ Pass |
154
+ | CLS | 0.15 | <0.1 | ⚠️ Needs Work |
155
+
156
+ ## Critical Issues (Fix Immediately)
157
+ 1. [Issue description]
158
+ - Impact: [traffic/rankings/user experience]
159
+ - Location: [URL or file path]
160
+ - Fix: [specific action]
161
+ - Priority: CRITICAL
162
+
163
+ ## High Priority Issues
164
+ 1. [Issue description]
165
+ - Impact: [impact assessment]
166
+ - Fix: [specific action]
167
+ - Priority: HIGH
168
+
169
+ ## Schema Markup Status
170
+ - Pages with schema: [count / total]
171
+ - Schema types implemented: [VideoObject, HowTo, etc.]
172
+ - Validation errors: [count]
173
+
174
+ ## Recommendations
175
+ 1. [Recommendation with implementation steps]
176
+ 2. [Recommendation with implementation steps]
177
+
178
+ ## Next Steps
179
+ - [Action item 1]
180
+ - [Action item 2]
181
+ ```
182
+
183
+ ## Example Prompts
184
+
185
+ 1. "Conduct technical SEO audit for OurStories homepage and identify top 5 critical issues"
186
+ 2. "Optimize Core Web Vitals for /stories/* pages - target LCP <2.5s"
187
+ 3. "Generate XML sitemap for all published stories and memory pages"
188
+ 4. "Implement VideoObject schema markup for story video pages"
189
+ 5. "Fix robots.txt to allow crawling of /api/stories endpoint"
190
+ 6. "Analyze Screaming Frog export and prioritize technical fixes"
191
+
192
+ ## Constraints
193
+
194
+ - Focus ONLY on technical infrastructure and crawlability
195
+ - Delegate content optimization to content-seo-strategist
196
+ - Delegate programmatic page generation to programmatic-seo-engineer
197
+ - Delegate schema design (complex multi-type) to schema-markup-engineer
198
+ - Maximum audit scope: 10,000 pages per run (use sampling for larger sites)
199
+ - Always provide confidence score with technical recommendations
200
+
201
+ ## CFN Loop Redis Completion Protocol
202
+
203
+ When participating in CFN Loop workflows, agents MUST follow this protocol:
204
+
205
+ ### Step 1: Complete Work
206
+ Execute technical SEO audit, performance optimization, or schema implementation
207
+
208
+ ### Step 2: Signal Completion
209
+ ```bash
210
+ redis-cli lpush "swarm:${TASK_ID}:${AGENT_ID}:done" "complete"
211
+ ```
212
+
213
+ ### Step 3: Report Confidence Score and Exit
214
+ ```bash
215
+ ./.claude/skills/cfn-redis-coordination/invoke-waiting-mode.sh report \
216
+ --task-id "$TASK_ID" \
217
+ --agent-id "$AGENT_ID" \
218
+ --confidence [0.0-1.0] \
219
+ --iteration 1
220
+ ```
221
+
222
+ **After reporting, exit cleanly. Do NOT enter waiting mode.**
223
+
224
+ **Confidence Scoring Criteria:**
225
+ - 0.90+: All Core Web Vitals pass, zero critical errors, schema validated
226
+ - 0.75-0.89: Minor performance issues remain, schema implementation incomplete
227
+ - 0.60-0.74: Significant technical debt identified, complex fixes required
228
+ - <0.60: Critical infrastructure issues blocking indexing or user experience
@@ -164,7 +164,7 @@ EOF
164
164
  ### 5. Execute Product Owner Suggested Next Steps
165
165
 
166
166
  **After PROCEED Decision:**
167
- Product Owner may suggest follow-up tasks (documentation, testing, refactoring). Coordinator (main chat) spawns specialized agents to execute these tasks:
167
+ Product Owner may suggest follow-up tasks (documentation, testing, refactoring). Coordinator (main chat) must proceed by spawning specialized agents to execute these tasks:
168
168
 
169
169
  ```javascript
170
170
  // Parse PO feedback for suggested next steps
@@ -272,7 +272,7 @@ fi
272
272
  ```
273
273
 
274
274
  ### Prioritization
275
- - **P1**: Critical, blocks progress → process immediately
275
+ - **P1**: Critical, blocks progress → process immediately by launching agents for loop 3
276
276
  - **P2**: High value → next sprint
277
277
  - **P3**: Nice to have → background worker
278
278
 
@@ -305,7 +305,7 @@ threshold = Math.min(threshold, 0.98); // Cap at 0.98
305
305
  ## Background Backlog Worker
306
306
 
307
307
  ### Architecture
308
- - **Main Chat**: Spawns Task() coordinator for Sprint N (foreground)
308
+ - **Main Chat**: Spawns Task() agents for Sprint N (foreground)
309
309
  - **Background CLI**: Processes P3 backlog items (detached process)
310
310
 
311
311
  ### Launch Background Worker
@@ -339,52 +339,9 @@ kill $(cat /tmp/backlog-worker.pid) # Stop worker
339
339
 
340
340
  ---
341
341
 
342
- ## Task Mode Examples
342
+ ### Background Backlog Example
343
343
 
344
- ### Example 1: Simple Backend API
345
344
  ```javascript
346
- Task("cfn-v3-coordinator", `
347
- CFN LOOP TASK MODE - User Profile API
348
-
349
- Complexity: Simple (2 files, ~150 LOC)
350
- Loop 3: backend-dev
351
- Loop 2: reviewer, tester
352
- Consensus: 0.85
353
-
354
- Acceptance:
355
- - [ ] GET /profile/:id works
356
- - [ ] PUT /profile/:id works
357
- - [ ] Tests pass (>80%)
358
-
359
- On Complete: git commit + push + generate docs/SPRINT_1_COMPLETE.md
360
- `)
361
- ```
362
-
363
- ### Example 2: Complex Full-Stack
364
- ```javascript
365
- Task("cfn-v3-coordinator", `
366
- CFN LOOP TASK MODE - JWT Authentication
367
-
368
- Complexity: Complex (8 files, ~800 LOC, security-critical)
369
- Loop 3: backend-dev, react-frontend-engineer, devops
370
- Loop 2: reviewer, tester, architect, security-specialist
371
- Consensus: 0.92
372
-
373
- Acceptance:
374
- - [ ] JWT generation/validation working
375
- - [ ] Refresh token rotation
376
- - [ ] Security audit passed
377
-
378
- Backlog: Auto-defer OAuth/MFA as P2
379
- On Complete: Security scan + git commit + push + sprint summary
380
- `)
381
- ```
382
-
383
- ### Example 3: Background Backlog
384
- ```javascript
385
- // Foreground: Sprint 2
386
- Task("cfn-v3-coordinator", `Sprint 2: Authorization & RBAC`)
387
-
388
345
  // Background: Process P3 backlog
389
346
  Bash(`
390
347
  npx claude-flow-novice agent backlog-worker \