Help us improve
Share bugs, ideas, or general feedback.
From sitecore-classic
Analyze Sitecore 10.x projects for architecture, security, and performance issues
npx claudepluginhub twofoldtech-dakota/claude-marketplace --plugin sitecore-classic-analyzerHow this command is triggered — by the user, by Claude, or both
Slash command
/sitecore-classic:analyzeThe summary Claude sees in its command listing — used to decide when to auto-load this command
# Sitecore Classic Analyzer
Analyze Sitecore 10.x projects with comprehensive checks for Helix compliance, security, and performance.
## Usage
## Report Output
By default, the analysis report is written to a markdown file in the `docs/` directory.
### Output Options
| Option | Description |
|--------|-------------|
| (default) | Write to `docs/sitecore-classic-analysis-{date}.md` |
| `--output <path>` | Custom output path |
| `--no-file` | Display report only, don't write to file |
| `--severity <level>` | Filter issues by minimum severity: `critical`, `warning`, or `info` |
| `--ba.../analyzeAnalyzes project code across quality, security, performance, and architecture domains, producing severity-rated findings, actionable recommendations, metrics, and reports.
/sc-analyzeAnalyzes project code across quality, security, performance, and architecture domains, generating prioritized findings, actionable recommendations, and reports.
/health-checkAssesses .NET solution health across 6 dimensions (build/compiler, anti-patterns, architecture, test coverage, dead code, dependencies), producing A-F grades, overall score, and actionable report.
/analyzeAnalyzes repository code health via complexity metrics, git churn, and test coverage. Generates report with overview, critical issues, warnings, recommendations.
/analyzeGuides through an interactive analysis of marketing campaign performance, collecting scope, period, type, and metrics focus to produce insights and recommendations.
/analyzeScans codebase for features, components, APIs, and models; interviews user for business context; generates and saves product inventory and architecture reports to .pm/.
Share bugs, ideas, or general feedback.
Analyze Sitecore 10.x projects with comprehensive checks for Helix compliance, security, and performance.
/sitecore-classic:analyze # Run all agents
/sitecore-classic:analyze all # Run all agents (explicit)
/sitecore-classic:analyze architecture # Helix compliance only
/sitecore-classic:analyze security # Security checks only
/sitecore-classic:analyze performance # Performance analysis only
/sitecore-classic:analyze serialization # Serialization config only
/sitecore-classic:analyze quality # Code quality only
/sitecore-classic:analyze dependencies # NuGet analysis only
/sitecore-classic:analyze conventions # Naming/structure only
By default, the analysis report is written to a markdown file in the docs/ directory.
| Option | Description |
|---|---|
| (default) | Write to docs/sitecore-classic-analysis-{date}.md |
--output <path> | Custom output path |
--no-file | Display report only, don't write to file |
--severity <level> | Filter issues by minimum severity: critical, warning, or info |
--baseline <path> | Suppress known issues listed in baseline file |
--changes-only | Only analyze files changed since last commit (git diff) |
# Default: writes to docs/sitecore-classic-analysis-2026-01-11.md
/sitecore-classic:analyze
# Custom output path
/sitecore-classic:analyze --output ./reports/latest.md
# Display only, no file output
/sitecore-classic:analyze --no-file
When generating the report:
Create the output directory if it doesn't exist:
mkdir -p docs
Generate filename with timestamp:
sitecore-classic-analysis-YYYY-MM-DD.mdsitecore-classic-analysis-YYYY-MM-DD-HHmmss.mdWrite the full markdown report to the file
Display confirmation:
Report saved to: docs/sitecore-classic-analysis-2026-01-11.md
First, run the detector agent to identify:
If detection identifies this as an XM Cloud project (xmcloud.build.json present), recommend using /xm-cloud:analyze instead and exit.
Based on the argument:
| Argument | Agents to Run |
|---|---|
all (default) | All 8 agents |
architecture | architecture |
security | security |
performance | performance |
serialization | serialization |
quality | code-quality |
dependencies | dependencies |
conventions | conventions |
Collect findings from all agents and generate consolidated report.
Generate a markdown report with this structure:
# Sitecore Classic Analysis Report
**Generated**: [timestamp]
**Project Path**: [path]
## Summary
- **Platform**: Sitecore [version] ([architecture])
- **Modules**: [list of detected modules]
- **Serialization**: [format]
- **Issues Found**: X (Y Critical, Z Warning, W Info)
## Scores
| Category | Score | Issues |
|----------|-------|--------|
| Helix Compliance | XX% | N |
| Security | [A-F] | N |
| Performance | [A-F] | N |
| Code Quality | [A-F] | N |
## Critical Issues
[List all Critical severity issues with full details]
### [CODE] Issue Title
**Severity**: Critical
**Location**: `file:line`
**Issue**: Description of what's wrong
**Impact**: Why this matters
**Fix**: How to resolve
## Warnings
[List all Warning severity issues]
## Info
[List all Info severity issues]
## Recommendations
[Prioritized list of recommended actions]
1. [Most important action]
2. [Second priority]
3. ...
Score = (Valid Dependencies / Total Dependencies) × 100
A: 0 Critical, 0-1 Warning
B: 0 Critical, 2-3 Warning
C: 1 Critical or 4-5 Warning
D: 2 Critical or 6+ Warning
F: 3+ Critical
A: 0 Critical, 0-2 Warning
B: 0 Critical, 3-4 Warning
C: 1 Critical or 5-6 Warning
D: 2 Critical or 7+ Warning
F: 3+ Critical
A: 0 Critical, 0-3 Warning
B: 0 Critical, 4-6 Warning
C: 1 Critical or 7-9 Warning
D: 2 Critical or 10+ Warning
F: 3+ Critical
Use --severity to focus on specific issue levels:
# Show only critical issues
/sitecore-classic:analyze --severity critical
# Show critical and warnings (skip info)
/sitecore-classic:analyze --severity warning
Use --baseline to suppress known/accepted issues:
# Use baseline file
/sitecore-classic:analyze --baseline .claude/analyzer-baseline.json
# Generate baseline from current issues
/sitecore-classic:analyze --output .claude/analyzer-baseline.json --baseline-generate
Baseline file format (.claude/analyzer-baseline.json):
{
"version": "1.0",
"created": "2026-01-27T10:00:00Z",
"issues": [
{
"code": "ARCH-001",
"location": "src/Feature/Navigation/code/Services/NavigationService.cs",
"reason": "Legacy code, scheduled for refactoring in Q2",
"expires": "2026-06-01"
}
]
}
Use --changes-only for faster CI/CD feedback:
# Analyze only changed files
/sitecore-classic:analyze --changes-only
# Combine with severity filter
/sitecore-classic:analyze --changes-only --severity warning
This uses git diff to identify changed files and only runs analysis on those files.
dotnet CLI to be available--changes-only requires git to be available