Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@

An OpenCode plugin that integrates OpenSpec, providing a dedicated agent for planning and specifying software architecture.

## Motivation

This plugin addresses the need for a dedicated planning mode in OpenCode.

**The Problem:**
When using OpenCode's standard "Build mode" to create or modify OpenSpec planning documents, AI agents often attempt to start implementing code changes immediately, before the planning phase is complete. This can lead to premature coding and a lack of focus on the architectural design.

**The Solution:**
`opencode-plugin-openspec` introduces a specialized **OpenSpec Architect** agent. This agent is configured to:
* **Allow** creating and editing OpenSpec documents (e.g., `project.md`, `specs/**`).
* **Prevent** modifications to the implementation code.
* **Focus** entirely on planning and specification, ensuring a clear separation between design and implementation.

## Features

- **Auto-Detection**: Automatically detects if the current workspace is an OpenSpec project.
Expand Down