mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-11 02:33:51 +08:00
重构 ccw cli 模板系统: - 新增 template-discovery.ts 模块,支持扁平化模板自动发现 - 添加 --rule <template> 选项,自动加载 protocol 和 template - 模板目录从嵌套结构 (prompts/category/file.txt) 迁移到扁平结构 (prompts/category-function.txt) - 更新所有 agent/command 文件,使用 $PROTO $TMPL 环境变量替代 $(cat ...) 模式 - 支持模糊匹配:--rule 02-review-architecture 可匹配 analysis-review-architecture.txt 其他更新: - Dashboard: 添加 Claude Manager 和 Issue Manager 页面 - Codex-lens: 增强 chain_search 和 clustering 模块 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
30 lines
1.3 KiB
Plaintext
30 lines
1.3 KiB
Plaintext
Analyze performance characteristics and optimization opportunities.
|
|
|
|
## CORE CHECKLIST ⚡
|
|
□ Focus on measurable metrics (e.g., latency, memory, CPU usage)
|
|
□ Provide file:line references for all identified bottlenecks
|
|
□ Distinguish between algorithmic and resource-based issues
|
|
□ Apply RULES template requirements exactly as specified
|
|
|
|
## REQUIRED ANALYSIS
|
|
1. Identify performance bottlenecks and resource usage patterns
|
|
2. Assess algorithm efficiency and data structure choices
|
|
3. Evaluate caching strategies and optimization techniques
|
|
4. Review memory management and resource cleanup
|
|
5. Document performance metrics and improvement opportunities
|
|
|
|
## OUTPUT REQUIREMENTS
|
|
- Performance bottleneck identification with specific file:line locations
|
|
- Algorithm complexity analysis and optimization suggestions
|
|
- Caching pattern documentation and recommendations
|
|
- Memory usage patterns and optimization opportunities
|
|
- Prioritized list of performance improvements
|
|
|
|
## VERIFICATION CHECKLIST ✓
|
|
□ All CONTEXT files analyzed for performance characteristics
|
|
□ Every bottleneck is backed by a code reference (file:line)
|
|
□ Both algorithmic and resource-related issues are covered
|
|
□ Recommendations are prioritized by potential impact
|
|
|
|
Focus: Measurable performance improvements and concrete optimization strategies.
|