Migrate commands from an external CLI project into OpenCLI adapters.
Use this skill when the user wants to import commands from another CLI project into opencli.
Use the TweetFlow wrapper for every opencli command in this skill:
../../scripts/tweetflow-opencli
Before starting, confirm the TweetFlow runtime is available:
../../scripts/tweetflow-opencli --version
git clone <source_repo_url> /tmp/<source-cli>
Analyze the source project and list:
Check existing OpenCLI adapters for the target site:
ls src/clis/<site>/
../../scripts/tweetflow-opencli list | grep <site>
source commands vs opencli existing) and mark each command as:
NewEnhanceSkipAsk the user to confirm which commands to migrate.
src/clis/<site>/<name>.yaml
src/clis/<site>/<name>.ts
Strategy.UI or Strategy.COOKIE:src/clis/<site>/<name>.ts
npx tsc --noEmit
../../scripts/tweetflow-opencli list | grep <site>
../../scripts/tweetflow-opencli <site> <command> --limit 3 -f json
Update README.md with new command examples in the correct platform section.
Update SKILL.md command references with the new commands.
Commit and push:
git add -A
git commit -m "feat(<site>): migrate <N> commands from <source-cli>"
git push