Long-Form Writer
Generates publication-ready long-form content from a content brief. Produces structured, data-backed drafts for whitepapers, eBooks, research reports, and SEO pillar pages. Each piece is built around the agency's expertise, case studies, and industry knowledge.
Prerequisites
agency.config.json populated (agency info, services, case studies)
- Content brief (ideally output from
content-brief skill)
- Optional: research data from
blog-researcher or company-researcher
Phase 0: Intake
Read agency.config.json:
agency.name, agency.founder, agency.tagline -- for byline and brand references
services[] -- for naturally weaving in service expertise
case_studies[] -- for proof points and examples
outreach.tone -- baseline voice (adapt for long-form: more authoritative, educational)
Accept parameters:
content_type -- (required) one of: whitepaper, ebook, research-report, pillar-page, guide, playbook
brief -- (required) content brief object or text with topic, target audience, key points
word_count_target -- (optional) target word count. Default: by type (see below)
tone -- (optional) override: educational, authoritative, conversational, data-driven. Default: authoritative
research -- (optional) research data to incorporate
seo_keywords -- (optional) array of keywords to target for pillar pages
include_cta -- boolean. Default: true
gated -- boolean, is this gated content (lead magnet)? Default: false
Word Count Targets by Type
| Content Type |
Word Range |
Sections |
| Whitepaper |
3000-5000 |
6-10 |
| eBook |
4000-8000 |
8-12 chapters |
| Research Report |
2000-4000 |
5-8 |
| Pillar Page |
3000-6000 |
8-15 |
| Guide |
2000-4000 |
5-8 |
| Playbook |
2000-3000 |
5-7 |
Phase 1: Structure Planning
Based on the brief and content type, generate the document structure:
Whitepaper Structure
1. Title Page
- Title (under 12 words, benefit-driven)
- Subtitle (context or scope)
- Author: [agency.founder] | [agency.name]
- Date
2. Executive Summary (150-250 words)
- The problem
- Key findings
- Recommended approach
3. The Problem / Market Context (400-600 words)
- Industry challenge with data
- Why it matters now
- Cost of inaction
4-7. Core Sections (500-800 words each)
- One key argument per section
- Data + example + insight pattern
- Case study integration where relevant
8. Recommendations / Framework (400-600 words)
- Actionable steps
- Decision framework or checklist
9. Conclusion (200-300 words)
- Summary of key points
- Forward-looking statement
10. About [agency.name] (100-150 words)
- Brief company description
- CTA: consultation, audit, demo
11. Sources / References
Pillar Page Structure
1. H1: Primary keyword in title
2. Introduction (200-300 words) -- what they'll learn, who it's for
3. Table of Contents (linked)
4. Section 1: [H2 with keyword variation]
- 400-600 words
- Internal links to cluster content
5-10. Additional H2 sections
- Each targets a long-tail keyword
- Each can standalone as a useful section
11. FAQ section (5-10 questions with schema markup suggestions)
12. Conclusion + CTA
13. Related Resources (internal links)
eBook Structure
Cover page
Table of Contents
Introduction: Why this matters
Chapter 1-8: One core topic per chapter
- Opening hook
- Teaching content
- Example/case study
- Key takeaway callout box
Chapter 9: Action plan / implementation
Conclusion
About the author
CTA page
Phase 2: Research Integration
For each section, identify:
- Data points needed: stats, percentages, trends (from brief or research input)
- Case study fit: which
case_studies[] from config support this section
- Expert quotes: reference industry leaders, studies, reports
- Competitive insight: what others in the space are saying
Rules for data:
- Cite sources for all statistics
- Use recent data (within 2 years)
- If no hard data available, use qualitative observations from case studies
- Never fabricate statistics
Phase 3: Draft Generation
Write each section following these rules:
Writing Rules (non-negotiable)
- No fluff: Every sentence must inform, argue, or prove. Delete filler.
- Active voice: "We increased conversion by 40%" not "Conversion was increased by 40%"
- Concrete over abstract: Numbers, examples, specifics. No "many companies struggle with..."
- One idea per paragraph: Short paragraphs (3-5 sentences max)
- Scannable: Use headers, bullet points, bold key phrases, callout boxes
- No jargon without explanation: First use of any technical term gets a brief definition
- Case study integration: Weave in naturally ("When we worked with [client], we found...")
- Transition sentences: Each section flows logically to the next
- No self-congratulation: Show expertise through substance, not claims
Formatting Elements
- Callout boxes: Key stats, definitions, pro tips (mark with
> CALLOUT:)
- Pull quotes: One per major section (mark with
> QUOTE:)
- Bullet lists: For actionable items, checklists, features
- Numbered lists: For sequential steps or rankings
- Tables: For comparisons, specs, frameworks
- Bold: Key terms, important numbers, section openers
CTA Integration
If include_cta = true:
- Soft CTA: End of each major section ("Want help with this? [link]")
- Medium CTA: After case study sections ("See how we did this for [client]")
- Hard CTA: Final section ("Schedule a free consultation")
- For gated content: the CTA is the download itself (pre-gate landing page copy)
Phase 4: SEO Optimization (Pillar Pages)
If content_type = pillar-page:
- Primary keyword in H1, first paragraph, and at least 2 H2s
- Secondary keywords distributed naturally across sections
- Keyword density: 1-2% for primary, 0.5-1% for secondaries
- Meta title: under 60 chars, keyword-forward
- Meta description: under 155 chars, includes keyword and value prop
- Schema markup suggestions (FAQ, HowTo, Article)
- Internal linking opportunities: flag where cluster content can link
- External link suggestions: 3-5 authoritative sources to reference
Phase 5: Quality Check
Before returning:
- Word count: Within target range for content type
- Section balance: No section more than 2x the length of others
- Data backed: At least one stat or example per major section
- Case study count: At least 1-2 case studies referenced
- CTA count: Appropriate density (not every paragraph, but present)
- Readability: Flesch-Kincaid target 50-65 (professional but accessible)
- Banned phrases: Check against
outreach.banned_phrases
- No plagiarism patterns: All content original, data properly attributed
Phase 6: Output
Return structured JSON:
{
"content_type": "whitepaper",
"title": "The D2C CRO Playbook: How Indian Brands Are Doubling Conversion Rates on Shopify",
"subtitle": "A data-backed guide to product page optimization for growing D2C brands",
"author": "Ekata Singh | Plasho",
"word_count": 3847,
"sections": [
{
"heading": "Executive Summary",
"content": "Full section text...",
"word_count": 210,
"data_points": ["40% of D2C brands have sub-2% conversion rates"],
"case_studies_referenced": []
},
{
"heading": "The Hidden Cost of Poor Product Pages",
"content": "Full section text...",
"word_count": 520,
"data_points": ["Baymard Institute: 69.8% cart abandonment rate"],
"case_studies_referenced": ["Kibi Sports"]
}
],
"seo": {
"meta_title": "D2C CRO Playbook: Double Your Shopify Conversion Rate",
"meta_description": "Learn how Indian D2C brands are optimizing product pages to 2x conversion rates. Data-backed strategies from real Shopify case studies.",
"primary_keyword": "D2C CRO",
"secondary_keywords": ["shopify conversion rate", "product page optimization", "D2C ecommerce"],
"keyword_density": {"D2C CRO": "1.4%"}
},
"ctas": [
{"type": "soft", "text": "Want a free CRO audit?", "placement": "after section 3"},
{"type": "hard", "text": "Schedule a consultation", "placement": "conclusion"}
],
"sources": [
{"name": "Baymard Institute", "data": "69.8% cart abandonment rate", "year": 2025}
],
"generated_at": "2026-03-13T10:00:00Z"
}
Example Usage
Trigger phrases:
- "Write a whitepaper about CRO for D2C brands"
- "Generate an eBook about Shopify store optimization"
- "Create a pillar page for 'Shopify development India'"
- "Write a research report on D2C ecommerce trends in India"
- "Draft a guide on email marketing for Shopify stores"
- "Create a gated playbook about product page optimization"
1---2name: long-form-writer3description: Generates full long-form content: whitepapers, eBooks, research reports, and pillar pages. Takes a content brief and produces 2000-5000 word drafts with sections, data points, and CTAs.4---56# Long-Form Writer78Generates publication-ready long-form content from a content brief. Produces structured, data-backed drafts for whitepapers, eBooks, research reports, and SEO pillar pages. Each piece is built around the agency's expertise, case studies, and industry knowledge.910## Prerequisites1112- `agency.config.json` populated (agency info, services, case studies)13- Content brief (ideally output from `content-brief` skill)14- Optional: research data from `blog-researcher` or `company-researcher`1516## Phase 0: Intake1718Read `agency.config.json`:19- `agency.name`, `agency.founder`, `agency.tagline` -- for byline and brand references20- `services[]` -- for naturally weaving in service expertise21- `case_studies[]` -- for proof points and examples22- `outreach.tone` -- baseline voice (adapt for long-form: more authoritative, educational)2324Accept parameters:25- `content_type` -- (required) one of: `whitepaper`, `ebook`, `research-report`, `pillar-page`, `guide`, `playbook`26- `brief` -- (required) content brief object or text with topic, target audience, key points27- `word_count_target` -- (optional) target word count. Default: by type (see below)28- `tone` -- (optional) override: `educational`, `authoritative`, `conversational`, `data-driven`. Default: `authoritative`29- `research` -- (optional) research data to incorporate30- `seo_keywords` -- (optional) array of keywords to target for pillar pages31- `include_cta` -- boolean. Default: `true`32- `gated` -- boolean, is this gated content (lead magnet)? Default: `false`3334### Word Count Targets by Type35| Content Type | Word Range | Sections |36|-------------|-----------|----------|37| Whitepaper | 3000-5000 | 6-10 |38| eBook | 4000-8000 | 8-12 chapters |39| Research Report | 2000-4000 | 5-8 |40| Pillar Page | 3000-6000 | 8-15 |41| Guide | 2000-4000 | 5-8 |42| Playbook | 2000-3000 | 5-7 |4344## Phase 1: Structure Planning4546Based on the brief and content type, generate the document structure:4748### Whitepaper Structure49```501. Title Page51 - Title (under 12 words, benefit-driven)52 - Subtitle (context or scope)53 - Author: [agency.founder] | [agency.name]54 - Date55562. Executive Summary (150-250 words)57 - The problem58 - Key findings59 - Recommended approach60613. The Problem / Market Context (400-600 words)62 - Industry challenge with data63 - Why it matters now64 - Cost of inaction65664-7. Core Sections (500-800 words each)67 - One key argument per section68 - Data + example + insight pattern69 - Case study integration where relevant70718. Recommendations / Framework (400-600 words)72 - Actionable steps73 - Decision framework or checklist74759. Conclusion (200-300 words)76 - Summary of key points77 - Forward-looking statement787910. About [agency.name] (100-150 words)80 - Brief company description81 - CTA: consultation, audit, demo828311. Sources / References84```8586### Pillar Page Structure87```881. H1: Primary keyword in title892. Introduction (200-300 words) -- what they'll learn, who it's for903. Table of Contents (linked)914. Section 1: [H2 with keyword variation]92 - 400-600 words93 - Internal links to cluster content945-10. Additional H2 sections95 - Each targets a long-tail keyword96 - Each can standalone as a useful section9711. FAQ section (5-10 questions with schema markup suggestions)9812. Conclusion + CTA9913. Related Resources (internal links)100```101102### eBook Structure103```104Cover page105Table of Contents106Introduction: Why this matters107Chapter 1-8: One core topic per chapter108 - Opening hook109 - Teaching content110 - Example/case study111 - Key takeaway callout box112Chapter 9: Action plan / implementation113Conclusion114About the author115CTA page116```117118## Phase 2: Research Integration119120For each section, identify:121- **Data points needed**: stats, percentages, trends (from brief or research input)122- **Case study fit**: which `case_studies[]` from config support this section123- **Expert quotes**: reference industry leaders, studies, reports124- **Competitive insight**: what others in the space are saying125126Rules for data:127- Cite sources for all statistics128- Use recent data (within 2 years)129- If no hard data available, use qualitative observations from case studies130- Never fabricate statistics131132## Phase 3: Draft Generation133134Write each section following these rules:135136### Writing Rules (non-negotiable)1371. **No fluff**: Every sentence must inform, argue, or prove. Delete filler.1382. **Active voice**: "We increased conversion by 40%" not "Conversion was increased by 40%"1393. **Concrete over abstract**: Numbers, examples, specifics. No "many companies struggle with..."1404. **One idea per paragraph**: Short paragraphs (3-5 sentences max)1415. **Scannable**: Use headers, bullet points, bold key phrases, callout boxes1426. **No jargon without explanation**: First use of any technical term gets a brief definition1437. **Case study integration**: Weave in naturally ("When we worked with [client], we found...")1448. **Transition sentences**: Each section flows logically to the next1459. **No self-congratulation**: Show expertise through substance, not claims146147### Formatting Elements148- **Callout boxes**: Key stats, definitions, pro tips (mark with `> CALLOUT:`)149- **Pull quotes**: One per major section (mark with `> QUOTE:`)150- **Bullet lists**: For actionable items, checklists, features151- **Numbered lists**: For sequential steps or rankings152- **Tables**: For comparisons, specs, frameworks153- **Bold**: Key terms, important numbers, section openers154155### CTA Integration156If `include_cta` = true:157- **Soft CTA**: End of each major section ("Want help with this? [link]")158- **Medium CTA**: After case study sections ("See how we did this for [client]")159- **Hard CTA**: Final section ("Schedule a free consultation")160- For gated content: the CTA is the download itself (pre-gate landing page copy)161162## Phase 4: SEO Optimization (Pillar Pages)163164If content_type = `pillar-page`:1651. Primary keyword in H1, first paragraph, and at least 2 H2s1662. Secondary keywords distributed naturally across sections1673. Keyword density: 1-2% for primary, 0.5-1% for secondaries1684. Meta title: under 60 chars, keyword-forward1695. Meta description: under 155 chars, includes keyword and value prop1706. Schema markup suggestions (FAQ, HowTo, Article)1717. Internal linking opportunities: flag where cluster content can link1728. External link suggestions: 3-5 authoritative sources to reference173174## Phase 5: Quality Check175176Before returning:1771. **Word count**: Within target range for content type1782. **Section balance**: No section more than 2x the length of others1793. **Data backed**: At least one stat or example per major section1804. **Case study count**: At least 1-2 case studies referenced1815. **CTA count**: Appropriate density (not every paragraph, but present)1826. **Readability**: Flesch-Kincaid target 50-65 (professional but accessible)1837. **Banned phrases**: Check against `outreach.banned_phrases`1848. **No plagiarism patterns**: All content original, data properly attributed185186## Phase 6: Output187188Return structured JSON:189190```json191{192 "content_type": "whitepaper",193 "title": "The D2C CRO Playbook: How Indian Brands Are Doubling Conversion Rates on Shopify",194 "subtitle": "A data-backed guide to product page optimization for growing D2C brands",195 "author": "Ekata Singh | Plasho",196 "word_count": 3847,197 "sections": [198 {199 "heading": "Executive Summary",200 "content": "Full section text...",201 "word_count": 210,202 "data_points": ["40% of D2C brands have sub-2% conversion rates"],203 "case_studies_referenced": []204 },205 {206 "heading": "The Hidden Cost of Poor Product Pages",207 "content": "Full section text...",208 "word_count": 520,209 "data_points": ["Baymard Institute: 69.8% cart abandonment rate"],210 "case_studies_referenced": ["Kibi Sports"]211 }212 ],213 "seo": {214 "meta_title": "D2C CRO Playbook: Double Your Shopify Conversion Rate",215 "meta_description": "Learn how Indian D2C brands are optimizing product pages to 2x conversion rates. Data-backed strategies from real Shopify case studies.",216 "primary_keyword": "D2C CRO",217 "secondary_keywords": ["shopify conversion rate", "product page optimization", "D2C ecommerce"],218 "keyword_density": {"D2C CRO": "1.4%"}219 },220 "ctas": [221 {"type": "soft", "text": "Want a free CRO audit?", "placement": "after section 3"},222 {"type": "hard", "text": "Schedule a consultation", "placement": "conclusion"}223 ],224 "sources": [225 {"name": "Baymard Institute", "data": "69.8% cart abandonment rate", "year": 2025}226 ],227 "generated_at": "2026-03-13T10:00:00Z"228}229```230231## Example Usage232233Trigger phrases:234- "Write a whitepaper about CRO for D2C brands"235- "Generate an eBook about Shopify store optimization"236- "Create a pillar page for 'Shopify development India'"237- "Write a research report on D2C ecommerce trends in India"238- "Draft a guide on email marketing for Shopify stores"239- "Create a gated playbook about product page optimization"