Run all commands from your project root.
This setup will:
- Clone Spec-Driven Development to
.opencode/directory, creating.opencode/AGENTS.md - Create a symlink
AGENTS.mdin the project root pointing to.opencode/AGENTS.md - OpenCode will read
AGENTS.mdand access the skills index
# Add Spec-Driven Development as a submodule
git submodule add https://github.com/craigtkhill/spec-driven-development.git .opencode
# Initialize the submodule
git submodule update --init --recursive
# Create symlink to submodule's AGENTS.md for OpenCode (from project root)
ln -s .opencode/AGENTS.md AGENTS.mdSee Update Instructions for how to update Spec-Driven Development.