New advertisers: 50% off your first month with code FIRSTMONTHSee slots
devsforge avatar

json-validator

Validation-focused JSON tool that checks schemas, formats files, and compares documents from Claude Code.

version
1.0.0
GitHub stars
79

What it does

  • Adds a json-validator command for validating and formatting JSON files against schema support
  • Covers JSONPath queries, diff comparison between JSON documents, and detailed error reporting
  • Provides schema validation as its core check, flagging structural mismatches in each file validated
  • Designed for developers who need JSON files checked and formatted without leaving their Claude Code session

Validate and format JSON files with schema support

Add marketplace

/plugin marketplace add devsforge/marketplace

Run it inside Claude Code once, then install the plugin below.

Install

/plugin install json-validator@devsforge-marketplace

Run it inside Claude Code after adding the marketplace.

Files

Discovered from source

DevsForge JSON Validator

DevsForge intelligent JSON validation and manipulation system that validates JSON against schemas, formats and prettifies JSON, performs JSONPath queries, compares JSON structures, and provides detailed error reporting for robust data handling.

Purpose

Transform JSON data management from error-prone manual validation to intelligent automation that ensures data integrity, schema compliance, and consistent formatting with powerful query and comparison capabilities.

Features

  • Schema Validation: Validate JSON against JSON Schema (draft-07, 2019-09, 2020-12)
  • JSON Formatting: Pretty-print and minify JSON with custom formatting
  • JSONPath Queries: Query and extract data using JSONPath expressions
  • JSON Diff: Compare JSON structures and highlight differences
  • Syntax Validation: Check for JSON syntax errors with detailed error messages
  • Type Checking: Verify data types and structure compliance
  • Custom Validators: Create custom validation rules for specific needs
  • Batch Validation: Validate multiple JSON files against schemas

Usage

/json-validator [action] [options]

Target: $ARGUMENTS (if specified, otherwise use current file)

Code Examples

JSON Validator (TypeScript)

import Ajv from 'ajv';
import addFormats from 'ajv-formats';
import * as fs from 'fs';
import * as jp from 'jsonpath';

interface ValidationResult {
  valid: boolean;
  errors: ValidationError[];
  warnings: string[];
}

interface ValidationError {
  path: string;
  message: string;
  keyword: string;
  params: any;
}

class JSONValidator {
  private ajv: Ajv;

  constructor() {
    this.ajv = new Ajv({
      allErrors: true,
      verbose: true,
      strict: false
    });
    addFormats(this.ajv);

    // Add custom formats
    this.ajv.addFormat('slug', /^[a-z0-9]+(?:-[a-z0-9]+)*$/);
    this.ajv.addFormat('phone', /^\+?[1-9]\d{1,14}$/);
  }

  validate(data: any, schema: any): ValidationResult {
    const validate = this.ajv.compile(schema);
    const valid = validate(data);

    const errors: ValidationError[] = [];
    const warnings: string[] = [];

    if (!valid && validate.errors) {
      for (const error of validate.errors) {
        errors.push({
          path: error.instancePath || '/',
          message: error.message || 'Validation error',
          keyword: error.keyword,
          params: error.params
        });
      }
    }

    // Additional warnings
    this.checkWarnings(data, warnings);

    return {
      valid,
      errors,
      warnings
    };
  }

  private checkWarnings(data: any, warnings: string[]): void {
    // Check for potential issues
    if (typeof data === 'object' && data !== null) {
      // Check for empty strings
      this.findEmptyStrings(data, '', warnings);

      // Check for large numbers
      this.findLargeNumbers(data, '', warnings);

      // Check for deep nesting
      const depth = this.getDepth(data);
      if (depth > 10) {
        warnings.push(`JSON is deeply nested (${depth} levels) - consider flattening`);
      }
    }
  }

  private findEmptyStrings(obj: any, path: string, warnings: string[]): void {
    for (const [key, value] of Object.entries(obj)) {
      const currentPath = path ? `${path}.${key}` : key;

      if (value === '') {
        warnings.push(`Empty string at path: ${currentPath}`);
      } else if (typeof value === 'object' && value !== null) {
        this.findEmptyStrings(value, currentPath, warnings);
      }
    }
  }

  private findLargeNumbers(obj: any, path: string, warnings: string[]): void {
    for (const [key, value] of Object.entries(obj)) {
      const currentPath = path ? `${path}.${key}` : key;

      if (typeof value === 'number' && Math.abs(value) > Number.MAX_SAFE_INTEGER) {
        warnings.push(`Number exceeds safe integer at path: ${currentPath}`);
      } else if (typeof value === 'object' && value !== null) {
        this.findLargeNumbers(value, currentPath, warnings);
      }
    }
  }

  private getDepth(obj: any, currentDepth: number = 0): number {
    if (typeof obj !== 'object' || obj === null) {
      return currentDepth;
    }

    const depths = Object.values(obj).map(value =>
      this.getDepth(value, currentDepth + 1)
    );

    return depths.length > 0 ? Math.max(...depths) : currentDepth;
  }

  format(json: string | object, options?: FormatOptions): string {
    const obj = typeof json === 'string' ? JSON.parse(json) : json;

    const space = options?.minify ? undefined : (options?.indent || 2);
    return JSON.stringify(obj, null, space);
  }

  query(data: any, path: string): any {
    return jp.query(data, path);
  }

  diff(obj1: any, obj2: any): JSONDiff[] {
    const differences: JSONDiff[] = [];
    this.compareObjects(obj1, obj2, '', differences);
    return differences;
  }

  private compareObjects(obj1: any, obj2: any, path: string, differences: JSONDiff[]): void {
    // Check if types are different
    if (typeof obj1 !== typeof obj2) {
      differences.push({
        path,
        type: 'type',
        oldValue: obj1,
        newValue: obj2,
        message: `Type changed from ${typeof obj1} to ${typeof obj2}`
      });
      return;
    }

    // Handle null
    if (obj1 === null || obj2 === null) {
      if (obj1 !== obj2) {
        differences.push({
          path,
          type: 'value',
          oldValue: obj1,
          newValue: obj2,
          message: 'Value changed'
        });
      }
      return;
    }

    // Handle arrays
    if (Array.isArray(obj1) && Array.isArray(obj2)) {
      if (obj1.length !== obj2.length) {
        differences.push({
          path,
          type: 'array-length',
          oldValue: obj1.length,
          newValue: obj2.length,
          message: `Array length changed from ${obj1.length} to ${obj2.length}`
        });
      }

      const maxLength = Math.max(obj1.length, obj2.length);
      for (let i = 0; i < maxLength; i++) {
        if (i >= obj1.length) {
          differences.push({
            path: `${path}[${i}]`,
            type: 'added',
            oldValue: undefined,
            newValue: obj2[i],
            message: 'Array item added'
          });
        } else if (i >= obj2.length) {
          differences.push({
            path: `${path}[${i}]`,
            type: 'removed',
            oldValue: obj1[i],
            newValue: undefined,
            message: 'Array item removed'
          });
        } else {
          this.compareObjects(obj1[i], obj2[i], `${path}[${i}]`, differences);
        }
      }
      return;
    }

    // Handle objects
    if (typeof obj1 === 'object' && typeof obj2 === 'object') {
      const keys1 = Object.keys(obj1);
      const keys2 = Object.keys(obj2);
      const allKeys = new Set([...keys1, ...keys2]);

      for (const key of allKeys) {
        const currentPath = path ? `${path}.${key}` : key;

        if (!(key in obj1)) {
          differences.push({
            path: currentPath,
            type: 'added',
            oldValue: undefined,
            newValue: obj2[key],
            message: 'Property added'
          });
        } else if (!(key in obj2)) {
          differences.push({
            path: currentPath,
            type: 'removed',
            oldValue: obj1[key],
            newValue: undefined,
            message: 'Property removed'
          });
        } else {
          this.compareObjects(obj1[key], obj2[key], currentPath, differences);
        }
      }
      return;
    }

    // Handle primitives
    if (obj1 !== obj2) {
      differences.push({
        path,
        type: 'value',
        oldValue: obj1,
        newValue: obj2,
        message: 'Value changed'
      });
    }
  }

  validateFile(filePath: string, schemaPath: string): ValidationResult {
    const data = JSON.parse(fs.readFileSync(filePath, 'utf-8'));
    const schema = JSON.parse(fs.readFileSync(schemaPath, 'utf-8'));
    return this.validate(data, schema);
  }

  formatFile(filePath: string, options?: FormatOptions): void {
    const content = fs.readFileSync(filePath, 'utf-8');
    const formatted = this.format(content, options);
    fs.writeFileSync(filePath, formatted);
    console.log(`✅ Formatted ${filePath}`);
  }
}

interface FormatOptions {
  indent?: number;
  minify?: boolean;
}

interface JSONDiff {
  path: string;
  type: 'value' | 'type' | 'added' | 'removed' | 'array-length';
  oldValue: any;
  newValue: any;
  message: string;
}

// Usage examples
const validator = new JSONValidator();

// Example 1: Validate JSON against schema
const userSchema = {
  type: 'object',
  required: ['name', 'email'],
  properties: {
    name: { type: 'string', minLength: 2 },
    email: { type: 'string', format: 'email' },
    age: { type: 'integer', minimum: 0, maximum: 120 },
    website: { type: 'string', format: 'uri' }
  }
};

const userData = {
  name: 'John Doe',
  email: 'john@example.com',
  age: 30,
  website: 'https://johndoe.com'
};

const result = validator.validate(userData, userSchema);
console.log('Validation Result:', result);

if (!result.valid) {
  console.log('Errors:');
  result.errors.forEach(err => {
    console.log(`  - ${err.path}: ${err.message}`);
  });
}

// Example 2: Format JSON
const uglyJSON = '{"name":"John","age":30,"hobbies":["reading","coding"]}';
const pretty = validator.format(uglyJSON);
console.log('Formatted JSON:');
console.log(pretty);

// Example 3: JSONPath query
const data = {
  users: [
    { name: 'Alice', age: 30, active: true },
    { name: 'Bob', age: 25, active: false },
    { name: 'Charlie', age: 35, active: true }
  ]
};

const activeUsers = validator.query(data, '$.users[?(@.active)]');
console.log('Active users:', activeUsers);

// Example 4: JSON Diff
const oldData = {
  name: 'John',
  age: 30,
  city: 'New York'
};

const newData = {
  name: 'John',
  age: 31,
  city: 'San Francisco',
  email: 'john@example.com'
};

const diff = validator.diff(oldData, newData);
console.log('Differences:');
diff.forEach(d => {
  console.log(`  ${d.path}: ${d.message}`);
  console.log(`    Old: ${JSON.stringify(d.oldValue)}`);
  console.log(`    New: ${JSON.stringify(d.newValue)}`);
});

CLI Tool

#!/usr/bin/env node
import { Command } from 'commander';
import { JSONValidator } from './json-validator';
import * as fs from 'fs';

const program = new Command();

program
  .name('json-validator')
  .description('Validate and manipulate JSON files')
  .version('1.0.0');

program
  .command('validate')
  .description('Validate JSON against schema')
  .requiredOption('-i, --input <file>', 'Input JSON file')
  .requiredOption('-s, --schema <file>', 'JSON Schema file')
  .action((options) => {
    const validator = new JSONValidator();
    const result = validator.validateFile(options.input, options.schema);

    if (result.valid) {
      console.log('✅ Validation passed');
    } else {
      console.log('❌ Validation failed');
      result.errors.forEach(err => {
        console.log(`  ${err.path}: ${err.message}`);
      });
    }

    if (result.warnings.length > 0) {
      console.log('\\n⚠️  Warnings:');
      result.warnings.forEach(w => console.log(`  ${w}`));
    }
  });

program
  .command('format')
  .description('Format JSON file')
  .requiredOption('-i, --input <file>', 'Input JSON file')
  .option('-o, --output <file>', 'Output file (default: overwrite input)')
  .option('--minify', 'Minify JSON')
  .option('--indent <spaces>', 'Indentation spaces', '2')
  .action((options) => {
    const validator = new JSONValidator();
    const content = fs.readFileSync(options.input, 'utf-8');
    const formatted = validator.format(content, {
      minify: options.minify,
      indent: parseInt(options.indent)
    });

    const output = options.output || options.input;
    fs.writeFileSync(output, formatted);
    console.log(`✅ Formatted and saved to ${output}`);
  });

program
  .command('query')
  .description('Query JSON using JSONPath')
  .requiredOption('-i, --input <file>', 'Input JSON file')
  .requiredOption('-q, --query <path>', 'JSONPath query')
  .action((options) => {
    const validator = new JSONValidator();
    const data = JSON.parse(fs.readFileSync(options.input, 'utf-8'));
    const result = validator.query(data, options.query);
    console.log(JSON.stringify(result, null, 2));
  });

program
  .command('diff')
  .description('Compare two JSON files')
  .requiredOption('-o, --old <file>', 'Old JSON file')
  .requiredOption('-n, --new <file>', 'New JSON file')
  .action((options) => {
    const validator = new JSONValidator();
    const oldData = JSON.parse(fs.readFileSync(options.old, 'utf-8'));
    const newData = JSON.parse(fs.readFileSync(options.new, 'utf-8'));
    const diff = validator.diff(oldData, newData);

    if (diff.length === 0) {
      console.log('✅ No differences found');
    } else {
      console.log(`Found ${diff.length} differences:`);
      diff.forEach(d => {
        console.log(`\\n${d.path}:`);
        console.log(`  Type: ${d.type}`);
        console.log(`  Message: ${d.message}`);
        if (d.oldValue !== undefined) {
          console.log(`  Old: ${JSON.stringify(d.oldValue)}`);
        }
        if (d.newValue !== undefined) {
          console.log(`  New: ${JSON.stringify(d.newValue)}`);
        }
      });
    }
  });

program.parse();

Best Practices

Validation

  • Schema First: Define schemas before implementing features
  • Strict Validation: Use strict schemas in production
  • Error Handling: Provide clear error messages
  • Version Schemas: Track schema versions for API changes
  • Custom Validators: Create domain-specific validators

Data Management

  • Format Consistently: Use consistent JSON formatting
  • Avoid Deep Nesting: Keep JSON structures shallow
  • Use Arrays: Use arrays for lists instead of numbered keys
  • Type Safety: Ensure consistent data types
  • Documentation: Document JSON structure and schemas

Performance

  • Compile Schemas: Cache compiled schemas for better performance
  • Stream Large Files: Use streaming for large JSON files
  • Optimize Queries: Use efficient JSONPath expressions
  • Batch Operations: Process multiple files efficiently
  • Memory Management: Be cautious with large JSON files

DevsForge JSON Validator - Enterprise-grade JSON validation, formatting, querying, and comparison with comprehensive schema support and detailed error reporting.

From the devsforge/marketplace README

Disclaimer: DevsForge Marketplace is an independent, community-developed open-source project. It is not affiliated with, endorsed by, or officially associated with Anthropic, PBC or any of its products (including Claude, Claude Code, or the Claude API). "Claude" and "Anthropic" are trademarks of Anthropic, PBC. This project is a third-party plugin built by the community to extend Claude Code functionality.


🚀 DevsForge Marketplace

Version Plugins License Claude Code Stars

The Ultimate Plugin Ecosystem for Claude Code

161 Enterprise-Grade Plugins | 93 AI Agents | 65 Commands | 3 Super Plugins

Get Started • Browse Plugins • Documentation • Contributing


⚡ What's New in v1.2

✅ Plugin Compliance & Quality

All 161 plugins validated for Claude Code CLI

Fixes Applied:

  • 🔧 Removed invalid commands field from 65 command plugins
  • ✅ All plugin.json files validated
  • 📁 Auto-discovery pattern for commands
  • 🏗️ Super plugins structure retained

🏗️ Super Plugins (Advanced)

Multi-component platforms with hooks & MCP servers

Features:

  • 🤖 AI Agent orchestration
  • 🏢 Enterprise workspace management
  • 🔧 Complete DevOps automation
  • 📊 Real-time state tracking
  • ✨ Event-driven workflows

✨ Why DevsForge Marketplace?


🎨

Curated Quality

Every plugin manually reviewed & enterprise-tested


⚡

Production Ready

Battle-tested in real-world scenarios


🔒

Security First

Zero dependencies, fully audited code


🚀

Advanced Features

Hooks, MCP servers, automation


💯

100% Original

No copycat plugins, pure innovation


🎯 Quick Start

Installation

# 🔥 One command to rule them all
/plugin marketplace add https://github.com/devsforge/marketplace.git

# ✅ Verify installation
/plugin marketplace list

# 🎉 Expected: devsforge-marketplace (1.2.0) - 161 plugins available

Using Plugins

# 🔍 Browse available plugins
/plugin

# 📦 Install specific plugin
/plugin install ai-architect@devsforge-marketplace

# 🚀 Install super plugin (with hooks & MCP)
/plugin install enterprise-workspace@devsforge-marketplace

# 📋 Manage plugins
/plugin list                              # List installed
/plugin update ai-architect@devsforge-marketplace   # Update plugin
/plugin remove debugger@devsforge-marketplace       # Remove plugin

🎨 Featured Categories

🤖 AI & Machine Learning (12 plugins)
  • ai-architect - ML optimization & AI system design
  • ai-ethics-officer - Ethical AI governance
  • vision-specialist - Computer vision & image processing
  • data-scientist - Data analysis & BigQuery operations
  • data-analyst - Analytics & business intelligence
🔒 Security & Compliance (15 plugins)
  • enterprise-security-reviewer - B2B security assessments
  • security-scanner - Vulnerability detection & remediation
  • authentication-specialist - JWT, OAuth2, security patterns
  • cors-security-expert - CORS configuration & best practices
  • data-privacy-engineer - GDPR compliance & data protection
  • compliance-automation-specialist - Regulatory automation
  • legal-compliance-checker - Legal compliance validation
💻 Development & Code Quality (25 plugins)
  • code-quality-expert - Code governance & security
  • code-migrator - Legacy code modernization
  • debugger - Advanced debugging methodologies
  • web-dev - React, Next.js, NestJS, TypeScript
  • python-expert - Advanced Python development
  • database-expert ⚡ NEW - SQL optimization & query tuning
  • docker-specialist ⚡ NEW - Container optimization
  • git-workflow-expert ⚡ NEW - Advanced Git strategies
  • rest-api-designer ⚡ NEW - REST API best practices
  • graphql-specialist ⚡ NEW - GraphQL schema design
🔧 DevOps & Infrastructure (18 plugins)
  • devops-automator - CI/CD & infrastructure automation
  • deployment-engineer - Production deployment strategies
  • cloud-architect - Multi-cloud architecture
  • monitoring-observability-specialist - System monitoring
  • sre-reliability-engineer - Site reliability engineering
  • cost-optimizer - Cloud cost optimization
🧪 Testing & QA (10 plugins)
  • testing-orchestrator - Test automation frameworks
  • unit-test-generator - Automated test generation
  • api-quality-assurance - API testing & validation
  • performance-benchmarker - Performance testing
  • test-writer-fixer - Test creation & maintenance
📝 Documentation & Knowledge (8 plugins)
  • codebase-documenter - Comprehensive code documentation
  • technical-writer-pro - Technical documentation
  • api-docs-generator - OpenAPI/Swagger docs
  • doc-generator - Auto-documentation generation
🎨 Design & UX (8 plugins)
  • ui-designer - Beautiful, functional interfaces
  • ui-ux-engineer - React/Vue/Angular components
  • accessibility-architect - WCAG 2.1 AA compliance
  • mobile-ux-optimizer - Mobile-first experiences
  • ux-researcher - User research & journey maps
📊 Data & Analytics (7 plugins)
  • data-analyst - Analytics methodologies
  • data-scientist - SQL queries & data insights
  • database-performance-optimizer - Database optimization
  • sql-query-optimizer - Advanced SQL optimization
🏢 Enterprise & Business (12 plugins)
  • software-architect - Scalable architecture design
  • system-architect - Backend design & integration
  • b2b-project-shipper - B2B project delivery
  • customer-success-manager - Customer success ops
  • technical-sales-engineer - Technical sales support
  • pricing-packaging-specialist - Pricing strategies
🚀 Productivity & Automation (15 plugins)
  • workflow-optimizer - Workflow optimization
  • project-shipper - Launch & release management
  • sprint-prioritizer - Sprint planning & prioritization
  • experiment-tracker - Experiment tracking & analysis
  • finance-tracker - Budget & cost management
⚡ Super Plugins - Advanced (3 plugins)

🏢 enterprise-workspace

Complete workspace management platform with hooks & MCP

Components:

  • 3 Commands: workspace-init, workspace-sync, workspace-audit
  • 2 Agents: workspace-architect, compliance-auditor
  • 1 Hook: PostToolUse validation
  • 1 MCP Server: workspace-state
  • 1 Script: validate-workspace.sh

Features:

  • ✅ Architecture governance
  • ✅ Compliance tracking
  • ✅ Automated validation
  • ✅ State management

🤖 ai-studio-orchestrator

Advanced multi-agent coordination platform

Components:

  • 3 Commands: orchestrate-task, monitor-performance, optimize-workflow
  • 2 Agents: task-coordinator, performance-analyzer
  • 1 Hook: PreToolUse logging
  • 1 MCP Server: orchestrator
  • 1 Script: task-logger.sh

Features:

  • ✅ Task distribution
  • ✅ Load balancing
  • ✅ Performance analytics
  • ✅ Real-time monitoring

🔧 devops-platform

Complete DevOps automation platform

Components:

  • 3 Commands: setup-pipeline, deploy-application, manage-infrastructure
  • 2 Agents: cicd-architect, infrastructure-engineer
  • 1 Hook: PostToolUse config validation
  • 1 MCP Server: devops-state
  • 1 Script: validate-devops-config.sh

Features:

  • ✅ CI/CD pipelines (GitHub Actions, Jenkins, GitLab CI)
  • ✅ Zero-downtime deployments
  • ✅ Infrastructure as Code (Terraform, CloudFormation)
  • ✅ Security scanning

📊 Marketplace Statistics

CategoryCountDescription
🤖 Agents93AI-powered development assistants
⚡ Commands65Instant productivity tools
🚀 Super Plugins3Advanced multi-component platforms
Total161Production-ready plugins

Quality Metrics

  • ✅ Average Documentation: 250+ lines per plugin
  • ✅ Code Examples: Real-world templates included
  • ✅ Testing: Enterprise-grade validation
  • ✅ Security: Zero external dependencies
  • ✅ Maintenance: Regular updates & improvements

🏗️ Architecture

devsforge-marketplace/
├── .claude-plugin/
│   └── marketplace.json          # 📋 Marketplace registry (161 plugins)
│
├── plugins/
│   ├── agents/                    # 🤖 93 AI Agent Plugins
│   │   ├── ai-architect/
│   │   │   ├── .claude-plugin/
│   │   │   │   └── plugin.json
│   │   │   └── agents/
│   │   │       └── ai-engineer.md
│   │   ├── database-expert/       ⚡ NEW in v1.1
│   │   ├── docker-specialist/     ⚡ NEW in v1.1
│   │   ├── git-workflow-expert/   ⚡ NEW in v1.1
│   │   └── ... (90 more agents)
│   │
│   ├── commands/                  # ⚡ 65 Command Plugins
│   │   ├── api-designer/
│   │   │   ├── .claude-plugin/
│   │   │   │   └── plugin.json
│   │   │   └── commands/
│   │   │       └── api-designer.md
│   │   ├── env-validator/         ⚡ NEW in v1.1
│   │   ├── import-organizer/      ⚡ NEW in v1.1
│   │   └── ... (62 more commands)
│   │
│   └── super/                     # 🚀 3 Super Plugins
│       ├── enterprise-workspace/
│       │   ├── .claude-plugin/
│       │   │   └── plugin.json    # With hooks & MCP
│       │   ├── commands/          # Multiple commands
│       │   ├── agents/            # Multiple agents
│       │   ├── scripts/           # Automation scripts
│       │   └── servers/           # MCP servers
│       ├── ai-studio-orchestrator/
│       └── devops-platform/
│
└── README.md                      # 📖 This file

🎓 Documentation

Plugin Installation Examples

# 🤖 AI & Machine Learning
/plugin install ai-architect@devsforge-marketplace
/plugin install data-scientist@devsforge-marketplace
/plugin install vision-specialist@devsforge-marketplace

# 💻 Development Tools
/plugin install web-dev@devsforge-marketplace
/plugin install python-expert@devsforge-marketplace
/plugin install debugger@devsforge-marketplace

# 🔒 Security & Compliance
/plugin install security-scanner@devsforge-marketplace
/plugin install authentication-specialist@devsforge-marketplace
/plugin install cors-security-expert@devsforge-marketplace

# 🔧 DevOps & Infrastructure
/plugin install devops-automator@devsforge-marketplace
/plugin install docker-specialist@devsforge-marketplace
/plugin install cloud-architect@devsforge-marketplace

# ⚡ Productivity Commands
/plugin install code-review@devsforge-marketplace
/plugin install fix-github-issue@devsforge-marketplace
/plugin install pr-creator@devsforge-marketplace

# 🚀 Super Plugins (Advanced)
/plugin install enterprise-workspace@devsforge-marketplace
/plugin install ai-studio-orchestrator@devsforge-marketplace
/plugin install devops-platform@devsforge-marketplace

Marketplace Management

# 📋 List installed marketplaces
/plugin marketplace list

# 🔄 Update marketplace
/plugin marketplace update devsforge-marketplace

# 🗑️ Remove marketplace
/plugin marketplace remove devsforge-marketplace

# 🔍 Search plugins
/plugin search "security"
/plugin search "api design"

# 📊 Show plugin details
/plugin info ai-architect@devsforge-marketplace

🛠️ Troubleshooting

❌ Marketplace Not Loading

Symptoms: Marketplace doesn't appear in /plugin marketplace list

Solutions:

  1. ✅ Verify .claude-plugin/marketplace.json exists in repository root
  2. ✅ Check JSON syntax: claude plugin validate .
  3. ✅ Ensure Git repository is accessible and cloned correctly
  4. ✅ Restart Claude Code CLI after adding marketplace
❌ Plugin Installation Failures

Symptoms: Error message "Plugin not found" or installation timeout

Solutions:

  1. ✅ Verify plugin source paths are correct: ./plugins/[type]/[name]
  2. ✅ Ensure all required files exist: .claude-plugin/plugin.json, commands/*.md or agents/*.md
  3. ✅ Check network connectivity for Git-based plugin sources
  4. ✅ Try explicit version: /plugin install [name]@devsforge-marketplace@1.0.0
❌ Super Plugin Issues

Symptoms: Hooks not triggering or MCP server connection errors

Solutions:

  1. ✅ Verify ${CLAUDE_PLUGIN_ROOT} environment variable resolves correctly
  2. ✅ Check script permissions: chmod +x on Linux/Mac
  3. ✅ Ensure Node.js is installed for MCP server JavaScript files
  4. ✅ Review Claude Code logs for hook execution errors
❌ Performance Issues

Symptoms: Slow marketplace loading or plugin installation

Solutions:

  1. ✅ Check internet connection speed (GitHub clone performance)
  2. ✅ Verify available disk space (minimum 50MB required)
  3. ✅ Close unnecessary applications to free system resources
  4. ✅ Use local path installation for faster access after initial clone

🤝 Contributing

We welcome contributions! Here's how you can help:

🎯 Contributing New Plugins

  1. 🍴 Fork the repository
  2. 📁 Create plugin structure in appropriate directory (agents/, commands/, or super/)
  3. 📝 Follow plugin.json schema requirements
  4. 📖 Add comprehensive documentation (200-700+ lines recommended)
  5. 🧪 Test thoroughly with Claude Code CLI
  6. 🚀 Submit pull request with detailed description

📋 Plugin Quality Standards

  • ✅ Minimum 200 lines of documentation
  • ✅ Real-world code examples and templates
  • ✅ Phase-based methodologies
  • ✅ Best practices and anti-patterns
  • ✅ Quality metrics and KPIs
  • ✅ Business impact analysis

💡 Contributing Ideas

  • 💬 Open a GitHub Discussion with plugin proposal
  • 📝 Describe use case and business value
  • 💻 Provide examples of desired functionality
  • 🗳️ Community votes on most valuable additions

🔒 Security & Trust

⚠️ Important Disclaimer

DevsForge Marketplace is an independent, community-driven project

  • ❌ NOT affiliated with Anthropic or Claude
  • ❌ NOT officially endorsed or connected to Anthropic
  • ✅ Community maintained by open-source contributors
  • ⚠️ Use at your own risk - review plugin code before production use

Security Measures

Our Practices:

  • ✅ Security vulnerability scanning
  • ✅ Static code analysis
  • ✅ Zero third-party dependencies
  • ✅ Open source transparency
  • ✅ Community moderation
  • ✅ Regular security audits

Your Responsibilities:

  • 🔍 Review plugin source code
  • 🧪 Test in development first
  • 🐛 Report security issues on GitHub
  • 🔄 Keep plugins updated
  • 🔒 Follow least privilege principle
  • 📖 Read documentation carefully

📜 License

MIT License - See LICENSE for details

Copyright (c) 2025 DevsForge Community


🙏 Acknowledgments

Built with ❤️ by the DevsForge Community

Special thanks to:

  • 🎨 Anthropic for Claude Code CLI platform
  • 💻 All plugin contributors and testers
  • 🏢 Enterprise users providing valuable feedback
  • 🌟 Open source community for inspiration

🚀 Ready to supercharge your Claude Code experience?

Get Started Now • Browse Plugins • Contribute


DevsForge Marketplace v1.2 - The Ultimate Plugin Ecosystem for Claude Code

Made with Love Community Driven Production Ready

Details

Marketplace
devsforge/marketplace
Source
plugins/commands/json-validator
Author
DevsForge Community
Category
Commands
Keywords
devsforge, command, json, validator
Listed since
Apr 7, 2026

More from devsforge/marketplace

All 161

Similar to json-validator

More Developer Tools