Shannon-aware project analysis with complexity assessment and confidence validation
Performs Shannon-aware project analysis with complexity assessment and confidence validation
/plugin marketplace add krzemienski/shannon-framework/plugin install shannon@shannon-frameworkPerforms comprehensive Shannon-aware project analysis using the shannon-analysis skill. Provides multi-dimensional analysis of codebase, architecture, patterns, and technical debt with objective scoring. Optionally validates findings with confidence checking.
Check analysis scope:
Use the @skill shannon-analysis skill to perform analysis:
Invocation:
@skill shannon-analysis
- Input:
* scope: "full" | "aspect_name"
* depth: "standard" | "deep" (if --deep flag)
* aspect: User-provided aspect (optional)
- Options:
* include_architecture: true
* include_patterns: true
* include_technical_debt: true
* save_to_serena: true
- Output: analysis_result
The shannon-analysis skill will:
If --deep flag provided, validate analysis confidence:
Invocation:
@skill confidence-check
- Input: analysis_result from Step 2
- Options:
* validation_depth: "thorough"
* check_assumptions: true
* verify_metrics: true
- Output: confidence_score
The confidence-check skill will:
Format and display analysis results:
š Shannon Project Analysis
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
**Scope**: {scope}
**Analysis Depth**: {standard | deep}
{if confidence_score}
**Confidence**: {confidence_score}/1.0 ({high | medium | low})
{end if}
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
Architecture Assessment
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
**Pattern**: {architectural_pattern}
**Complexity**: {complexity_score}/1.0
Structure:
{architecture_breakdown}
Strengths:
{for each strength}
ā
{strength_description}
Weaknesses:
{for each weakness}
ā ļø {weakness_description}
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
Technology Stack
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
Primary Languages:
{for each language}
āā {language}: {percentage}%
Frameworks:
{for each framework}
āā {framework_name} ({framework_version})
Dependencies:
āā Total: {dependency_count}
āā Outdated: {outdated_count}
āā Vulnerable: {vulnerable_count}
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
Technical Debt
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
**Overall Score**: {debt_score}/100
Hot Spots:
{for each hot_spot}
š“ {file_path}
- Complexity: {complexity_metric}
- Issues: {issue_count}
- Priority: {priority}
Areas of Concern:
{for each concern}
āā {concern_category}: {concern_description}
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
Recommendations
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
High Priority:
{for each high_priority}
1. {recommendation}
Impact: {impact_level}
Effort: {effort_estimate}
Medium Priority:
{for each medium_priority}
- {recommendation}
Low Priority:
{for each low_priority}
- {recommendation}
{if saved_to_serena}
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
š¾ Analysis saved to Serena MCP
Key: {analysis_key}
Retrieve: /shannon:restore {timestamp}
{else}
ā ļø Analysis not saved (Serena MCP unavailable)
{end if}
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
Next Steps:
{if complexity_score >= 0.70}
- Run /shannon:wave to create implementation plan
- Consider wave-based execution for refactoring
- Create checkpoint: /shannon:wave before-refactor
{else if technical_debt_score >= 0.60}
- Address high-priority technical debt items
- Run functional tests to validate improvements
- Create checkpoint: /shannon:wave debt-baseline
{else}
- Codebase in good health
- Continue with standard development workflow
{end if}
{if deep_analysis}
Display confidence validation results:
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
šÆ Confidence Validation
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
**Overall Confidence**: {confidence_score}/1.0 ({confidence_label})
Metric Accuracy: {metric_accuracy_score}
Assumption Validity: {assumption_validity_score}
Data Completeness: {data_completeness_score}
{if low_confidence_findings}
ā ļø Low Confidence Findings:
{for each finding}
- {finding_description}
Confidence: {finding_confidence}
Reason: {reason}
Recommendation: {recommendation}
{end for}
{end if}
{if high_confidence}
ā
High confidence in all findings
Analysis results are reliable
{end if}
{end if}
See Step 4 presentation template above.
/shannon:analyze
Analyzes entire project with standard depth.
/shannon:analyze authentication
Focuses on authentication component/module.
/shannon:analyze --deep
Performs thorough analysis with confidence validation.
/shannon:analyze api-layer --deep
Deep analysis of API layer with confidence scoring.