feat(ccs): add --install command for delegation features

- Add installation function for commands and skills
- Implement --install flag in both bash and PowerShell scripts
- Update documentation with installation instructions
- Add comprehensive test suites for installation functionality
- Refactor delegation command to simplify profile handling
- Remove haiku references, focus on GLM delegation model
- Update usage examples and documentation
This commit is contained in:
kaitranntt committed 2025-11-03 00:29:41 -05:00
1 parent ade5103ca0
commit 613b92ce60
10 files changed
+1006 -53

No files matched your search

+36
View File
@@ -77,6 +77,42 @@ ccs glm /code "implement feature"
```bash
ccs --version # Show CCS version
ccs --help # Show Claude CLI help
ccs --install # Install CCS commands and skills to ~/.claude/
```
### Installing Commands and Skills
To use the task delegation feature, you need to install the CCS commands and skills to your Claude CLI directory:
```bash
# Install CCS delegation commands and skills
ccs --install
```
This will:
- Copy `/ccs` command to `~/.claude/commands/ccs.md`
- Copy `ccs-delegation` skill to `~/.claude/skills/ccs-delegation/`
- Skip existing files (won't overwrite your customizations)
**Output Example**:
```
┌─ Installing CCS Commands & Skills
│ Source: /path/to/ccs/.claude
│ Target: /home/user/.claude
│
│ Installing commands...
│ │ ✓ Installed command: ccs.md
│
│ Installing skills...
│ │ ✓ Installed skill: ccs-delegation
└─
✓ Installation complete!
Installed: 2 items
Skipped: 0 items (already exist)
You can now use the /ccs command in Claude CLI for task delegation.
Example: /ccs glm /plan 'add user authentication'
```
## Task Delegation