Suggest a new plugin based on current project context or described need
Analyzes your project or described need to identify marketplace gaps, then proposes a new plugin structure with agents, commands, and skills. Use when you want to create a plugin but need help identifying what's missing and how to structure it.
/plugin marketplace add cameronsjo/claude-marketplace/plugin install meta@cameronsjo[description or --from-context]/marketplace.suggest GraphQL development # Suggest plugin for GraphQL
/marketplace.suggest --from-context # Analyze current project, suggest plugins
/marketplace.suggest "E2E testing with Playwright"
If --from-context:
If description provided:
# Search marketplace for related plugins
grep -r "description" /Users/cameron/Projects/claude-marketplace/plugins/*/plugin.json
# Check for existing agents
find /Users/cameron/Projects/claude-marketplace -name "*.md" -path "*/agents/*" | xargs grep -l "keyword"
# Check for existing skills
find /Users/cameron/Projects/claude-marketplace/registry/skills -name "SKILL.md" | xargs grep -l "keyword"
Output a complete proposal:
## Proposed Plugin: graphql-development
### Justification
- No existing GraphQL coverage in marketplace
- Common workflow: schema design, resolver patterns, code generation
- Complements: api-development, typescript-toolkit
### Components
**Agent: graphql-expert.md**
- Schema design patterns (SDL)
- Resolver architecture
- N+1 query prevention
- DataLoader patterns
- Federation/stitching
- Type generation (codegen)
**Commands:**
- `/graphql.schema` - Generate/validate schema
- `/graphql.mock` - Create mock resolvers
**Skill: graphql-patterns/**
- SKILL.md: Core patterns
- federation.md: Distributed GraphQL
- security.md: Query complexity, depth limiting
### Composition Updates
Add to:
- full-stack-web: [...existing, "graphql-development"]
- api-focused: ["api-development", "graphql-development", "security-suite"]
### Category
architecture
### Tags
graphql, api, schema, resolvers, federation
If user approves:
# Create plugin structure
mkdir -p /Users/cameron/Projects/claude-marketplace/plugins/graphql-development/{.claude-plugin,agents,commands}
# Create plugin.json
# Create agent file
# Create command files
# Update marketplace.json
# Update compositions.md
š Analyzing need: "GraphQL development"
š Existing Coverage Check
ā api-development - REST focus, no GraphQL
ā typescript-toolkit - Types, but no GraphQL codegen
ā No GraphQL-specific plugin found
š” Recommendation: Create new plugin
š¦ Proposed: graphql-development
āāā agents/graphql-expert.md
āāā commands/graphql.schema.md
āāā commands/graphql.mock.md
āāā skill ā registry/skills/graphql-patterns/
š Compositions: Add to full-stack-web, create api-focused
Scaffold now? [Y/n]
When using --from-context:
š Analyzing current project...
š Project: /Users/cameron/Projects/my-app
Type: Next.js + GraphQL
Dependencies: @apollo/client, graphql, graphql-codegen
š Marketplace Coverage
ā typescript-toolkit - Covered
ā api-development - Partially relevant
ā graphql-development - MISSING
š” Suggestion: Install graphql-development plugin
This would provide:
⢠Schema design patterns
⢠Resolver best practices
⢠Apollo Client patterns
⢠Codegen configuration
Create this plugin? [Y/n]