OpenCode doesn’t use the SKILL.md folder format — its equivalent is a command: a single markdown file whose body is the prompt. So we copy each SKILL.md into a command file.
git clone https://github.com/andredarcie/my-skills.git
cd my-skills
~/.config/opencode/commands/<your-project>/.opencode/commands/Linux / macOS / Git Bash:
mkdir -p ~/.config/opencode/commands
for s in code-review dotnet-backend ef-core-sqlserver kafka-idempotency; do
cp "$s/SKILL.md" ~/.config/opencode/commands/"$s".md
done
Windows (PowerShell):
New-Item -ItemType Directory -Force ~\.config\opencode\commands | Out-Null
foreach ($s in 'code-review','dotnet-backend','ef-core-sqlserver','kafka-idempotency') {
Copy-Item "$s\SKILL.md" ~\.config\opencode\commands\"$s.md"
}
Invoke with /code-review, /dotnet-backend, /ef-core-sqlserver, or /kafka-idempotency. OpenCode reads the description frontmatter field; the name field is ignored (the command name comes from the filename).