.cursor/skills/llm-seo-readiness/SKILL.md
Validates Aptos docs changes for LLM consumption (llms.txt, curated feeds, Markdown exports, HTML→Markdown) and for SEO (metadata, sitemap, robots, structured data). Use when adding or restructuring docs, editing llms routes or curation, changing Head/meta/OG, updating robots.txt or sitemap behavior, or when the user mentions LLMs.txt, AI tool ingestion, crawlers, discoverability, or SEO.
npx skillsauth add aptos-labs/aptos-docs llm-seo-readinessInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
title and description in English; they surface in /llms.txt and .md exports. Mirror updates in src/content/docs/zh/ per agent guidelines (Spanish es/ is out of scope for agent-maintained docs).src/lib/llms-curated-ids.ts (LLMS_INDEX_SECTIONS, LLMS_SMALL_DOC_IDS, FULL_PRIORITY_DOC_IDS as appropriate). Build fails if an id is missing from English non-draft docs.src/content/docs/llms-txt.mdx, src/content/docs/build/ai.mdx, and the Chinese zh/ counterparts—keep URLs and feed names aligned with src/pages/llms-index.ts.src/lib/llms-html-sanitize.ts. When minifying for llms-small.txt, collapse spaces/tabs only—never all \s (newlines must survive for fenced code and Markdown structure).src/integrations/llms-txt-index.ts; endpoint implementations live under src/pages/llms-index.ts, src/pages/llms-small.txt.ts, src/pages/llms-full.txt.ts.public/robots.txt should stay consistent with sitemap URL and, when feeds change, the commented LLMs.txt pointers at the bottom.title / description feed OG, Twitter, and schema in src/starlight-overrides/Head.astro—avoid empty or placeholder descriptions on public pages.@astrojs/sitemap in astro.config.mjs; ensure new top-level routes or major URL changes still make sense for indexing.SUPPORTED_LANGUAGES—new locales need config updates, not only content folders..md pipeline and curation tests.After substantive changes:
pnpm test tests/llms-curated-ids.test.ts tests/llms-html-sanitize.test.ts
pnpm lint && pnpm check
For full coverage: pnpm test and a production pnpm build when touching routes or integrations.
| Area | Primary locations |
|------|-------------------|
| Curation | src/lib/llms-curated-ids.ts, src/lib/llms.ts |
| llms.txt body | src/pages/llms-index.ts |
| Feed endpoints | src/pages/llms-small.txt.ts, src/pages/llms-full.txt.ts |
| Plugin override | src/integrations/llms-txt-index.ts |
| Markdown export / sanitize | src/lib/llms-html-sanitize.ts, src/pages/[...slug].md.ts |
| User docs | src/content/docs/llms-txt.mdx, build/ai.mdx, zh/ |
| SEO head | src/starlight-overrides/Head.astro |
| Crawlers / sitemap hint | public/robots.txt |
tools
Use when work should span one or more detached tasks but still behave like one job with a single owner context. TaskFlow is the durable flow substrate under authoring layers like Lobster, ACPX, plugins, or plain code. Keep conditional logic in the caller; use TaskFlow for flow identity, child-task linkage, waiting state, revision-checked mutations, and user-facing emergence.
tools
# Lobster Lobster executes multi-step workflows with approval checkpoints. Use it when: - User wants a repeatable automation (triage, monitor, sync) - Actions need human approval before executing (send, post, delete) - Multiple tool calls should run as one deterministic operation ## When to use Lobster | User intent | Use Lobster? | | ------------------------------------------------------ | --------------------------
tools
# Lobster Lobster executes multi-step workflows with approval checkpoints. Use it when: - User wants a repeatable automation (triage, monitor, sync) - Actions need human approval before executing (send, post, delete) - Multiple tool calls should run as one deterministic operation ## When to use Lobster | User intent | Use Lobster? | | ------------------------------------------------------ | --------------------------
tools
A CLI tool for making authenticated requests to the X (Twitter) API. Use this skill when you need to post tweets, reply, quote, search, read posts, manage followers, send DMs, upload media, or interact with any X API v2 endpoint.