Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By smithdakv1.0.0MITIn 1 marketplace
Analyze XM Cloud projects for JSS patterns, GraphQL efficiency, and Next.js best practices
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Analyze Sitecore XM Cloud projects for JSS patterns, GraphQL efficiency, and Next.js best practices.
| Challenge | How This Helps |
|---|---|
| "Is my GraphQL efficient?" | Detects N+1 patterns, over-fetching, and missing fragments |
| "Are API keys exposed?" | Finds NEXT_PUBLIC_ misuse and hardcoded credentials |
| "Is SSR/SSG optimal?" | Identifies static content using getServerSideProps unnecessarily |
| "Does my TypeScript follow best practices?" | Catches any overuse, missing type guards, and JSS pattern violations |
| "Is my bundle size reasonable?" | Flags large imports and missing code splitting |
/plugin marketplace add https://github.com/twofoldtech-dakota/claude-marketplace.git
/plugin install xm-cloud@cms-analyzers-marketplace
# Run all agents (saves to docs/xm-cloud-analysis-{date}.md)
/xm-cloud:analyze
# Run specific agent
/xm-cloud:analyze architecture
/xm-cloud:analyze security
/xm-cloud:analyze performance
/xm-cloud:analyze graphql
# Custom output path
/xm-cloud:analyze --output ./reports/latest.md
# Display only, no file output
/xm-cloud:analyze --no-file
# Safe mode (structure only, no file content)
/xm-cloud:analyze --safe-mode
Report Output: By default, reports are saved to docs/xm-cloud-analysis-{date}.md. Use --output for custom paths or --no-file to skip file output.
Generate project-specific skills and commands for improved AI assistance:
# Generate project-specific enhancements
/xm-cloud:enhance
# Preview without writing files
/xm-cloud:enhance --dry-run
# Include code examples from codebase
/xm-cloud:enhance --include-examples
Generated Output (in .claude/skills/):
project-patterns/SKILL.md - Detected component, hook, and data fetching patternsarchitecture-guide/SKILL.md - Next.js structure and adding new componentsvocabulary.md - Domain terms and GraphQL naming conventionscommands/*.md - Custom commands for build, deploy, etc.Preview what files will be analyzed before running:
/xm-cloud:security-scan
Initial configuration with .claudeignore generation:
/xm-cloud:setup --generate-ignore
| Agent | Focus Areas |
|---|---|
| detector | JSS version, Next.js version, deployment target |
| architecture | App structure, component organization, layouts |
| code-quality | TypeScript quality, JSS patterns, React best practices |
| security | API key exposure, env vars, GraphQL introspection |
| performance | SSR vs SSG, bundle size, image optimization |
| graphql | Query efficiency, N+1 detection, fragment usage |
| dependencies | npm package compatibility, JSS version alignment |
| conventions | Component naming, file organization, hook patterns |
| pattern-extractor | Component patterns, hook patterns, data fetching conventions |
| skill-generator | Project-specific skill and command generation |
# XM Cloud Analysis Report
## Summary
- **Platform**: XM Cloud (JSS 22.0, Next.js 14.2)
- **Rendering Host**: Next.js (App Router)
- **Deployment**: Vercel
- **Issues Found**: 11 (1 Critical, 5 Warning, 5 Info)
## Scores
| Category | Score | Issues |
|----------|-------|--------|
| Architecture | A | 2 |
| TypeScript Quality | B+ | 3 |
| Security | A- | 1 |
| Performance | B | 3 |
| GraphQL | B+ | 2 |
## Critical Issues
### [SEC-002] API Key Exposed to Client
**Severity**: Critical
**Location**: `.env.local:3`
**Issue**: NEXT_PUBLIC_SITECORE_API_KEY exposes API key to browser
**Fix**: Rename to SITECORE_API_KEY (without NEXT_PUBLIC_)
| Code | Severity | Description |
|---|---|---|
| ARCH-001 | Critical | Mixed App Router and Pages Router |
| ARCH-002 | Warning | Components not in dedicated folder |
| ARCH-003 | Warning | Business logic in page components |
| Code | Severity | Description |
|---|---|---|
| SEC-001 | Critical | API key hardcoded in source |
| SEC-002 | Critical | API key exposed via NEXT_PUBLIC_ |
| SEC-003 | Critical | Sensitive data in getStaticProps |
| SEC-004 | Warning | GraphQL introspection enabled |
npx claudepluginhub smithdak/claude-marketplace --plugin xm-cloudBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground