Skip to content

Improve AI discoverability for UseMods - #236

Merged
jrmybtlr merged 2 commits into
mainfrom
cursor/ai-discoverability-8e2a
Sep 5, 2026
Merged

Improve AI discoverability for UseMods#236
jrmybtlr merged 2 commits into
mainfrom
cursor/ai-discoverability-8e2a

Conversation

@jrmybtlr

@jrmybtlr jrmybtlr commented Sep 5, 2026

Copy link
Copy Markdown
Owner

Summary

Makes UseMods easier for coding agents and doc indexes to find and use correctly.

In-repo

  • Point npm homepage to https://usemods.com and expand description / keywords (root + Nuxt module)
  • Ship AGENTS.md with the npm package (files includes it)
  • Add context7.json so Context7 parses the right docs/folders and agent rules
  • Document AI endpoints in README / module README / docs/pages/README.md
  • Clarify robots.txt intent and link AI corpus paths
  • Add .github/workflows/context7-refresh.yml with permissions: {} (no-ops until CONTEXT7_API_KEY is set)

Operator follow-ups (documented in docs/ai-discovery.md)

  1. Cloudflare AI Crawl Control — live robots.txt currently injects managed Disallow: / for GPTBot/ClaudeBot/etc., and /docs/*.md is challenged. Allow those crawlers and skip challenges on /llms*, /docs/*, /api/docs*.
  2. Submit to Context7 at https://context7.com/add-library with this repo URL, then add the CONTEXT7_API_KEY secret for auto-refresh.

Test plan

  • Confirm AGENTS.md API names match exports
  • After merge/publish, npm package includes AGENTS.md
  • After Cloudflare change: curl -sI https://usemods.com/robots.txt no longer Disallows GPTBot/ClaudeBot
  • After Cloudflare change: curl -sI https://usemods.com/docs/formatters.md returns 200
  • Submit library on Context7 and verify search finds usemods
  • CodeQL “Workflow does not contain permissions” alert clears on the Context7 workflow
Open in Web Open in Cursor 

Point npm homepage at usemods.com, enrich package keywords, ship AGENTS.md,
add context7.json plus a Context7 refresh workflow, and document Cloudflare
AI Crawl Control unblocking so agents can actually fetch the docs corpus.

Co-authored-by: Jeremy Butler <jrmybtlr@users.noreply.github.com>
@jrmybtlr
jrmybtlr marked this pull request as ready for review September 5, 2026 20:30
Comment thread .github/workflows/context7-refresh.yml Fixed
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 5, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
usemods 496174c Commit Preview URL

Branch Preview URL
Sep 05 2026, 08:33 PM

CodeQL flagged the refresh workflow for missing an explicit permissions
block; set permissions to empty since the job only calls an external API.

Co-authored-by: Jeremy Butler <jrmybtlr@users.noreply.github.com>
@jrmybtlr
jrmybtlr merged commit 6b7c93f into main Sep 5, 2026
10 checks passed
@jrmybtlr
jrmybtlr deleted the cursor/ai-discoverability-8e2a branch September 5, 2026 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants