[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M728TVYPZGMJ7BAM1NBHJFWB":3,"skill-same:01M728TVYPZGMJ7BAM1NBHJFWB":91},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":28,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M728TVYPZGMJ7BAM1NBHJFWB","brief-outline-generator",null,"Generates a fully structured SEO content **outline** (not a finished brief) and exports it as a formatted .docx Word document. The output is a skeleton for a writer to fill in — section headings, topic prompts, angles — not pre-written paragraphs. Use this skill whenever a user provides a blog title, focus keyword, domain URL, or any combination of those and asks to generate an outline, brief, blog brief, SEO brief, article structure, or content plan. Also trigger when the user says \"create a brief for X\", \"generate an outline for [topic]\", \"make a content brief\", \"I need a brief for [URL or keyword]\", or pastes a title and asks what the structure should look like. This skill handles input validation, domain analysis, keyword enrichment, audience inference, archetype-aware section selection, and full .docx generation — always use it rather than writing ad-hoc outlines.","Infrasity-Labs\u002Fdev-gtm-claude-skills","Infrasity-Labs","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F185816631?v=4","01M725RT5H30FV46N17K3ABAZY","01M725RT66YJPM15PDYXPWS4BS",168,"MIT","https:\u002F\u002Fgithub.com\u002FInfrasity-Labs\u002Fdev-gtm-claude-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbrief-outline-generator\u002FSKILL.md",[],[],"2026-11-10 18:39:20",false,"---\nname: brief-outline-generator\ndescription: >\n  Generates a fully structured SEO content **outline** (not a finished brief) and exports it as a\n  formatted .docx Word document. The output is a skeleton for a writer to fill in — section\n  headings, topic prompts, angles — not pre-written paragraphs. Use this skill whenever a user\n  provides a blog title, focus keyword, domain URL, or any combination of those and asks to\n  generate an outline, brief, blog brief, SEO brief, article structure, or content plan. Also\n  trigger when the user says \"create a brief for X\", \"generate an outline for [topic]\", \"make a\n  content brief\", \"I need a brief for [URL or keyword]\", or pastes a title and asks what the\n  structure should look like. This skill handles input validation, domain analysis, keyword\n  enrichment, audience inference, archetype-aware section selection, and full .docx generation\n  — always use it rather than writing ad-hoc outlines.\n---\n\n# Brief Outline Generator\n\nGenerates a content **outline** as a formatted `.docx` file. The output is a skeleton — section headings, short topic prompts, angles for each section — that a writer fills in with their own conclusions, numbers, and prose.\n\n**This is an outline generator, not a brief generator.** If your output reads like an article in note form, you've gone too far. Read `references\u002Fsection-rules.md` before generating anything.\n\n**The DOCX is always produced by running `scripts\u002Fgenerate-brief.py`. Do not reimplement the renderer. Do not write inline docx code. Assemble the config JSON and run the script.**\n\n---\n\n## Inputs — collect from user before proceeding\n\n| Field | Required | Notes |\n|---|---|---|\n| `title` | ✅ | Blog post title. Warn if > 70 chars. |\n| `focus_keyword` | ✅ | Primary keyword |\n| `sitemap_url` | ✅ | Full sitemap URL, e.g. `https:\u002F\u002Ffirefly.ai\u002Fsitemap.xml`. `domain_url` is derived from this automatically. |\n| `word_count_range` | ✅ | e.g. `1500-2000` |\n| `target_intent` | ✅ | `Informational`, `Commercial`, `Transactional`, or `Navigational` |\n| `target_product` | ⬜ | Product name — triggers a product integration section if provided |\n| `secondary_keywords` | ⬜ | Pre-supplied list; skip generation if provided |\n\n---\n\n## Execution workflow — follow these steps in order\n\n### Step 1 — Validate inputs\n\n- `title`: non-empty; warn (don't block) if > 70 chars\n- `focus_keyword`: non-empty\n- `sitemap_url`: non-empty, starts with `http:\u002F\u002F` or `https:\u002F\u002F` (accept any path — `.xml`, `.xml.gz`, or extensionless dynamic URLs are all valid)\n- `word_count_range`: two positive integers separated by `-` (e.g. `1500-2000`)\n- `target_intent`: one of `Informational`, `Commercial`, `Transactional`, `Navigational` (case-insensitive)\n\nDerive two values from `sitemap_url`:\n- `domain_url` — strip the path to get the origin, e.g. `https:\u002F\u002Ffirefly.ai\u002Fsitemap.xml` → `https:\u002F\u002Ffirefly.ai`. Used in the config JSON.\n- `domain_hostname` — strip the protocol too, e.g. `https:\u002F\u002Ffirefly.ai` → `firefly.ai`. Used in tool calls that require a bare hostname (e.g. `site:firefly.ai`).\n\nStop and report all validation errors before proceeding.\n\n---\n\n### Step 2 — Read the rules\n\n**Read `references\u002Fsection-rules.md` in full now.** It contains:\n\n- The outline-vs-brief distinction (the most important rule)\n- Hard bullet rules (≤ 12 words, no invented numbers, no conclusions, no em-dash clauses)\n- Hard structure rules (no `topic_summary`, no Writer Directives box, TLDR carries 2–3 topic pointers)\n- The four archetypes (Listicle, Comparison, How-to, Concept\u002FExplainer) and their section sets\n- Per-section rules and good\u002Fbad bullet examples\n- A final quality check to run before generating the DOCX\n\n**Do not skip this step.** Generating without reading the rules produces brief-style output every time.\n\n---\n\n### Step 3 — Domain analysis\n\n**DataForSEO tools are deferred — load them before calling.** Call `tool_search(query=\"on_page content parsing\")` at the start of this step.\n\n#### 3a — Discover site URLs\n\nCall `web_fetch` on `sitemap_url`.\n\n- **Readable XML** (response contains `\u003Cloc>` tags) → extract every `\u003Cloc>` URL. These are your site URLs.\n- **Binary \u002F compressed** (unreadable response) → fall back: call `dataforseo:serp_organic_live_advanced` with `keyword=\"site:{domain_hostname}\"` (e.g. `site:firefly.ai`) to get all indexed URLs.\n\nCap at **20 URLs**. If more exist, prioritise: homepage → product\u002Fuse-case pages → blog\u002Fresource pages.\n\n#### 3b — Read full page content\n\nFor each URL from 3a, call `dataforseo:on_page_content_parsing` with `enable_javascript: true`.\n\nThis returns fully rendered page text — headings, body copy, product descriptions, etc. Collect all output.\n\nIf a page fails (bot protection, timeout), skip it and continue — do not abort.\n\n#### 3c — Extract meta title and description\n\nFrom the **homepage** content parsed in 3b, extract:\n- Page `\u003Ctitle>` → `meta_title`\n- `\u003Cmeta name=\"description\">` content → `meta_description`\n\nSurface character count advisories if outside recommended ranges:\n- `meta_title` outside 50–60 chars → *\"Note: fetched meta title is N chars (recommended: 50–60).\"*\n- `meta_description` outside 150–160 chars → *\"Note: fetched meta description is N chars (recommended: 150–160).\"*\n\nThese are passed into the config as `meta_title` and `meta_description` and rendered in the metadata table.\n\n#### 3d — Compile domain_context\n\nFrom all parsed page content, extract and store:\n- Product name and core value proposition\n- Key technical terms and vocabulary used on the site\n- Target audience signals (roles, team types, use cases mentioned)\n- Existing content topics — used to avoid duplication in the outline\n\nStore as `domain_context`. **Do not render `domain_context` in the output document.** If all fetches fail, set `domain_context = null` and continue.\n\n---\n\n### Step 4 — Classify the title's archetype\n\nBased on the title pattern, pick one of:\n\n- **Listicle \u002F Tool Roundup** — \"Top N\", \"Best X\", \"X Alternatives\"\n- **Comparison \u002F Versus** — \"X vs Y\", \"X or Y\"\n- **How-to \u002F Implementation Guide** — \"How to X\", \"How do X teams Y\", \"Implementing X\"\n- **Concept \u002F Explainer** — \"What is X\", \"Designing X\", \"[Function\u002FPattern]: Designing X\"\n\nIf multiple seem to fit, use the defaults from `section-rules.md`. If still unclear, ask the user.\n\n**Announce the chosen archetype to the user before generating** — one line, e.g. *\"Detected archetype: How-to. Generating outline with intro → strategies → case studies → implementation → FAQs.\"* Let them override if they disagree.\n\n---\n\n### Step 5 — Generate keyword volumes\n\nFetch USA monthly search volumes for the focus keyword and each secondary keyword using DataForSEO.\n\n**DataForSEO tools are deferred — load them before calling.**\n\n1. Call `tool_search(query=\"keyword search volume google ads\")` to load the DataForSEO keyword tools.\n2. Call `dataforseo:kw_data_google_ads_search_volume` with the full list of keywords (focus + all secondaries) in a single call. Use `location_code` for the USA (`2840`).\n3. From the response, extract the `search_volume` field for each keyword.\n4. Format each volume as a thousands-separated string (e.g. `3400` → `\"3,400\"`). Volumes under 1,000 stay as plain digits (e.g. `\"500\"`, `\"30\"`). Volume of `0` should be rendered as `\"0\"`, not `\"N\u002FA\"` — it's a real datapoint.\n5. If a keyword returns no data, set its volume to `\"N\u002FA\"` and continue. Don't abort the whole run.\n6. If `tool_search` returns no DataForSEO tools (connector not installed), set every volume to `\"N\u002FA\"` and surface a one-line warning: *\"DataForSEO connector not available — keyword volumes set to N\u002FA.\"*\n\n**Never omit the volume field on any keyword.** Every row must have one.\n\n**Flag volume mismatches.** If the focus keyword's volume is more than 10× smaller than any secondary keyword's volume, tell the user before generating: *\"Note: your focus keyword has volume X, but secondary keyword Y has volume Z. Consider whether Y should be the focus.\"* Let them decide; don't auto-swap.\n\nStore as:\n```json\n\"focus_keyword_volume\": \"2,400\",\n\"secondary_keywords\": [\n  { \"keyword\": \"disaster recovery plan\", \"volume\": \"1,900\" },\n  { \"keyword\": \"cloud DR strategy\",      \"volume\": \"N\u002FA\"   }\n]\n```\n\nIf no secondary keywords were supplied, generate 5 by combining base terms from the focus keyword, top domain key terms, and modifiers (`\"best practices\"`, `\"guide\"`, `\"checklist\"`, `\"for teams\"`, current year). Then fetch volumes for them the same way.\n\n---\n\n### Step 6 — Build the outline using the archetype's section set\n\nUse the section set for the archetype you chose in Step 4. **Do not force every topic into a how-to template.** A listicle has no Problem or Case Studies section. A comparison has no Implementation steps.\n\n**Each section object shape:**\n```json\n{\n  \"heading\": \"H2\",\n  \"title\": \"Section Title\",\n  \"rules\": [\"short topic prompt 1\", \"short topic prompt 2\"],\n  \"subsections\": [\n    {\n      \"heading\": \"H3\",\n      \"title\": \"Subsection Title\",\n      \"rules\": [\"...\"],\n      \"subsections\": []\n    }\n  ]\n}\n```\n\n**Fields removed from the previous schema (do not use):**\n- ~~`topic_summary`~~ — removed. Outlines don't have abstracts.\n- ~~`directives`~~ — removed. The bullets themselves carry the direction.\n- ~~`visual`~~ — removed. If a visual matters, write it as a bullet prompt: *\"Include a comparison table: dimension × tool\"*.\n- ~~`faqs`~~ — removed. FAQs are questions only (in `rules`); the writer drafts answers.\n\n**Bullets in `rules` follow the hard rules in `section-rules.md`:**\n- ≤ 12 words each\n- Must be specific and a complete thought\n- No invented numbers\n- No conclusions — topic prompts only\n- No em-dash explanatory clauses\n\n**Length follows substance, not a fixed cap.** Use as many bullets as the section honestly needs — 2 if 2, 9 if 9. The \"typical ranges\" in `section-rules.md` are orientation, not limits. Padding to hit a target number is wrong; truncating to hit one is also wrong.\n\n**TLDR section:** include a TLDR heading with **2–3 short topic pointers** (each ≤ 12 words) that name what the writer should cover in the TLDR. Pointers are topics, not finished takeaways. Pull from the article's central tension, the main shift the reader should make, and the practical next step. See the TLDR section in `references\u002Fsection-rules.md` for good\u002Fbad examples.\n\n**FAQs section:** Use the `rules` field with a list of question strings — questions only, no answers. The writer drafts the actual answers. Each question is one bullet. Focus on **how questions are framed**: concrete and action-oriented (`\"How do I install a Claude skill?\"`), not abstract (`\"How does Claude decide which skill to invoke?\"`). All user-supplied keywords (focus + each secondary) must appear naturally across the question set — paraphrased into something a real searcher would type, never keyword-stuffed. Typically 5–8 questions but no fixed cap. See the FAQs section in `section-rules.md` for examples.\n\n---\n\n### Step 7 — Run the final quality check\n\nBefore assembling the config, walk the outline and verify (this is from `section-rules.md`):\n\n1. Could a writer publish this by adding transition words? → If yes, strip back.\n2. Does every bullet read as a topic prompt, not a sentence? (except FAQ questions, which are naturally full sentences) → If no, rewrite.\n3. Could a writer guess each bullet's meaning in 3 different ways? → If yes, the bullet is too abstract. Name the actual thing (files, components, technical terms).\n4. Is every bullet a complete thought when read aloud? → If a bullet is a sentence fragment with no meaning (\"Who this is for: builders doing X\"), finish the thought.\n5. Is every technical claim accurate? → Skills are packages not folders; Claude reads SKILL.md, not the whole skill eagerly. If unsure, rewrite to avoid the claim.\n6. Any invented numbers? → Remove.\n7. Any sub-bullet that feels like its own H2? → Promote it.\n8. Are H2 titles specific to the article's topic (not generic verb phrases)? → \"Define the task narrowly\" → \"Define what your skill should do.\"\n9. Section order matches the archetype? → Verify.\n10. No `topic_summary`, `directives`, or `faqs` fields present? → Strip if present. FAQ questions live in `rules` as flat bullets.\n11. Do all user-supplied keywords (focus + each secondary) appear naturally across the FAQ questions? → If any is missing, rewrite a question to incorporate it.\n12. Are FAQ questions concrete and action-oriented (`\"How do I install...\"`, `\"What is the difference between...\"`), not abstract (`\"How does Claude decide...\"`)? → Rewrite vague ones.\n\nIf all 12 pass, proceed.\n\n---\n\n### Step 8 — Assemble the config JSON\n\nWrite the complete config to `\u002Fhome\u002Fclaude\u002Fbrief-config.json`:\n\n```json\n{\n  \"title\": \"...\",\n  \"focus_keyword\": \"...\",\n  \"focus_keyword_volume\": \"N\u002FA\",\n  \"domain_url\": \"...\",\n  \"word_count_range\": \"...\",\n  \"target_intent\": \"...\",\n  \"target_product\": \"...\",\n  \"archetype\": \"how_to\",\n  \"meta_title\": \"...\",\n  \"meta_description\": \"...\",\n  \"secondary_keywords\": [\n    { \"keyword\": \"...\", \"volume\": \"N\u002FA\" }\n  ],\n  \"output_path\": \"\u002Fmnt\u002Fuser-data\u002Foutputs\u002Foutline-{file_slug}.docx\",\n  \"outline\": [ ... ]\n}\n```\n\n**Slug note:** Two slugs are generated internally:\n- **URL Slug** (shown in the metadata table) — derived from `focus_keyword`, e.g. `\"cloud disaster recovery\"` → `cloud-disaster-recovery`.\n- **File slug** (used in the filename) — derived from `title`, e.g. `\"How Do Platform Teams Implement Cloud Disaster Recovery\"` → `outline-how-do-platform-teams-implement-cloud-disaster-recovery.docx`.\n\nThe `output_path` in the config should reflect the title-based file slug.\n\n**Do not include `domain_context` in the config.** It informs generation upstream; it never appears in the rendered doc.\n\n---\n\n### Step 9 — Run the generator script\n\n```bash\npython \u002Fpath\u002Fto\u002Fskill\u002Fscripts\u002Fgenerate-brief.py --config \u002Fhome\u002Fclaude\u002Fbrief-config.json\n```\n\nThe script handles all DOCX rendering. Do not write any docx code yourself.\n\nIf the script exits non-zero, report the error from stdout\u002Fstderr and show the outline as plain text as a fallback.\n\n---\n\n### Step 10 — Present the file\n\nCall `present_files` with the output path. Report:\n```\n✅ Outline generated: outline-{file_slug}.docx\n   Archetype:     {archetype}\n   Slug (URL):    {url_slug}  (from focus keyword)\n   Slug (file):   {file_slug}  (from title)\n   Audience:      {audience}\n   Focus KW:      {focus_keyword} ({volume})\n   Secondary KWs: {kw} ({vol}), ...\n   Sections:      {N} sections\n```\n\n---\n\n## What the script renders (reference only — do not reimplement)\n\nThe script produces a `.docx` with:\n\n1. **Metadata + keyword table** — 3 columns: Field | Value | USA Search Volume. Standard rows (Title, URL Slug, Word Count, Target Intent, Target Audience, Meta Title (50-60 chars), Meta Description (150-160 chars)) span cols 2+3. **URL Slug is derived from `focus_keyword`, not the title.** Focus keyword and each secondary keyword get their own row with volume in col 3 (amber background). **Domain and Domain Context rows are NOT included in the table.**\n2. **H1 title**\n3. **Sections** — each `heading` field renders as `[H2]` or `[H3]` grey label prefix + heading text. `rules` render as bullet points. **No `topic_summary` block, no Writer Directives box** — those have been removed from the format.\n\n---\n\n## Reference files\n\n- `references\u002Fsection-rules.md` — Outline-first rules, archetypes, per-section rules, good\u002Fbad examples. **Read in Step 2 before doing anything else.**\n- `scripts\u002Fgenerate-brief.py` — The DOCX renderer. Always run this. Never reimplement it.\n- `examples\u002F` — Canonical good outlines, for **reference only**. Read these to calibrate bullet length, density, and tone — *not* to copy section structure, headings, or topics. The archetype rules in `references\u002Fsection-rules.md` decide structure for the current topic. Never use an example outline as a template for the user's outline, even if the topic looks similar.","# Brief Outline Generator\n\nGenerates a content **outline** as a formatted `.docx` file. The output is a skeleton — section headings, short topic prompts, angles for each section — that a writer fills in with their own conclusions, numbers, and prose.\n\n**This is an outline generator, not a brief generator.** If your output reads like an article in note form, you've gone too far. Read `references\u002Fsection-rules.md` before generating anything.\n\n**The DOCX is always produced by running `scripts\u002Fgenerate-brief.py`. Do not reimplement the renderer. Do not write inline docx code. Assemble the config JSON and run the script.**\n\n---\n\n## Inputs — collect from user before proceeding\n\n| Field | Required | Notes |\n|---|---|---|\n| `title` | ✅ | Blog post title. Warn if > 70 chars. |\n| `focus_keyword` | ✅ | Primary keyword |\n| `sitemap_url` | ✅ | Full sitemap URL, e.g. `https:\u002F\u002Ffirefly.ai\u002Fsitemap.xml`. `domain_url` is derived from this automatically. |\n| `word_count_range` | ✅ | e.g. `1500-2000` |\n| `target_intent` | ✅ | `Informational`, `Commercial`, `Transactional`, or `Navigational` |\n| `target_product` | ⬜ | Product name — triggers a product integration section if provided |\n| `secondary_keywords` | ⬜ | Pre-supplied list; skip generation if provided |\n\n---\n\n## Execution workflow — follow these steps in order\n\n### Step 1 — Validate inputs\n\n- `title`: non-empty; warn (don't block) if > 70 chars\n- `focus_keyword`: non-empty\n- `sitemap_url`: non-empty, starts with `http:\u002F\u002F` or `https:\u002F\u002F` (accept any path — `.xml`, `.xml.gz`, or extensionless dynamic URLs are all valid)\n- `word_count_range`: two positive integers separated by `-` (e.g. `1500-2000`)\n- `target_intent`: one of `Informational`, `Commercial`, `Transactional`, `Navigational` (case-insensitive)\n\nDerive two values from `sitemap_url`:\n- `domain_url` — strip the path to get the origin, e.g. `https:\u002F\u002Ffirefly.ai\u002Fsitemap.xml` → `https:\u002F\u002Ffirefly.ai`. Used in the config JSON.\n- `domain_hostname` — strip the protocol too, e.g. `https:\u002F\u002Ffirefly.ai` → `firefly.ai`. Used in tool calls that require a bare hostname (e.g. `site:firefly.ai`).\n\nStop and report all validation errors before proceeding.\n\n---\n\n### Step 2 — Read the rules\n\n**Read `references\u002Fsection-rules.md` in full now.** It contains:\n\n- The outline-vs-brief distinction (the most important rule)\n- Hard bullet rules (≤ 12 words, no invented numbers, no conclusions, no em-dash clauses)\n- Hard structure rules (no `topic_summary`, no Writer Directives box, TLDR carries 2–3 topic pointers)\n- The four archetypes (Listicle, Comparison, How-to, Concept\u002FExplainer) and their section sets\n- Per-section rules and good\u002Fbad bullet examples\n- A final quality check to run before generating the DOCX\n\n**Do not skip this step.** Generating without reading the rules produces brief-style output every time.\n\n---\n\n### Step 3 — Domain analysis\n\n**DataForSEO tools are deferred — load them before calling.** Call `tool_search(query=\"on_page content parsing\")` at the start of this step.\n\n#### 3a — Discover site URLs\n\nCall `web_fetch` on `sitemap_url`.\n\n- **Readable XML** (response contains `\u003Cloc>` tags) → extract every `\u003Cloc>` URL. These are your site URLs.\n- **Binary \u002F compressed** (unreadable response) → fall back: call `dataforseo:serp_organic_live_advanced` with `keyword=\"site:{domain_hostname}\"` (e.g. `site:firefly.ai`) to get all indexed URLs.\n\nCap at **20 URLs**. If more exist, prioritise: homepage → product\u002Fuse-case pages → blog\u002Fresource pages.\n\n#### 3b — Read full page content\n\nFor each URL from 3a, call `dataforseo:on_page_content_parsing` with `enable_javascript: true`.\n\nThis returns fully rendered page text — headings, body copy, product descriptions, etc. Collect all output.\n\nIf a page fails (bot protection, timeout), skip it and continue — do not abort.\n\n#### 3c — Extract meta title and description\n\nFrom the **homepage** content parsed in 3b, extract:\n- Page `\u003Ctitle>` → `meta_title`\n- `\u003Cmeta name=\"description\">` content → `meta_description`\n\nSurface character count advisories if outside recommended ranges:\n- `meta_title` outside 50–60 chars → *\"Note: fetched meta title is N chars (recommended: 50–60).\"*\n- `meta_description` outside 150–160 chars → *\"Note: fetched meta description is N chars (recommended: 150–160).\"*\n\nThese are passed into the config as `meta_title` and `meta_description` and rendered in the metadata table.\n\n#### 3d — Compile domain_context\n\nFrom all parsed page content, extract and store:\n- Product name and core value proposition\n- Key technical terms and vocabulary used on the site\n- Target audience signals (roles, team types, use cases mentioned)\n- Existing content topics — used to avoid duplication in the outline\n\nStore as `domain_context`. **Do not render `domain_context` in the output document.** If all fetches fail, set `domain_context = null` and continue.\n\n---\n\n### Step 4 — Classify the title's archetype\n\nBased on the title pattern, pick one of:\n\n- **Listicle \u002F Tool Roundup** — \"Top N\", \"Best X\", \"X Alternatives\"\n- **Comparison \u002F Versus** — \"X vs Y\", \"X or Y\"\n- **How-to \u002F Implementation Guide** — \"How to X\", \"How do X teams Y\", \"Implementing X\"\n- **Concept \u002F Explainer** — \"What is X\", \"Designing X\", \"[Function\u002FPattern]: Designing X\"\n\nIf multiple seem to fit, use the defaults from `section-rules.md`. If still unclear, ask the user.\n\n**Announce the chosen archetype to the user before generating** — one line, e.g. *\"Detected archetype: How-to. Generating outline with intro → strategies → case studies → implementation → FAQs.\"* Let them override if they disagree.\n\n---\n\n### Step 5 — Generate keyword volumes\n\nFetch USA monthly search volumes for the focus keyword and each secondary keyword using DataForSEO.\n\n**DataForSEO tools are deferred — load them before calling.**\n\n1. Call `tool_search(query=\"keyword search volume google ads\")` to load the DataForSEO keyword tools.\n2. Call `dataforseo:kw_data_google_ads_search_volume` with the full list of keywords (focus + all secondaries) in a single call. Use `location_code` for the USA (`2840`).\n3. From the response, extract the `search_volume` field for each keyword.\n4. Format each volume as a thousands-separated string (e.g. `3400` → `\"3,400\"`). Volumes under 1,000 stay as plain digits (e.g. `\"500\"`, `\"30\"`). Volume of `0` should be rendered as `\"0\"`, not `\"N\u002FA\"` — it's a real datapoint.\n5. If a keyword returns no data, set its volume to `\"N\u002FA\"` and continue. Don't abort the whole run.\n6. If `tool_search` returns no DataForSEO tools (connector not installed), set every volume to `\"N\u002FA\"` and surface a one-line warning: *\"DataForSEO connector not available — keyword volumes set to N\u002FA.\"*\n\n**Never omit the volume field on any keyword.** Every row must have one.\n\n**Flag volume mismatches.** If the focus keyword's volume is more than 10× smaller than any secondary keyword's volume, tell the user before generating: *\"Note: your focus keyword has volume X, but secondary keyword Y has volume Z. Consider whether Y should be the focus.\"* Let them decide; don't auto-swap.\n\nStore as:\n```json\n\"focus_keyword_volume\": \"2,400\",\n\"secondary_keywords\": [\n  { \"keyword\": \"disaster recovery plan\", \"volume\": \"1,900\" },\n  { \"keyword\": \"cloud DR strategy\",      \"volume\": \"N\u002FA\"   }\n]\n```\n\nIf no secondary keywords were supplied, generate 5 by combining base terms from the focus keyword, top domain key terms, and modifiers (`\"best practices\"`, `\"guide\"`, `\"checklist\"`, `\"for teams\"`, current year). Then fetch volumes for them the same way.\n\n---\n\n### Step 6 — Build the outline using the archetype's section set\n\nUse the section set for the archetype you chose in Step 4. **Do not force every topic into a how-to template.** A listicle has no Problem or Case Studies section. A comparison has no Implementation steps.\n\n**Each section object shape:**\n```json\n{\n  \"heading\": \"H2\",\n  \"title\": \"Section Title\",\n  \"rules\": [\"short topic prompt 1\", \"short topic prompt 2\"],\n  \"subsections\": [\n    {\n      \"heading\": \"H3\",\n      \"title\": \"Subsection Title\",\n      \"rules\": [\"...\"],\n      \"subsections\": []\n    }\n  ]\n}\n```\n\n**Fields removed from the previous schema (do not use):**\n- ~~`topic_summary`~~ — removed. Outlines don't have abstracts.\n- ~~`directives`~~ — removed. The bullets themselves carry the direction.\n- ~~`visual`~~ — removed. If a visual matters, write it as a bullet prompt: *\"Include a comparison table: dimension × tool\"*.\n- ~~`faqs`~~ — removed. FAQs are questions only (in `rules`); the writer drafts answers.\n\n**Bullets in `rules` follow the hard rules in `section-rules.md`:**\n- ≤ 12 words each\n- Must be specific and a complete thought\n- No invented numbers\n- No conclusions — topic prompts only\n- No em-dash explanatory clauses\n\n**Length follows substance, not a fixed cap.** Use as many bullets as the section honestly needs — 2 if 2, 9 if 9. The \"typical ranges\" in `section-rules.md` are orientation, not limits. Padding to hit a target number is wrong; truncating to hit one is also wrong.\n\n**TLDR section:** include a TLDR heading with **2–3 short topic pointers** (each ≤ 12 words) that name what the writer should cover in the TLDR. Pointers are topics, not finished takeaways. Pull from the article's central tension, the main shift the reader should make, and the practical next step. See the TLDR section in `references\u002Fsection-rules.md` for good\u002Fbad examples.\n\n**FAQs section:** Use the `rules` field with a list of question strings — questions only, no answers. The writer drafts the actual answers. Each question is one bullet. Focus on **how questions are framed**: concrete and action-oriented (`\"How do I install a Claude skill?\"`), not abstract (`\"How does Claude decide which skill to invoke?\"`). All user-supplied keywords (focus + each secondary) must appear naturally across the question set — paraphrased into something a real searcher would type, never keyword-stuffed. Typically 5–8 questions but no fixed cap. See the FAQs section in `section-rules.md` for examples.\n\n---\n\n### Step 7 — Run the final quality check\n\nBefore assembling the config, walk the outline and verify (this is from `section-rules.md`):\n\n1. Could a writer publish this by adding transition words? → If yes, strip back.\n2. Does every bullet read as a topic prompt, not a sentence? (except FAQ questions, which are naturally full sentences) → If no, rewrite.\n3. Could a writer guess each bullet's meaning in 3 different ways? → If yes, the bullet is too abstract. Name the actual thing (files, components, technical terms).\n4. Is every bullet a complete thought when read aloud? → If a bullet is a sentence fragment with no meaning (\"Who this is for: builders doing X\"), finish the thought.\n5. Is every technical claim accurate? → Skills are packages not folders; Claude reads SKILL.md, not the whole skill eagerly. If unsure, rewrite to avoid the claim.\n6. Any invented numbers? → Remove.\n7. Any sub-bullet that feels like its own H2? → Promote it.\n8. Are H2 titles specific to the article's topic (not generic verb phrases)? → \"Define the task narrowly\" → \"Define what your skill should do.\"\n9. Section order matches the archetype? → Verify.\n10. No `topic_summary`, `directives`, or `faqs` fields present? → Strip if present. FAQ questions live in `rules` as flat bullets.\n11. Do all user-supplied keywords (focus + each secondary) appear naturally across the FAQ questions? → If any is missing, rewrite a question to incorporate it.\n12. Are FAQ questions concrete and action-oriented (`\"How do I install...\"`, `\"What is the difference between...\"`), not abstract (`\"How does Claude decide...\"`)? → Rewrite vague ones.\n\nIf all 12 pass, proceed.\n\n---\n\n### Step 8 — Assemble the config JSON\n\nWrite the complete config to `\u002Fhome\u002Fclaude\u002Fbrief-config.json`:\n\n```json\n{\n  \"title\": \"...\",\n  \"focus_keyword\": \"...\",\n  \"focus_keyword_volume\": \"N\u002FA\",\n  \"domain_url\": \"...\",\n  \"word_count_range\": \"...\",\n  \"target_intent\": \"...\",\n  \"target_product\": \"...\",\n  \"archetype\": \"how_to\",\n  \"meta_title\": \"...\",\n  \"meta_description\": \"...\",\n  \"secondary_keywords\": [\n    { \"keyword\": \"...\", \"volume\": \"N\u002FA\" }\n  ],\n  \"output_path\": \"\u002Fmnt\u002Fuser-data\u002Foutputs\u002Foutline-{file_slug}.docx\",\n  \"outline\": [ ... ]\n}\n```\n\n**Slug note:** Two slugs are generated internally:\n- **URL Slug** (shown in the metadata table) — derived from `focus_keyword`, e.g. `\"cloud disaster recovery\"` → `cloud-disaster-recovery`.\n- **File slug** (used in the filename) — derived from `title`, e.g. `\"How Do Platform Teams Implement Cloud Disaster Recovery\"` → `outline-how-do-platform-teams-implement-cloud-disaster-recovery.docx`.\n\nThe `output_path` in the config should reflect the title-based file slug.\n\n**Do not include `domain_context` in the config.** It informs generation upstream; it never appears in the rendered doc.\n\n---\n\n### Step 9 — Run the generator script\n\n```bash\npython \u002Fpath\u002Fto\u002Fskill\u002Fscripts\u002Fgenerate-brief.py --config \u002Fhome\u002Fclaude\u002Fbrief-config.json\n```\n\nThe script handles all DOCX rendering. Do not write any docx code yourself.\n\nIf the script exits non-zero, report the error from stdout\u002Fstderr and show the outline as plain text as a fallback.\n\n---\n\n### Step 10 — Present the file\n\nCall `present_files` with the output path. Report:\n```\n✅ Outline generated: outline-{file_slug}.docx\n   Archetype:     {archetype}\n   Slug (URL):    {url_slug}  (from focus keyword)\n   Slug (file):   {file_slug}  (from title)\n   Audience:      {audience}\n   Focus KW:      {focus_keyword} ({volume})\n   Secondary KWs: {kw} ({vol}), ...\n   Sections:      {N} sections\n```\n\n---\n\n## What the script renders (reference only — do not reimplement)\n\nThe script produces a `.docx` with:\n\n1. **Metadata + keyword table** — 3 columns: Field | Value | USA Search Volume. Standard rows (Title, URL Slug, Word Count, Target Intent, Target Audience, Meta Title (50-60 chars), Meta Description (150-160 chars)) span cols 2+3. **URL Slug is derived from `focus_keyword`, not the title.** Focus keyword and each secondary keyword get their own row with volume in col 3 (amber background). **Domain and Domain Context rows are NOT included in the table.**\n2. **H1 title**\n3. **Sections** — each `heading` field renders as `[H2]` or `[H3]` grey label prefix + heading text. `rules` render as bullet points. **No `topic_summary` block, no Writer Directives box** — those have been removed from the format.\n\n---\n\n## Reference files\n\n- `references\u002Fsection-rules.md` — Outline-first rules, archetypes, per-section rules, good\u002Fbad examples. **Read in Step 2 before doing anything else.**\n- `scripts\u002Fgenerate-brief.py` — The DOCX renderer. Always run this. Never reimplement it.\n- `examples\u002F` — Canonical good outlines, for **reference only**. Read these to calibrate bullet length, density, and tone — *not* to copy section structure, headings, or topics. The archetype rules in `references\u002Fsection-rules.md` decide structure for the current topic. Never use an example outline as a template for the user's outline, even if the topic looks similar.",{"name":5,"description":7},"main","02cfefb3a213041de8b80bc659ebc5f17b5e746a","skills\u002Fbrief-outline-generator",19,"https:\u002F\u002Fgithub.com\u002FInfrasity-Labs\u002Fdev-gtm-claude-skills","https:\u002F\u002Fwww.infrasity.com\u002Fclaude-skills","https:\u002F\u002Fgithub.com\u002FInfrasity-Labs","2026-06-29 03:34:19",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add Infrasity-Labs\u002Fdev-gtm-claude-skills --skill brief-outline-generator",{"tool":37,"command":38},"bunx","bunx skills add Infrasity-Labs\u002Fdev-gtm-claude-skills --skill brief-outline-generator",{"tool":40,"command":41},"pnpm","pnpm dlx skills add Infrasity-Labs\u002Fdev-gtm-claude-skills --skill brief-outline-generator","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FInfrasity-Labs\u002Fdev-gtm-claude-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbrief-outline-generator\u002FSKILL.md",true,[45,51,55,59,63,67,71,75,81,85],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"examples\u002F01_howto_dr.docx","ASSET","资产文件",416694,"https:\u002F\u002Fgithub.com\u002FInfrasity-Labs\u002Fdev-gtm-claude-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbrief-outline-generator\u002Fexamples\u002F01_howto_dr.docx",{"path":52,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":53,"sourceHtmlUrl":54},"examples\u002F02_concept_terraform_try.docx",624805,"https:\u002F\u002Fgithub.com\u002FInfrasity-Labs\u002Fdev-gtm-claude-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbrief-outline-generator\u002Fexamples\u002F02_concept_terraform_try.docx",{"path":56,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":57,"sourceHtmlUrl":58},"examples\u002F03_listicle_terraform_tools.docx",626987,"https:\u002F\u002Fgithub.com\u002FInfrasity-Labs\u002Fdev-gtm-claude-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbrief-outline-generator\u002Fexamples\u002F03_listicle_terraform_tools.docx",{"path":60,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":61,"sourceHtmlUrl":62},"examples\u002F04_comparison_roo_vs_cline.docx",624309,"https:\u002F\u002Fgithub.com\u002FInfrasity-Labs\u002Fdev-gtm-claude-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbrief-outline-generator\u002Fexamples\u002F04_comparison_roo_vs_cline.docx",{"path":64,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":65,"sourceHtmlUrl":66},"examples\u002F05_listicle_bito_alternatives.docx",417042,"https:\u002F\u002Fgithub.com\u002FInfrasity-Labs\u002Fdev-gtm-claude-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbrief-outline-generator\u002Fexamples\u002F05_listicle_bito_alternatives.docx",{"path":68,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":69,"sourceHtmlUrl":70},"examples\u002F06_howto_eng_productivity.docx",414769,"https:\u002F\u002Fgithub.com\u002FInfrasity-Labs\u002Fdev-gtm-claude-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbrief-outline-generator\u002Fexamples\u002F06_howto_eng_productivity.docx",{"path":72,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":73,"sourceHtmlUrl":74},"examples\u002F07_howto_dev_productivity.docx",417033,"https:\u002F\u002Fgithub.com\u002FInfrasity-Labs\u002Fdev-gtm-claude-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbrief-outline-generator\u002Fexamples\u002F07_howto_dev_productivity.docx",{"path":76,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":79,"sourceHtmlUrl":80},"README.md","REFERENCE","参考文档",7173,"https:\u002F\u002Fgithub.com\u002FInfrasity-Labs\u002Fdev-gtm-claude-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbrief-outline-generator\u002FREADME.md",{"path":82,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":83,"sourceHtmlUrl":84},"references\u002Fsection-rules.md",25522,"https:\u002F\u002Fgithub.com\u002FInfrasity-Labs\u002Fdev-gtm-claude-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbrief-outline-generator\u002Freferences\u002Fsection-rules.md",{"path":86,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":89,"sourceHtmlUrl":90},"scripts\u002Fgenerate-brief.py","SCRIPT","脚本",26394,"https:\u002F\u002Fgithub.com\u002FInfrasity-Labs\u002Fdev-gtm-claude-skills\u002Fblob\u002Fmain\u002Fskills\u002Fbrief-outline-generator\u002Fscripts\u002Fgenerate-brief.py",[92,99,106,113,120,127],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":18},"01M72919B9PDCQZP40S1WWB17C","stop-slop","Remove AI writing patterns from prose. Use when drafting, editing, or reviewing text to eliminate predictable AI tells and produce more human-like writing.","https:\u002F\u002Fgithub.com\u002FInfrasity-Labs\u002Fdev-gtm-claude-skills\u002Fblob\u002Fmain\u002Fwriting-skills\u002Fstop-slop\u002FSKILL.md",[],[],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":18},"01M72914WVB5R8YPZTNQ1K1VVH","social-media-posts","Create platform-specific social media posts for LinkedIn, Facebook, Instagram, and Reddit. Handles character limits, hashtag strategies, hook placement, and image specs per platform. Works from scratch, from existing content (blog, newsletter, announcement), or as a multi-platform campaign. Produces copy-paste-ready posts. Triggers: 'social media post', 'linkedin post', 'facebook post', 'instagram caption', 'reddit post', 'social posts', 'post to social', 'repurpose for social', 'social media campaign'.","https:\u002F\u002Fgithub.com\u002FInfrasity-Labs\u002Fdev-gtm-claude-skills\u002Fblob\u002Fmain\u002Fwriting-skills\u002Fsocial-media-posts\u002FSKILL.md",[],[],{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":18},"01M72911F6QH7M7QZPFQ4RXFJA","ogilvy-copywriting","Apply David Ogilvy's advertising principles when writing or reviewing copy, headlines, product descriptions, landing pages, ads, emails, or any persuasive text. Use when the goal is copy that sells, not copy that wins awards. Covers positioning, headlines, promises, brand voice, long-form copy, and visual logic. Source: How to Create Advertising That Sells (1972) + Ogilvy on Advertising.","https:\u002F\u002Fgithub.com\u002FInfrasity-Labs\u002Fdev-gtm-claude-skills\u002Fblob\u002Fmain\u002Fwriting-skills\u002Fogilvy-copywriting\u002FSKILL.md",[],[],{"skillNo":114,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":117,"categories":118,"keywords":119,"publishedAt":18},"01M7290T399PQNVSCNY2H1CK4E","blog","Full-lifecycle blog engine with 30 sub-skills, 12 content templates, 5-category 100-point scoring, and 5 specialized agents. Routes user requests to the right sub-skill: writing, rewriting, analysis, outlines, audits, schema, charts, images, repurposing, AI-citation optimization, FLOW framework prompts, topic-cluster execution, and multilingual publishing. Optimized for Google rankings (December 2025 Core Update, E-E-A-T) and AI citations (GEO\u002FAEO). Supports any platform (WordPress, Next.js MDX, Hugo, Ghost, Astro, Jekyll, 11ty, Gatsby, HTML). Use when user says \"blog\", \"write a blog\", \"blog post\", \"blog strategy\", \"content brief\", \"editorial calendar\", \"blog audit\", \"blog optimization\", \"topic cluster\", \"multilingual blog\", \"FLOW framework\", or any \u002Fblog subcommand. Sub-skill descriptions cover narrower triggers.","https:\u002F\u002Fgithub.com\u002FInfrasity-Labs\u002Fdev-gtm-claude-skills\u002Fblob\u002Fmain\u002Fwriting-skills\u002Fblog\u002FSKILL.md",[],[],{"skillNo":121,"name":122,"nameZh":6,"description":123,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":124,"categories":125,"keywords":126,"publishedAt":18},"01M7290N0F9K4RCK8ZTEZ905ZS","blog-write","Write new blog articles from scratch optimized for Google rankings and AI citations. Generates full articles with template selection, answer-first formatting, Key Takeaways summary box, information gain markers, citation capsules, sourced statistics, Pixabay\u002FUnsplash images, built-in SVG chart generation, FAQ schema, internal linking zones, and proper heading hierarchy. Supports MDX, markdown, and HTML output. Use when user says \"write blog\", \"new blog post\", \"create article\", \"write about\", \"draft blog\", \"generate blog post\".","https:\u002F\u002Fgithub.com\u002FInfrasity-Labs\u002Fdev-gtm-claude-skills\u002Fblob\u002Fmain\u002Fwriting-skills\u002Fblog-write\u002FSKILL.md",[],[],{"skillNo":128,"name":129,"nameZh":6,"description":130,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":131,"categories":132,"keywords":133,"publishedAt":18},"01M7290FEQ7AXXRBJ316JED515","blog-translate","Translate existing blog posts into one or more target languages with SEO-optimized localization. Produces native-quality translations that preserve markdown structure, frontmatter, schema JSON-LD, image and chart embeds, and citation capsules. Localizes keywords, meta tags, numbers, dates, currencies, and quote styles per locale. Flags machine-translation artifacts for review. Run BEFORE blog-localize: this handles language conversion; localize handles cultural adaptation after translation completes. Use when user says \"translate blog\", \"blog translate\", \"uebersetzen\", \"traduire\", \"traducir\", \"translate post\", \"blog auf Deutsch\", \"blog en espanol\".","https:\u002F\u002Fgithub.com\u002FInfrasity-Labs\u002Fdev-gtm-claude-skills\u002Fblob\u002Fmain\u002Fwriting-skills\u002Fblog-translate\u002FSKILL.md",[],[]]