feat: Update documentation to include Codex CLI usage guidelines and enhance template references

This commit is contained in:
catlog22
2025-09-10 22:51:27 +08:00
parent a06ed852bf
commit 7ea75d102f
5 changed files with 5 additions and 116 deletions

View File

@@ -73,29 +73,6 @@ type: technical-guideline
> **📋 Complete Template Reference**: See [Shared Template System](./shared-template-system.md) for comprehensive template directory structure, cross-tool compatibility, and detailed usage patterns.
#### Template System Overview
Codex uses a shared template system with Gemini, located at `~/.claude/workflows/cli-templates/`. Templates are organized by primary use case:
- **`development/`** - Development templates (Codex primary)
- **`automation/`** - Autonomous workflow templates (Codex specialized)
- **`analysis/`** - Analysis templates (Gemini primary, Codex compatible)
- **`integration/`** - Cross-system templates (Codex primary)
- **`planning/`** - Planning templates (Cross-tool)
- **`review/`** - Review templates (Cross-tool)
### 🧭 Template Selection Guide (Codex Focus)
| Task Type | Primary Template | Purpose | Codex Advantage |
|---|---|---|---|
| Build New Feature | `development/feature.txt` | End-to-end feature development | Autonomous implementation |
| Create Component | `development/component.txt` | Reusable component development | Pattern-aware generation |
| Refactor Code | `development/refactor.txt` | Code improvement & optimization | Context-aware refactoring |
| Generate Tests | `development/testing.txt` | Comprehensive test coverage | Intelligent test generation |
| Debug Issues | `development/debugging.txt` | Problem analysis & resolution | Root cause identification |
| Scaffold Project | `automation/scaffold.txt` | Project structure creation | Best practice templates |
| Automate Migration | `automation/migration.txt` | Technology upgrades | Automated migration paths |
| API Development | `integration/api-design.txt` | API design & implementation | RESTful pattern adherence |
> **💡 Cross-Tool Usage**: Analysis templates (`analysis/`) work with Codex for understanding existing code before development. See shared template system for complete compatibility matrix.
### 📦 Standard Command Structures