Skip to content

Latest commit

 

History

History
122 lines (85 loc) · 3.45 KB

File metadata and controls

122 lines (85 loc) · 3.45 KB

Plugin Fix Summary: business-analytics

Date: 2026-01-14 | Status: ✓ Fixed | Plugin: business-analytics@claude-code-workflows v1.2.1


Problem

The business-analytics plugin failed validation due to missing required structure files from upstream distribution.

Symptoms:

  • Plugin enabled but non-functional
  • Commands, skills, and agents not loading
  • /doctor validation failures

Root Cause: Upstream marketplace plugin incomplete - missing:

  • .claude-plugin/plugin.json (manifest)
  • README.md (documentation)
  • commands/ directory (slash commands)
  • .gitignore (development hygiene)

Solution

Created missing files in cached plugin directory:

~/.claude/plugins/cache/claude-code-workflows/business-analytics/1.2.1/
├── .claude-plugin/plugin.json  # Plugin manifest and metadata
├── README.md                    # 4KB comprehensive documentation
├── commands/analyze-metrics.md  # 3.8KB command implementation
└── .gitignore                   # Standard ignore patterns

Files Created:

  1. plugin.json (2026-01-14 12:27) - Plugin registration metadata
  2. README.md (2026-01-14 12:34) - Usage docs, examples, features
  3. analyze-metrics.md (2026-01-14 12:35) - Interactive command definition
  4. .gitignore (2026-01-14 12:35) - Development hygiene

Validation

# Verify structure
ls -la ~/.claude/plugins/cache/claude-code-workflows/business-analytics/1.2.1/

# Test command
/business-analytics:analyze-metrics  # Within Claude Code

# Check logs
tail -100 ~/.claude/debug/*.txt | grep "business-analytics"
# Should show: "Loaded 2 skills from plugin business-analytics"

Prevention

Report to upstream: https://github.com/wshobson/agents

  • Maintainer: Seth Hobson (seth@major7apps.com)
  • Issue: Missing required plugin scaffolding files
  • Request: Add complete structure before marketplace publication

Before enabling new plugins:

# Check for required files
ls -la ~/.claude/plugins/marketplaces/<marketplace>/<plugin>/.claude-plugin/plugin.json
ls -la ~/.claude/plugins/marketplaces/<marketplace>/<plugin>/README.md

After enabling:

# Run validation
/doctor  # Within Claude Code

Impact

Before Fix: Plugin completely non-functional despite being "enabled"

After Fix:

  • ✓ 2 skills active (kpi-dashboard-design, data-storytelling)
  • ✓ 1 command available (/business-analytics:analyze-metrics)
  • ✓ 1 agent operational (business-analyst)
  • ✓ Plugin passes validation checks

Technical Notes

Why this works: Claude Code loads plugins from cache directory (~/.claude/plugins/cache/), not marketplace. Fixing cache files intercepts load failures.

Persistence: Fix persists until plugin reinstall/update or cache clear.

Similar issues: Other marketplace plugins may have same structural gaps. Use validation workflow above.


References


Quick Reference:

# Plugin location (fixed)
~/.claude/plugins/cache/claude-code-workflows/business-analytics/1.2.1/

# Marketplace source (incomplete)
~/.claude/plugins/marketplaces/claude-code-workflows/plugins/business-analytics/

# Usage
/business-analytics:analyze-metrics  # Interactive metrics analysis