@businesskit/agent 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agents/skills/agents.md +56 -0
- package/.agents/skills/analytics.md +47 -0
- package/.agents/skills/brand.md +87 -0
- package/.agents/skills/schema.md +45 -0
- package/.agents/skills/store.md +46 -0
- package/.claude/commands/analytics.md +7 -0
- package/.claude/commands/blog-writer.md +9 -0
- package/.claude/commands/cbo.md +7 -0
- package/.claude/commands/ceo.md +10 -0
- package/.claude/commands/cmo.md +7 -0
- package/.claude/commands/compress.md +73 -0
- package/.claude/commands/coo.md +11 -0
- package/.claude/commands/copywriter.md +15 -0
- package/.claude/commands/course-creator.md +9 -0
- package/.claude/commands/crm.md +82 -0
- package/.claude/commands/deep.md +50 -0
- package/.claude/commands/docs-writer.md +8 -0
- package/.claude/commands/forms-builder.md +10 -0
- package/.claude/commands/jobs-manager.md +8 -0
- package/.claude/commands/kb.md +107 -0
- package/.claude/commands/newsletter-writer.md +9 -0
- package/.claude/commands/preserve.md +64 -0
- package/.claude/commands/resume.md +67 -0
- package/.claude/commands/scheduler.md +8 -0
- package/.claude/commands/seo.md +60 -0
- package/.claude/commands/social.md +51 -0
- package/.claude/commands/store-manager.md +11 -0
- package/.claude/skills/README.md +33 -0
- package/.claude/skills/agents.md +56 -0
- package/.claude/skills/analytics.md +7 -0
- package/.claude/skills/blog-writing.md +452 -0
- package/.claude/skills/brand.md +44 -0
- package/.claude/skills/content-seo.md +0 -0
- package/.claude/skills/humanizer.md +474 -0
- package/.claude/skills/schema.md +45 -0
- package/.claude/skills/social-content.md +278 -0
- package/.claude/skills/store-copywriting.md +519 -0
- package/.claude/skills/store.md +62 -0
- package/.claude-plugin/plugin.json +33 -0
- package/.cursorrules +0 -0
- package/.env.example +2 -0
- package/.mcp.json +3 -0
- package/AGENTS.md +63 -0
- package/CLAUDE.md +221 -0
- package/GEMINI.md +37 -0
- package/LICENSE +21 -0
- package/PLAN.md +253 -0
- package/PRD-Agent-Harness.md +316 -0
- package/README.md +237 -0
- package/SYSTEM.md +49 -0
- package/agents/_base.ts +63 -0
- package/agents/creators/blog-writer.ts +347 -0
- package/agents/creators/copywriter.ts +89 -0
- package/agents/creators/course-creator.ts +106 -0
- package/agents/creators/crm-agent.ts +479 -0
- package/agents/creators/docs-writer.ts +77 -0
- package/agents/creators/forms-builder.ts +90 -0
- package/agents/creators/jobs-manager.ts +82 -0
- package/agents/creators/newsletter-writer.ts +91 -0
- package/agents/creators/store-manager.ts +138 -0
- package/agents/csuite/cbo.ts +109 -0
- package/agents/csuite/ceo.ts +121 -0
- package/agents/csuite/cmo.ts +109 -0
- package/agents/csuite/coo.ts +115 -0
- package/agents/growth/analytics-agent.ts +52 -0
- package/agents/growth/scheduler.ts +68 -0
- package/agents/growth/seo-agent.ts +282 -0
- package/agents/growth/social-agent.ts +346 -0
- package/bin/businesskit.js +17 -0
- package/cli.ts +125 -0
- package/context/brand.md +80 -0
- package/context/business.md +66 -0
- package/lib/analytics.ts +81 -0
- package/lib/db.adapter.ts +30 -0
- package/lib/db.ts +16 -0
- package/lib/id.ts +15 -0
- package/lib/kb.ts +337 -0
- package/lib/memory.ts +219 -0
- package/lib/pattern-detector.ts +169 -0
- package/lib/profile.ts +119 -0
- package/lib/slug.ts +30 -0
- package/package.json +50 -0
- package/setup.ts +127 -0
- package/tsconfig.json +13 -0
|
@@ -0,0 +1,452 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: blog-write
|
|
3
|
+
description: >
|
|
4
|
+
Write new blog articles from scratch optimized for Google rankings and AI
|
|
5
|
+
citations. Generates full articles with template selection, answer-first
|
|
6
|
+
formatting, TL;DR box, information gain markers, citation capsules, sourced
|
|
7
|
+
statistics, Pixabay/Unsplash images, built-in SVG chart generation, FAQ schema,
|
|
8
|
+
internal linking zones, and proper heading hierarchy. Supports MDX, markdown,
|
|
9
|
+
and HTML output.
|
|
10
|
+
Use when user says "write blog", "new blog post", "create article",
|
|
11
|
+
"write about", "draft blog", "generate blog post".
|
|
12
|
+
allowed-tools:
|
|
13
|
+
- Read
|
|
14
|
+
- Write
|
|
15
|
+
- Edit
|
|
16
|
+
- Bash
|
|
17
|
+
- Grep
|
|
18
|
+
- Glob
|
|
19
|
+
- WebFetch
|
|
20
|
+
- WebSearch
|
|
21
|
+
- Task
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
# Blog Writer -- New Article Generation
|
|
25
|
+
|
|
26
|
+
Writes complete blog articles from a topic, brief, or outline. Every article
|
|
27
|
+
follows the 6 pillars of dual optimization (Google rankings + AI citations).
|
|
28
|
+
|
|
29
|
+
**Key references:**
|
|
30
|
+
- `references/content-templates.md` — Template selection guide and usage
|
|
31
|
+
- `references/quality-scoring.md` — 5-category scoring (Content 30, SEO 25, E-E-A-T 15, Technical 15, AI Citation 15)
|
|
32
|
+
- `references/eeat-signals.md` — Experience, expertise, authority, trust markers
|
|
33
|
+
- `references/internal-linking.md` — Linking strategy and anchor text rules
|
|
34
|
+
- `references/visual-media.md` — Image sourcing and chart styling
|
|
35
|
+
|
|
36
|
+
## Workflow
|
|
37
|
+
|
|
38
|
+
### Phase 1: Topic Understanding
|
|
39
|
+
|
|
40
|
+
1. **Clarify the topic** — If the user provides just a topic, ask:
|
|
41
|
+
- Target audience (who is this for?)
|
|
42
|
+
- Primary keyword / search intent
|
|
43
|
+
- Desired word count (default: 2,000-2,500 words)
|
|
44
|
+
- Platform/format (MDX, markdown, HTML — auto-detect if in a project)
|
|
45
|
+
2. **If a brief exists** — Load it and skip to Phase 1.5
|
|
46
|
+
|
|
47
|
+
### Phase 1.5: Template Selection
|
|
48
|
+
|
|
49
|
+
Select the appropriate content template from the 12 templates in `blog/templates/`.
|
|
50
|
+
|
|
51
|
+
1. **Auto-detect content type** from the topic and search intent:
|
|
52
|
+
| Signal | Template |
|
|
53
|
+
|--------|----------|
|
|
54
|
+
| "How to...", process, steps | `how-to-guide` |
|
|
55
|
+
| "Best X", "Top N", list format | `listicle` |
|
|
56
|
+
| Client result, before/after, metrics | `case-study` |
|
|
57
|
+
| "X vs Y", comparison, alternatives | `comparison` |
|
|
58
|
+
| Broad topic, comprehensive guide | `pillar-page` |
|
|
59
|
+
| "Is X worth it", product evaluation | `product-review` |
|
|
60
|
+
| Opinion, prediction, industry take | `thought-leadership` |
|
|
61
|
+
| Expert quotes, multi-source collection | `roundup` |
|
|
62
|
+
| Code walkthrough, tool demo, technical | `tutorial` |
|
|
63
|
+
| Breaking news, algorithm update, event | `news-analysis` |
|
|
64
|
+
| Survey results, experiment, original data | `data-research` |
|
|
65
|
+
| Q&A, knowledge base, "What is X" | `faq-knowledge` |
|
|
66
|
+
|
|
67
|
+
2. **Load the matching template** — Read from `blog/templates/<type>.md`
|
|
68
|
+
3. **Adapt the outline** — Use the template's section structure, heading patterns,
|
|
69
|
+
and word count guidance to shape Phase 3's outline
|
|
70
|
+
4. **Fallback** — If no template clearly fits, use the generic outline structure
|
|
71
|
+
in Phase 3 below. Inform the user which template was selected (or that none matched).
|
|
72
|
+
|
|
73
|
+
See `references/content-templates.md` for detailed selection criteria and intent mapping.
|
|
74
|
+
|
|
75
|
+
### Phase 2: Research
|
|
76
|
+
|
|
77
|
+
Spawn a `blog-researcher` agent (or do inline research with WebSearch):
|
|
78
|
+
|
|
79
|
+
1. **Find 8-12 current statistics** (2025-2026 data preferred)
|
|
80
|
+
- Search: `[topic] study 2025 2026 data statistics`
|
|
81
|
+
- Prioritize tier 1-3 sources (see `references/quality-scoring.md`)
|
|
82
|
+
- Record: statistic, source name, URL, date, methodology
|
|
83
|
+
2. **Find a cover image** (wide, high-quality, topic-relevant):
|
|
84
|
+
- Search: `site:pixabay.com [topic] wide banner` (preferred)
|
|
85
|
+
- Alternative: `site:unsplash.com [topic] wide`
|
|
86
|
+
- Fallback: `site:pexels.com [topic] wide banner`
|
|
87
|
+
- Target dimensions: 1200x630 (OG-compatible) or 1920x1080
|
|
88
|
+
- Or generate a custom SVG cover via `blog-chart` (text-on-gradient with key stat)
|
|
89
|
+
- See `references/visual-media.md` for cover image sizing details
|
|
90
|
+
3. **Find 3-5 inline images** from open-source platforms:
|
|
91
|
+
- **Pixabay** (preferred): Search `site:pixabay.com [topic keywords]`
|
|
92
|
+
- Extract image URL from page
|
|
93
|
+
- Direct URLs: `https://cdn.pixabay.com/photo/YYYY/MM/DD/HH/MM/filename.jpg`
|
|
94
|
+
- Verify with `curl -sI "<url>" | head -1` returns HTTP 200
|
|
95
|
+
- **Unsplash** (alternative): Search `site:unsplash.com [topic keywords]`
|
|
96
|
+
- Build URL: `https://images.unsplash.com/photo-<id>?w=1200&h=630&fit=crop&q=80`
|
|
97
|
+
- **Pexels** (fallback): Search `site:pexels.com [topic keywords]`
|
|
98
|
+
4. **Plan 2-4 data visualizations** from researched statistics
|
|
99
|
+
- Select diverse chart types (see `references/visual-media.md`)
|
|
100
|
+
- Map data points to chart formats
|
|
101
|
+
|
|
102
|
+
### Phase 3: Outline Generation
|
|
103
|
+
|
|
104
|
+
Create a structured outline before writing. If a template was loaded in Phase 1.5,
|
|
105
|
+
adapt this skeleton to match the template's section structure:
|
|
106
|
+
|
|
107
|
+
```
|
|
108
|
+
# [Title as Question — Include Primary Keyword]
|
|
109
|
+
|
|
110
|
+
## Introduction (100-150 words)
|
|
111
|
+
- Hook with surprising statistic
|
|
112
|
+
- Problem/opportunity statement
|
|
113
|
+
- What the reader will learn
|
|
114
|
+
|
|
115
|
+
> **TL;DR:** [40-60 word standalone summary — placeholder]
|
|
116
|
+
|
|
117
|
+
## H2: [Question Format] (300-400 words)
|
|
118
|
+
- Answer-first paragraph (40-60 words with stat + source)
|
|
119
|
+
- Supporting evidence
|
|
120
|
+
- [Image placement]
|
|
121
|
+
- Practical advice
|
|
122
|
+
- [CITATION CAPSULE placeholder]
|
|
123
|
+
- [INTERNAL-LINK: anchor text → target description]
|
|
124
|
+
|
|
125
|
+
## H2: [Question Format] (300-400 words)
|
|
126
|
+
- Answer-first paragraph
|
|
127
|
+
- [Chart: type + data description]
|
|
128
|
+
- Analysis and implications
|
|
129
|
+
- [CITATION CAPSULE placeholder]
|
|
130
|
+
- [INTERNAL-LINK: anchor text → target description]
|
|
131
|
+
|
|
132
|
+
## H2: [Statement for Variety] (300-400 words)
|
|
133
|
+
- Answer-first paragraph
|
|
134
|
+
- Real-world example or case study
|
|
135
|
+
- [Image placement]
|
|
136
|
+
- [CITATION CAPSULE placeholder]
|
|
137
|
+
|
|
138
|
+
## H2: [Question Format] (300-400 words)
|
|
139
|
+
- Answer-first paragraph
|
|
140
|
+
- [Chart: type + data description]
|
|
141
|
+
- Step-by-step guidance
|
|
142
|
+
- [CITATION CAPSULE placeholder]
|
|
143
|
+
- [INTERNAL-LINK: anchor text → target description]
|
|
144
|
+
|
|
145
|
+
## H2: [Question Format] (200-300 words)
|
|
146
|
+
- Answer-first paragraph
|
|
147
|
+
- Forward-looking analysis
|
|
148
|
+
|
|
149
|
+
## FAQ Section (3-5 questions, 40-60 words each answer)
|
|
150
|
+
- [INTERNAL-LINK: anchor text → detailed content]
|
|
151
|
+
|
|
152
|
+
## Conclusion (100-150 words)
|
|
153
|
+
- Key takeaways (bulleted)
|
|
154
|
+
- Call to action
|
|
155
|
+
- [INTERNAL-LINK: anchor text → next logical content]
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
Present the outline to the user for approval before writing.
|
|
159
|
+
|
|
160
|
+
### Phase 4: Chart Generation (Built-In)
|
|
161
|
+
|
|
162
|
+
When the researcher identifies chart-worthy data (3+ comparable metrics, trend data,
|
|
163
|
+
before/after comparisons):
|
|
164
|
+
|
|
165
|
+
1. Select chart type using the diversity rule (no repeated types per post)
|
|
166
|
+
2. Invoke `blog-chart` sub-skill with: chart type, title, data values, source, platform format
|
|
167
|
+
3. Embed the returned SVG directly in the post within a `<figure>` wrapper
|
|
168
|
+
4. Target 2-4 charts per 2,000-word post
|
|
169
|
+
5. Distribute charts evenly — never cluster them
|
|
170
|
+
|
|
171
|
+
See `references/visual-media.md` for chart type selection and styling rules.
|
|
172
|
+
|
|
173
|
+
### Phase 5: Content Writing
|
|
174
|
+
|
|
175
|
+
Write the full article following these rules:
|
|
176
|
+
|
|
177
|
+
#### 5a. Frontmatter
|
|
178
|
+
```yaml
|
|
179
|
+
---
|
|
180
|
+
title: "[Question-format title with primary keyword]"
|
|
181
|
+
description: "[Fact-dense, 150-160 chars, includes 1 statistic]"
|
|
182
|
+
coverImage: "[URL from Pixabay/Unsplash/Pexels or generated SVG path]"
|
|
183
|
+
coverImageAlt: "[Descriptive sentence about the cover image]"
|
|
184
|
+
ogImage: "[Same as coverImage, or custom OG image URL]"
|
|
185
|
+
date: "YYYY-MM-DD"
|
|
186
|
+
lastUpdated: "YYYY-MM-DD"
|
|
187
|
+
author: "[Author name]"
|
|
188
|
+
tags: ["keyword1", "keyword2", "keyword3"]
|
|
189
|
+
---
|
|
190
|
+
```
|
|
191
|
+
|
|
192
|
+
If the platform uses a different field name (e.g., `image`, `hero`, `thumbnail`),
|
|
193
|
+
adapt to match the project's existing frontmatter convention.
|
|
194
|
+
|
|
195
|
+
#### 5b. TL;DR Box
|
|
196
|
+
|
|
197
|
+
Immediately after the introduction (before the first H2 body section), add a TL;DR box:
|
|
198
|
+
|
|
199
|
+
```markdown
|
|
200
|
+
> **TL;DR:** [40-60 word standalone summary that makes sense without reading the
|
|
201
|
+
> full article. Contains the key finding or recommendation plus 1 statistic with
|
|
202
|
+
> source attribution. Reader should get the core value from this alone.]
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
Requirements:
|
|
206
|
+
- 40-60 words, no more
|
|
207
|
+
- Must be self-contained — understandable without reading the article
|
|
208
|
+
- Include 1 specific statistic with source name
|
|
209
|
+
- State the key finding, recommendation, or answer
|
|
210
|
+
- Place as a blockquote directly after the introduction paragraph
|
|
211
|
+
|
|
212
|
+
#### 5c. Answer-First Formatting (Critical)
|
|
213
|
+
Every H2 section MUST open with a 40-60 word paragraph containing:
|
|
214
|
+
- At least one specific statistic with source attribution
|
|
215
|
+
- A direct answer to the heading's implicit question
|
|
216
|
+
|
|
217
|
+
Pattern:
|
|
218
|
+
```markdown
|
|
219
|
+
## How Does X Impact Y in 2026?
|
|
220
|
+
|
|
221
|
+
[Stat from source] ([Source Name](url), year). [Direct answer to the heading
|
|
222
|
+
question in 1-2 more sentences, explaining the implication and what this means
|
|
223
|
+
for the reader.]
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
#### 5d. Information Gain Markers
|
|
227
|
+
|
|
228
|
+
Distribute at least 2-3 information gain markers throughout the article. These
|
|
229
|
+
signal to search engines and AI systems that the content contains original value
|
|
230
|
+
not available elsewhere.
|
|
231
|
+
|
|
232
|
+
Tag each with a comment or visible marker:
|
|
233
|
+
|
|
234
|
+
- `[ORIGINAL DATA]` — Proprietary surveys, experiments, A/B test results, case
|
|
235
|
+
study metrics the author collected first-hand
|
|
236
|
+
- `[PERSONAL EXPERIENCE]` — First-hand observations, lessons learned from direct
|
|
237
|
+
involvement, "when we tried X, Y happened" narratives
|
|
238
|
+
- `[UNIQUE INSIGHT]` — Analysis others haven't made, contrarian perspectives
|
|
239
|
+
backed by data, novel connections between existing research
|
|
240
|
+
|
|
241
|
+
Placement:
|
|
242
|
+
- Weave into the body text naturally
|
|
243
|
+
- Use as inline comments: `<!-- [ORIGINAL DATA] -->` before the relevant paragraph
|
|
244
|
+
- Or as visible callouts if the format supports it:
|
|
245
|
+
```markdown
|
|
246
|
+
> **Our finding:** [original observation backed by specific data]
|
|
247
|
+
```
|
|
248
|
+
- Minimum 2 per post, target 3 for comprehensive articles
|
|
249
|
+
|
|
250
|
+
These markers map directly to the "Originality/unique value markers" criterion
|
|
251
|
+
in the Content Quality scoring category (see `references/quality-scoring.md`).
|
|
252
|
+
|
|
253
|
+
#### 5e. Citation Capsules
|
|
254
|
+
|
|
255
|
+
For each major H2 section, generate a citation capsule — a 40-60 word self-contained
|
|
256
|
+
passage designed so AI systems can extract and quote it directly.
|
|
257
|
+
|
|
258
|
+
Requirements per capsule:
|
|
259
|
+
- 40-60 words, self-contained (makes sense in isolation)
|
|
260
|
+
- Contains: one specific claim + one data point + source attribution
|
|
261
|
+
- Written in a declarative, quotable style
|
|
262
|
+
- Placed within the H2 section body (not as a separate block)
|
|
263
|
+
|
|
264
|
+
Example:
|
|
265
|
+
```markdown
|
|
266
|
+
According to a 2026 Gartner study, 58% of enterprise buyers now consult AI
|
|
267
|
+
assistants before contacting a vendor ([Gartner](https://www.gartner.com), 2026).
|
|
268
|
+
This shift means B2B content must answer specific questions concisely enough
|
|
269
|
+
for AI systems to extract and cite in their responses.
|
|
270
|
+
```
|
|
271
|
+
|
|
272
|
+
Capsules map to the "AI Citation Readiness" scoring category (15 points) in
|
|
273
|
+
`references/quality-scoring.md`.
|
|
274
|
+
|
|
275
|
+
#### 5f. Internal Linking Zones
|
|
276
|
+
|
|
277
|
+
Mark internal linking opportunities throughout the article using placeholder
|
|
278
|
+
notation. The user (or a follow-up pass) will resolve these to actual URLs.
|
|
279
|
+
|
|
280
|
+
Zone placement:
|
|
281
|
+
- **Introduction** — Link to related pillar content or topic hub
|
|
282
|
+
- **Each H2 section** — Link to supporting articles, deeper dives, related tools
|
|
283
|
+
- **FAQ section** — Link answers to detailed content that expands on the answer
|
|
284
|
+
- **Conclusion** — Link to the next logical piece of content the reader should consume
|
|
285
|
+
|
|
286
|
+
Format:
|
|
287
|
+
```markdown
|
|
288
|
+
[INTERNAL-LINK: anchor text → target description]
|
|
289
|
+
```
|
|
290
|
+
|
|
291
|
+
Example:
|
|
292
|
+
```markdown
|
|
293
|
+
For a deeper dive into keyword clustering, see our
|
|
294
|
+
[INTERNAL-LINK: complete guide to keyword clustering → pillar page on keyword research methodology].
|
|
295
|
+
```
|
|
296
|
+
|
|
297
|
+
Target 5-10 internal link zones per 2,000-word post. Use descriptive anchor text
|
|
298
|
+
(never "click here" or "read more"). See `references/internal-linking.md` for
|
|
299
|
+
anchor text rules and linking strategy.
|
|
300
|
+
|
|
301
|
+
#### 5g. Paragraph Rules
|
|
302
|
+
- Every paragraph: 40-80 words (never exceed 150)
|
|
303
|
+
- Every sentence: max 15-20 words
|
|
304
|
+
- Start each paragraph with the most important information
|
|
305
|
+
- Target Flesch Reading Ease: 60-70
|
|
306
|
+
|
|
307
|
+
#### 5h. Heading Rules
|
|
308
|
+
- One H1 (title only)
|
|
309
|
+
- H2s for main sections (60-70% as questions)
|
|
310
|
+
- H3s for subsections only — never skip levels
|
|
311
|
+
- Include primary keyword naturally in 2-3 headings
|
|
312
|
+
|
|
313
|
+
#### 5i. Image Embedding
|
|
314
|
+
|
|
315
|
+
Standard markdown:
|
|
316
|
+
```markdown
|
|
317
|
+

|
|
318
|
+
```
|
|
319
|
+
|
|
320
|
+
MDX with Next.js Image (if detected):
|
|
321
|
+
```mdx
|
|
322
|
+

|
|
323
|
+
```
|
|
324
|
+
|
|
325
|
+
- Place images after H2 headings, before body text
|
|
326
|
+
- Space evenly throughout the post (not clustered)
|
|
327
|
+
- Alt text should be a full descriptive sentence
|
|
328
|
+
|
|
329
|
+
#### 5j. Chart Embedding
|
|
330
|
+
|
|
331
|
+
Standard markdown/HTML:
|
|
332
|
+
```html
|
|
333
|
+
<figure>
|
|
334
|
+
<svg viewBox="0 0 560 380" ...>...</svg>
|
|
335
|
+
<figcaption>Source: [Source Name], [Year]</figcaption>
|
|
336
|
+
</figure>
|
|
337
|
+
```
|
|
338
|
+
|
|
339
|
+
MDX format:
|
|
340
|
+
```mdx
|
|
341
|
+
<figure className="chart-container" style={{margin: '2.5rem 0', textAlign: 'center', padding: '1.5rem', borderRadius: '12px'}}>
|
|
342
|
+
<svg viewBox="0 0 560 380" ...>...</svg>
|
|
343
|
+
</figure>
|
|
344
|
+
```
|
|
345
|
+
|
|
346
|
+
#### 5k. Citation Format
|
|
347
|
+
Inline attribution (always):
|
|
348
|
+
```markdown
|
|
349
|
+
Organic CTR declined 61% with AI Overviews ([Seer Interactive](https://www.seerinteractive.com/), 2025).
|
|
350
|
+
```
|
|
351
|
+
|
|
352
|
+
#### 5l. FAQ Section
|
|
353
|
+
Add 3-5 FAQ items with 40-60 word answers. Each answer must contain a statistic.
|
|
354
|
+
|
|
355
|
+
For MDX with FAQSchema component:
|
|
356
|
+
```mdx
|
|
357
|
+
<FAQSchema faqs={[
|
|
358
|
+
{ question: "Question?", answer: "40-60 word answer with statistic and source." },
|
|
359
|
+
]} />
|
|
360
|
+
```
|
|
361
|
+
|
|
362
|
+
For standard markdown:
|
|
363
|
+
```markdown
|
|
364
|
+
## Frequently Asked Questions
|
|
365
|
+
|
|
366
|
+
### Question text here?
|
|
367
|
+
|
|
368
|
+
Answer with statistic and source attribution (40-60 words).
|
|
369
|
+
```
|
|
370
|
+
|
|
371
|
+
#### 5m. Internal Linking
|
|
372
|
+
- 5-10 internal links per 2,000-word post
|
|
373
|
+
- Link to relevant existing content naturally
|
|
374
|
+
- Use descriptive anchor text (not "click here")
|
|
375
|
+
|
|
376
|
+
### Phase 6: Quality Check
|
|
377
|
+
|
|
378
|
+
Before delivering, verify:
|
|
379
|
+
|
|
380
|
+
#### Structure and Content
|
|
381
|
+
1. Every H2 opens with a statistic + source
|
|
382
|
+
2. No paragraph exceeds 150 words
|
|
383
|
+
3. All statistics have named tier 1-3 sources
|
|
384
|
+
4. 2-4 charts with type diversity
|
|
385
|
+
5. 3-5 inline images with descriptive alt text
|
|
386
|
+
6. Cover image present in frontmatter (coverImage + ogImage)
|
|
387
|
+
7. FAQ section present with 3-5 items
|
|
388
|
+
8. Heading hierarchy is clean (H1 -> H2 -> H3)
|
|
389
|
+
9. Meta description is 150-160 chars with a stat
|
|
390
|
+
|
|
391
|
+
#### New Element Verification
|
|
392
|
+
10. TL;DR box present after introduction (40-60 words, contains statistic + source)
|
|
393
|
+
11. At least 2-3 information gain markers (`[ORIGINAL DATA]`, `[PERSONAL EXPERIENCE]`, or `[UNIQUE INSIGHT]`)
|
|
394
|
+
12. Citation capsules present in major H2 sections (40-60 words, self-contained, quotable)
|
|
395
|
+
13. Internal linking zones marked in introduction, H2 sections, FAQ, and conclusion
|
|
396
|
+
14. No AI-detectable phrases from banned list (see `agents/blog-writer.md`)
|
|
397
|
+
|
|
398
|
+
#### Burstiness and Naturalness Check
|
|
399
|
+
15. **Sentence length variance** — Verify a mix of short (8-word) and long (25-word) sentences. Uniform sentence length signals AI authorship.
|
|
400
|
+
16. **Banned AI phrase scan** — Check for and remove:
|
|
401
|
+
- "in today's digital landscape", "it's important to note", "dive into"
|
|
402
|
+
- "game-changer", "navigate the landscape", "revolutionize", "seamlessly"
|
|
403
|
+
- "cutting-edge", "harness the power of", "leverage" (as verb)
|
|
404
|
+
- "delve", "crucial", "elevate", "foster", "landscape" (overused)
|
|
405
|
+
- "multifaceted", "robust", "tapestry", "embark"
|
|
406
|
+
- Full list in `agents/blog-writer.md`
|
|
407
|
+
17. **Contractions** — Verify natural use of contractions ("it's", "we've", "don't", "isn't"). Formal AI prose avoids contractions; natural writing uses them.
|
|
408
|
+
18. **Rhetorical questions** — Verify at least one rhetorical question every 200-300 words to break up declarative patterns.
|
|
409
|
+
|
|
410
|
+
### Phase 7: Delivery
|
|
411
|
+
|
|
412
|
+
Present the completed article with a summary:
|
|
413
|
+
|
|
414
|
+
```
|
|
415
|
+
## Blog Post Complete: [Title]
|
|
416
|
+
|
|
417
|
+
### Template Used
|
|
418
|
+
- [Template name] (or "generic outline — no template matched")
|
|
419
|
+
|
|
420
|
+
### Statistics
|
|
421
|
+
- [N] sourced statistics from tier 1-3 sources
|
|
422
|
+
- [N] unique sources cited
|
|
423
|
+
|
|
424
|
+
### Visual Elements
|
|
425
|
+
- Cover image: [source — Pixabay/Unsplash/Pexels or generated SVG]
|
|
426
|
+
- [N] inline images (Pixabay/Unsplash/Pexels)
|
|
427
|
+
- [N] SVG charts (types: bar, lollipop, donut, line)
|
|
428
|
+
|
|
429
|
+
### Dual-Optimization Elements
|
|
430
|
+
- TL;DR box: present (N words)
|
|
431
|
+
- Information gain markers: [N] ([types used])
|
|
432
|
+
- Citation capsules: [N] across H2 sections
|
|
433
|
+
- Internal linking zones: [N] marked
|
|
434
|
+
|
|
435
|
+
### Structure
|
|
436
|
+
- [N] H2 sections with answer-first formatting
|
|
437
|
+
- [N] FAQ items with schema
|
|
438
|
+
- Word count: ~[N] words
|
|
439
|
+
- Estimated reading time: [N] min
|
|
440
|
+
|
|
441
|
+
### Naturalness
|
|
442
|
+
- Sentence length variance: [pass/fail]
|
|
443
|
+
- AI phrase scan: [pass/fail]
|
|
444
|
+
- Contractions used: [yes/no]
|
|
445
|
+
- Rhetorical questions: [N] (target: 1 per 200-300 words)
|
|
446
|
+
|
|
447
|
+
### Next Steps
|
|
448
|
+
- Review and customize for your brand voice
|
|
449
|
+
- Resolve [INTERNAL-LINK] placeholders with actual URLs
|
|
450
|
+
- Add internal links to your existing content
|
|
451
|
+
- Run `/blog analyze <file>` to verify quality score
|
|
452
|
+
```
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# Brand Context
|
|
2
|
+
|
|
3
|
+
Load before writing ANY content:
|
|
4
|
+
|
|
5
|
+
```ts
|
|
6
|
+
import { getBrandContext } from '../../lib/profile.ts'
|
|
7
|
+
const { profile, settings } = await getBrandContext()
|
|
8
|
+
```
|
|
9
|
+
|
|
10
|
+
## What Brand Context Gives You
|
|
11
|
+
|
|
12
|
+
- `profile.title` — business name (use in headlines, subject lines)
|
|
13
|
+
- `profile.bio` — who they are (match this tone and focus)
|
|
14
|
+
- `profile.tagline` — one-liner (use as style guide for brevity and punch)
|
|
15
|
+
- `profile.social_links` — platforms they're on (informs content format)
|
|
16
|
+
- `settings.site_title` — override for the brand name if set
|
|
17
|
+
|
|
18
|
+
## Writing Rules for All Content Agents
|
|
19
|
+
|
|
20
|
+
**Voice**: Match `profile.bio`. If it's casual, write casually. If it's authoritative, write with authority.
|
|
21
|
+
|
|
22
|
+
**Tone consistency**: Before writing a blog post, check the last 3 published posts (`blake.list({ published: true, limit: 3 })`). Match the reading level and style.
|
|
23
|
+
|
|
24
|
+
**Tagline rule**: `profile.tagline` is the style compass. If the tagline is punchy and short, headlines should be too. If it's descriptive, long-form is appropriate.
|
|
25
|
+
|
|
26
|
+
**Never**: Write content that contradicts `profile.bio`. Don't change the brand voice between pieces.
|
|
27
|
+
|
|
28
|
+
**Always**:
|
|
29
|
+
- Include a clear call-to-action
|
|
30
|
+
- Write the excerpt/meta description separately from the body (it's for search engines + previews)
|
|
31
|
+
- Keep titles under 60 characters for SEO
|
|
32
|
+
- Use the brand name (`profile.title`) naturally in content, not generically
|
|
33
|
+
|
|
34
|
+
## Content Quality Bars
|
|
35
|
+
|
|
36
|
+
| Type | Minimum length | Must include |
|
|
37
|
+
|---|---|---|
|
|
38
|
+
| Blog post | 600 words | Intro, 3+ sections with headings, conclusion, CTA |
|
|
39
|
+
| Newsletter | 200 words | Greeting, 1 main story/value, CTA, sign-off |
|
|
40
|
+
| Product description | 150 words | What it is, who it's for, what they get, price anchor |
|
|
41
|
+
| Page copy | 300 words | Headline, problem/solution, social proof hook, CTA |
|
|
42
|
+
| Job listing | 200 words | Role summary, responsibilities, requirements, culture signal |
|
|
43
|
+
| Doc article | 400 words | Problem context, step-by-step or explanation, summary |
|
|
44
|
+
| Form | 3–10 questions | Clear purpose, progress indicator text, thank-you message |
|
|
File without changes
|