cmd-suggest

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

/suggest

/suggest

Agent skill wrapper for the Claude command
/suggest
.
When the original command text references
{{INPUT}}
,
$1
, or named arguments, map them from the user's current request.
用于Claude命令
/suggest
的Agent技能包装器。
当原始命令文本引用
{{INPUT}}
$1
或命名参数时,从用户当前请求中映射这些参数。

Command Instructions

命令说明

Please analyze this repository comprehensively and create suggest.md with:
  1. Code Quality Issues
    • Code smells and anti-patterns
    • Duplicate code
    • Overly complex functions
  2. Performance Optimizations
    • Database query improvements
    • Caching opportunities
    • Algorithm efficiency
  3. Architecture Suggestions
    • Design pattern improvements
    • Separation of concerns
    • Modularity enhancements
  4. Security Issues
    • Vulnerabilities
    • Best practices violations
  5. Testing Improvements
    • Missing test coverage
    • Test quality issues
  6. Documentation Gaps
    • Missing or outdated docs
    • Code comments needed
Format each suggestion with:
  • Issue description
  • Current code example
  • Proposed solution
  • Priority (High/Medium/Low)
  • Estimated effort
Write all findings to suggest.md
请全面分析此代码仓库,并创建suggest.md文件,包含以下内容:
  1. 代码质量问题
    • 代码异味与反模式
    • 重复代码
    • 过于复杂的函数
  2. 性能优化建议
    • 数据库查询改进
    • 缓存机会
    • 算法效率提升
  3. 架构建议
    • 设计模式改进
    • 关注点分离优化
    • 模块化增强
  4. 安全问题
    • 漏洞
    • 违反最佳实践的情况
  5. 测试改进建议
    • 缺失的测试覆盖
    • 测试质量问题
  6. 文档缺口
    • 缺失或过时的文档
    • 需要添加的代码注释
每个建议按以下格式编写:
  • 问题描述
  • 当前代码示例
  • 建议解决方案
  • 优先级(高/中/低)
  • 预估工作量
将所有发现写入suggest.md文件