An open API service indexing awesome lists of open source software.

https://github.com/takezoh/plasticscm-cli-skill

Run PlasticSCM operations as Claude Code skills on WSL/Windows
https://github.com/takezoh/plasticscm-cli-skill

claude-code cli plasticscm wsl

Last synced: about 2 months ago
JSON representation

Run PlasticSCM operations as Claude Code skills on WSL/Windows

Awesome Lists containing this project

README

          

# plasticscm-cli-skill

Run PlasticSCM operations (checkin, branch, merge, diff, history, shelve, etc.) as Claude Code skills. Works on WSL/Windows.

## Build

```bash
make # produces skills/bin/plasticscm.exe
```

## Commands

```bash
plasticscm.exe status []
plasticscm.exe info
plasticscm.exe checkin -m [...]
plasticscm.exe checkout [-r]
plasticscm.exe undo
plasticscm.exe add
plasticscm.exe delete
plasticscm.exe move
plasticscm.exe diff [-c ] []
plasticscm.exe history [-n ] []
plasticscm.exe branch [-n ]
plasticscm.exe switch -b
plasticscm.exe label -n [-m ]
plasticscm.exe merge
plasticscm.exe shelves
plasticscm.exe shelve -n [...]
plasticscm.exe unshelve -n
plasticscm.exe find
plasticscm.exe update []
```

Paths must be in Windows format (e.g. `D:\foo\bar.cpp`).

## Claude Code Skill

```bash
# Install skill via symlink
mkdir -p .claude/skills && ln -s /path/to/plasticscm-cli-skill/skills/plasticscm .claude/skills/plasticscm

# Build the binary (run in plasticscm-cli-skill repo)
cd /path/to/plasticscm-cli-skill && make
```

## Architecture

```
src/main.go
-> flag.NewFlagSet() per subcommand # 19 subcommands
-> client.Client.Execute()
-> cm [args] # PlasticSCM CLI
```

- **`src/main.go`**: Subcommand dispatcher
- **`src/client/client.go`**: `cm` CLI wrapper. `diff` generates changeset-aware unified diffs internally