Skip to content

New pSEO template

Markdown

.agents/skills/new-pseo-template/SKILL.md — 100 lines of instruction that ship inside the starter. This page is generated from it, so it says what the skill does without republishing it.

The skill description, verbatim — this is the text an agent matches your request against:

Add a programmatic-SEO page template to a ZeroDirs directory site. Registers a pattern in src/features/paid/pseo/patterns.ts, adds its id to PSEO_TEMPLATE_IDS, writes the copy in site.config.ts, and adds a unit test. Use when asked for a new generated page type such as “X vs Y”, “best X under $N”, or “free X tools”.

  1. Steps
    • Add the id
    • Write the pattern
    • Add the copy
    • Know what the generator will do to you
    • Add a case to tests/unit/pseo.test.ts
    • Optional per-page copy overrides
  2. Verify
Terminal window
pnpm check
pnpm test
pnpm build
pnpm check:config

src/features/paid/pseo/patterns.ts · site.config.ts · src/config/schema.ts · src/config/types.ts · src/features/paid/pseo/generate.ts · tests/unit/pseo.test.ts · src/features/paid/pseo/copy.ts · integrations/budget.ts

Skills load themselves — you describe the outcome, not the skill. “Add a Compliance category with an icon and seed it” is enough for an agent that can see .agents/skills/; Claude Code reads .claude/skills/, which pnpm skills:sync mirrors from .agents/ on every install. See Working with an agent.