agentleFS
lisbeth718lisbeth718/pseo-skills/skills/pseo-orchestrate/SKILL.md

pseo-orchestrate

Skill54 starsChanged 15 days agoMITView on GitHub

Orchestrate the full programmatic SEO implementation by coordinating all pseo-* skills in the correct order. Use when implementing pSEO from scratch, running the full pSEO pipeline, or when the user asks to "set up programmatic SEO" or "build pSEO pages" without specifying a single skill.

1 other project uses a version of this, 1 of them edited.

Adopted by

Most recently taken up by

The file

Show its rules and text

We split this skill into the rules it gives an agent

36 rules. About 0 are common, 32 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈32

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run the complete pipeline: discover → audit → implement → validate.

    line 64
  2. Distinctive:

    Run only pseo-discovery. No code changes.

    line 67
  3. Distinctive:

    Run pseo-audit and pseo-quality-guard.

    line 70
  4. Distinctive:

    Run only pseo-quality-guard against the existing implementation, plus seo-regression-guard against a local build.

    line 76
  5. Very specific:

    Run pseo-discovery with scope all

    line 81
  6. Distinctive:

    Ask the user to confirm which page types to pursue

    line 83
  7. Distinctive:

    If data enrichment is needed, flag it - implementation cannot produce quality pages without sufficient data

    line 84
  8. Very specific:

    Run pseo-audit with scope full, informed by the discovery output (what page types are planned)

    line 87
  9. Distinctive:

    Ask the user to confirm which areas to implement

    line 89
  10. Distinctive:

    Create a prioritized implementation plan based on audit results

    line 90
  11. Distinctive:

    Run pseo-scale to set up database, sufficiency gating, CDN, and monitoring

    line 93
  12. Distinctive:

    Run pseo-data to set up or refactor the data architecture.

    line 98
  13. Distinctive:

    Verify data layer exports are complete and typed

    line 99
  14. Distinctive:

    Run pseo-templates to create or refactor page templates and routing

    line 103
  15. Distinctive:

    Run pseo-linking to build internal linking, breadcrumbs, and hub pages

    line 104
  16. Distinctive:

    Verify all routes generate correctly: no sitemap URL returns 404.

    line 105
  17. Distinctive:

    Run pseo-metadata to implement dynamic metadata on all templates

    line 108
  18. Distinctive:

    Run pseo-schema to add JSON-LD structured data to all templates

    line 109
  19. Distinctive:

    Verify metadata and schema render correctly on sample pages

    line 110
  20. Distinctive:

    Run pseo-performance to optimize build times, CWV, and caching

    line 113
  21. Distinctive:

    Run pseo-llm-visibility to optimize for AI citation (AI crawler access, optional llms.txt for non-Google agents, AI feature controls, …

    line 114
  22. Distinctive:

    Run a build to verify it completes successfully at current scale

    line 115
  23. Distinctive:

    Check bundle size and rendering performance

    line 116
  24. Very specific:

    Run pseo-quality-guard with scope all (or delta at 10K+ pages)

    line 119
  25. Very specific:

    Run gsc pull and inspect on a sample per template: indexed share, "Crawled - currently not indexed", canonical mismatches 30a.

    line 127
  26. Distinctive:

    Never skip the discovery phase on a new project (unless user already knows exactly what pages to build)

    line 161
  27. Distinctive:

    Never skip the audit phase on a new project (unless user explicitly says to)

    line 162
  28. Distinctive:

    Always run pseo-quality-guard as the final step before launch.

    line 163
  29. Distinctive:

    If quality guard finds critical issues, fix them before declaring success

    line 164
  30. Distinctive:

    Commit changes at logical checkpoints (after each phase)

    line 165
  31. Distinctive:

    Keep the user informed at each phase transition

    line 166
  32. Distinctive:

    Does not choose a framework (assumes one is already in place or user will decide)

    line 174
  33. Distinctive:

    Does not create content (assumes data/content exists or user will provide it)

    line 175
  34. Distinctive:

    Does not deploy the site (gsc monitoring starts once it is deployed)

    line 176
  35. Distinctive:

    Does not set up CI/CD

    line 177
  36. Distinctive:

    Does not configure hosting or DNS

    line 178

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

pSEO Orchestrator

Coordinate the execution of all pseo-* skills in the correct dependency order to implement or validate a complete programmatic SEO system.

Skill Dependency Graph

pseo-discovery (0)    ← what should we build? what data exists?
    │
    ▼
pseo-audit (1)        ← is the codebase ready for what we want to build?
    │
    ▼
pseo-scale (1.5)      ← CONDITIONAL: only if 10K+ pages planned
    │
    ▼
pseo-data (2)
    │
    ├──────────────┐
    ▼              ▼
pseo-templates (3) pseo-linking (4)
    │              │
    └──────┬───────┘
           │
    ┌──────┴───────┐
    ▼              ▼
pseo-metadata (5)  pseo-schema (6)    ← parallel: both read from data layer
    │              │
    └──────┬───────┘
           │
    ┌──────┴───────┐
    ▼              ▼
pseo-performance   pseo-llm-visibility   ← parallel: independent optimizations
    (7)            (8)
    │              │
    └──────┬───────┘
           ▼
pseo-quality-guard (9)
           │
           ▼
gsc (10)              ← post-launch monitoring (after pages are live)

Note: metadata and schema are independent of each other - both read from the data layer and render into templates. Run them in parallel in Phase 4.

Note: gsc is a post-launch step. It needs live pages and a submitted sitemap, so it runs after deployment and then on a recurring schedule, not inside the build.

Note: the general SEO skills sit beside this pipeline: seo-i18n runs with Phases 3-4 when the site is multilingual (alongside pseo-linking and pseo-metadata), seo-regression-guard runs before and after each deploy, seo-log-analysis and seo-content-refresh run after launch with gsc, and seo-migration is standalone (URL, domain or stack changes).

Note: pseo-scale only applies when discovery identifies 10K+ pages. It runs after audit to set up database infrastructure, data sufficiency gating, and CDN architecture before the data layer is built. At < 10K pages, skip it entirely.

Execution Modes

The $ARGUMENTS mode picks one of the modes below (default full).

full (default)

Run the complete pipeline: discover → audit → implement → validate. After deploy, hand off to gsc for post-launch monitoring (Phase 7).

discover-only

Run only pseo-discovery. No code changes. Use when the user doesn't yet know what to build.

audit-only

Run pseo-audit and pseo-quality-guard. No code changes. Assumes discovery is done.

implement

Skip discovery and audit, go straight to implementation (assumes both were already done).

validate

Run only pseo-quality-guard against the existing implementation, plus seo-regression-guard against a local build.

Full Pipeline Procedure

Phase 0: Discovery

  1. Run pseo-discovery with scope all
  2. Present the discovery report: data assets found, proposed page types, rejected candidates
  3. Ask the user to confirm which page types to pursue
  4. If data enrichment is needed, flag it - implementation cannot produce quality pages without sufficient data

Phase 1: Audit

  1. Run pseo-audit with scope full, informed by the discovery output (what page types are planned)
  2. Present findings to the user
  3. Ask the user to confirm which areas to implement
  4. Create a prioritized implementation plan based on audit results

Phase 1.5: Scale Infrastructure (conditional - 10K+ pages only)

  1. Run pseo-scale to set up database, sufficiency gating, CDN, and monitoring
  2. Migrate existing data to database if moving from file-based storage
  3. Compute data sufficiency scores and gate thin combinations

Phase 2: Data Foundation

  1. Run pseo-data to set up or refactor the data architecture. Data sufficiency comes first: define the minimum unique data per page type and generate no pages below it. Keep page HTML under Googlebot's 2MB limit (no huge inline JSON)
  2. Verify data layer exports are complete and typed
  3. Validate slug uniqueness and data integrity

Phase 3: Page Structure (parallel where possible)

  1. Run pseo-templates to create or refactor page templates and routing
  2. Run pseo-linking to build internal linking, breadcrumbs, and hub pages
  3. Verify all routes generate correctly: no sitemap URL returns 404; invalid slugs do return 404

Phase 4: SEO Tags

  1. Run pseo-metadata to implement dynamic metadata on all templates
  2. Run pseo-schema to add JSON-LD structured data to all templates
  3. Verify metadata and schema render correctly on sample pages

Phase 5: Optimization

  1. Run pseo-performance to optimize build times, CWV, and caching
  2. Run pseo-llm-visibility to optimize for AI citation (AI crawler access, optional llms.txt for non-Google agents, AI feature controls, entity consistency)
  3. Run a build to verify it completes successfully at current scale
  4. Check bundle size and rendering performance

Phase 6: Validation

  1. Run pseo-quality-guard with scope all (or delta at 10K+ pages)
  2. Present quality report to the user
  3. Fix any critical issues flagged by the quality guard
  4. Re-run quality guard to confirm all issues resolved 28a. Run seo-regression-guard to capture a baseline and check the build (canonicals, robots, sitemap, metadata) before deploying

Phase 7: Post-launch monitoring (after deploy)

  1. Deploy (outside this skill), submit the sitemap index, and launch in waves rather than all at once
  2. Run gsc pull and inspect on a sample per template: indexed share, "Crawled - currently not indexed", canonical mismatches 30a. Run seo-regression-guard against the live site after each deploy 30b. Once data accumulates, run seo-log-analysis (crawl waste, time to first crawl) and seo-content-refresh (decay, pruning) on a monthly or quarterly schedule
  3. Repeat weekly during rollout. If a template shows poor indexing, return to pseo-data (raise the sufficiency threshold) and pseo-quality-guard before publishing more pages

Decision Points

At each phase transition, check with the user:

  • Phase 0→1: "Here are the pSEO opportunities. Which page types should we build?"
  • Phase 1→1.5: "The audit found these issues. Scale target is N pages - do we need scale infrastructure?" (only if 10K+)
  • Phase 1→2: "The audit found these issues. Proceed with implementation?" (if < 10K, skip 1.5)
  • Phase 1.5→2: "Database and gating are set up. Proceed with data architecture?"
  • Phase 3→4: "Templates and linking are set up. Ready for metadata and schema?"
  • Phase 5→6: "Performance and LLM visibility optimizations applied. Ready for final validation?"
  • Phase 6→7: "Quality guard passed. Deploy, then start gsc monitoring on a schedule?"

Progress Tracking

Track and report progress as:

Phase 0: Discovery        [✓] Complete - 3 page types confirmed, 50K pages planned
Phase 1: Audit            [✓] Complete
Phase 1.5: Scale Infra    [✓] Complete (DB, gating, CDN) - skipped if < 10K
Phase 2: Data             [✓] Complete
Phase 3: Structure        [→] In Progress (templates done, linking in progress)
Phase 4: SEO Tags         [ ] Pending
Phase 5: Optimization     [ ] Pending (performance + LLM visibility)
Phase 6: Validation       [ ] Pending
Phase 7: Monitoring (gsc) [ ] Pending (post-launch)

Important Rules

  • Never skip the discovery phase on a new project (unless user already knows exactly what pages to build)
  • Never skip the audit phase on a new project (unless user explicitly says to)
  • Always run pseo-quality-guard as the final step before launch; gsc monitoring follows after launch
  • If quality guard finds critical issues, fix them before declaring success
  • Commit changes at logical checkpoints (after each phase)
  • Keep the user informed at each phase transition

Framework Note

All code examples across the pseo-* skills use Next.js App Router patterns by default. The concepts, data structures, and SEO principles are framework-agnostic and apply equally to Astro, Nuxt, Remix, SvelteKit, or any SSG/SSR framework. When working with a non-Next.js project, adapt the framework-specific APIs (routing, metadata, static generation) to the equivalent in the target framework.

What This Skill Does NOT Do

  • Does not choose a framework (assumes one is already in place or user will decide)
  • Does not create content (assumes data/content exists or user will provide it)
  • Does not deploy the site (gsc monitoring starts once it is deployed)
  • Does not set up CI/CD
  • Does not configure hosting or DNS

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.