
type-generator
Converts JSON data into TypeScript types, with quicktype and Zod schema generation support.
- version
- 1.0.0
- GitHub stars
- 79
What it does
- Adds a
type-generatorcommand that turns JSON data and API responses into TypeScript types - Integrates quicktype for type inference and generates Zod schemas alongside the types
Generate TypeScript types from JSON data
Add marketplace
/plugin marketplace add devsforge/marketplaceRun it inside Claude Code once, then install the plugin below.
Install
/plugin install type-generator@devsforge-marketplaceRun it inside Claude Code after adding the marketplace.
Files
Discovered from sourceDevsForge Type Generator
DevsForge intelligent TypeScript type generator that creates type definitions from JSON data, API responses, database schemas, and other sources, with support for quicktype, JSON Schema, Zod schemas, and runtime validation.
Purpose
Transform type definition creation from manual typing to intelligent automation that generates accurate TypeScript types, interfaces, and schemas from runtime data, ensuring type safety and reducing boilerplate code.
Features
- JSON to TypeScript: Generate types from JSON data automatically
- API Response Types: Create types from API response examples
- Zod Schema Generation: Generate Zod schemas for runtime validation
- quicktype Integration: Use quicktype for advanced type inference
- Database Schema: Generate types from database schemas
- GraphQL Types: Create types from GraphQL schemas
- Union Type Detection: Automatically detect and create union types
- Nested Type Support: Handle deeply nested object structures
Usage
/type-generator [action] [options]
Target: $ARGUMENTS (if specified, otherwise analyze current data)
Generation Actions
Generate from JSON:
/type-generator from-json --input=data.json --output=types.ts --name=User
Creates TypeScript types from JSON:
- Infer types from values
- Handle nested objects
- Create interfaces for objects
- Generate union types for arrays
- Optional vs required properties
- Nullable type handling
- Array type inference
- Generic type support
Generate from API Response:
/type-generator from-api --url=https://api.example.com/users --output=api-types.ts
Fetches and generates types from API:
- Makes API request
- Analyzes response structure
- Generates request/response types
- Error response types
- Pagination types
- Common API patterns
- Authentication headers
- Multiple endpoint support
Generate Zod Schema:
/type-generator zod --input=data.json --output=schema.ts --validation
Creates Zod schemas with validation:
- Runtime type validation
- Custom validation rules
- Error messages
- Type inference from schema
- Transform functions
- Refinements and superRefine
- Async validation
- Schema composition
Use quicktype:
/type-generator quicktype --input=data.json --lang=typescript --features=all
Advanced generation with quicktype:
- Multiple input sources
- Various output languages
- Smart type inference
- Union type optimization
- Date/time detection
- UUID detection
- URL/email detection
- Custom naming conventions
Code Examples
Type Generator (TypeScript)
import * as fs from 'fs';
import * as path from 'path';
interface TypeDefinition {
name: string;
type: string;
properties?: Record<string, TypeDefinition>;
isArray?: boolean;
isOptional?: boolean;
isNullable?: boolean;
union?: string[];
}
class TypeGenerator {
generateFromJSON(data: any, typeName: string): string {
const typeDefinition = this.inferType(data, typeName);
return this.generateTypeScript(typeDefinition);
}
private inferType(value: any, name: string): TypeDefinition {
const type = typeof value;
if (value === null) {
return {
name,
type: 'null',
isNullable: true
};
}
if (Array.isArray(value)) {
if (value.length === 0) {
return {
name,
type: 'any[]',
isArray: true
};
}
// Infer type from array elements
const elementTypes = new Set(value.map(v => typeof v));
if (elementTypes.size === 1) {
const elementType = this.inferType(value[0], name + 'Item');
return {
name,
type: elementType.type,
isArray: true,
properties: elementType.properties
};
} else {
// Union type for mixed arrays
const types = Array.from(elementTypes);
return {
name,
type: types.join(' | '),
isArray: true,
union: types
};
}
}
if (type === 'object') {
const properties: Record<string, TypeDefinition> = {};
for (const [key, val] of Object.entries(value)) {
properties[key] = this.inferType(val, this.capitalize(key));
}
return {
name,
type: 'object',
properties
};
}
// Primitive types with smart detection
if (type === 'string') {
// Detect special string formats
if (this.isISO8601(value)) {
return { name, type: 'Date' };
}
if (this.isUUID(value)) {
return { name, type: 'string', union: ['UUID'] };
}
if (this.isEmail(value)) {
return { name, type: 'string', union: ['Email'] };
}
if (this.isURL(value)) {
return { name, type: 'string', union: ['URL'] };
}
}
return {
name,
type: type as string
};
}
private generateTypeScript(definition: TypeDefinition, level: number = 0): string {
const lines: string[] = [];
const indent = ' '.repeat(level);
if (definition.properties) {
// Generate interface for object types
lines.push(`${indent}export interface ${definition.name} {`);
for (const [propName, propDef] of Object.entries(definition.properties)) {
const optional = propDef.isOptional ? '?' : '';
const nullable = propDef.isNullable ? ' | null' : '';
const array = propDef.isArray ? '[]' : '';
if (propDef.properties) {
// Nested object - define inline or reference
const nestedType = this.generateTypeScript(propDef, level + 1);
lines.push(`${indent} ${propName}${optional}: {`);
for (const [nestedProp, nestedPropDef] of Object.entries(propDef.properties)) {
const nestedOptional = nestedPropDef.isOptional ? '?' : '';
const nestedNullable = nestedPropDef.isNullable ? ' | null' : '';
const nestedArray = nestedPropDef.isArray ? '[]' : '';
lines.push(`${indent} ${nestedProp}${nestedOptional}: ${nestedPropDef.type}${nestedArray}${nestedNullable};`);
}
lines.push(`${indent} }${array}${nullable};`);
} else {
lines.push(`${indent} ${propName}${optional}: ${propDef.type}${array}${nullable};`);
}
}
lines.push(`${indent}}`);
}
return lines.join('\n');
}
generateZodSchema(data: any, schemaName: string): string {
const schema = this.inferZodSchema(data);
return `import { z } from 'zod';\n\nexport const ${schemaName}Schema = ${schema};\n\nexport type ${schemaName} = z.infer<typeof ${schemaName}Schema>;`;
}
private inferZodSchema(value: any, depth: number = 0): string {
if (value === null) {
return 'z.null()';
}
if (Array.isArray(value)) {
if (value.length === 0) {
return 'z.array(z.any())';
}
const elementSchema = this.inferZodSchema(value[0], depth + 1);
return `z.array(${elementSchema})`;
}
const type = typeof value;
if (type === 'object') {
const properties: string[] = [];
for (const [key, val] of Object.entries(value)) {
const valueSchema = this.inferZodSchema(val, depth + 1);
properties.push(` ${key}: ${valueSchema}`);
}
return `z.object({\n${properties.join(',\n')}\n})`;
}
// Primitive types with validation
if (type === 'string') {
if (this.isEmail(value)) {
return 'z.string().email()';
}
if (this.isURL(value)) {
return 'z.string().url()';
}
if (this.isUUID(value)) {
return 'z.string().uuid()';
}
if (this.isISO8601(value)) {
return 'z.string().datetime()';
}
return `z.string()${value.length > 0 ? `.min(${value.length})` : ''}`;
}
if (type === 'number') {
return Number.isInteger(value) ? 'z.number().int()' : 'z.number()';
}
if (type === 'boolean') {
return 'z.boolean()';
}
return 'z.any()';
}
async generateFromAPI(url: string, typeName: string): Promise<string> {
try {
const response = await fetch(url);
const data = await response.json();
return this.generateFromJSON(data, typeName);
} catch (error) {
throw new Error(`Failed to fetch API: ${error.message}`);
}
}
generateFromMultipleSamples(samples: any[], typeName: string): string {
// Merge all samples to find all possible properties
const merged = this.mergeSamples(samples);
return this.generateFromJSON(merged, typeName);
}
private mergeSamples(samples: any[]): any {
if (samples.length === 0) return {};
const merged: any = {};
const allKeys = new Set<string>();
// Collect all keys from all samples
for (const sample of samples) {
if (typeof sample === 'object' && sample !== null) {
Object.keys(sample).forEach(key => allKeys.add(key));
}
}
// For each key, determine if it's optional
for (const key of allKeys) {
const values = samples
.filter(s => s !== null && typeof s === 'object')
.map(s => s[key])
.filter(v => v !== undefined);
if (values.length < samples.length) {
// Key is optional - mark it somehow
merged[key] = values[0];
} else {
// Key is required - use first value
merged[key] = values[0];
}
}
return merged;
}
// Helper methods for format detection
private isISO8601(value: string): boolean {
const iso8601Regex = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z?$/;
return iso8601Regex.test(value);
}
private isUUID(value: string): boolean {
const uuidRegex = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
return uuidRegex.test(value);
}
private isEmail(value: string): boolean {
const emailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
return emailRegex.test(value);
}
private isURL(value: string): boolean {
try {
new URL(value);
return true;
} catch {
return false;
}
}
private capitalize(str: string): string {
return str.charAt(0).toUpperCase() + str.slice(1);
}
saveToFile(types: string, outputPath: string): void {
fs.writeFileSync(outputPath, types);
console.log(`✅ Types saved to ${outputPath}`);
}
}
// Usage examples
// Example 1: Generate from JSON object
const generator = new TypeGenerator();
const userData = {
id: '123e4567-e89b-12d3-a456-426614174000',
name: 'John Doe',
email: 'john@example.com',
age: 30,
isActive: true,
createdAt: '2024-01-15T10:30:00Z',
profile: {
bio: 'Software developer',
website: 'https://johndoe.com',
followers: 1234
},
tags: ['developer', 'typescript', 'react']
};
const userTypes = generator.generateFromJSON(userData, 'User');
console.log(userTypes);
// Example 2: Generate Zod schema
const zodSchema = generator.generateZodSchema(userData, 'User');
console.log(zodSchema);
// Example 3: Generate from API
(async () => {
const apiTypes = await generator.generateFromAPI(
'https://jsonplaceholder.typicode.com/users/1',
'ApiUser'
);
generator.saveToFile(apiTypes, './types/api-user.ts');
})();
// Example 4: Generate from multiple samples
const samples = [
{ id: 1, name: 'Alice', email: 'alice@example.com' },
{ id: 2, name: 'Bob', phone: '555-1234' },
{ id: 3, name: 'Charlie', email: 'charlie@example.com', phone: '555-5678' }
];
const multiSampleTypes = generator.generateFromMultipleSamples(samples, 'Contact');
console.log(multiSampleTypes);
quicktype Integration
import { quicktype, InputData, JSONSchemaInput, FetchingJSONSchemaStore } from 'quicktype-core';
async function generateTypesWithQuicktype(
jsonString: string,
typeName: string
): Promise<string> {
const jsonInput = new JSONSchemaInput(new FetchingJSONSchemaStore());
await jsonInput.addSource({
name: typeName,
schema: jsonString
});
const inputData = new InputData();
inputData.addInput(jsonInput);
const result = await quicktype({
inputData,
lang: 'typescript',
rendererOptions: {
'just-types': 'true',
'explicit-unions': 'true',
'prefer-unions': 'true',
'prefer-const-values': 'true'
}
});
return result.lines.join('\n');
}
// Usage
const jsonData = JSON.stringify({
id: 1,
name: 'Product',
price: 29.99,
inStock: true
});
generateTypesWithQuicktype(jsonData, 'Product')
.then(types => {
console.log(types);
fs.writeFileSync('./types/product.ts', types);
});
CLI Tool
#!/usr/bin/env node
import { Command } from 'commander';
import * as fs from 'fs';
import { TypeGenerator } from './type-generator';
const program = new Command();
program
.name('type-gen')
.description('Generate TypeScript types from JSON data')
.version('1.0.0');
program
.command('from-json')
.description('Generate types from JSON file')
.requiredOption('-i, --input <path>', 'Input JSON file')
.requiredOption('-o, --output <path>', 'Output TypeScript file')
.requiredOption('-n, --name <name>', 'Type name')
.option('--zod', 'Generate Zod schema instead of types')
.action((options) => {
const jsonData = JSON.parse(fs.readFileSync(options.input, 'utf-8'));
const generator = new TypeGenerator();
const result = options.zod
? generator.generateZodSchema(jsonData, options.name)
: generator.generateFromJSON(jsonData, options.name);
generator.saveToFile(result, options.output);
});
program
.command('from-api')
.description('Generate types from API response')
.requiredOption('-u, --url <url>', 'API endpoint URL')
.requiredOption('-o, --output <path>', 'Output TypeScript file')
.requiredOption('-n, --name <name>', 'Type name')
.option('-H, --header <header>', 'HTTP header (repeatable)', [])
.action(async (options) => {
const generator = new TypeGenerator();
const types = await generator.generateFromAPI(options.url, options.name);
generator.saveToFile(types, options.output);
});
program
.command('watch')
.description('Watch JSON file and regenerate types on changes')
.requiredOption('-i, --input <path>', 'Input JSON file')
.requiredOption('-o, --output <path>', 'Output TypeScript file')
.requiredOption('-n, --name <name>', 'Type name')
.action((options) => {
console.log(`👀 Watching ${options.input} for changes...`);
fs.watch(options.input, (eventType) => {
if (eventType === 'change') {
console.log('📝 File changed, regenerating types...');
const jsonData = JSON.parse(fs.readFileSync(options.input, 'utf-8'));
const generator = new TypeGenerator();
const types = generator.generateFromJSON(jsonData, options.name);
generator.saveToFile(types, options.output);
}
});
});
program.parse();
Advanced Type Generation
// Generate types for API endpoints
interface APIEndpoint {
path: string;
method: string;
requestType?: string;
responseType: string;
}
class APITypeGenerator {
generateAPITypes(endpoints: APIEndpoint[]): string {
const types: string[] = [];
types.push('// API Type Definitions\n');
for (const endpoint of endpoints) {
const safeTypeName = this.pathToTypeName(endpoint.path, endpoint.method);
if (endpoint.requestType) {
types.push(`export type ${safeTypeName}Request = ${endpoint.requestType};`);
}
types.push(`export type ${safeTypeName}Response = ${endpoint.responseType};`);
types.push('');
}
// Generate API client type
types.push('export interface APIClient {');
for (const endpoint of endpoints) {
const typeName = this.pathToTypeName(endpoint.path, endpoint.method);
const requestParam = endpoint.requestType ? `request: ${typeName}Request` : '';
types.push(` ${endpoint.method.toLowerCase()}${typeName}(${requestParam}): Promise<${typeName}Response>;`);
}
types.push('}');
return types.join('\n');
}
private pathToTypeName(path: string, method: string): string {
// /api/users/:id -> GetApiUsersById
const parts = path.split('/').filter(p => p && !p.startsWith(':'));
const cleaned = parts.map(p => this.capitalize(p)).join('');
return method.charAt(0).toUpperCase() + method.slice(1).toLowerCase() + cleaned;
}
private capitalize(str: string): string {
return str.charAt(0).toUpperCase() + str.slice(1);
}
}
Best Practices
Type Generation
- Multiple Samples: Use multiple data samples for better type inference
- Nullability: Properly handle null and undefined values
- Optional Properties: Mark optional properties correctly
- Union Types: Generate union types for variant data
- Documentation: Add JSDoc comments to generated types
- Validation: Use Zod for runtime type validation
Maintenance
- Version Control: Track generated types in git
- Regeneration: Set up scripts to regenerate types
- Watch Mode: Use watch mode during development
- CI/CD Integration: Regenerate types in CI pipeline
- Type Checking: Always run TypeScript compiler after generation
Code Quality
- Naming Conventions: Use consistent naming for types
- File Organization: Organize types by domain/module
- Import Management: Use proper import paths
- Type Reuse: Extract common types to shared files
- Documentation: Document complex type structures
DevsForge Type Generator - Enterprise-grade TypeScript type generation from JSON, APIs, and schemas with quicktype integration, Zod schema support, and intelligent type inference for type-safe development.
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
The Ultimate Plugin Ecosystem for Claude Code
161 Enterprise-Grade Plugins | 93 AI Agents | 65 Commands | 3 Super Plugins
⚡ What's New in v1.2
✅ Plugin Compliance & QualityAll 161 plugins validated for Claude Code CLI Fixes Applied:
|
🏗️ Super Plugins (Advanced)Multi-component platforms with hooks & MCP servers Features:
|
✨ Why DevsForge Marketplace?
🎨Curated QualityEvery plugin manually reviewed & enterprise-tested |
⚡Production ReadyBattle-tested in real-world scenarios |
🔒Security FirstZero dependencies, fully audited code |
🚀Advanced FeaturesHooks, MCP servers, automation |
💯100% OriginalNo 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
| Category | Count | Description |
|---|---|---|
| 🤖 Agents | 93 | AI-powered development assistants |
| ⚡ Commands | 65 | Instant productivity tools |
| 🚀 Super Plugins | 3 | Advanced multi-component platforms |
| Total | 161 | Production-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:
- ✅ Verify
.claude-plugin/marketplace.jsonexists in repository root - ✅ Check JSON syntax:
claude plugin validate . - ✅ Ensure Git repository is accessible and cloned correctly
- ✅ Restart Claude Code CLI after adding marketplace
❌ Plugin Installation Failures
Symptoms: Error message "Plugin not found" or installation timeout
Solutions:
- ✅ Verify plugin source paths are correct:
./plugins/[type]/[name] - ✅ Ensure all required files exist:
.claude-plugin/plugin.json,commands/*.mdoragents/*.md - ✅ Check network connectivity for Git-based plugin sources
- ✅ Try explicit version:
/plugin install [name]@devsforge-marketplace@1.0.0
❌ Super Plugin Issues
Symptoms: Hooks not triggering or MCP server connection errors
Solutions:
- ✅ Verify
${CLAUDE_PLUGIN_ROOT}environment variable resolves correctly - ✅ Check script permissions:
chmod +xon Linux/Mac - ✅ Ensure Node.js is installed for MCP server JavaScript files
- ✅ Review Claude Code logs for hook execution errors
❌ Performance Issues
Symptoms: Slow marketplace loading or plugin installation
Solutions:
- ✅ Check internet connection speed (GitHub clone performance)
- ✅ Verify available disk space (minimum 50MB required)
- ✅ Close unnecessary applications to free system resources
- ✅ Use local path installation for faster access after initial clone
🤝 Contributing
We welcome contributions! Here's how you can help:
🎯 Contributing New Plugins
- 🍴 Fork the repository
- 📁 Create plugin structure in appropriate directory (
agents/,commands/, orsuper/) - 📝 Follow
plugin.jsonschema requirements - 📖 Add comprehensive documentation (200-700+ lines recommended)
- 🧪 Test thoroughly with Claude Code CLI
- 🚀 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:
|
Your Responsibilities:
|
📜 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
Details
- Marketplace
- devsforge/marketplace
- Source
- plugins/commands/type-generator
- Author
- DevsForge Community
- Category
- Commands
- Keywords
- devsforge, command, type, generator
- Listed since
- Apr 7, 2026
More from devsforge/marketplace
All 161- ui-designerv1.0.0
- ui-ux-engineerv1.0.0
- unit-test-generatorv1.0.0
- unused-code-finderv1.0.0
- update-branch-namev1.0.0
- update-claudemdv1.0.0
- ux-researcherv1.0.0
- vision-specialistv1.0.0
- web-devv1.0.0
- webhook-integratorv1.0.0
- workflow-optimizerv1.0.0
- accessibility-architectv1.0.0
- ai-architectv1.0.0
- ai-ethics-officerv1.0.0
- ai-studio-orchestratorv1.0.0
- api-contract-testerv1.0.0
- api-designerv1.0.0
- api-docs-generatorv1.0.0
- api-integration-architectv1.0.0
- api-quality-assurancev1.0.0
- authentication-specialistv1.0.0
- b2b-project-shipperv1.0.0
- brand-strategistv1.0.0
- bundle-analyzerv1.0.0
Similar to type-generator
More Developer Tools
json-validatordevsforge/marketplace79 starsValidate and format JSON files with schema support
jutsu-typescriptTheBushidoCollective/han201 starsSkills for TypeScript type system mastery.
doc-generatordevsforge/marketplace79 starsGenerate comprehensive documentation for code and APIs
type-migratorrohitg00/awesome-claude-code-toolkit2.8K starsMigrate JavaScript files to TypeScript with proper types
typescript-skillsfcakyon/claude-codex-settings1.2K starsWrite and review TypeScript with type safety and validation guidance.
commands-typescript-migrationdavepoon/buildwithclaude3.8K starsCommands for migrating JavaScript projects to TypeScript