
console-cleaner
Console statement cleanup that strips debug logging before production deployment with selective preservation.
- version
- 1.0.0
- GitHub stars
- 79
What it does
- Adds the
console-cleanercommand to removeconsole.logstatements from source files - Supports selective preservation, so chosen console calls can be kept while the rest are removed
- Designed for JavaScript projects that need debug output stripped before a production build
Remove console.log statements before production deployment
Add marketplace
/plugin marketplace add devsforge/marketplaceRun it inside Claude Code once, then install the plugin below.
Install
/plugin install console-cleaner@devsforge-marketplaceRun it inside Claude Code after adding the marketplace.
Files
Discovered from sourceDevsForge Console Cleaner
DevsForge intelligent console statement management system that removes debugging console.log statements before production deployment while preserving intentional logging, integrates with ESLint rules, and implements pre-commit hooks for automated code cleanup.
Purpose
Transform console statement management from manual cleanup to intelligent automation that removes debug logs, preserves intentional logging, enforces logging standards, and ensures production code is clean and performant without unwanted console output.
Features
- Smart Detection: Identify debug vs intentional console statements
- Selective Removal: Remove console.log while preserving console.error/warn
- Comment Preservation: Keep console statements marked with special comments
- ESLint Integration: Enforce console usage rules with linting
- Git Hooks: Automatically clean console statements before commits
- Batch Processing: Clean entire directories or specific files
- Safe Mode: Preview changes before applying
- Rollback Support: Restore removed console statements if needed
Usage
/console-cleaner [action] [options]
Target: $ARGUMENTS (if specified, otherwise analyze current directory)
Cleaning Actions
Remove All Console Statements:
/console-cleaner remove --path=src/ --exclude=console.error,console.warn
Removes console statements except:
- console.error for error logging
- console.warn for warnings
- Statements with @keep-console comment
- Statements in development-only code blocks
- Logger service calls
- Third-party library console usage
- Configuration-based preservation
- Test file console statements
Preview Changes:
/console-cleaner preview --file=app.js --show-context
Shows what will be removed:
- Line numbers of console statements
- Surrounding code context
- Reason for removal or preservation
- Impact assessment
- File change statistics
- Backup file creation
- Diff view of changes
- Confirmation prompt
Replace with Logger:
/console-cleaner replace --target=logger --path=src/
Replaces console with proper logger:
- console.log → logger.info
- console.error → logger.error
- console.warn → logger.warn
- console.debug → logger.debug
- Custom logger methods
- Winston/Pino/Bunyan support
- Structured logging format
- Log level configuration
Setup Git Hook:
/console-cleaner setup-hook --type=pre-commit --strict
Installs pre-commit hook that:
- Scans staged files for console statements
- Blocks commit if console.log found
- Allows console.error/warn
- Provides removal suggestions
- Auto-fix option
- Bypass with --no-verify
- Team-wide enforcement
- CI/CD integration
Code Examples
Console Cleaner (TypeScript)
import * as fs from 'fs';
import * as path from 'path';
import { parse } from '@babel/parser';
import traverse from '@babel/traverse';
import generate from '@babel/generator';
import * as t from '@babel/types';
interface ConsoleStatement {
type: string; // log, error, warn, debug, etc.
location: {
file: string;
line: number;
column: number;
};
code: string;
shouldKeep: boolean;
reason: string;
}
interface CleanerOptions {
preserveTypes: string[]; // e.g., ['error', 'warn']
respectComments: boolean;
replaceWithLogger: boolean;
loggerName: string;
dryRun: boolean;
}
class ConsoleCleaner {
private options: CleanerOptions;
private statements: ConsoleStatement[] = [];
constructor(options?: Partial<CleanerOptions>) {
this.options = {
preserveTypes: ['error', 'warn'],
respectComments: true,
replaceWithLogger: false,
loggerName: 'logger',
dryRun: false,
...options
};
}
cleanFile(filePath: string): { removed: number; preserved: number } {
const code = fs.readFileSync(filePath, 'utf-8');
const ast = parse(code, {
sourceType: 'module',
plugins: ['typescript', 'jsx']
});
let removedCount = 0;
let preservedCount = 0;
// Find and process console statements
traverse(ast, {
CallExpression: (path) => {
if (this.isConsoleStatement(path.node)) {
const consoleType = this.getConsoleType(path.node);
const shouldKeep = this.shouldKeepStatement(path, consoleType);
const statement: ConsoleStatement = {
type: consoleType,
location: {
file: filePath,
line: path.node.loc?.start.line || 0,
column: path.node.loc?.start.column || 0
},
code: generate(path.node).code,
shouldKeep,
reason: this.getKeepReason(path, consoleType, shouldKeep)
};
this.statements.push(statement);
if (shouldKeep) {
preservedCount++;
} else {
if (!this.options.dryRun) {
if (this.options.replaceWithLogger) {
this.replaceWithLogger(path, consoleType);
} else {
this.removeStatement(path);
}
}
removedCount++;
}
}
}
});
// Save modified code if not dry run
if (!this.options.dryRun && removedCount > 0) {
const output = generate(ast, {}, code);
fs.writeFileSync(filePath, output.code);
}
return { removed: removedCount, preserved: preservedCount };
}
private isConsoleStatement(node: any): boolean {
return (
t.isMemberExpression(node.callee) &&
t.isIdentifier(node.callee.object) &&
node.callee.object.name === 'console'
);
}
private getConsoleType(node: any): string {
if (t.isMemberExpression(node.callee) && t.isIdentifier(node.callee.property)) {
return node.callee.property.name;
}
return 'log';
}
private shouldKeepStatement(path: any, consoleType: string): boolean {
// Check if type is in preserve list
if (this.options.preserveTypes.includes(consoleType)) {
return true;
}
// Check for @keep-console comment
if (this.options.respectComments && this.hasKeepComment(path)) {
return true;
}
// Check if in development-only block
if (this.isInDevBlock(path)) {
return true;
}
return false;
}
private hasKeepComment(path: any): boolean {
const comments = path.node.leadingComments || [];
return comments.some((comment: any) =>
comment.value.includes('@keep-console') ||
comment.value.includes('eslint-disable-next-line no-console')
);
}
private isInDevBlock(path: any): boolean {
let parent = path.parentPath;
while (parent) {
// Check if inside if (process.env.NODE_ENV === 'development')
if (t.isIfStatement(parent.node)) {
const test = parent.node.test;
if (this.isDevEnvironmentCheck(test)) {
return true;
}
}
parent = parent.parentPath;
}
return false;
}
private isDevEnvironmentCheck(node: any): boolean {
// Check for: process.env.NODE_ENV === 'development'
if (t.isBinaryExpression(node, { operator: '===' })) {
const left = node.left;
const right = node.right;
const isNodeEnvCheck = t.isMemberExpression(left) &&
t.isMemberExpression(left.object) &&
t.isIdentifier(left.object.object, { name: 'process' }) &&
t.isIdentifier(left.object.property, { name: 'env' }) &&
t.isIdentifier(left.property, { name: 'NODE_ENV' });
const isDevelopmentValue = t.isStringLiteral(right, { value: 'development' });
return isNodeEnvCheck && isDevelopmentValue;
}
return false;
}
private replaceWithLogger(path: any, consoleType: string): void {
const loggerMethod = this.mapConsoleToLogger(consoleType);
// Create logger.method(...) call
const loggerCall = t.callExpression(
t.memberExpression(
t.identifier(this.options.loggerName),
t.identifier(loggerMethod)
),
path.node.arguments
);
path.replaceWith(loggerCall);
}
private mapConsoleToLogger(consoleType: string): string {
const mapping: Record<string, string> = {
log: 'info',
error: 'error',
warn: 'warn',
debug: 'debug',
info: 'info',
trace: 'trace'
};
return mapping[consoleType] || 'info';
}
private removeStatement(path: any): void {
// If statement is the only thing in an expression statement, remove the whole statement
if (t.isExpressionStatement(path.parent)) {
path.parentPath.remove();
} else {
// Otherwise just remove the call expression
path.remove();
}
}
private getKeepReason(path: any, consoleType: string, shouldKeep: boolean): string {
if (!shouldKeep) {
return `Debug console.${consoleType} - should be removed`;
}
if (this.options.preserveTypes.includes(consoleType)) {
return `console.${consoleType} preserved (in allow list)`;
}
if (this.hasKeepComment(path)) {
return 'Has @keep-console comment';
}
if (this.isInDevBlock(path)) {
return 'Inside development-only block';
}
return 'Preserved for unknown reason';
}
cleanDirectory(dirPath: string, recursive: boolean = true): void {
const pattern = recursive ? '**/*.{js,ts,jsx,tsx}' : '*.{js,ts,jsx,tsx}';
const files = this.findFiles(dirPath, pattern);
console.log(`🧹 Cleaning console statements in ${files.length} files...\n`);
let totalRemoved = 0;
let totalPreserved = 0;
for (const file of files) {
const { removed, preserved } = this.cleanFile(file);
if (removed > 0 || preserved > 0) {
console.log(`${file}:`);
console.log(` ❌ Removed: ${removed}`);
console.log(` ✅ Preserved: ${preserved}`);
}
totalRemoved += removed;
totalPreserved += preserved;
}
console.log(`\n📊 Summary:`);
console.log(` Total removed: ${totalRemoved}`);
console.log(` Total preserved: ${totalPreserved}`);
}
private findFiles(dirPath: string, pattern: string): string[] {
// Simple file finder - in production, use glob or similar
const files: string[] = [];
const traverse = (dir: string) => {
const items = fs.readdirSync(dir);
for (const item of items) {
const fullPath = path.join(dir, item);
const stat = fs.statSync(fullPath);
if (stat.isDirectory()) {
if (!item.startsWith('.') && item !== 'node_modules' && item !== 'dist') {
traverse(fullPath);
}
} else if (item.match(/\.(js|ts|jsx|tsx)$/)) {
files.push(fullPath);
}
}
};
traverse(dirPath);
return files;
}
generateReport(): string {
const report: string[] = [];
report.push('# Console Cleaning Report\n');
report.push(`Total console statements found: ${this.statements.length}\n`);
// Group by file
const byFile: Record<string, ConsoleStatement[]> = {};
for (const statement of this.statements) {
if (!byFile[statement.location.file]) {
byFile[statement.location.file] = [];
}
byFile[statement.location.file].push(statement);
}
for (const [file, statements] of Object.entries(byFile)) {
report.push(`\n## ${file}\n`);
const removed = statements.filter(s => !s.shouldKeep);
const preserved = statements.filter(s => s.shouldKeep);
if (removed.length > 0) {
report.push(`### Removed (${removed.length})\n`);
for (const stmt of removed) {
report.push(`- Line ${stmt.location.line}: \`${stmt.code}\``);
report.push(` - Reason: ${stmt.reason}\n`);
}
}
if (preserved.length > 0) {
report.push(`### Preserved (${preserved.length})\n`);
for (const stmt of preserved) {
report.push(`- Line ${stmt.location.line}: \`${stmt.code}\``);
report.push(` - Reason: ${stmt.reason}\n`);
}
}
}
return report.join('\n');
}
}
// Usage examples
// Clean with defaults (remove console.log, keep error/warn)
const cleaner = new ConsoleCleaner();
cleaner.cleanFile('./src/app.ts');
// Dry run to preview changes
const previewCleaner = new ConsoleCleaner({ dryRun: true });
previewCleaner.cleanDirectory('./src');
const report = previewCleaner.generateReport();
console.log(report);
// Replace with logger
const loggerCleaner = new ConsoleCleaner({
replaceWithLogger: true,
loggerName: 'logger'
});
loggerCleaner.cleanDirectory('./src');
// Remove all console statements (strict mode)
const strictCleaner = new ConsoleCleaner({
preserveTypes: [],
respectComments: false
});
strictCleaner.cleanDirectory('./src');
Git Pre-Commit Hook
#!/bin/bash
# .git/hooks/pre-commit
echo "🔍 Checking for console statements..."
# Get list of staged JavaScript/TypeScript files
STAGED_FILES=$(git diff --cached --name-only --diff-filter=ACM | grep -E '\.(js|jsx|ts|tsx)$')
if [ -z "$STAGED_FILES" ]; then
echo "✅ No JavaScript/TypeScript files to check"
exit 0
fi
# Check for console.log statements (excluding console.error and console.warn)
CONSOLE_LOGS=$(echo "$STAGED_FILES" | xargs grep -n "console\.log" 2>/dev/null)
if [ -n "$CONSOLE_LOGS" ]; then
echo "❌ Found console.log statements:"
echo "$CONSOLE_LOGS"
echo ""
echo "Please remove console.log statements or use @keep-console comment"
echo "To bypass this check, use: git commit --no-verify"
exit 1
fi
echo "✅ No console.log statements found"
exit 0
ESLint Configuration
// .eslintrc.js
module.exports = {
rules: {
// Disallow console statements
'no-console': ['error', {
allow: ['warn', 'error', 'info']
}],
// Or use custom rule for more control
'no-console': 'off',
'no-restricted-syntax': [
'error',
{
selector: "CallExpression[callee.object.name='console'][callee.property.name!=/^(warn|error)$/]",
message: 'Unexpected console statement. Use logger instead.'
}
]
},
// Environment-specific overrides
overrides: [
{
files: ['*.test.js', '*.spec.js', '*.test.ts', '*.spec.ts'],
rules: {
'no-console': 'off'
}
}
]
};
Babel Plugin for Console Removal
// babel-plugin-remove-console.js
module.exports = function({ types: t }) {
return {
name: 'remove-console',
visitor: {
CallExpression(path, state) {
const { node } = path;
// Check if it's a console call
if (
t.isMemberExpression(node.callee) &&
t.isIdentifier(node.callee.object, { name: 'console' })
) {
const method = node.callee.property.name;
const allowedMethods = state.opts.allow || ['error', 'warn'];
// Remove if not in allowed list
if (!allowedMethods.includes(method)) {
// Check for keep comment
const comments = path.node.leadingComments || [];
const hasKeepComment = comments.some(comment =>
comment.value.includes('@keep-console')
);
if (!hasKeepComment) {
if (t.isExpressionStatement(path.parent)) {
path.parentPath.remove();
} else {
path.remove();
}
}
}
}
}
}
};
};
// babel.config.js
module.exports = {
plugins: [
['./babel-plugin-remove-console', {
allow: ['error', 'warn', 'info']
}]
]
};
Best Practices
Console Usage
- Development: Use console.log freely during development
- Production: Remove all console.log before deployment
- Errors: Keep console.error for critical errors
- Warnings: Keep console.warn for important warnings
- Proper Logging: Use logging libraries (Winston, Pino) for production
Automation
- Git Hooks: Install pre-commit hooks to prevent console.log commits
- CI/CD: Add console checking to CI pipeline
- ESLint: Enforce console rules with linting
- Build Process: Remove console statements during production build
- Code Review: Make console removal part of review checklist
Team Workflow
- Documentation: Document console usage policies
- Training: Educate team on proper logging practices
- Exceptions: Use @keep-console for intentional console usage
- Logger Migration: Gradually migrate to proper logging library
- Monitoring: Track console usage in codebase metrics
DevsForge Console Cleaner - Enterprise-grade console statement management with intelligent removal, ESLint integration, git hooks, and production-ready code cleanup for cleaner, more performant applications.
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/console-cleaner
- Author
- DevsForge Community
- Category
- Commands
- Keywords
- devsforge, command, console, cleaner
- Listed since
- Apr 7, 2026
More from devsforge/marketplace
All 161- content-creatorv1.0.0
- cors-security-expertv1.0.0
- cost-optimizerv1.0.0
- create-worktreesv1.0.0
- customer-success-managerv1.0.0
- data-analystv1.0.0
- data-privacy-engineerv1.0.0
- data-scientistv1.0.0
- database-expertv1.0.0
- database-performance-optimizerv1.0.0
- debug-detectivev1.0.0
- debug-sessionv1.0.0
- debuggerv1.0.0
- decision-facilitatorv1.0.0
- dependency-managerv1.0.0
- deployment-engineerv1.0.0
- desktop-app-devv1.0.0
- desktop-integratorv1.0.0
- devops-automatorv1.0.0
- devops-platformv1.0.0
- doc-generatorv1.0.0
- docker-compose-generatorv1.0.0
- docker-specialistv1.0.0
- enterprise-integrator-architectv1.0.0
Similar to console-cleaner
More Code Review & Quality
code-reviewanthropics/claude-code156.1K starsAutomated code review for pull requests using multiple specialized agents with confidence-based scoring to filter false positives
open-code-reviewalibaba/open-code-review53.9K starsPerform AI code review on Git diffs — supports workspace changes, branch ranges, and single commits with concurrent per-file analysis, codebase search, and deep
code-modernizationanthropics/claude-plugins-official47.9K starsGuided modernization for any legacy codebase: start with /modernize, get an assessment, an interactive map, the business rules mined from the code, and a plan y
code-refactoringwshobson/agents42.8K starsCode cleanup, refactoring automation, and technical debt management with context restoration
qodoanthropics/knowledge-work-plugins36.5K starsBring Qodo's codebase intelligence, coding standards, and code review into your coding agent.
codexopenai/codex-plugin-cc35.2K starsUse Codex from Claude Code to review code or delegate tasks.