phase-build

Solid

Run Phase Build — section drafting (N parallel agents), fact-check, citation injection, assembly. Use when research.json and outline.json exist and need to write the actual article body. Triggered by /seo-blog build, "draft the article now", "write the body".

AI & Automation 43 stars 13 forks Updated 3 days ago Apache-2.0

Install

View on GitHub

Quality Score: 86/100

Stars 20%
55
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Phase Build Orchestrator Convert outline.json → full markdown draft via parallel section writers + fact verification. ## Inputs Required in `workspace/{task_id}/`: - `state.json` - `research.json` - `angle.json` (from format-selector + topic-angle-selector) - `outline.json` (from outline-architect) ## Stages ``` 1. section-drafter (parallel N=outline.sections.length) - Spawn N independent subagents via Task tool - Each gets: ONE section spec + 800-word context summary of others - Each writes markdown + claims[] + citation_capsule - Tool whitelist: Read, Write ONLY (no WebFetch, no Bash) - Output: workspace/{task}/sections/{0..N-1}.json 2. citation-capsule-builder - Verify each H2 has 40-60 word AI-quotable block - Princeton GEO requirement (+28-41% AI citation rate) 3. chart-generator (if outline.sections[].needs_table) - Generate ≥2 markdown tables OR XSS-safe SVG charts - At least 1 in front 50% of article 4. fact-check-and-citation - For each [claim:cN_S] marker: Crossref → Tavily → HEAD check - Build References section (APA 7, ≤10 entries) - Replace markers with (Author, Year) in-text - Output: workspace/{task}/citations.json 5. assembly (scripts/build/assemble.py) - Concatenate: Abstract → Key Takeaways → ToC → Body → FAQ → Conclusion → References - Anchor links auto-generated for ToC - Run markdown_structure_check.py immediately - Output: workspace/{task}/draft.md (frontmatter Stage: build-done) ``` ## Pa...

Details

Author
XuanRanL
Repository
XuanRanL/loamwright-SEO-Skill
Created
2 weeks ago
Last Updated
3 days ago
Language
Python
License
Apache-2.0

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category