@hanzlaa/rcode 4.3.3 → 4.4.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 (113) hide show
  1. package/CONTRIBUTING.md +1 -1
  2. package/README.md +10 -4
  3. package/cli/doctor.js +21 -3
  4. package/cli/index.js +5 -1
  5. package/cli/install.js +2 -2
  6. package/cli/postinstall.js +1 -1
  7. package/cli/uninstall.js +48 -6
  8. package/dist/rcode.js +174 -170
  9. package/package.json +12 -22
  10. package/rcode/agents/rcode-codebase-mapper.md +12 -0
  11. package/rcode/agents/rcode-phase-researcher.md +13 -0
  12. package/rcode/agents/rcode-project-researcher.md +32 -0
  13. package/rcode/agents/rcode-roadmapper.md +15 -0
  14. package/rcode/agents/rules/planner/common-patterns.md +40 -0
  15. package/rcode/bin/lib/roadmap.cjs +184 -11
  16. package/rcode/bin/rcode-hooks.cjs +102 -151
  17. package/rcode/bin/rcode-tools.cjs +669 -55
  18. package/rcode/data/intent-table.json +87 -0
  19. package/rcode/modules/seo.yaml +22 -0
  20. package/rcode/references/project-types.yaml +75 -0
  21. package/rcode/skills/SKILLS_INDEX.md +17 -0
  22. package/rcode/skills/actions/4-implementation/rcode-herdr-orchestration/SKILL.md +4 -21
  23. package/rcode/skills/actions/4-implementation/rcode-herdr-orchestration/templates/heartbeat.sh +0 -0
  24. package/rcode/skills/actions/4-implementation/rcode-scaffold-project/SKILL.md +60 -1
  25. package/rcode/skills/core/rcode-init/scripts/__pycache__/rcode_init.cpython-38.pyc +0 -0
  26. package/rcode/skills/core/rcode-init/scripts/tests/__pycache__/test_rcode_init.cpython-38.pyc +0 -0
  27. package/rcode/skills/seo/module.yaml +20 -0
  28. package/rcode/skills/seo/on-page-seo-auditor/SKILL.md +308 -0
  29. package/rcode/skills/seo/on-page-seo-auditor/references/audit-example.md +109 -0
  30. package/rcode/skills/seo/on-page-seo-auditor/references/audit-templates.md +427 -0
  31. package/rcode/skills/seo/on-page-seo-auditor/references/bulk-audit-playbook.md +116 -0
  32. package/rcode/skills/seo/on-page-seo-auditor/references/scoring-rubric.md +525 -0
  33. package/rcode/skills/seo/rank-and-rent-local-seo/SKILL.md +94 -0
  34. package/rcode/skills/seo/rank-and-rent-local-seo/rules/city-matrix-and-pages.md +76 -0
  35. package/rcode/skills/seo/rank-and-rent-local-seo/rules/monetization.md +70 -0
  36. package/rcode/skills/seo/rank-and-rent-local-seo/rules/niche-selection.md +60 -0
  37. package/rcode/skills/seo/rank-and-rent-local-seo/rules/subniche-discovery.md +66 -0
  38. package/rcode/skills/seo/rank-and-rent-local-seo/templates/service-city-page.md +36 -0
  39. package/rcode/skills/seo/rank-and-rent-local-seo/templates/subniche-research-prompt.md +34 -0
  40. package/rcode/skills/seo/seo-audit/SKILL.md +412 -0
  41. package/rcode/skills/seo/seo-audit/evals/evals.json +136 -0
  42. package/rcode/skills/seo/seo-audit/references/ai-writing-detection.md +200 -0
  43. package/rcode/skills/seo/seo-content-factory/SKILL.md +130 -0
  44. package/rcode/skills/seo/seo-content-factory/rules/agents.md +80 -0
  45. package/rcode/skills/seo/seo-content-factory/rules/herdr-wave-mapping.md +80 -0
  46. package/rcode/skills/seo/seo-content-factory/rules/pipeline.md +102 -0
  47. package/rcode/skills/seo/seo-content-factory/rules/programmatic-pages.md +107 -0
  48. package/rcode/skills/seo/seo-content-factory/rules/quality-gates.md +68 -0
  49. package/rcode/skills/seo/seo-content-factory/rules/weekly-cadence.md +61 -0
  50. package/rcode/skills/seo/seo-content-factory/templates/BACKLOG.md +23 -0
  51. package/rcode/skills/seo/seo-content-factory/templates/agent-prompts/01-funnel-A1-A4.md +63 -0
  52. package/rcode/skills/seo/seo-content-factory/templates/agent-prompts/02-fanout-editorial-A5-A6-A8.md +28 -0
  53. package/rcode/skills/seo/seo-content-factory/templates/agent-prompts/03-fanout-programmatic-A7-A6-A8.md +25 -0
  54. package/rcode/skills/seo/seo-content-factory/templates/agent-prompts/04-loop-A9-A10.md +34 -0
  55. package/rcode/skills/seo/seo-content-factory/templates/article.mdx +39 -0
  56. package/rcode/skills/seo/seo-content-factory/templates/cluster.schema.json +52 -0
  57. package/rcode/skills/seo/seo-content-factory/templates/content-brief.md +51 -0
  58. package/rcode/skills/seo/seo-content-factory/templates/jsonld-builders.ts +49 -0
  59. package/rcode/skills/seo/seo-content-factory/templates/keywords.csv +13 -0
  60. package/rcode/skills/seo/seo-content-factory/templates/programmatic-page.tsx +58 -0
  61. package/rcode/skills/seo/seo-content-writer/SKILL.md +263 -0
  62. package/rcode/skills/seo/seo-content-writer/references/content-structure-templates.md +875 -0
  63. package/rcode/skills/seo/seo-content-writer/references/instructions-detail.md +239 -0
  64. package/rcode/skills/seo/seo-content-writer/references/seo-writing-checklist.md +250 -0
  65. package/rcode/skills/seo/seo-content-writer/references/title-formulas.md +339 -0
  66. package/rcode/skills/seo/seo-growth-orchestrator/SKILL.md +79 -0
  67. package/rcode/skills/seo/seo-growth-orchestrator/rules/backlinks.md +29 -0
  68. package/rcode/skills/seo/seo-growth-orchestrator/rules/content-engine.md +27 -0
  69. package/rcode/skills/seo/seo-growth-orchestrator/rules/dos-and-donts.md +40 -0
  70. package/rcode/skills/seo/seo-growth-orchestrator/rules/goals-protocol.md +34 -0
  71. package/rcode/skills/seo/seo-growth-orchestrator/rules/local-seo-stack.md +35 -0
  72. package/rcode/skills/seo/seo-growth-orchestrator/rules/mrr-sprint.md +27 -0
  73. package/rcode/skills/seo/seo-growth-orchestrator/rules/tools.md +19 -0
  74. package/rcode/skills/seo/seo-growth-orchestrator/templates/backlink-research.md +29 -0
  75. package/rcode/skills/seo/seo-growth-orchestrator/templates/goal-protocol.md +35 -0
  76. package/rcode/skills/seo/seo-growth-orchestrator/templates/local-citations.md +24 -0
  77. package/rcode/skills/seo/seo-growth-orchestrator/templates/local-city-pages.md +27 -0
  78. package/rcode/skills/seo/seo-growth-orchestrator/templates/local-gbp-categories.md +23 -0
  79. package/rcode/skills/seo/seo-growth-orchestrator/templates/local-gsc-goldmine.md +27 -0
  80. package/rcode/skills/seo/seo-growth-orchestrator/templates/local-review-mining.md +26 -0
  81. package/rcode/skills/seo/seo-growth-orchestrator/templates/mrr-30day-plan.md +19 -0
  82. package/rcode/skills/seo/seo-growth-orchestrator/templates/mrr-cut.md +13 -0
  83. package/rcode/skills/seo/seo-growth-orchestrator/templates/mrr-opportunity-finder.md +17 -0
  84. package/rcode/skills/seo/seo-growth-orchestrator/templates/mrr-role-model.md +18 -0
  85. package/rcode/skills/seo/seo-site-builder/SKILL.md +149 -0
  86. package/rcode/skills/seo/seo-site-builder/rules/01-niche-discovery.md +64 -0
  87. package/rcode/skills/seo/seo-site-builder/rules/02-deep-research.md +164 -0
  88. package/rcode/skills/seo/seo-site-builder/rules/03-keyword-strategy.md +82 -0
  89. package/rcode/skills/seo/seo-site-builder/rules/04-content-plan.md +173 -0
  90. package/rcode/skills/seo/seo-site-builder/rules/05-site-build.md +187 -0
  91. package/rcode/skills/seo/seo-site-builder/rules/06-yolo.md +127 -0
  92. package/rcode/skills/seo/seo-site-builder/templates/article-stub.mdx +62 -0
  93. package/rcode/skills/seo/seo-site-builder/templates/image-prompt.md +97 -0
  94. package/rcode/skills/seo/seo-site-builder/templates/keyword-export.md +45 -0
  95. package/rcode/skills/seo/seo-site-builder/templates/niche-scorecard.md +28 -0
  96. package/rcode/skills/seo/technical-seo-checker/SKILL.md +329 -0
  97. package/rcode/skills/seo/technical-seo-checker/references/bulk-audit-playbook.md +118 -0
  98. package/rcode/skills/seo/technical-seo-checker/references/ecommerce-platform-patterns.md +166 -0
  99. package/rcode/skills/seo/technical-seo-checker/references/http-status-codes.md +705 -0
  100. package/rcode/skills/seo/technical-seo-checker/references/llm-crawler-handling.md +257 -0
  101. package/rcode/skills/seo/technical-seo-checker/references/pre-migration-playbook.md +137 -0
  102. package/rcode/skills/seo/technical-seo-checker/references/robots-txt-reference.md +717 -0
  103. package/rcode/skills/seo/technical-seo-checker/references/technical-audit-example.md +169 -0
  104. package/rcode/skills/seo/technical-seo-checker/references/technical-audit-templates.md +436 -0
  105. package/rcode/templates/settings-hooks.json +4 -0
  106. package/rcode/workflows/do.md +16 -0
  107. package/rcode/workflows/execute-sprint.md +22 -0
  108. package/rcode/workflows/execute.md +17 -3
  109. package/rcode/workflows/new-milestone.md +21 -9
  110. package/rcode/workflows/new-project-create-roadmap.md +2 -0
  111. package/rcode/workflows/new-project-roadmap.md +2 -0
  112. package/rcode/workflows/new-project.md +3 -0
  113. package/rcode/workflows/plan.md +15 -2
@@ -0,0 +1,239 @@
1
+ # SEO Content Writer — Detailed Instructions
2
+
3
+ Full step-by-step workflow, templates, and content-type quick starts for the SEO Content Writer skill.
4
+
5
+ ---
6
+
7
+ ## Step-by-Step Workflow
8
+
9
+ ### 1. Gather Requirements
10
+
11
+ Confirm or ask for:
12
+
13
+ ```markdown
14
+ ### Content Requirements
15
+
16
+ **Primary Keyword**: [main keyword]
17
+ **Secondary Keywords**: [2-5 related keywords]
18
+ **Target Word Count**: [length]
19
+ **Content Type**: [blog/guide/landing page/etc.]
20
+ **Target Audience**: [who is this for]
21
+ **Search Intent**: [informational/commercial/transactional]
22
+ **Tone**: [professional/casual/technical/friendly]
23
+ **CTA Goal**: [what action should readers take]
24
+ **Competitor URLs**: [top ranking content to beat]
25
+ ```
26
+
27
+ ### 2. Load CORE-EEAT Quality Constraints
28
+
29
+ Before writing, load content quality standards from the [CORE-EEAT Benchmark](https://github.com/aaron-he-zhu/seo-geo-claude-skills/blob/main/references/core-eeat-benchmark.md):
30
+
31
+ ```markdown
32
+ ### CORE-EEAT Pre-Write Checklist
33
+
34
+ **Content Type**: [identified from requirements above]
35
+ **Loaded Constraints** (high-weight items for this content type):
36
+
37
+ Apply these standards while writing:
38
+
39
+ | ID | Standard | How to Apply |
40
+ |----|----------|-------------|
41
+ | C01 | Intent Alignment | Title promise must match content delivery |
42
+ | C02 | Direct Answer | Core answer in first 150 words |
43
+ | C06 | Audience Targeting | State "this article is for..." |
44
+ | C10 | Semantic Closure | Conclusion answers opening question + next steps |
45
+ | O01 | Heading Hierarchy | H1→H2→H3, no level skipping |
46
+ | O02 | Summary Box | Include TL;DR or Key Takeaways |
47
+ | O06 | Section Chunking | Each section single topic; paragraphs 3–5 sentences |
48
+ | O09 | Information Density | No filler; consistent terminology |
49
+ | R01 | Data Precision | ≥5 precise numbers with units |
50
+ | R02 | Citation Density | ≥1 external citation per 500 words |
51
+ | R04 | Evidence-Claim Mapping | Every claim backed by evidence |
52
+ | R07 | Entity Precision | Full names for people/orgs/products |
53
+ | C03 | Query Coverage | Cover ≥3 query variants (synonyms, long-tail) |
54
+ | O08 | Anchor Navigation | Table of contents with jump links |
55
+ | O10 | Multimedia Structure | Images/videos have captions and carry information |
56
+ | E07 | Practical Tools | Include downloadable templates, checklists, or calculators |
57
+
58
+ _These 16 items apply across all content types. For content-type-specific dimension weights, see the Content-Type Weight Table in [core-eeat-benchmark.md](https://github.com/aaron-he-zhu/seo-geo-claude-skills/blob/main/references/core-eeat-benchmark.md)._
59
+ _Full 80-item benchmark: [references/core-eeat-benchmark.md](https://github.com/aaron-he-zhu/seo-geo-claude-skills/blob/main/references/core-eeat-benchmark.md)_
60
+ _For complete content quality audit: use [content-quality-auditor](https://github.com/aaron-he-zhu/seo-geo-claude-skills/blob/main/cross-cutting/content-quality-auditor/SKILL.md)_
61
+ ```
62
+
63
+ ### 3. Research and Plan
64
+
65
+ Before writing:
66
+
67
+ ```markdown
68
+ ### Content Research
69
+
70
+ **SERP Analysis**:
71
+ - Top results format: [what's ranking]
72
+ - Average word count: [X] words
73
+ - Common sections: [list]
74
+ - SERP features: [snippets, PAA, etc.]
75
+
76
+ **Keyword Map**:
77
+ - Primary: [keyword] - use in title, H1, intro, conclusion
78
+ - Secondary: [keywords] - use in H2s, body paragraphs
79
+ - LSI/Related: [terms] - sprinkle naturally throughout
80
+ - Questions: [PAA questions] - use as H2/H3s or FAQ
81
+
82
+ **Content Angle**:
83
+ [What unique perspective or value will this content provide?]
84
+ ```
85
+
86
+ ### 4. Create Optimized Title
87
+
88
+ ```markdown
89
+ ### Title Optimization
90
+
91
+ **Requirements**:
92
+ - Include primary keyword (preferably at start)
93
+ - Under 60 characters for full SERP display
94
+ - Compelling and click-worthy
95
+ - Match search intent
96
+
97
+ **Title Options**:
98
+
99
+ 1. [Title option 1] ([X] chars)
100
+ - Keyword position: [front/middle]
101
+ - Power words: [list]
102
+
103
+ 2. [Title option 2] ([X] chars)
104
+ - Keyword position: [front/middle]
105
+ - Power words: [list]
106
+
107
+ **Recommended**: [Best option with reasoning]
108
+ ```
109
+
110
+ ### 5. Write Meta Description
111
+
112
+ ```markdown
113
+ ### Meta Description
114
+
115
+ **Requirements**:
116
+ - 150-160 characters
117
+ - Include primary keyword naturally
118
+ - Include call-to-action
119
+ - Compelling and specific
120
+
121
+ **Meta Description**:
122
+ "[Description text]" ([X] characters)
123
+
124
+ **Elements included**:
125
+ - Primary keyword
126
+ - Value proposition
127
+ - CTA or curiosity hook
128
+ ```
129
+
130
+ ### 6. Structure Content and Write
131
+
132
+ Structure: H1 (primary keyword, one per page) > Introduction (100-150 words, hook + promise + keyword in first 100 words) > H2 sections (secondary keywords/questions) > H3 sub-topics > FAQ section > Conclusion (summary + keyword + CTA).
133
+
134
+ ### 7. Apply On-Page SEO Best Practices
135
+
136
+ See [seo-writing-checklist.md](https://github.com/aaron-he-zhu/seo-geo-claude-skills/blob/main/build/seo-content-writer/references/seo-writing-checklist.md) for the full on-page SEO checklist, content writing template, and featured snippet optimization patterns.
137
+
138
+ Key requirements while writing:
139
+ - Primary keyword in title, H1, first 100 words, at least one H2, and conclusion
140
+ - Paragraphs of 3-5 sentences; varied sentence length; bullet points and bold key phrases
141
+ - Internal links (2-5) and external authoritative links (2-3)
142
+ - FAQ section with 40-60 word answers for featured snippet opportunity
143
+ - Optimize for definition, list, table, and how-to snippets where applicable
144
+
145
+ ### 8. Add Internal/External Links
146
+
147
+ ```markdown
148
+ ### Link Recommendations
149
+
150
+ **Internal Links** (include 2-5):
151
+ 1. "[anchor text]" → [/your-page-url] (relevant because: [reason])
152
+ 2. "[anchor text]" → [/your-page-url] (relevant because: [reason])
153
+
154
+ **External Links** (include 2-3 authoritative sources):
155
+ 1. "[anchor text]" → [authoritative-source.com] (supports: [claim])
156
+ 2. "[anchor text]" → [authoritative-source.com] (supports: [claim])
157
+ ```
158
+
159
+ ### 9. Final SEO Review and CORE-EEAT Self-Check
160
+
161
+ Score content across 10 SEO factors (title, meta description, H1, keyword placement, H2s, internal links, external links, FAQ, readability, word count) and produce an Overall SEO Score out of 10.
162
+
163
+ Then verify the 16 CORE-EEAT pre-write constraints (C01, C02, C06, C10, O01, O02, O06, O09, R01, R02, R04, R07, C03, O08, O10, E07) with pass/warning/fail status. List items needing attention.
164
+
165
+ _For full 80-item audit, use [content-quality-auditor](https://github.com/aaron-he-zhu/seo-geo-claude-skills/blob/main/cross-cutting/content-quality-auditor/SKILL.md)_
166
+
167
+ ---
168
+
169
+ ## Issue Classification
170
+
171
+ When the self-check reveals issues, classify and handle them:
172
+
173
+ **Auto-correct (fix silently, then document in a `### Changes Made` block after the final content):**
174
+ - Meta description exceeds 160 characters → rewrite to fit while preserving primary keyword and CTA
175
+ - Title tag exceeds 60 characters → shorten while preserving primary keyword
176
+ - Missing alt text on images → generate descriptive alt text
177
+ - Duplicate H2 headings → differentiate with modifiers
178
+ - Keyword density above 2% → replace some instances with semantic variants
179
+ - Missing table of contents → generate TOC with anchor links for articles with 3+ H2 sections
180
+ - Paragraphs exceeding 5 sentences → split at the most natural break point
181
+
182
+ Use this format for the Changes Made block:
183
+
184
+ ```markdown
185
+ ### Changes Made During Self-Check
186
+
187
+ | Item | Original | Fixed |
188
+ |------|----------|-------|
189
+ | Meta description | 185 chars | 158 chars — removed non-essential qualifier |
190
+ | Keyword density | 2.4% | 1.8% — replaced 3 instances with semantic variants |
191
+ ```
192
+
193
+ **Needs your decision (ask before changing):**
194
+ - H1 wording changes (may affect brand voice)
195
+ - Keyword density below 0.5% (may need structural rewrite)
196
+ - Tone adjustments (formal ↔ casual)
197
+ - Claim strength (e.g., "best" → "top-rated" for compliance)
198
+ - Content length significantly above/below target (±30%)
199
+ - Removing/replacing external links
200
+ - Statistics or data claims that cannot be verified against the cited source
201
+
202
+ ---
203
+
204
+ ## Content Type Templates
205
+
206
+ ### How-To Guide
207
+
208
+ ```
209
+ Write a how-to guide for [task] targeting [keyword]
210
+ ```
211
+
212
+ ### Comparison Article
213
+
214
+ ```
215
+ Write a comparison article: [Option A] vs [Option B] for [keyword]
216
+ ```
217
+
218
+ ### Listicle
219
+
220
+ ```
221
+ Write a list post: "X Best [Items] for [Audience/Purpose]" targeting [keyword]
222
+ ```
223
+
224
+ ### Ultimate Guide
225
+
226
+ ```
227
+ Write an ultimate guide about [topic] (3,000+ words) targeting [keyword]
228
+ ```
229
+
230
+ ---
231
+
232
+ ## Tips for Success
233
+
234
+ 1. **Match search intent** - Informational queries need guides, not sales pages
235
+ 2. **Front-load value** - Put key information early for readers and snippets
236
+ 3. **Use data and examples** - Specific beats generic every time
237
+ 4. **Write for humans first** - SEO optimization should feel natural
238
+ 5. **Include visual elements** - Break up text with images, tables, lists
239
+ 6. **Update regularly** - Fresh content signals to search engines
@@ -0,0 +1,250 @@
1
+ # SEO Writing Checklist and Content Template
2
+
3
+ On-page SEO checklist, content writing template, and featured snippet optimization patterns.
4
+
5
+ ---
6
+
7
+ ## On-Page SEO Checklist
8
+
9
+ **Keyword Placement**:
10
+ - [ ] Primary keyword in title
11
+ - [ ] Primary keyword in H1
12
+ - [ ] Primary keyword in first 100 words
13
+ - [ ] Primary keyword in at least one H2
14
+ - [ ] Primary keyword in conclusion
15
+ - [ ] Primary keyword in meta description
16
+ - [ ] Secondary keywords in H2s/H3s
17
+ - [ ] Related terms throughout body
18
+
19
+ **Content Quality**:
20
+ - [ ] Comprehensive coverage of topic
21
+ - [ ] Original insights or data
22
+ - [ ] Actionable takeaways
23
+ - [ ] Examples and illustrations
24
+ - [ ] Expert quotes or citations (for E-E-A-T)
25
+
26
+ **Readability**:
27
+ - [ ] Paragraphs of 3-5 sentences (per CORE-EEAT O06 Section Chunking standard)
28
+ - [ ] Varied sentence length
29
+ - [ ] Bullet points and lists
30
+ - [ ] Bold key phrases
31
+ - [ ] Table of contents for long content
32
+
33
+ **Technical**:
34
+ - [ ] Internal links to relevant pages (2-5)
35
+ - [ ] External links to authoritative sources (2-3)
36
+ - [ ] Image alt text with keywords
37
+ - [ ] URL slug includes keyword
38
+
39
+ ---
40
+
41
+ ## Content Writing Template
42
+
43
+ ```markdown
44
+ # [H1 with Primary Keyword]
45
+
46
+ [Hook sentence that grabs attention]
47
+
48
+ [Problem statement or context - why this matters]
49
+
50
+ [Promise - what the reader will learn/gain] [Include primary keyword naturally]
51
+
52
+ [Brief overview of what's covered - can be bullet points for scanability]
53
+
54
+ ## [H2 - First Main Section with Secondary Keyword]
55
+
56
+ [Introduction to section - 1-2 sentences]
57
+
58
+ [Main content with valuable information]
59
+
60
+ [Examples, data, or evidence to support points]
61
+
62
+ [Transition to next section]
63
+
64
+ ### [H3 - Sub-section if needed]
65
+
66
+ [Detailed content]
67
+
68
+ [Key points in bullet format]:
69
+ - Point 1
70
+ - Point 2
71
+ - Point 3
72
+
73
+ ## [H2 - Second Main Section]
74
+
75
+ [Continue with valuable content...]
76
+
77
+ > **Pro Tip**: [Highlighted tip or key insight]
78
+
79
+ | Column 1 | Column 2 | Column 3 |
80
+ |----------|----------|----------|
81
+ | Data | Data | Data |
82
+
83
+ ## [H2 - Additional Sections as Needed]
84
+
85
+ [Content...]
86
+
87
+ ## Frequently Asked Questions
88
+
89
+ ### [Question from PAA or common query]?
90
+
91
+ [Direct, concise answer in 40-60 words for featured snippet opportunity]
92
+
93
+ ### [Question 2]?
94
+
95
+ [Answer]
96
+
97
+ ### [Question 3]?
98
+
99
+ [Answer]
100
+
101
+ ## Conclusion
102
+
103
+ [Summary of key points - include primary keyword]
104
+
105
+ [Final thought or insight]
106
+
107
+ [Clear call-to-action: what should reader do next?]
108
+ ```
109
+
110
+ ---
111
+
112
+ ## Featured Snippet Optimization
113
+
114
+ **For Definition Snippets**:
115
+ "[Term] is [clear, concise definition in 40-60 words]"
116
+
117
+ **For List Snippets**:
118
+ Create clear, numbered or bulleted lists under H2s
119
+
120
+ **For Table Snippets**:
121
+ Use comparison tables with clear headers
122
+
123
+ **For How-To Snippets**:
124
+ Number each step clearly: "Step 1:", "Step 2:", etc.
125
+
126
+ ---
127
+
128
+ ## Example: Full SEO Article
129
+
130
+ **User**: "Write an SEO-optimized article about 'email marketing best practices' targeting small businesses"
131
+
132
+ **Output**:
133
+
134
+ ```markdown
135
+ # Email Marketing Best Practices: A Complete Guide for Small Businesses
136
+
137
+ **Meta Description**: Discover proven email marketing best practices that help small businesses increase open rates, boost engagement, and drive sales. Start improving your campaigns today. (158 chars)
138
+
139
+ ---
140
+
141
+ Want to know the secret behind small businesses that consistently turn subscribers into loyal customers? It's not luck---it's strategic email marketing.
142
+
143
+ Email marketing remains one of the most effective channels for small businesses, delivering an average ROI of $42 for every $1 spent. But with inboxes more crowded than ever, following email marketing best practices isn't optional---it's essential for survival.
144
+
145
+ In this guide, you'll learn:
146
+ - How to build a quality email list that converts
147
+ - Proven strategies to increase open and click rates
148
+ - Advanced personalization techniques that drive results
149
+ - Common mistakes that kill email performance
150
+
151
+ Let's dive into the strategies that will transform your email marketing.
152
+
153
+ ## Why Email Marketing Matters for Small Businesses
154
+
155
+ Before we explore the best practices, let's understand why email deserves your attention.
156
+
157
+ Unlike social media where algorithms control who sees your content, email gives you direct access to your audience. You own your email list---no platform can take it away.
158
+
159
+ **Key email marketing statistics for small businesses**:
160
+ - 81% of SMBs rely on email as their primary customer acquisition channel
161
+ - Email subscribers are 3x more likely to share content on social media
162
+ - Personalized emails generate 6x higher transaction rates
163
+
164
+ ## Building a High-Quality Email List
165
+
166
+ ### Use Strategic Opt-in Incentives
167
+
168
+ The foundation of effective email marketing is a quality list. Here's how to grow yours:
169
+
170
+ **Lead magnets that convert**:
171
+ - Industry-specific templates
172
+ - Exclusive discounts or early access
173
+ - Free tools or calculators
174
+ - Educational email courses
175
+
176
+ > **Pro Tip**: The best lead magnets solve a specific, immediate problem for your target audience.
177
+
178
+ ### Implement Double Opt-in
179
+
180
+ Double opt-in confirms subscriber intent and improves deliverability. Yes, you'll have fewer subscribers, but they'll be more engaged.
181
+
182
+ | Single Opt-in | Double Opt-in |
183
+ |---------------|---------------|
184
+ | More subscribers | Fewer subscribers |
185
+ | Higher bounce rates | Lower bounce rates |
186
+ | Lower engagement | Higher engagement |
187
+ | Spam risk | Better deliverability |
188
+
189
+ ## Crafting Emails That Get Opened
190
+
191
+ ### Write Compelling Subject Lines
192
+
193
+ Your subject line determines whether emails get opened or ignored.
194
+
195
+ **Subject line best practices**:
196
+ 1. Keep it under 50 characters
197
+ 2. Create urgency without being spammy
198
+ 3. Use numbers and specifics
199
+ 4. Personalize when possible
200
+ 5. A/B test consistently
201
+
202
+ ### Optimize Preview Text
203
+
204
+ The preview text (preheader) is your second chance to convince someone to open. Use it to expand on your subject line, not repeat it.
205
+
206
+ ## Personalization Strategies That Work
207
+
208
+ Generic emails perform poorly. Here's how to personalize effectively:
209
+
210
+ ### Segment Your Email List
211
+
212
+ Divide your list based on:
213
+ - Purchase history
214
+ - Engagement level
215
+ - Demographics
216
+ - Interests or preferences
217
+ - Customer lifecycle stage
218
+
219
+ ### Use Dynamic Content
220
+
221
+ Send the same email but show different content blocks based on subscriber data.
222
+
223
+ ## Frequently Asked Questions
224
+
225
+ ### How often should small businesses send marketing emails?
226
+
227
+ For most small businesses, sending 1-2 emails per week strikes the right balance. This keeps you top-of-mind without overwhelming subscribers. Monitor your unsubscribe rates---if they spike after increasing frequency, scale back.
228
+
229
+ ### What is a good email open rate for small businesses?
230
+
231
+ A good email open rate for small businesses is 20-25%. However, this varies by industry. E-commerce averages 15-20%, while B2B services often see 25-30%. Focus on improving your own benchmarks rather than industry averages.
232
+
233
+ ### Should I buy email lists to grow faster?
234
+
235
+ Never buy email lists. Purchased lists violate GDPR and CAN-SPAM regulations, damage your sender reputation, and result in poor engagement. Organic list growth, while slower, produces much better results.
236
+
237
+ ## Conclusion
238
+
239
+ Implementing these email marketing best practices will help your small business build stronger customer relationships and drive consistent revenue. Remember: quality always beats quantity in email marketing.
240
+
241
+ Start with one improvement today. Whether it's segmenting your list, testing subject lines, or cleaning inactive subscribers, small changes compound into significant results.
242
+
243
+ **Ready to level up your email marketing?** Download our free Email Marketing Checklist to ensure every campaign you send follows these best practices.
244
+
245
+ ---
246
+
247
+ *Further reading: [Internal link: "How to Write Email Copy That Converts"]*
248
+
249
+ *Sources: [Litmus Email Marketing Statistics](https://litmus.com), [Campaign Monitor Email Benchmarks](https://campaignmonitor.com)*
250
+ ```