Skip to content

Explore Claude Code plugins for redisctl #780

@joshrotenberg

Description

@joshrotenberg

Summary

Claude Code now has a plugin system (requires v1.0.33+) that lets you package skills, agents, hooks, MCP servers, and LSP servers into shareable, namespaced extensions. Worth exploring whether redisctl could benefit from this.

What plugins provide

  • Skills: Custom slash commands and agent skills (model-invoked based on context)
  • Agents: Custom sub-agent definitions with system prompts, tool restrictions, and model selection
  • Hooks: Event handlers (e.g., post-tool-use linting)
  • MCP servers: External tool integrations via .mcp.json
  • LSP servers: Language server configurations for code intelligence
  • Default settings: Ship settings like activating a custom agent as the main thread

Plugins are namespaced (/plugin-name:skill-name) to avoid conflicts and can be distributed via marketplaces.

Potential use cases for redisctl

  • /redisctl:review - A skill that knows the crate structure, feature flags, and #[cfg] patterns for reviewing PRs
  • /redisctl:mcp-tool - Scaffold a new MCP tool with the correct module structure, router registration, and feature gating
  • /redisctl:check - Run the full pre-commit checklist (fmt, clippy, test --lib, test --test, feature combos)
  • Hooks - Auto-run cargo fmt or cargo clippy on edited Rust files
  • Agent - A sub-agent pre-loaded with redisctl architecture knowledge for onboarding contributors

Structure

redisctl-plugin/
├── .claude-plugin/
│   └── plugin.json
├── skills/
│   ├── review/
│   │   └── SKILL.md
│   └── mcp-tool/
│       └── SKILL.md
├── commands/
│   └── check.md
├── hooks/
│   └── hooks.json
└── agents/
    └── contributor.md

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions