Files
Claude-Code-Workflow/.claude/workflows/cli-templates/prompts/documentation-project-examples.txt
catlog22 f14418603a feat(cli): 添加 --rule 选项支持模板自动发现
重构 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>
2026-01-17 19:20:24 +08:00

35 lines
1.2 KiB
Plaintext

Generate practical, end-to-end examples demonstrating core project usage.
## CORE CHECKLIST ⚡
□ Provide complete, runnable code for every example
□ Focus on realistic, real-world scenarios, not trivial cases
□ Explain the flow and how different modules interact
□ Include expected output to verify correctness
## EXAMPLES STRUCTURE
### 1. Introduction
- Overview of the examples and any prerequisites.
### 2. Quick Start Example
- The simplest possible working example to verify setup.
### 3. Core Use Cases
- 3-5 complete examples for common scenarios with code, output, and explanations.
### 4. Advanced & Integration Examples
- Showcase more complex scenarios or integrations with external systems.
### 5. Testing Examples
- Show how to test code that uses the project.
### 6. Best Practices & Troubleshooting
- Demonstrate recommended patterns and provide solutions to common issues.
## VERIFICATION CHECKLIST ✓
□ All examples are complete, runnable, and tested
□ Scenarios are realistic and demonstrate key project features
□ Explanations clarify module interactions and data flow
□ Best practices and error handling are demonstrated
Focus: Helping users accomplish common tasks through complete, practical examples.