Agent skill

Domain Architecture

by kostja94 in kostja94/marketing-skills

When the user wants to decide domain structure for multiple products or brands—subfolder vs subdomain vs independent domain.

MITAuto-check passedMarketing & SEO

Install Domain Architecture

skills CLI
$ npx skills add kostja94/marketing-skills --skill domain-architecture -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install kostja94/marketing-skills domain-architecture --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/kostja94/marketing-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/strategies/commercial/domain/domain-architecture .claude/skills/domain-architecture && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
domain-architecture
GitHub stars
1k
Token cost
~1.2k tokens
SKILL.md length
502 words
Files
1
Skills in repo
102
Repo updated
First seen
Licence
MIT

At a glance

When the user wants to decide domain structure for multiple products or brands—subfolder vs subdomain vs independent domain.

  • Works in 4 steps: Product count: Single product vs… → Brand strategy: Unified brand vs… → Current state: Planning from scratch vs… → …
  • Wants to decide domain structure for multiple products
  • SKILL.md covers Initial Assessment, Domain Structure Options, Brand Architecture and Hub-Spoke (Multiple Domains…, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Domain Architecture is an agent skill from kostja94/marketing-skills. When the user wants to decide domain structure for multiple products or brands—subfolder vs subdomain vs independent domain. Also use when the user mentions "subfolder vs subdomain," "subdirectory vs subdomain," "multiple products domain," "multiple websites," "brand architecture," "branded house," "house of brands," "where to host product," "domain structure," or "hub-spoke domain." For brand SERP, use multi-domain-brand-seo.

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Marketing & SEO, covering Brand strategy and identity. The repository describes itself as: Agent Skills for Marketing — SEO, Social, Influencer & More. 160+ open-source skills for SEO, content, 40+ page types, paid ads, channels, and strategies. Add project context… The licence is MIT.

When your agent uses it

  • Wants to decide domain structure for multiple products
  • Brands—subfolder vs subdomain vs independent domain
  • The user mentions subfolder vs subdomain
  • Subdirectory vs subdomain

Example prompts

  • “subfolder vs subdomain,”
  • “subdirectory vs subdomain,”
  • “multiple products domain,”
  • “/domain-architecture”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Product count: Single product vs multiple products/brands
  2. Brand strategy: Unified brand vs distinct brands
  3. Current state: Planning from scratch vs consolidating existing domains
  4. Constraints: Tech stack, team, budget

What it can do on your machine

Read from SKILL.md and the folder at commit 8dd89c5. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Domain Architecture loads about 1.2k tokens when it runs. Until then it costs about 113 tokens; SKILL.md has 502 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~113
When it runs · the whole SKILL.md, loaded when a task matches
~1.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from kostja94/marketing-skills at commit 8dd89c5, republished under its MIT licence (© kostja94). 502 words, ~1,241 tokens.

Download SKILL.mdSave it as .claude/skills/domain-architecture/SKILL.md (or your agent's skills folder).
name
domain-architecture
description
When the user wants to decide domain structure for multiple products or brands—subfolder vs subdomain vs independent domain. Also use when the user mentions "subfolder vs subdomain," "subdirectory vs subdomain," "multiple products domain," "multiple websites," "brand architecture," "branded house," "house of brands," "where to host product," "domain structure," or "hub-spoke domain." For brand SERP, use multi-domain-brand-seo.
metadata.version
1.0.1

Strategy: Domain Architecture

Guides domain structure decisions for multiple products or brands: subfolder (subdirectory), subdomain, or independent domain. Covers brand architecture (Branded House vs House of Brands) and Hub-Spoke principles when multiple domains coexist. See domain-selection for initial domain choice (Brand/PMD/EMD, TLD); website-structure for single-domain page planning; rebranding-strategy for domain change and migration; multi-domain-brand-seo for brand search optimization.

When invoking: On first use, if helpful, open with 1–2 sentences on what this skill covers and why it matters, then provide the main output. On subsequent use or when the user asks to skip, go directly to the main output.

Initial Assessment

Project context: Read root contextus.md when present and load only the modules relevant to this task. Without Contextus, use available project material or user-provided facts and ask for missing information; do not create a parallel context system.

Identify:

  1. Product count: Single product vs multiple products/brands
  2. Brand strategy: Unified brand vs distinct brands
  3. Current state: Planning from scratch vs consolidating existing domains
  4. Constraints: Tech stack, team, budget

Domain Structure Options

StructureExampleSEO AuthorityBrand IndependenceTypical Use
Subfoldercompany.com/product-aShared with main domainLowProducts under one brand; SMB; content consolidation
Subdomainproduct.company.comTreated separately by GoogleMediumSeparate product experience; tech isolation; support/docs
Independent domainproduct.aiNone sharedHighAcquired brands; different markets; distinct brand identity
When to Use Each
ChooseWhen
SubfolderProducts share value proposition; want to strengthen main domain; SMB; blog, tools, features under one brand
SubdomainNeed separate tech stack (e.g., app vs marketing); support portal; docs; distinct UX but same brand
Independent domainHouse of Brands; acquired company; different audience; different TLD (e.g., .ai for AI product)

SEO consensus: Subfolders typically outperform subdomains for most cases—authority flows to the main domain. Subdomains require separate SEO effort.

Show full SKILL.md (205 more words)Show less

Brand Architecture

ModelDescriptionDomain TendencyExamples
Branded HouseOne master brand; products use functional descriptorsSubfolder or subdomainGoogle (google.com/search, google.com/maps), FedEx
House of BrandsEach brand independent; parent hiddenIndependent domainsUnilever (dove.com, axe.com)
Sub-brands / EndorsedSub-brands with parent endorsementSubdomain or independentFedEx Express, Marriott Bonvoy

Decision factors: Business strategy, market positioning, product overlap, resource availability.

Hub-Spoke (Multiple Domains Coexist)

When company main site (company.com) and product site (product.ai) both exist:

RoleDomainFocus
Hubcompany.comBrand, About, Research, product matrix; brand queries
Spokeproduct.aiProduct features, pricing, signup; product queries

Principles:

  • Hub links to Spoke (Products section); Spoke links back (About, Footer, "A [Company] product")
  • Spoke avoids competing for brand queries in Title; Hub avoids competing for product keywords
  • See multi-domain-brand-seo for brand search optimization.

Output Format

  • Recommendation (subfolder / subdomain / independent) with rationale
  • Brand architecture fit (Branded House / House of Brands / Sub-brands)
  • Domain mapping (e.g., product A → company.com/product-a)
  • Hub-Spoke guidance (if multiple domains)
  • Related next steps (website-structure, rebranding-strategy)
  • domain-selection: Initial domain choice (Brand/PMD/EMD, TLD); single-site use case
  • website-structure: Plan pages within a domain; single-domain structure
  • rebranding-strategy: Domain change, 301 redirects, migration
  • multi-domain-brand-seo: Brand search control when Hub and Spoke coexist
  • branding: Brand strategy, positioning; domain architecture implements brand structure

© kostja94, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/strategies/commercial/domain/domain-architecture of kostja94/marketing-skills.

Open the folder on GitHubat commit 8dd89c5

Compare with similar skills

Domain Architecture next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Domain Architecture compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Domain Architecture this skillkostja94/marketing-skills1k—~1.2kAutomated safety check: PassMIT
Petshare Setupportons/codex-pet-share136—~1.9kAutomated safety check: NotesMIT
Startup Designferdinandobons/startup-skill1.2k—~8.1kAutomated safety check: PassMIT
Brand Architecturearnabbagxd/Brand-building-skills729—~1.7kAutomated safety check: PassMIT
Linkedin Employee Advocacysergebulaev/linkedin-skills4.4k1 repos~1.5kAutomated safety check: PassMIT
Brand Contextarnabbagxd/Brand-building-skills729—~842Automated safety check: PassMIT

Similar skills

  • Petshare Setup

    portons/codex-pet-share

    A skill your agent uses when an agent needs to fork, rebrand, deploy, adapt, or rebuild a Codex Pet Share style app with animated pet uploads, generated previews, gallery downloads, provider…

    136 GitHub stars~1.9k tokensUpdated 11 days ago
    Marketing & SEOAuto-check: notes
  • Startup Design

    ferdinandobons/startup-skill

    Design, validate, and plan a startup from scratch. An agent skill from ferdinandobons/startup-skill.

    1.2k GitHub stars~8.1k tokensUpdated 3 mo ago
    Marketing & SEOAuto-check passed
  • Brand Architecture

    arnabbagxd/Brand-building-skills

    Define how multiple brands, sub-brands, and product lines relate to each other under one organization.

    729 GitHub stars~1.7k tokensUpdated 4 mo ago
    Marketing & SEOAuto-check passed
  • Linkedin Employee Advocacy

    sergebulaev/linkedin-skills

    Stand up and run a LinkedIn employee advocacy program for a marketing or sales team.

    4.4k GitHub starsUsed in 1 repo~1.5k tokens
    Marketing & SEOAuto-check passed
  • Brand Context

    arnabbagxd/Brand-building-skills

    Foundation skill that captures and stores core brand context — identity, audience, positioning, values, and voice.

    729 GitHub stars~842 tokensUpdated 4 mo ago
    Marketing & SEOAuto-check passed
  • Replica Diff

    Jakeschincariol/replica-skill

    Compares an app clone against the original: a feature parity score from the feature matrix (weighted by must, should, could) with the missing list in build order, plus a screenshot layout diff that…

    1.4k GitHub stars~1k tokensUpdated 7 days ago
    Marketing & SEOAuto-check passed

More from kostja94/marketing-skills

All 102 skills in this repo
  • Grokipedia Recommendations

    kostja94/marketing-skills

    When the user wants to add recommendations, links, or content to Grokipedia.

    1k GitHub starsUsed in 1 repo~4.2k tokens
    Auto-check passed
  • AI Traffic Tracking

    kostja94/marketing-skills

    When the user wants to track AI search traffic in GA4 or GSC.

    1k GitHub stars~959 tokensUpdated 5 days ago
    Auto-check passed
  • Analytics Tracking

    kostja94/marketing-skills

    When the user wants to set up, audit, or optimize analytics tracking (GA4, events, conversions).

    1k GitHub stars~1.5k tokensUpdated 5 days ago
    Auto-check passed
  • Brand Visual Generator

    kostja94/marketing-skills

    When the user wants to define, audit, or apply visual identity (typography, colors, spacing, design tokens, frontend aesthetics).

    1k GitHub stars~3k tokensUpdated 5 days ago
    Auto-check passed
  • Canonical Tag

    kostja94/marketing-skills

    When the user wants to configure canonical URLs, fix duplicate content, or consolidate URL signals.

    1k GitHub stars~1.2k tokensUpdated 5 days ago
    Auto-check passed
  • Content Strategy

    kostja94/marketing-skills

    When the user wants to plan content for SEO, create content calendar, or build topic clusters.

    1k GitHub stars~1.8k tokensUpdated 5 days ago
    Auto-check passed

Categories

Questions about Domain Architecture

What does Domain Architecture do?

When the user wants to decide domain structure for multiple products or brands—subfolder vs subdomain vs independent domain. Domain Architecture is an agent skill from kostja94/marketing-skills. When the user wants to decide domain structure for multiple products or brands—subfolder vs subdomain vs independent domain.

When should I use Domain Architecture?

Domain Architecture fits situations like: wants to decide domain structure for multiple products; brands—subfolder vs subdomain vs independent domain; the user mentions subfolder vs subdomain; subdirectory vs subdomain.

How do I install Domain Architecture in Claude Code?

Run `npx skills add kostja94/marketing-skills --skill domain-architecture -a claude-code`. Or copy the skill folder (skills/strategies/commercial/domain/domain-architecture in kostja94/marketing-skills) into .claude/skills/domain-architecture in your project. Claude Code loads it when a task matches its description.

How do I install Domain Architecture in Codex?

Run `npx skills add kostja94/marketing-skills --skill domain-architecture -a codex`. Or copy the skill folder (skills/strategies/commercial/domain/domain-architecture in kostja94/marketing-skills) into .agents/skills/domain-architecture in your project. Codex loads it when a task matches its description.

Can I use Domain Architecture in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add kostja94/marketing-skills --skill domain-architecture -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/domain-architecture, .gemini/skills/domain-architecture, .github/skills/domain-architecture and .opencode/skills/domain-architecture in your project.

What does Domain Architecture need to run?

SKILL.md names no scripts, command-line tools or credentials: Domain Architecture is instructions for the agent only.

Does Domain Architecture access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Domain Architecture safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Domain Architecture use?

Domain Architecture is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Domain Architecture use?

About 1.2k tokens (SKILL.md is roughly 5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Domain Architecture?

Skills that share tags, products or a category with Domain Architecture: Petshare Setup (portons/codex-pet-share, 136 stars), Startup Design (ferdinandobons/startup-skill, 1.2k stars), Brand Architecture (arnabbagxd/Brand-building-skills, 729 stars) and Linkedin Employee Advocacy (sergebulaev/linkedin-skills, 4.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Domain Architecture?

kostja94 (a GitHub user) maintains it in kostja94/marketing-skills, which has 1,025 GitHub stars. The repository holds 102 skills in this directory. The repository was last updated on October 6, 2026.

Source: kostja94/marketing-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.