mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-10 02:24:35 +08:00
Refactor code structure for improved readability and maintainability
This commit is contained in:
19
.ccw/workflows/windows-platform.md
Normal file
19
.ccw/workflows/windows-platform.md
Normal file
@@ -0,0 +1,19 @@
|
||||
# Windows Platform Guidelines
|
||||
|
||||
## Path Format
|
||||
|
||||
- **MCP Tools**: `D:\\path\\file.txt`
|
||||
- **Bash**: `D:/path/file.txt` or `/d/path/file.txt`
|
||||
- **Relative**: `./src/index.ts`
|
||||
|
||||
## Bash Rules (Prevent Garbage Files)
|
||||
|
||||
1. **Null redirect**: `command > NUL 2>&1`
|
||||
2. **Quote all**: `echo "$VAR"`, `cat "file name.txt"`
|
||||
3. **Variable assignment**: `export VAR=value && command`
|
||||
4. **Regex escape**: `grep -F "State<T>"` or `grep "State\<T\>"`
|
||||
5. **Pipe output**: `command 2>&1 | ...` (avoid bare command output)
|
||||
|
||||
## Tool Priority
|
||||
|
||||
MCP Tools > PowerShell > Git Bash > cmd
|
||||
Reference in New Issue
Block a user