Commit Graph

56 Commits

Author SHA1 Message Date
Valentin Kirilov 8716c2d223 chore(iris-development): move to spec layout, preserve content
Pure structural move of the iris team's existing skill to the
agentskills.io spec layout. The body content, section structure,
tables, and rule prose stay byte-for-byte identical — only the file
locations change and the SKILL.md gets minimal markup tweaks to stay
discoverable under the new layout.

Moves (git mv, history preserved):
  rules/setup-cloud-service.md    → references/setup-cloud-service.md
  rules/setup-auth-token.md       → references/setup-auth-token.md
  rules/session-when-to-use.md    → references/session-when-to-use.md
  rules/session-add-event.md      → references/session-add-event.md
  rules/session-retrieval.md      → references/session-retrieval.md
  rules/ltm-bulk-create.md        → references/ltm-bulk-create.md
  rules/ltm-search.md             → references/ltm-search.md
  rules/ltm-organize.md           → references/ltm-organize.md
  rules/promotion-overview.md     → references/promotion-overview.md

For each moved file: only the build-pipeline YAML frontmatter at the
top is stripped (`title`, `impact`, `tags`, etc. — fields the rules
compiler used). The actual rule content, including its H2 heading,
code blocks, and tables, is unchanged.

SKILL.md edits are minimal:
- Quick Reference list items get explicit links to references/<file>.md
  so skill-validator recognizes the references as discoverable. The
  rule names, descriptions, ordering, and section headings are kept
  exactly as the iris team wrote them.
- "How to Use" sample paths changed from rules/*.md to references/*.md.
- The "Full Compiled Document" section is removed (AGENTS.md is gone).

Deletes the legacy files that no longer apply to a spec-format skill:
AGENTS.md, README.md, metadata.json, and the three rules/ template
files (_contributing.md, _sections.md, _template.md).

Drops the iris-development entry from
packages/redis-development-build/src/config.ts since iris no longer
goes through the rules compiler. The compiler itself stays in place
for now — redis-development is still rules-based and will be retired
in #29.

Validation:
- skill-validator check skills/iris-development --allow-dirs=evals → passed
- npm run validate → rules, claude-plugins, cursor-plugins all green

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-27 10:27:27 +03:00
Simba Khadder 9b1ac1d224 Merge pull request #17 from rokn/main
Add new folder with info about RAM usage
2026-05-26 07:57:32 -07:00
Valentin Kirilov ef0caa10d3 feat(redis-observability): add spec-compliant skill for monitoring and triage
Introduces skills/redis-observability/ covering the two observe-* rules
from skills/redis-development/rules/ in agentskills.io spec layout:

  observe-metrics  → references/metrics.md
  observe-commands → references/commands.md

SKILL.md summarizes the key metrics to monitor (with alert thresholds),
the built-in commands for incident triage (SLOWLOG, INFO, MEMORY DOCTOR,
CLIENT LIST, FT.PROFILE), and a short pointer to Redis Insight as the
interactive GUI complement.

Additive only: the source observe-*.md rules under skills/redis-development/
remain in place so the legacy compiled AGENTS.md continues to serve
existing plugin consumers unchanged. They are removed in the final
cleanup PR alongside the rest of the rules/ tree.

Validation:
- skill-validator check skills/redis-observability → passed (0 warnings)
- npm run validate → rules + plugin validators green

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-26 15:35:07 +03:00
Valentin Kirilov 17faa8d262 feat(redis-security): add spec-compliant skill for production hardening
Introduces skills/redis-security/ covering the three security-* rules
from skills/redis-development/rules/ in agentskills.io spec layout:

  security-auth    → references/auth.md
  security-acls    → references/acls.md
  security-network → references/network.md

SKILL.md frames the skill around three layers that all need to be in
place for a production-grade deployment: authentication + TLS, ACL-
based least-privilege users, and network exposure controls (bind +
firewall + rename-command). References carry the full Python and
Java code samples and configuration snippets.

Additive only: the source security-*.md rules under skills/redis-development/
remain in place so the legacy compiled AGENTS.md continues to serve
existing plugin consumers unchanged. They are removed in the final
cleanup PR alongside the rest of the rules/ tree.

Validation:
- skill-validator check skills/redis-security → passed (0 warnings)
- npm run validate → rules + plugin validators green

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-26 15:32:49 +03:00
Valentin Kirilov 9d76ceafe8 feat(redis-clustering): add spec-compliant skill for cluster and replication
Introduces skills/redis-clustering/ covering the two cluster-* rules
from skills/redis-development/rules/ in agentskills.io spec layout:

  cluster-hash-tags     → references/hash-tags.md
  cluster-read-replicas → references/read-replicas.md

SKILL.md frames the skill around the two failure modes that bite most
new cluster users: CROSSSLOT errors on multi-key operations (solved by
hash tags) and overloading primaries with read traffic (solved by
replica reads). Reference files carry the full Python and Java code
samples.

Additive only: the source cluster-*.md rules under skills/redis-development/
remain in place so the legacy compiled AGENTS.md continues to serve
existing plugin consumers unchanged. They are removed in the final
cleanup PR alongside the rest of the rules/ tree.

Validation:
- skill-validator check skills/redis-clustering → passed (0 warnings)
- npm run validate → rules + plugin validators green

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-26 15:32:40 +03:00
Valentin Kirilov 66c796d107 feat(redis-semantic-cache): add spec-compliant skill for LLM response caching
Introduces skills/redis-semantic-cache/ covering the two semantic-cache-*
rules from skills/redis-development/rules/ in agentskills.io spec layout:

  semantic-cache-langcache-usage   → references/langcache-usage.md
  semantic-cache-best-practices    → references/best-practices.md

SKILL.md describes the cache-aside flow, similarity-threshold tuning
table, and per-task cache separation; reference files carry the SDK +
REST samples and best-practices detail. Preserves the upstream
"LangCache is in preview" callout.

Additive only: the source semantic-cache-*.md rules under
skills/redis-development/ remain in place so the legacy compiled
AGENTS.md continues to serve existing plugin consumers unchanged.
They are removed in the final cleanup PR alongside the rest of the
rules/ tree.

Validation:
- skill-validator check skills/redis-semantic-cache → passed (0 warnings)
- npm run validate → rules + plugin validators green

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-26 15:32:30 +03:00
Valentin Kirilov 6a6fbaf52f feat(redis-vector-search): add spec-compliant skill for embeddings and RAG
Introduces skills/redis-vector-search/ covering the four vector-* rules
from skills/redis-development/rules/ in agentskills.io spec layout:

  vector-algorithm-choice → references/algorithm-choice.md  (HNSW vs FLAT)
  vector-index-creation   → references/index-creation.md    (DIM, metric, etc.)
  vector-hybrid-search    → references/hybrid-search.md     (filtered vector)
  vector-rag-pattern      → references/rag-pattern.md       (full RAG pipeline)

SKILL.md summarizes index configuration, algorithm choice, hybrid
filtering, and the RAG pattern; the four reference files carry the
full code samples. The skill positions itself as a layer on top of
redis-query-engine, since vector fields live inside RQE indexes.

Additive only: the source vector-*.md rules under skills/redis-development/
remain in place so the legacy compiled AGENTS.md continues to serve
existing plugin consumers unchanged. They are removed in the final
cleanup PR alongside the rest of the rules/ tree.

Validation:
- skill-validator check skills/redis-vector-search → passed (0 warnings)
- npm run validate → rules + plugin validators green

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-26 15:32:19 +03:00
Valentin Kirilov 51308c40c2 feat(redis-query-engine): add spec-compliant skill for RQE indexing and search
Introduces skills/redis-query-engine/ covering the six rqe-* rules from
skills/redis-development/rules/ in agentskills.io spec layout:

  rqe-dialect            → references/dialect.md
  rqe-field-types        → references/field-types.md
  rqe-index-creation     → references/index-creation.md
  rqe-index-management   → references/index-management.md
  rqe-query-optimization → references/query-optimization.md
  rqe-skip-initial-scan  → references/skip-initial-scan.md

SKILL.md carries decision-oriented summaries (field-type table,
DIALECT 2 default, schema/prefix rule, alias-based zero-downtime
updates, SKIPINITIALSCAN guidance, query-optimization levers) with
pointers into references/ for full code samples.

Additive only: the source rqe-*.md rules under skills/redis-development/
remain in place so the legacy compiled AGENTS.md continues to serve
existing plugin consumers unchanged. They are removed in the final
cleanup PR alongside the rest of the rules/ tree.

Validation:
- skill-validator check skills/redis-query-engine → passed (0 warnings)
- npm run validate → rules + plugin validators green

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-26 15:28:54 +03:00
Valentin Kirilov d3d89fae11 feat(redis-connections): add spec-compliant skill for client connection guidance
Introduces skills/redis-connections/ covering the five conn-* rules from
skills/redis-development/rules/ in agentskills.io spec layout:

  conn-pooling      → references/pooling.md      (pool vs multiplex)
  conn-pipelining   → references/pipelining.md   (batch round-trips)
  conn-blocking     → references/blocking.md     (KEYS/SMEMBERS/SCAN)
  conn-client-cache → references/client-cache.md (RESP3 caching)
  conn-timeouts     → references/timeouts.md     (socket timeouts)

SKILL.md carries inline summary tables and key principles; full
Python/Java examples live in references/, loaded on demand.

Additive only: the source conn-*.md rules under skills/redis-development/
remain in place so the legacy compiled AGENTS.md continues to serve
existing plugin consumers unchanged. They are removed in the final
cleanup PR alongside the rest of the rules/ tree.

Validation:
- skill-validator check skills/redis-connections → passed (0 warnings)
- npm run validate → rules + plugin validators green

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-26 15:25:09 +03:00
Valentin Kirilov a2c48c0055 Restructure redis-core to follow the agentskills.io spec (#20)
* chore(validate): allow evals/ directory in spec-format skills
* feat(redis-core): add spec-compliant skill for data modeling
* feat(redis-core): move eval suite from redis-development
* chore(eval): show generation cost only in skill-vs-baseline comparison
* docs: note agentskills.io migration in root AGENTS.md
2026-05-26 15:24:34 +03:00
Valentin Kirilov 9032f7e8df Add advisory skill structure validation (#19)
Add an advisor workflow that runs skill-validator for skill structure checks
2026-05-22 09:39:42 +03:00
Valentin Kirilov 5a7f284237 Add Redis skills eval (#18)
Adds an eval workflow for Redis Agent Skills, focused on measuring whether skill guidance improves or degrades model outputs

* Add cross-model skill eval tooling
* Add Redis data structure key naming eval suite
* Add Redis eval baseline snapshot
2026-05-22 09:20:23 +03:00
Dimo Georgiev 6edba11904 Merge pull request #15 from vishal-bala/update-redisvl-guidance
Update RedisVL guidance in `redis-development`
2026-05-20 21:02:16 +03:00
Antonio Mindov 725db391a7 fix(iris): switch createdAt examples to datetime/Date
The Python and TypeScript SDKs were regenerated against an updated OpenAPI
spec that types `createdAt` as `datetime.datetime` / `Date` (UTC) instead
of Unix milliseconds, and added a server-set `system_timestamp` /
`systemTimestamp` field on every SessionEvent.

Updates session, ltm, and setup rules to match, including the
LongTermMemory `createdAt` filter and the seconds-vs-milliseconds
anti-pattern (replaced with naive-datetime gotcha).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-18 16:18:27 +03:00
Antonio Mindov 78e3b92218 feat(iris): add RAM rules with Python/TS SDK examples
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-18 14:45:45 +03:00
Antonio Mindov 0aef7db934 feat(iris): scaffold iris-development skill
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-18 14:06:11 +03:00
Vishal Bala 0af2fced09 Update RedisVL guidance in redis-development 2026-04-28 16:14:11 +02:00
Simba Khadder 4eaff191fc Merge pull request #12 from DimoHG/cursor-marketplace-plugin
feat(cursor): enable Cursor marketplace plugin publishing
2026-03-10 06:16:25 -07:00
DimoHG eba2af2c64 fix(cursor): add path traversal checks and require per-plugin manifest
Address two issues flagged in PR review:

1. Validate pluginRoot and source with isSafeRelativePath before using
   them in path.resolve. Without this, absolute paths or .. traversals
   in marketplace.json would pass validation silently.

2. Error when the per-plugin .cursor-plugin/plugin.json is missing
   instead of silently skipping it. A missing manifest would prevent
   the plugin from loading, so the validator should catch it.

Made-with: Cursor
2026-03-10 13:27:23 +02:00
DimoHG 2e3d42fc51 fix(cursor): remove unrecognized displayName from plugin manifest
displayName is not part of the Cursor plugin manifest schema.
Only name, description, version, author, homepage, repository,
license, keywords, and logo are recognized fields.

Reference: https://cursor.com/docs/reference/plugins
Made-with: Cursor
2026-03-10 13:19:57 +02:00
DimoHG 772c79e73b feat(cursor): update validator to support marketplace.json
The pre-commit validator previously required a root plugin.json and
would fail when only marketplace.json was present.

Refactor the validator to check for marketplace.json first, falling
back to root plugin.json for single-plugin repos. For marketplace
repos, validate the marketplace manifest (name, owner, plugins array),
resolve each plugin directory using pluginRoot + source, and validate
per-plugin manifests with paths relative to the plugin directory.

Made-with: Cursor
2026-03-10 13:19:57 +02:00
DimoHG 526dacd7e3 feat(cursor): add description and alwaysApply to rule frontmatter
Add description and alwaysApply: true to all 34 rule files for Cursor
plugin compatibility. description gives the IDE a summary to display
in the rules list and helps the agent understand when to apply each
rule. alwaysApply: true ensures rules are always active rather than
only available on request.

Update the rule template, README example, and AGENTS.md to reflect
the new frontmatter fields for contributors.

Reference: https://cursor.com/docs/reference/plugins
Made-with: Cursor
2026-03-10 13:19:57 +02:00
DimoHG ff52dbb4cc feat(cursor): restructure plugin for marketplace submission
Cursor resolves plugin directories using pluginRoot + source from
marketplace.json. Update marketplace.json to set pluginRoot: "skills"
and source: "redis-development" so the plugin resolves to
skills/redis-development/.

Move the per-plugin manifest from plugins/redis-development/ to
skills/redis-development/ (the resolved plugin directory), fix the
author field to use email instead of url, remove stale skills/rules
path overrides so Cursor uses auto-discovery, and add the logo field.

Move the logo into skills/redis-development/assets/ because Cursor
resolves relative logo paths from the plugin directory and forbids
.. in paths.

Remove the redundant root .cursor-plugin/plugin.json which is not
needed when marketplace.json is present.

Made-with: Cursor
2026-03-10 12:27:58 +02:00
Benoit Dion 7f3a0db3c0 Merge pull request #11 from rshah2020/fix/cursor-nested-manifests
fix(cursor): add nested cursor plugin manifests
2026-03-03 11:23:57 +01:00
Benoit Dion 1fc01f28fd fix(cursor): include rules path in redis plugin manifest
Add the redis-development rules directory to the nested Cursor plugin manifest so rule files are discoverable alongside skills.

Made-with: Cursor
2026-03-03 11:10:02 +01:00
Rohan Shah f61742931a fix(cursor): add required nested manifest fields
Add displayName and version to the nested Cursor plugin manifest so it conforms to the expected manifest schema when loaded from marketplace source paths.

Made-with: Cursor
2026-02-27 00:56:34 -08:00
Rohan Shah 247695bd6a fix(cursor): add nested cursor plugin manifests
Add Cursor-native manifest files for the nested redis-development plugin and root marketplace so Cursor can discover skills when resolving plugin sources under plugins/.

Made-with: Cursor
2026-02-27 00:46:17 -08:00
Benoit Dion 093552120a Merge pull request #10 from redis/fix-cursor-plugin
fix: tweak path so hopefully things get picked up
2026-02-26 21:43:32 +01:00
Benoit Dion 13a9cd6e97 fix: tweak path so hopefully things get picked up 2026-02-26 21:39:30 +01:00
Benoit Dion 4341a8cfd7 Merge pull request #9 from redis/fix-cursor-plugin
fix(cursor): consolidate to single root plugin manifest
2026-02-26 20:37:39 +01:00
Benoit Dion 10f147965a fix(cursor): consolidate to single root plugin manifest 2026-02-26 20:35:40 +01:00
Phil 8bf1658669 Merge pull request #7 from redis/add-cursor
Add cursor plugin and MCP support
2026-02-23 13:38:59 -05:00
Phil 34d812444b Revert "feat: add redis MCP configuration to plugin packaging"
This reverts commit 7d3f84011f.
2026-02-23 09:39:25 -05:00
Pieter Cailliau 68de9c3826 Merge pull request #4 from redis/java-skills-suggestions
Add Java examples and improve rule structure
2026-02-20 21:15:54 +00:00
Phil 7d3f84011f feat: add redis MCP configuration to plugin packaging
Wire official redis/mcp-redis into Claude and Cursor plugin manifests and document optional MCP environment setup in README.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-20 15:57:31 -05:00
Phil 925b65ef80 chore: sync marketplace review updates and cursor validation
Apply Claude PR review follow-ups, align owner/email metadata for Cursor, add dedicated Cursor validator checks, and wire validate scripts in CI/package scripts.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-20 15:41:20 -05:00
Philip Laussermair 06812f52f5 Add Cursor plugin marketplace support 2026-02-20 15:40:59 -05:00
Simba Khadder a83390e999 Merge pull request #6 from redis/add-claude-plugin
Add Claude Code plugin marketplace support
2026-02-20 09:14:22 -08:00
Yusuf Bahadur 26c4d5b097 Simbas comments 2026-02-20 10:08:46 -05:00
Yusuf Bahadur bad8fc1433 CoPilot comments 2026-02-19 11:35:21 -05:00
Yusuf Bahadur bf15e8917f Add Claude Code plugin marketplace support 2026-02-19 06:47:14 -05:00
Pieter Cailliau ac2163fdda Update validator to support multi-language examples and 'When to use' pattern
- Accept language labels (Python, Java, etc.) as valid code example labels
- Make 'Incorrect' examples optional - rules can use 'When to use' guidance instead
- This aligns with the updated rule structure that distinguishes between anti-patterns and feature introductions
2026-02-01 16:42:38 +00:00
Pieter Cailliau 209f3721e3 Add Java examples and improve rule structure
- Add 5 new rule files: conn-client-cache, data-hash-field-expiry, data-incr, data-transactions, rqe-skip-initial-scan
- Add Java (Jedis) examples to 11 existing rules
- Update json-vs-hash.md: add String as third option, fix GEO indexing info
- Improve rule patterns: use 'When to use/When NOT needed' for feature introductions instead of 'Incorrect' for optional features
- Update SKILL.md to reflect new rule structure for skills.sh
- Update root AGENTS.md with guidance on when to use Incorrect examples
- Update _template.md with Pattern A (Incorrect) vs Pattern B (When to use) guidance
2026-02-01 16:37:40 +00:00
Simba Khadder 4c8bf80c4d Merge pull request #3 from redis/rename-agent-skill
Rename skill to redis-development
2026-01-31 02:58:11 -08:00
Simba Khadder 003fced07f Rename skill to redis-development 2026-01-31 02:56:44 -08:00
Simba Khadder 742beae194 Merge pull request #2 from redis/polish/contributing
Adds build system, CI, and CONTRIBUTING.md
2026-01-31 01:20:06 -08:00
Simba Khadder e71b387593 Add a CONTRIBUTING.md 2026-01-31 01:09:03 -08:00
Simba Khadder c03940a7a3 Fix build and validate system 2026-01-31 01:03:50 -08:00
Simba Khadder d561d44275 Fix year typo in LICENSE 2026-01-31 00:49:42 -08:00
redis-phil 78510d8d1d Merge pull request #1 from redis/feature/redis-best-practices-cleanup
Update Agent Skills documentation
2026-01-30 14:48:35 -05:00