Skip to content

badhope/Trae-Skill

πŸš€ Trae Skill Platform v2.0

Production-grade MCP (Model Context Protocol) platform with 80+ professional tools and 71+ skill definitions

CI Status TypeScript License


✨ Key Features

πŸ“¦ 80+ Professional MCP Modules

Category Modules
Core core-dev-kit, template, all-in-one-dev
AI Agents agent-autonomous, agent-multi, agent-reflection, thinking, memory
Frontend react, typescript, ui-design-kit, library-manager
Backend database, mongodb, redis, api-dev-kit
DevOps docker, kubernetes, git, github, aws, aliyun, vercel
QA test-generator, code-review, security-auditor, performance-optimizer
Workflows coding-workflow, debugging-workflow, refactoring-workflow
Tools pdf, search, web-crawler, spreadsheet, markdown, and more!

🎯 71+ Skill Definitions

  • AI Agents & Autonomy
  • Code Quality & Review
  • Full-Stack Development
  • Domain Expertise
  • Engineering Best Practices
  • Meta Skills & Prompting
  • Platform Integration
  • Testing & Validation
  • Workflow Automation

πŸ—οΈ Enterprise-Grade Architecture

  • βœ… Standardized Code Patterns - Consistent builder pattern across all MCPs
  • βœ… Parameter Validation - Schema-based validation with type safety
  • βœ… Error Handling - Unified success/error response format
  • βœ… Type Safety - 100% TypeScript coverage with zero compilation errors
  • βœ… Shared Utilities - DRY architecture with common utilities layer

πŸš€ Quick Start

# Install dependencies
npm install

# Type check
npm run typecheck

# Build
npm run build

# List available MCP modules
npm run skill:list

πŸ“š Documentation

Core System

File Purpose
packages/core/mcp/builder.ts MCP Server builder pattern
packages/core/mcp/types.ts Core type definitions
packages/core/shared/utils.ts Shared utilities & validation
mcp/index.ts MCP module registry & hub

MCP Development Template

import { createMCPServer } from '../../packages/core/mcp/builder'
import { validateParams, formatSuccess, formatError } from '../../packages/core/shared/utils'

export default createMCPServer({
  name: 'your-mcp-name',
  version: '2.0.0',
  description: 'Professional MCP description',
  author: 'Trae Professional',
  icon: '✨'
})
  .forTrae({
    categories: ['Utilities'],
    rating: 'professional',
    features: ['Feature 1', 'Feature 2', 'Feature 3']
  })
  .addTool({
    name: 'tool_name',
    description: 'Tool description',
    parameters: {
      param: { type: 'string', description: 'Parameter description', required: true }
    },
    execute: async (params) => {
      const validation = validateParams(params, {
        param: { type: 'string', required: true }
      })
      if (!validation.valid) return formatError('Invalid parameters', validation.errors)
      
      return formatSuccess({ result: 'success' })
    }
  })
  .build()

πŸ§ͺ CI/CD Pipeline

βœ… Zero-Error Validation Checks

  1. TypeScript Compilation - Full type checking
  2. YAML Validation - All configuration files
  3. Project Structure - Required files verification
  4. MCP Validation - 80 modules structure check
  5. Skill Validation - 71 skill definitions check

πŸ“Š CI Status

  • βœ… All checks pass locally
  • βœ… No missing dependencies
  • βœ… No compilation errors
  • βœ… Ready for production deployment

πŸ“ˆ Project Statistics

Metric Value
MCP Modules 80
Skill Definitions 71
TypeScript Files 85+
Lines of Code 50,000+
Test Coverage 100% type safety
CI Status βœ… Passing

πŸ›οΈ Architecture Principles

βœ… DO

  • Use validateParams for ALL input validation
  • Return formatSuccess / formatError consistently
  • Use safeExec for shell commands
  • Include helpful contextual guidance
  • Keep each tool focused on single responsibility

❌ DON'T

  • Throw exceptions - return formatError instead
  • Use ad-hoc shell execution patterns
  • Return raw strings - always structured data
  • Skip parameter validation
  • Write monolithic tools

🀝 Contributing

  1. Use the MCP template for new modules
  2. Ensure TypeScript compilation passes
  3. Add comprehensive parameter validation
  4. Follow standardized response patterns
  5. Update mcp/index.ts registry

πŸ“„ License

MIT - Built with ❀️ for the AI Agent ecosystem


🎯 Release Notes (v2.0)

✨ Major Improvements

  • 100% Code Standardization - All 80 MCPs upgraded to v2.0 patterns
  • Shared Utilities Layer - Complete refactor with common utilities
  • Enhanced Validation - Schema-based validation with min/max/enum/pattern
  • Type Safety - Zero TypeScript compilation errors
  • CI/CD Overhaul - Robust pipeline with zero false positives
  • Registry Complete - All 80 MCPs properly registered in hub
  • Clean Repository - Removed all unused files and directories

Ready for Production! πŸš€

This release represents a complete overhaul of the entire codebase, bringing enterprise-grade quality and consistency to 80+ MCP modules.

About

Industry-standard skill collection built on the MCP protocol, providing production-grade tools for AI-assisted development.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages