name: seo-foundation description: Builds or patches seo_foundation.md from business_context.md. Use before SEO skills that need goals, baseline, search competitors, platform, or priorities.
SEO Foundation
This skill creates and maintains businesses/<slug>/seo_foundation.md: the SEO-specific operating context for a business. It reads business_context.md first, then adds search goals, baseline metrics, search competitors, platform constraints, topic priorities, and measurement context.
Use this after business-context and before topic-specific SEO skills.
When to use this skill
- The user has business context and wants to start SEO work.
- The user wants to split an old
business_profile.mdinto SEO-specific context. - A downstream SEO skill is blocked because goals, baseline metrics, CMS/platform, search competitors, or topic priorities are missing.
- The user wants to update SEO goals, search competitors, target topics, analytics access, CMS/platform, or SEO operating constraints.
When NOT to use this skill
- Use
business-contextwhen the missing information is company-wide context: products, services, customers, positioning, parent/product relationships, commercial competitors, or brand voice. - Use a topic-specific skill when
seo_foundation.mdalready exists and the user wants a concrete SEO artifact.
Inputs required
- Business context — read
businesses/<slug>/business_context.md. Resolve<slug>by listingbusinesses/: if exactly one folder exists, use it; if multiple, ask which business; if none, recommend runningbusiness-contextfirst and stop. - Existing SEO foundation — if
businesses/<slug>/seo_foundation.mdexists, read it before patching. - Legacy profile — if
business_context.mdis missing butbusiness_profile.mdexists, recommend runningbusiness-contextlegacy split first. If the user explicitly asks for a direct migration, readbusiness_profile.mdand create the SEO foundation from the SEO-specific sections.
Modes
1. Quick Start
Use when business_context.md exists but seo_foundation.md does not.
Minimum viable SEO foundation:
| Field | Why it matters |
|---|---|
| Target site / domain | Defines the SEO surface |
| Primary SEO market and language | Shapes keyword and SERP assumptions |
| Primary 6-month SEO goal | Prioritises every downstream skill |
| Priority products / topics | Anchors keyword and content work |
| Current site status | Separates new-site setup from optimisation |
| CMS / platform | Drives technical recommendations |
| 3-5 search competitors or alternatives | Grounds competitor and SERP analysis |
| Tools available | Determines what data can be trusted |
| Team / implementation constraints | Keeps recommendations realistic |
Quick Start process:
- Read
business_context.mdand summarise the SEO-relevant business context. - Ask for target site/domain, primary SEO market/language, and the main 6-month SEO goal.
- Ask for current search state: established site, new site, migration, or landing-page-only.
- Ask for CMS/platform, analytics/GSC access, and known tools.
- Ask for 3-5 search competitors or SERP alternatives. These may differ from commercial competitors in
business_context.md. - Ask for implementation constraints: team, content capacity, developer capacity, budget, and timing risks.
- Write
seo_foundation.md. Mark omitted fields with_(unknown — not yet captured; add via Patch mode)_. - Recommend the next SEO skill based on readiness.
2. Patch
Use when the user wants to update SEO-specific context.
Patch process:
- Read
business_context.mdandseo_foundation.md. - Identify whether the requested change belongs in SEO foundation, business context, or both.
- Ask only for information needed to make the patch.
- Update only the relevant SEO section(s). Refresh
Last updated. - If the change belongs in
business_context.md, tell the user to runbusiness-contextPatch or, if they asked for both, patch both files deliberately.
3. Gap Check
Use when the user asks what SEO setup information is missing.
Gap Check process:
- Read
business_context.mdandseo_foundation.md. - Identify unknown, not-yet-captured, or thin SEO fields.
- Rank the 3-5 highest-value gaps by downstream impact.
- Name which skills each gap blocks or weakens.
4. Legacy Split
Use when an old business_profile.md exists and the user wants the SEO half of the new structure.
Legacy Split process:
- Read
business_profile.md. - Read
business_context.mdif it exists; if it does not, recommend runningbusiness-contextfirst unless the user asked for a full split in one pass. - Move these legacy sections into
seo_foundation.md: current SEO state, SEO goals, CMS/platform, SEO tools, search competitors, highest-traffic pages, ranking keywords, implementation constraints, and SEO-specific topic priorities. - Preserve the old
business_profile.mdas a migration source unless the user explicitly asks to remove it.
Output files
Quick Start / Patch / Legacy Split
businesses/<slug>/seo_foundation.md
Gap Check
- Chat output only.
Quality bar
- SEO foundation clearly references
business_context.md. - Search competitors are separated from commercial competitors.
- Goals are concrete and tied to business outcomes.
- Technical platform and measurement access are explicit.
- Unknown data is marked with the standard unknown placeholder.
- Recommendations are realistic for the team, budget, and implementation capacity.
- Parent/product relationships from
business_context.mdare reflected when they affect SEO.
Common mistakes to avoid
- Do not duplicate the whole business context inside
seo_foundation.md; summarise and reference it. - Do not treat commercial competitors as the full SERP competitor set.
- Do not accept "more traffic" as a goal without asking what business outcome the traffic should support.
- Do not invent rankings, traffic, or analytics access.
- Do not bury migration risks such as CMS changes; they drive technical SEO sequencing.
Example
Input:
Leaf Signal has business context. SEO is starting from a new Framer site and needs high-intent demand around conversion tracking accuracy.
Output:
businesses/leaf-signal/seo_foundation.mdrecords the SEO goal, Framer/custom-code migration risk, GSC/GA4/Ahrefs access, Elevar/Littledata/Stape as search competitors, and Connect/Watcher as priority page themes.