cmd-suggest
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinese/suggest
/suggest
Agent skill wrapper for the Claude command .
/suggestWhen the original command text references , , or named arguments, map them from the user's current request.
{{INPUT}}$1用于Claude命令的Agent技能包装器。
/suggest当原始命令文本引用、或命名参数时,从用户当前请求中映射这些参数。
{{INPUT}}$1Command Instructions
命令说明
Please analyze this repository comprehensively and create suggest.md with:
-
Code Quality Issues
- Code smells and anti-patterns
- Duplicate code
- Overly complex functions
-
Performance Optimizations
- Database query improvements
- Caching opportunities
- Algorithm efficiency
-
Architecture Suggestions
- Design pattern improvements
- Separation of concerns
- Modularity enhancements
-
Security Issues
- Vulnerabilities
- Best practices violations
-
Testing Improvements
- Missing test coverage
- Test quality issues
-
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文件,包含以下内容:
-
代码质量问题
- 代码异味与反模式
- 重复代码
- 过于复杂的函数
-
性能优化建议
- 数据库查询改进
- 缓存机会
- 算法效率提升
-
架构建议
- 设计模式改进
- 关注点分离优化
- 模块化增强
-
安全问题
- 漏洞
- 违反最佳实践的情况
-
测试改进建议
- 缺失的测试覆盖
- 测试质量问题
-
文档缺口
- 缺失或过时的文档
- 需要添加的代码注释
每个建议按以下格式编写:
- 问题描述
- 当前代码示例
- 建议解决方案
- 优先级(高/中/低)
- 预估工作量
将所有发现写入suggest.md文件