Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问clear审计提醒

moai-toolkit-essentials摩艾工具包要点

Agent Skill

moai-toolkit-essentials 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

188

周安装

8

GitHub Stars

公开资料未说明

下载量

66
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:moai-toolkit-essentials(摩艾工具包要点)
来源仓库:https://github.com/rdmptv/adbautoplayer
仓库路径:skills/moai-toolkit-essentials
安装命令:
npx skills add https://github.com/rdmptv/adbautoplayer --skill moai-toolkit-essentials
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/rdmptv/adbautoplayer --skill moai-toolkit-essentials

简介

moai-toolkit-essentials 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。

  • 适用于需要根据关键词或任务场景从来源线索中获取信息的场景。
  • 通过 npx skills add 命令安装,需结合原始 README 确认具体用法。
  • 安装前建议核实权限范围、维护状态及是否触发联网或文件操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

⚠️ UV Script Migration Notice All 2 UV CLI scripts have been consolidated into the builder-skill-uvscript skill on 2025-11-30. New script locations: - builder-skill_debug_code.py (previously debug_helper.py) - builder-skill_analyze_performance.py (previously perf_analyzer.py) - Find all scripts in: .claude/skills/builder-skill-uvscript/scripts/ Usage: uv run.claude/skills/builder-skill-uvscript/scripts/builder-skill_debug_code.py This skill retains its development toolkit knowledge and patterns.

Quick Reference (30 seconds)

AI-Powered Unified Development Orchestrator

What It Does: Enterprise-grade development assistant that orchestrates debugging, refactoring, performance optimization, code review, testing, and profiling in integrated workflows with AI-powered analysis, Context7 latest patterns, and TRUST 5 quality enforcement.

Core Capabilities:

  • 🔍 AI Debugging: Intelligent error pattern recognition and Context7 best practices
  • 🛠️ Smart Refactoring: Rope-powered transformations with technical debt quantification
  • Performance Optimization: Scalene profiler integration and bottleneck detection
  • 🔬 Automated Review: TRUST 5 validation with AI quality analysis
  • 🧪 Testing Integration: Comprehensive test automation and CI/CD integration
  • 📊 Advanced Profiling: Multi-language performance profiling and optimization

Unified Development Workflow:

Debug → Refactor → Optimize → Review → Test → Profile
   ↓        ↓         ↓        ↓      ↓       ↓
AI-     AI-       AI-      AI-    AI-     AI-
Powered Powered  Powered  Powered Powered Powered

When to Use:

  • Complete development lifecycle management
  • Enterprise-grade quality assurance
  • Multi-language development projects
  • Performance-critical applications
  • Technical debt reduction initiatives
  • Automated testing and CI/CD integration
  • Cross-team development standardization

Available Scripts

This skill includes UV CLI scripts for standalone usage following the IndieDevDan pattern.

1. debug_helper.py (240 lines)

Purpose: Automated debugging workflow with AI-powered error diagnosis.

Usage:

# Analyze error message
uv run .claude/skills/moai-toolkit-essentials/scripts/debug_helper.py \
    --error "AttributeError: 'NoneType' object has no attribute 'name'"

# Analyze stack trace file
uv run .claude/skills/moai-toolkit-essentials/scripts/debug_helper.py \
    --stack-trace error.log --language python

# JSON output mode
uv run .claude/skills/moai-toolkit-essentials/scripts/debug_helper.py \
    --code src/user_service.py --json

Features:

  • Error pattern recognition for AttributeError, TypeError, KeyError, IndexError, ValueError, ImportError
  • AI-powered root cause analysis
  • Suggested fixes with code examples
  • Step-by-step debugging guide
  • Prevention strategies
  • Dual output: human-readable + JSON

2. perf_analyzer.py (260 lines)

Purpose: Performance bottleneck detection and optimization suggestions.

Usage:

# Analyze profile data
uv run .claude/skills/moai-toolkit-essentials/scripts/perf_analyzer.py \
    --profile output.prof --threshold 1.0

# Analyze code file
uv run .claude/skills/moai-toolkit-essentials/scripts/perf_analyzer.py \
    --code src/data_processor.py

# JSON output mode
uv run .claude/skills/moai-toolkit-essentials/scripts/perf_analyzer.py \
    --profile output.prof --json

Features:

  • Bottleneck detection from profile data or code analysis
  • Optimization strategy suggestions (generators, loop optimization, string concatenation, dict lookups)
  • Memory leak detection
  • Expected performance gains estimation
  • Implementation priority ranking
  • Dual output: human-readable + JSON

Implementation Guide

Core Architecture: Unified Development Orchestrator

class UnifiedEssentialsOrchestrator:
    """AI-powered unified development orchestrator."""

    def __init__(self):
        self.debugger = AIDebugger(context7_enabled=True)
        self.refactorer = AIRefactorer(rope_integration=True)
        self.profiler = AIProfiler(scalene_enabled=True)
        self.reviewer = AIReviewer(trust5_enabled=True)
        self.tester = AITester(ci_cd_integration=True)
        self.analyzer = AIAnalyzer(context7_client=True)

    async def orchestrate_development_workflow(
        self, codebase: Codebase, task: DevelopmentTask
    ) -> WorkflowResult:
        """Orchestrate complete development workflow."""

        # Phase 1: Analysis & Planning
        analysis = await self.analyzer.analyze_codebase(codebase, task)

        # Phase 2: Debug (if issues found)
        if analysis.issues_detected:
            debug_result = await self.debugger.debug_with_ai(
                codebase, analysis.issues
            )

        # Phase 3: Refactor (based on analysis)
        refactor_plan = await self.refactorer.create_refactor_plan(
            codebase, analysis.technical_debt
        )

        # Phase 4: Performance Optimization
        perf_analysis = await self.profiler.analyze_performance(codebase)
        optimization_plan = self.profiler.create_optimization_plan(perf_analysis)

        # Phase 5: Code Review (TRUST 5)
        review_result = await self.reviewer.comprehensive_review(
            codebase, analysis
        )

        # Phase 6: Testing Integration
        test_plan = await self.tester.create_comprehensive_test_plan(
            codebase, task, analysis
        )

        # Phase 7: Final Profiling
        final_profile = await self.profiler.final_profiling(codebase)

        return WorkflowResult(
            analysis=analysis,
            debug_result=debug_result,
            refactor_plan=refactor_plan,
            optimization_plan=optimization_plan,
            review_result=review_result,
            test_plan=test_plan,
            final_profile=final_profile,
            recommendations=self.generate_unified_recommendations()
        )

Pattern 1: AI-Powered Debugging Integration

Concept: Combine error pattern recognition with Context7 best practices for rapid issue resolution.

class IntegratedAIDebugger:
    """AI-powered debugging with Context7 integration."""

    async def debug_with_context7_patterns(
        self, error: Exception, context: CodeContext
    ) -> DebugAnalysis:
        # Get latest debugging patterns from Context7
        debugpy_patterns = await self.context7.get_library_docs(
            context7_library_id="/microsoft/debugpy",
            topic="AI debugging patterns error analysis 2025",
            tokens=5000
        )

        # AI pattern classification and analysis
        error_analysis = self.ai_classifier.classify_error(error)
        pattern_match = self.match_context7_patterns(error, debugpy_patterns)

        # Generate solutions using AI + Context7
        solutions = self.generate_solutions(
            error_analysis, pattern_match, debugpy_patterns
        )

        return DebugAnalysis(
            error_type=error_analysis.type,
            confidence=error_analysis.confidence,
            context7_patterns=pattern_match,
            solutions=solutions,
            prevention_strategies=self.suggest_prevention(error_analysis)
        )

Use Case: Debug TypeError in distributed systems with 95% accuracy using AI pattern recognition.


Pattern 2: Smart Refactoring with Technical Debt Management

Concept: AI-driven code transformation with technical debt quantification and Context7 best practices.

class AISmartRefactorer:
    """AI-powered refactoring with technical debt management."""

    async def refactor_with_intelligence(
        self, code: Codebase, debt_analysis: TechnicalDebtAnalysis
    ) -> RefactorPlan:
        # Get Context7 refactoring patterns
        rope_patterns = await self.context7.get_library_docs(
            context7_library_id="/python-rope/rope",
            topic="safe refactoring patterns technical debt 2025",
            tokens=4000
        )

        # AI analysis of refactoring opportunities
        refactor_opportunities = self.ai_analyzer.identify_opportunities(
            code, debt_analysis
        )

        # Generate safe refactor plan using Rope + AI
        refactor_plan = self.create_safe_refactor_plan(
            refactor_opportunities, rope_patterns
        )

        return RefactorPlan(
            opportunities=refactor_opportunities,
            transformations=refactor_plan.transformations,
            risk_assessment=self.assess_refactor_risks(refactor_plan),
            estimated_impact=self.calculate_impact(refactor_plan),
            context7_validated=True
        )

Use Case: Reduce technical debt by 60% with safe, automated transformations across 25+ languages.


Pattern 3: Performance Optimization with Scalene Integration

Concept: Real-time performance profiling with Scalene and AI bottleneck detection.

class AIPerformanceOptimizer:
    """AI-powered performance optimization with Scalene integration."""

    async def optimize_performance(
        self, code: Codebase, performance_requirements: Requirements
    ) -> OptimizationPlan:
        # Get Context7 optimization patterns
        perf_patterns = await self.context7.get_library_docs(
            context7_library_id="/emeryberger/scalene",
            topic="performance profiling optimization GPU 2025",
            tokens=5000
        )

        # Scalene profiling with AI analysis
        scalene_profile = await self.scalene_profiler.profile_with_ai(
            code, performance_requirements
        )

        # AI bottleneck detection
        bottlenecks = self.ai_detector.detect_bottlenecks(
            scalene_profile, perf_patterns
        )

        # Generate optimization plan
        optimization_plan = self.create_optimization_plan(
            bottlenecks, scalene_profile, perf_patterns
        )

        return OptimizationPlan(
            bottlenecks=bottlenecks,
            optimizations=optimization_plan.optimizations,
            expected_improvement=self.calculate_improvement(optimization_plan),
            implementation_priority=self.prioritize_optimizations(bottlenecks)
        )

Use Case: Achieve 3x performance improvement through AI-driven bottleneck detection and optimization.


Pattern 4: TRUST 5 Automated Code Review

Concept: Comprehensive code review with AI quality analysis and TRUST 5 validation.

class AITrust5Reviewer:
    """AI-powered TRUST 5 code review automation."""

    async def comprehensive_trust5_review(
        self, code: Codebase, context: ReviewContext
    ) -> Trust5Review:
        # Get Context7 security and quality patterns
        security_patterns = await self.context7.get_library_docs(
            context7_library_id="/owasp/top-ten",
            topic="security vulnerability patterns 2025",
            tokens=3000
        )

        # TRUST 5 validation
        trust5_analysis = await self.validate_trust5_principles(code)

        # AI quality analysis
        quality_analysis = self.ai_analyzer.analyze_quality(code)

        # Security vulnerability detection
        security_analysis = self.detect_security_issues(
            code, security_patterns
        )

        return Trust5Review(
            trust5_validation=trust5_analysis,
            quality_analysis=quality_analysis,
            security_analysis=security_analysis,
            recommendations=self.generate_recommendations(
                trust5_analysis, quality_analysis, security_analysis
            ),
            approval_status=self.determine_approval_status(trust5_analysis)
        )

Use Case: Automate 80% of code review process while maintaining 100% TRUST 5 compliance.


Pattern 5: Comprehensive Testing Integration

Concept: AI-driven testing strategy with comprehensive test coverage and CI/CD integration.

class AITestingIntegrator:
    """AI-powered comprehensive testing integration."""

    async def create_comprehensive_test_strategy(
        self, code: Codebase, requirements: TestRequirements
    ) -> TestStrategy:
        # Get Context7 testing patterns
        testing_patterns = await self.context7.get_library_docs(
            context7_library_id="/pytest-dev/pytest",
            topic="testing strategies TDD automation 2025",
            tokens=4000
        )

        # AI test coverage analysis
        coverage_analysis = self.ai_analyzer.analyze_test_coverage(code)

        # Generate comprehensive test plan
        test_plan = self.create_test_plan(
            code, requirements, coverage_analysis, testing_patterns
        )

        # CI/CD integration
        ci_cd_config = self.create_ci_cd_integration(test_plan)

        return TestStrategy(
            test_plan=test_plan,
            coverage_analysis=coverage_analysis,
            ci_cd_integration=ci_cd_config,
            automated_tests=self.generate_automated_tests(test_plan),
            expected_coverage=self.calculate_target_coverage(coverage_analysis)
        )

Use Case: Achieve 95% test coverage with automated test generation and CI/CD integration.



Context7 Integration Hub

Library Mappings for All Components

CONTEXT7_LIBRARY_MAPPINGS = {
    # Debugging
    "debugpy": "/microsoft/debugpy",
    "pdb": "/python/cpython",
    "node_inspect": "/nodejs/node",

    # Refactoring
    "rope": "/python-rope/rope",
    "prettier": "/prettier/prettier",
    "black": "/psf/black",

    # Performance
    "scalene": "/emeryberger/scalene",
    "v8_optimizer": "/v8/v8",
    "go_profiler": "/golang/profiler",

    # Security
    "owasp": "/owasp/top-ten",
    "bandit": "/pyupio/bandit",
    "eslint_security": "/nsecurity/eslint-plugin-security",

    # Testing
    "pytest": "/pytest-dev/pytest",
    "jest": "/facebook/jest",
    "go_test": "/golang/go",

    # Code Quality
    "pylint": "/pylint-dev/pylint",
    "eslint": "/eslint/eslint",
    "golint": "/golang/lint"
}

class UnifiedContext7Integration:
    """Centralized Context7 integration for all essentials components."""

    async def get_latest_patterns(
        self, component: str, topic: str = "", tokens: int = 3000
    ) -> Context7Patterns:
        """Get latest patterns for any essential component."""

        library_id = CONTEXT7_LIBRARY_MAPPINGS.get(component)
        if not library_id:
            raise ValueError(f"Unknown component: {component}")

        return await self.context7.get_library_docs(
            context7_library_id=library_id,
            topic=f"{topic} best practices patterns 2025",
            tokens=tokens
        )

Success Metrics

Unified Development Metrics

  • Development Velocity: 60% improvement with integrated workflows
  • Code Quality: 95% TRUST 5 compliance across all components
  • Performance: 3x improvement with AI optimization
  • Technical Debt: 70% reduction with systematic refactoring
  • Bug Detection: 90% accuracy with AI pattern recognition
  • Test Coverage: 95% coverage with automated testing integration
  • Security: 100% OWASP compliance with automated scanning

Component-Specific Metrics

  • Debug Resolution Time: 70% reduction with AI assistance
  • Refactor Safety: 99% success rate with AI validation
  • Performance Gains: 3-5x improvement with profiling
  • Review Automation: 80% automated with TRUST 5 validation
  • Testing Efficiency: 60% faster with AI test generation
  • Profiling Accuracy: 95% accuracy with multi-language support

Related Skills

Core Dependencies

  • moai-foundation-trust (TRUST 5 quality principles)
  • moai-context7-integration (Latest patterns and best practices)
  • moai-cc-skill-factory (Skill creation and management)
  • moai-core-agent-factory (Agent orchestration)

Complementary Skills

  • moai-domain-* (Domain-specific patterns)
  • moai-lang-* (Language-specific expertise)
  • moai-security-* (Security best practices)
  • moai-quality-* (Quality assurance frameworks)

Best Practices

✅ DO

  • Use integrated workflows for comprehensive development
  • Apply AI pattern recognition from Context7 for all components
  • Leverage TRUST 5 validation consistently across reviews
  • Use performance profiling for optimization decisions
  • Apply technical debt quantification for refactoring priorities
  • Integrate testing throughout the development lifecycle
  • Monitor AI learning and improvement across all components
  • Use Context7 integration for latest patterns and best practices

Works Well With

Agents:

  • workflow-spec - SPEC generation
  • workflow-tdd - TDD implementation
  • core-quality - Quality validation

Skills:

  • moai-foundation-core - Core principles
  • moai-cc-configuration - Configuration management
  • moai-workflow-templates - Template management

Commands:

  • /moai:1-plan - SPEC generation
  • /moai:2-run - TDD execution
  • /moai:3-sync - Documentation

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

31.99%
按下载量换算21

windsurf

23.43%
按下载量换算15

OpenCode

18.21%
按下载量换算12

Codex

12.5%
按下载量换算8

Antigravity

7.64%
按下载量换算5

Gemini CLI

3.61%
按下载量换算2

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills