Skip to content

Latest commit

 

History

History
51 lines (35 loc) · 1.33 KB

File metadata and controls

51 lines (35 loc) · 1.33 KB

Installing spec-forge for OpenCode

Prerequisites

  • OpenCode installed and configured
  • Git installed

Installation

  1. Clone the repository:
git clone https://github.com/tercel/spec-forge.git
  1. Create the skills directory if it doesn't exist:
mkdir -p ~/.config/opencode/skills
  1. Symlink to the OpenCode skills directory:
ln -s "$(pwd)/spec-forge" ~/.config/opencode/skills/spec-forge
  1. Verify the installation:
ls ~/.config/opencode/skills/spec-forge/commands/
# Should list: decompose.md  idea.md  prd.md  spec-forge.md  srs.md  tech-design.md  test-cases.md

Usage

Once installed, the following commands are available in OpenCode:

  • /spec-forge:idea <name> — Interactive brainstorming and demand validation
  • /spec-forge:decompose <name> — Decompose project into sub-features
  • /spec-forge:tech-design <name> — Generate Tech Design + Feature Specs
  • /spec-forge <name> — Run full chain (Idea → Decompose → Tech Design + Feature Specs)
  • /spec-forge:prd <name> — Generate PRD (on-demand, for stakeholders)
  • /spec-forge:srs <name> — Generate SRS (on-demand, for compliance)
  • /spec-forge:test-cases <name> — Generate Test Plan (on-demand, for QA)

Uninstall

rm ~/.config/opencode/skills/spec-forge