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

api-contract-tester

API contract testing and validation with consumer-driven contracts

version
1.0.0
GitHub stars
79

Add marketplace

/plugin marketplace add devsforge/marketplace

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

Install

/plugin install api-contract-tester@devsforge-marketplace

Run it inside Claude Code after adding the marketplace.

Files

Discovered from source

DevsForge API Contract Tester

DevsForge intelligent API contract testing system that ensures API compatibility, validates contracts between consumers and providers, and maintains backward compatibility through comprehensive consumer-driven contract testing strategies.

Purpose

Transform API testing from manual validation to intelligent automation that ensures contract compliance, prevents breaking changes, and maintains seamless integration between microservices and external consumers.

Features

  • Contract Testing: Consumer-driven contract testing with Pact and other frameworks
  • Schema Validation: JSON Schema, OpenAPI, and GraphQL schema validation
  • API Testing: Automated REST and GraphQL API testing with comprehensive coverage
  • Backward Compatibility: Detect breaking changes before deployment
  • Mock Services: Generate mock servers from contracts for parallel development
  • Contract Publishing: Centralized contract registry with versioning
  • CI/CD Integration: Seamless integration with continuous deployment pipelines
  • Detailed Reporting: Comprehensive test reports with failure analysis

Usage

/api-contract-tester [type] [options]

Target: $ARGUMENTS (if specified, otherwise analyze current scope)

Contract Testing Types

Pact Consumer Testing:

/api-contract-tester pact-consumer --service=UserService --provider=AuthAPI

Generates consumer-side Pact tests with:

  • Consumer expectations definition
  • Request/response matching rules
  • State management for test scenarios
  • Pact file generation for provider verification
  • Mock provider server for isolated testing
  • Flexible matching (type, regex, equality)
  • Header and query parameter validation
  • JSON body structure verification

Pact Provider Testing:

/api-contract-tester pact-provider --service=AuthAPI --contracts=./pacts

Verifies provider against consumer contracts with:

  • Contract verification against running service
  • State setup for provider verification
  • Provider state callbacks implementation
  • Detailed verification reports
  • Breaking change detection
  • Version compatibility checking
  • Pact broker integration
  • Automated verification in CI/CD

Postman Collection Testing:

/api-contract-tester postman --collection=./api-tests.json --environment=staging

Executes Postman collection tests including:

  • Environment variable management
  • Pre-request scripts execution
  • Response assertions and validation
  • Test script execution
  • Collection runner automation
  • Data-driven testing with CSV/JSON
  • Authentication flows (OAuth, JWT, API Key)
  • Chained requests with variable passing

Schema Validation

OpenAPI Validation:

/api-contract-tester openapi --spec=./openapi.yaml --endpoint=/api/users

Validates API against OpenAPI specification:

  • Request validation (path, query, body, headers)
  • Response validation (status, headers, body)
  • Schema compliance checking
  • Required field validation
  • Data type enforcement
  • Format validation (email, uri, date-time)
  • Enum value verification
  • Range and length constraints

JSON Schema Validation:

/api-contract-tester json-schema --schema=./user.schema.json --data=./response.json

Performs JSON Schema validation with:

  • Schema draft version support (draft-07, 2019-09, 2020-12)
  • Type validation (string, number, object, array)
  • Required properties enforcement
  • Additional properties control
  • Pattern matching with regex
  • Format validators (email, hostname, ipv4, uuid)
  • Nested schema validation
  • Conditional schema application

GraphQL Schema Validation:

/api-contract-tester graphql --schema=./schema.graphql --query=./queries/*.graphql

Validates GraphQL queries and mutations:

  • Query syntax validation
  • Schema type checking
  • Field existence verification
  • Argument type validation
  • Fragment usage validation
  • Directive usage verification
  • Deprecated field detection
  • Query complexity analysis

Consumer-Driven Contract Testing

Contract Definition:

/api-contract-tester define-contract --consumer=WebApp --provider=OrderAPI

Creates contract definitions with:

  • Consumer expectations specification
  • Request format definition (method, path, headers, body)
  • Response expectations (status, headers, body)
  • State preconditions for scenarios
  • Matching rules for flexible validation
  • Example values for documentation
  • Contract versioning strategy
  • Change log documentation

Contract Verification:

/api-contract-tester verify-contract --provider=OrderAPI --version=1.2.0

Verifies provider against contracts including:

  • All consumer contract verification
  • State setup for test scenarios
  • Concurrent verification execution
  • Detailed mismatch reporting
  • Version compatibility matrix
  • Breaking change alerts
  • Regression detection
  • Performance benchmarking

Contract Publishing:

/api-contract-tester publish --broker=https://pact-broker.example.com --version=1.2.0

Publishes contracts to broker with:

  • Contract upload to centralized registry
  • Version tagging and labeling
  • Branch-specific contracts
  • Environment deployment tracking
  • Contract diffing and comparison
  • Consumer notification on changes
  • Webhook triggers for CI/CD
  • Access control and authentication

Integration Testing

REST API Testing:

/api-contract-tester rest --baseUrl=https://api.example.com --tests=./tests/*.spec.js

Executes REST API tests with:

  • HTTP method testing (GET, POST, PUT, DELETE, PATCH)
  • Status code assertions
  • Response time validation
  • Header validation
  • Cookie handling and assertion
  • Authentication and authorization
  • Rate limiting verification
  • Error handling validation
  • Retry and timeout configuration

GraphQL API Testing:

/api-contract-tester graphql --endpoint=https://api.example.com/graphql

Tests GraphQL endpoints including:

  • Query execution and validation
  • Mutation testing with side effects
  • Subscription testing for real-time updates
  • Error handling and error codes
  • Partial response handling
  • Batch query execution
  • Query performance monitoring
  • Cache behavior verification

Microservice Integration:

/api-contract-tester integration --services=./docker-compose.yml

Performs integration testing with:

  • Multi-service orchestration
  • Service dependency management
  • Contract verification across services
  • End-to-end workflow testing
  • Message queue testing
  • Event-driven architecture validation
  • Service discovery verification
  • Circuit breaker testing

Code Generation Examples

Pact Consumer Test (JavaScript)

const { Pact } = require('@pact-foundation/pact');
const { like, eachLike, term } = require('@pact-foundation/pact').Matchers;
const path = require('path');

describe('User Service Consumer', () => {
  const provider = new Pact({
    consumer: 'WebApp',
    provider: 'UserService',
    port: 8080,
    log: path.resolve(process.cwd(), 'logs', 'pact.log'),
    dir: path.resolve(process.cwd(), 'pacts'),
    logLevel: 'INFO'
  });

  beforeAll(() => provider.setup());
  afterEach(() => provider.verify());
  afterAll(() => provider.finalize());

  describe('GET /users/:id', () => {
    beforeEach(() => {
      return provider.addInteraction({
        state: 'user with ID 123 exists',
        uponReceiving: 'a request for user 123',
        withRequest: {
          method: 'GET',
          path: '/users/123',
          headers: {
            'Accept': 'application/json',
            'Authorization': term({
              matcher: 'Bearer \\w+',
              generate: 'Bearer token123'
            })
          }
        },
        willRespondWith: {
          status: 200,
          headers: {
            'Content-Type': 'application/json'
          },
          body: {
            id: like(123),
            username: like('john_doe'),
            email: term({
              matcher: '\\S+@\\S+\\.\\S+',
              generate: 'john@example.com'
            }),
            profile: {
              firstName: like('John'),
              lastName: like('Doe'),
              age: like(30)
            },
            roles: eachLike('user'),
            createdAt: term({
              matcher: '\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}',
              generate: '2023-01-15T10:30:00'
            })
          }
        }
      });
    });

    it('returns user successfully', async () => {
      const response = await fetch('http://localhost:8080/users/123', {
        headers: {
          'Authorization': 'Bearer token123',
          'Accept': 'application/json'
        }
      });

      expect(response.status).toBe(200);
      const user = await response.json();
      expect(user.id).toBe(123);
      expect(user.email).toMatch(/\S+@\S+\.\S+/);
    });
  });

  describe('POST /users', () => {
    beforeEach(() => {
      return provider.addInteraction({
        state: 'no existing user with email john@example.com',
        uponReceiving: 'a request to create a new user',
        withRequest: {
          method: 'POST',
          path: '/users',
          headers: {
            'Content-Type': 'application/json',
            'Authorization': term({
              matcher: 'Bearer \\w+',
              generate: 'Bearer token123'
            })
          },
          body: {
            username: 'john_doe',
            email: 'john@example.com',
            password: like('securePassword123'),
            profile: {
              firstName: 'John',
              lastName: 'Doe'
            }
          }
        },
        willRespondWith: {
          status: 201,
          headers: {
            'Content-Type': 'application/json',
            'Location': term({
              matcher: '/users/\\d+',
              generate: '/users/123'
            })
          },
          body: {
            id: like(123),
            username: 'john_doe',
            email: 'john@example.com',
            createdAt: term({
              matcher: '\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}',
              generate: '2023-01-15T10:30:00'
            })
          }
        }
      });
    });

    it('creates user successfully', async () => {
      const response = await fetch('http://localhost:8080/users', {
        method: 'POST',
        headers: {
          'Content-Type': 'application/json',
          'Authorization': 'Bearer token123'
        },
        body: JSON.stringify({
          username: 'john_doe',
          email: 'john@example.com',
          password: 'securePassword123',
          profile: { firstName: 'John', lastName: 'Doe' }
        })
      });

      expect(response.status).toBe(201);
      expect(response.headers.get('Location')).toMatch(/\/users\/\d+/);
    });
  });
});

Pact Provider Verification (Node.js)

const { Verifier } = require('@pact-foundation/pact');
const path = require('path');
const server = require('./server');

describe('User Service Provider', () => {
  let app;
  const PORT = 8081;

  beforeAll(async () => {
    app = await server.listen(PORT);
  });

  afterAll(async () => {
    await app.close();
  });

  it('validates expectations of WebApp', () => {
    const opts = {
      provider: 'UserService',
      providerBaseUrl: `http://localhost:${PORT}`,
      pactBrokerUrl: 'https://pact-broker.example.com',
      pactBrokerToken: process.env.PACT_BROKER_TOKEN,
      publishVerificationResult: true,
      providerVersion: process.env.GIT_COMMIT,
      providerVersionBranch: process.env.GIT_BRANCH,
      consumerVersionSelectors: [
        { mainBranch: true },
        { deployedOrReleased: true }
      ],
      stateHandlers: {
        'user with ID 123 exists': async () => {
          // Setup: Create user with ID 123 in test database
          await database.users.create({
            id: 123,
            username: 'john_doe',
            email: 'john@example.com',
            profile: { firstName: 'John', lastName: 'Doe', age: 30 },
            roles: ['user'],
            createdAt: '2023-01-15T10:30:00'
          });
        },
        'no existing user with email john@example.com': async () => {
          // Setup: Ensure no user exists with this email
          await database.users.deleteMany({ email: 'john@example.com' });
        }
      },
      beforeEach: async () => {
        // Clean database before each verification
        await database.reset();
      }
    };

    return new Verifier(opts).verifyProvider();
  });
});

OpenAPI Validation (Python)

from openapi_spec_validator import validate_spec
from openapi_core import create_spec
from openapi_core.validation.request.validators import RequestValidator
from openapi_core.validation.response.validators import ResponseValidator
import yaml
import requests

class APIContractTester:
    def __init__(self, spec_path, base_url):
        with open(spec_path, 'r') as f:
            self.spec_dict = yaml.safe_load(f)

        # Validate OpenAPI spec is valid
        validate_spec(self.spec_dict)

        self.spec = create_spec(self.spec_dict)
        self.base_url = base_url
        self.request_validator = RequestValidator(self.spec)
        self.response_validator = ResponseValidator(self.spec)

    def test_endpoint(self, method, path, headers=None, body=None, expected_status=200):
        """Test API endpoint against OpenAPI contract"""

        # Build full URL
        url = f"{self.base_url}{path}"

        # Validate request against OpenAPI spec
        request = self._build_request(method, path, headers, body)
        request_validation = self.request_validator.validate(request)

        if request_validation.errors:
            raise ValueError(f"Request validation failed: {request_validation.errors}")

        # Make actual HTTP request
        response = requests.request(method, url, headers=headers, json=body)

        # Validate response against OpenAPI spec
        openapi_response = self._build_response(response, path, method)
        response_validation = self.response_validator.validate(openapi_response)

        if response_validation.errors:
            raise ValueError(f"Response validation failed: {response_validation.errors}")

        # Assert expected status code
        assert response.status_code == expected_status, \
            f"Expected {expected_status}, got {response.status_code}"

        return response

    def test_all_endpoints(self):
        """Test all endpoints defined in OpenAPI spec"""
        results = []

        for path, path_item in self.spec_dict['paths'].items():
            for method, operation in path_item.items():
                if method in ['get', 'post', 'put', 'delete', 'patch']:
                    try:
                        print(f"Testing {method.upper()} {path}")
                        self.test_endpoint(method.upper(), path)
                        results.append({
                            'path': path,
                            'method': method,
                            'status': 'PASS'
                        })
                    except Exception as e:
                        results.append({
                            'path': path,
                            'method': method,
                            'status': 'FAIL',
                            'error': str(e)
                        })

        return results

    def validate_breaking_changes(self, old_spec_path):
        """Detect breaking changes between API versions"""
        with open(old_spec_path, 'r') as f:
            old_spec = yaml.safe_load(f)

        breaking_changes = []

        # Check for removed endpoints
        for path in old_spec['paths']:
            if path not in self.spec_dict['paths']:
                breaking_changes.append(f"Removed endpoint: {path}")

        # Check for removed operations
        for path, operations in old_spec['paths'].items():
            if path in self.spec_dict['paths']:
                for method in operations:
                    if method not in self.spec_dict['paths'][path]:
                        breaking_changes.append(f"Removed operation: {method.upper()} {path}")

        return breaking_changes

# Usage example
tester = APIContractTester('./openapi.yaml', 'https://api.example.com')
results = tester.test_all_endpoints()

for result in results:
    print(f"{result['method'].upper()} {result['path']}: {result['status']}")

Best Practices

Contract Testing Strategy

  • Consumer-Driven: Let consumers define their expectations
  • Version Compatibility: Test against multiple provider versions
  • State Management: Define clear provider states for scenarios
  • Matching Flexibility: Use type matching over exact matching where appropriate
  • Regular Verification: Run provider verification on every deployment

CI/CD Integration

  • Automated Execution: Run contract tests in CI pipeline
  • Pact Broker: Use centralized contract registry for collaboration
  • Can-I-Deploy: Check contract compatibility before deployment
  • Version Tagging: Tag contracts with deployment environments
  • Webhook Triggers: Trigger provider verification on consumer changes

Schema Validation

  • Comprehensive Coverage: Validate all request/response combinations
  • Error Scenarios: Test error responses and edge cases
  • Backward Compatibility: Detect breaking changes before release
  • Documentation Sync: Keep schemas synchronized with actual API
  • Version Strategy: Maintain multiple schema versions for gradual migration

Testing Best Practices

  • Isolated Tests: Each test should be independent
  • Fast Execution: Keep test execution time minimal
  • Clear Assertions: Make test failures easy to understand
  • Test Data: Use realistic test data that covers edge cases
  • Mocking Strategy: Mock external dependencies appropriately

DevsForge API Contract Tester - Enterprise-grade API contract testing with consumer-driven strategies, comprehensive validation, and seamless CI/CD integration for reliable microservice architectures.

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/api-contract-tester
Author
DevsForge Community
Category
Commands
Keywords
devsforge, command, api, contract
Listed since
Apr 7, 2026

More from devsforge/marketplace

All 161

Similar to api-contract-tester

More Testing & QA