Skip to content

Add llms.txt for AI indexing and Claude Code plugin#649

Merged
imperugo merged 6 commits intomasterfrom
feature/context7-and-claude-skill
Apr 11, 2026
Merged

Add llms.txt for AI indexing and Claude Code plugin#649
imperugo merged 6 commits intomasterfrom
feature/context7-and-claude-skill

Conversation

@imperugo
Copy link
Copy Markdown
Owner

Summary

AI-readiness for StackExchange.Redis.Extensions: documentation indexing for AI assistants and a Claude Code plugin for the marketplace.

Closes #629
Closes #630

llms.txt (#629)

llms.txt is a standard for making library documentation accessible to AI coding assistants. Our file links to all doc pages as raw GitHub URLs, organized by category.

Next step after merge: Register at https://context7.com/add-library with the GitHub repo URL.

Claude Code Plugin (#630)

A plugin with 3 skills for the Claude Code marketplace:

Skill What it does
/redis-configure Generate RedisConfiguration + DI setup from natural language. Includes serializer/compressor selection guides, Azure/Sentinel config, multi-instance setup.
/redis-scaffold Generate production code patterns: cache-aside, Streams consumer groups, GeoSpatial search, VectorSet RAG, Hash field TTL, Pub/Sub, bulk operations.
/redis-diagnose Troubleshooting decision tree: timeouts, connection failures, serialization errors, pool exhaustion, Pub/Sub issues. Includes logging reference.

Next step after merge: Publish to Claude Code marketplace via claude plugin publish.

README

Added "AI-Ready" callout with links to both files.

Test plan

  • Build passes
  • llms.txt links resolve to valid raw GitHub URLs
  • Plugin skills contain accurate, copy-paste-ready code

llms.txt:
- Follows llmstxt.org specification for AI assistant documentation
- Links to all doc pages as raw GitHub URLs for direct AI consumption
- Enables Context7 and other AI indexing services to find accurate,
  up-to-date API documentation

Claude Code plugin (claude-plugin/):
- plugin.json with metadata for marketplace publishing
- skills/configure — generate RedisConfiguration and DI setup from
  natural language (serializer/compressor selection guide included)
- skills/scaffold — production-ready code patterns: cache-aside,
  consumer groups, geo search, VectorSet RAG, hash field TTL, Pub/Sub
- skills/diagnose — troubleshooting tree for timeouts, connection
  failures, serialization errors, pool exhaustion, Pub/Sub issues

README.md:
- Added "AI-Ready" callout with links to llms.txt and plugin

Closes #629
Closes #630
…examples

- Fix diagnose skill: ConnectionPoolManager is on IRedisClient, not IRedisDatabase
- Fix llms.txt: Snappy → Snappier (matches actual package name)
- Fix configure skill: add missing packages (ServiceStack, Utf8Json, Snappier, Brotli)
- Fix configure skill: MemoryPack net7.0+ → net8.0+ (matches actual TFMs)
- Fix scaffold skill: add comment explaining ">" in StreamReadGroupAsync
- Fix scaffold skill: entry.Id! → entry.Id.ToString() (RedisValue is a struct)
- Fix diagnose skill: expand GetAsync<int> value type explanation
- Fix diagnose skill: clarify GetAllAsync requires HashSet<string>
Each feature doc page now includes a full API Reference table with
method signatures, Redis commands, and return types. This ensures
AI coding assistants (via llms.txt/Context7) have accurate method
signatures, not just tutorial examples.

- doc/geospatial.md: 16-method API reference table
- doc/streams.md: 16-method API reference table
- doc/vectorset.md: 14-method API reference table with Lease<T> notes
- doc/compressors.md: full NuGet package names, class names, install
  commands for all 5 compressor packages
- VersionPrefix 12.0.0 → 12.1.0
- PackageReleaseNotes updated with v12.1.0 changes (VectorSet, llms.txt,
  Claude plugin, CodeQL, SECURITY.md, CI workflow)
- doc/migration-v11-to-v12.md: comprehensive migration guide covering
  SyncTimeout change, Sentinel fix, SE.Redis upgrade, all new features,
  dependency changes, FAQ
- Linked migration guide from README and doc/README.md
@imperugo imperugo merged commit c8803c3 into master Apr 11, 2026
3 checks passed
@imperugo imperugo deleted the feature/context7-and-claude-skill branch April 11, 2026 13:19
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.

Create Claude Code skill for the marketplace Register library documentation on Context7

1 participant