Skip to content

chore: add agent skills and tooling configs#3316

Merged
nkaradzhov merged 3 commits into
redis:masterfrom
nkaradzhov:skill/implement-command
Jul 1, 2026
Merged

chore: add agent skills and tooling configs#3316
nkaradzhov merged 3 commits into
redis:masterfrom
nkaradzhov:skill/implement-command

Conversation

@nkaradzhov

@nkaradzhov nkaradzhov commented Jun 30, 2026

Copy link
Copy Markdown
Collaborator

Description

This pull request adds the repository's shared agent tooling so Claude Code, OpenAI/Codex, and Gemini runners all work from one source: a set of skills under .agents/skills/, the AGENTS.md/CLAUDE.md/GEMINI.md guidance files, and .claude/.gemini symlinks pointing into .agents/. Each skill ships a SKILL.md, an agents/openai.yaml interface descriptor for cross-runner parity, and any supporting references//templates/.

Skills included:

  • implement-command — add a Redis command to node-redis end-to-end: the <NAME>.ts Command file, JSDoc registration in commands/index.ts, and a co-located <NAME>.spec.ts, with the monorepo conventions baked in.
  • docs-sync — audit docs/, README.md, and per-package READMEs against the master implementation and propose targeted updates.
  • maintainer-review — review a GitHub issue or PR as a maintainer, with a staged need-evidence assessment and a copy-paste-ready maintainer comment.
  • pr-draft-summary — generate the PR-ready summary block, branch suggestion, title, and draft description for a change.
  • runtime-behavior-probe — investigate actual runtime behavior with a validation matrix and disposable TypeScript probes, producing a findings-first report.
  • test-coverage-improver — analyze coverage gaps and propose high-impact tests.

No runtime code, tests, or build configuration changes — repository tooling only, with no behavior or backward-compatibility impact.


Checklist

  • Does npm test pass with this change (including linting)? — N/A, no runtime/build changes
  • Is the new or changed code fully tested? — N/A, docs/tooling only
  • Is a documentation update included (if this change modifies existing APIs, or introduces new ones)? — N/A, no API changes

Note

Low Risk
Documentation and agent-config only; no published API, client behavior, or test/build pipeline changes.

Overview
This pull request adds shared agent tooling so multiple AI runners can use the same workflows from one tree under .agents/.

It introduces six skills (docs-sync, implement-command, maintainer-review, pr-draft-summary, runtime-behavior-probe, test-coverage-improver), each with a SKILL.md, an agents/openai.yaml interface descriptor, and supporting reference/template files where needed. AGENTS.md documents monorepo layout, the command pattern, and test/build conventions; CLAUDE.md and GEMINI.md delegate to that file. .claude/ and .gemini/ symlinks point at .agents/ for skills (and agents) so Claude and Gemini pick up the same definitions.

There are no changes under packages/, tests, or build config—repository metadata and contributor/agent guidance only.

Reviewed by Cursor Bugbot for commit 4eb4cbf. Bugbot is set up for automated code reviews on this repo. Configure here.

nkaradzhov and others added 2 commits June 30, 2026 15:29
Add an agent skill that walks through implementing a new Redis command
in node-redis end-to-end: the <NAME>.ts Command file (parseCommand +
transformReply), registration with JSDoc in the package commands/index.ts
(raw name + camelCase alias), and a co-located <NAME>.spec.ts using
parseArgs and testUtils.testAll. Includes an openai.yaml interface
descriptor matching the sibling skills.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Add the shared .agents/ skill set (docs-sync, maintainer-review,
pr-draft-summary, runtime-behavior-probe, test-coverage-improver) with
their references and templates, the AGENTS.md/CLAUDE.md/GEMINI.md guidance
files, and the .claude/.gemini symlinks pointing into .agents/.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@nkaradzhov nkaradzhov changed the title Skill/implement command chore: add agent skills and tooling configs Jun 30, 2026
Add a Step 0 that has the agent request the redis/redis JSON command spec
(src/commands/<name>.json, or pasted from an unreleased branch) and a running
Redis instance that actually has the command, since new commands are often
implemented before public release. Include a spec-field -> Command mapping
table (command_flags, key_specs, argument types/tokens, reply_schema, arity)
and a step to verify the real reply against reply_schema.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Comment on lines +1 to +4
--
name: test-coverage-improver
description: 'Improve test coverage in the node-redis monorepo: run a package test suite under nyc, inspect coverage artifacts, identify low-coverage files and branches, propose high-impact tests, and confirm with the user before writing tests.'
---

@PavelPashov PavelPashov Jul 1, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Invalid skill frontmatter, change line 1 to ---

Comment thread .claude/agents
@@ -0,0 +1 @@
../.agents/agents No newline at end of file

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems to be an invalid directory

Comment thread .gemini/agents
@@ -0,0 +1 @@
../.agents/agents No newline at end of file

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems to be an invalid directory

@nkaradzhov nkaradzhov marked this pull request as ready for review July 1, 2026 13:46
@nkaradzhov nkaradzhov merged commit 927dfe0 into redis:master Jul 1, 2026
13 checks passed
@nkaradzhov nkaradzhov deleted the skill/implement-command branch July 1, 2026 13:46

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 2 potential issues.

Fix All in Cursor

Reviewed by Cursor Bugbot for commit 4eb4cbf. Configure here.

Comment thread .claude/agents
@@ -0,0 +1 @@
../.agents/agents No newline at end of file

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agent symlinks target missing path

Medium Severity

New .claude/agents and .gemini/agents symlinks point at ../.agents/agents, but the commit only adds .agents/skills/ and never creates .agents/agents. Checkouts following these links get a broken path, so Claude and Gemini agent discovery from those entries will not work.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 4eb4cbf. Configure here.

Comment thread .gemini/agents
@@ -0,0 +1 @@
../.agents/agents No newline at end of file

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing Gemini skills symlink

Low Severity

The PR wires .claude/skills to shared .agents/skills/ but does not add an equivalent .gemini/skills symlink. Gemini runners may not see the same skill set from one source, contrary to the stated goal of shared agent tooling across runners.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 4eb4cbf. Configure here.

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.

2 participants