Installer for GSI-Protocol workflow commands (Claude Code & Codex)
Project description
GSI-Protocol
Specification-Driven Development (SDD) Workflow for AI-powered Development
Language: English | 繁體中文
GSI-Protocol is an automated Specification-Driven Development (SDD) workflow system that transforms user requirements into production-ready code through a structured 4-phase process: Specification → Architecture → Implementation → Verification.
Features
- Multi-Platform Support: Works with Claude Code, Codex (OpenAI), and GitHub Copilot
- Language Agnostic: Architecture design independent of programming language
- Automated Workflow: Execute complete development cycle with a single command
- BDD Integration: Built-in support for Gherkin specifications
- Project-Aware: Automatically detects and adapts to your project's tech stack
- Role-Based Phases: PM → Architect → Engineer → QA workflow
📚 Learn More
New to GSI-Protocol? Start here:
- GSI Theory & Methodology - Deep dive into the Gherkin-Structure-Implement methodology
- Quick Start Guide - Step-by-step tutorial to build your first feature
Quick Start
Installation
Install using uvx (recommended):
uvx --from gsi-protocol-installer gsi-install
Or using pipx:
pipx run gsi-protocol-installer
The installer will guide you through:
- Selecting AI platform(s) (Claude Code, Codex, GitHub Copilot)
- Choosing installation type (global or project-specific)
- Installing workflow commands
Basic Usage
Automatic Mode (Recommended)
Execute the complete 4-phase workflow automatically:
# For Claude Code / Codex
/sdd-auto <your requirement>
# For GitHub Copilot
@workspace /sdd-auto <your requirement>
Example:
/sdd-auto Add user authentication with email and password
Manual Mode
For more control over each phase:
-
Generate Specification (PM Phase)
/sdd-spec <requirement> -
Design Architecture (Architect Phase)
/sdd-arch <feature_file_path> -
Implement Code (Engineer Phase)
/sdd-impl <feature_file_path> -
Verify Implementation (QA Phase)
/sdd-verify <feature_file_path>
Workflow Overview
The GSI-Protocol follows a structured 4-phase process:
User Requirement
↓
[Phase 1: Specification (PM)]
→ .gsi/{feature}/PRD.md (business behaviour)
→ .gsi/{feature}/{feature}.feature (SpecBridge HTTP contract)
↓
[Phase 2: Architecture (Architect)]
→ .gsi/{feature}/architecture.md
↓
[Phase 3: Implementation (Engineer)]
→ Source code + unit tests (TDD)
↓
[Phase 4: Verification (QA)]
→ specbridge verify + unit tests
→ .gsi/{feature}/conclusion.md
Learn the methodology: Read our GSI Theory & Methodology guide to understand how Gherkin (specification), Structure (architecture), and Implement (code) work together.
Available Commands
| Command | Description | Phase |
|---|---|---|
/sdd-auto |
Execute complete workflow automatically | All |
/sdd-spec |
Generate PRD + SpecBridge contract from requirements | 1 |
/sdd-arch |
Design architecture from specification | 2 |
/sdd-impl |
Implement code + unit tests (TDD) | 3 |
/sdd-verify |
Verify via specbridge + unit tests | 4 |
Output Structure
After running the workflow, your project will have:
project_root/
├── .gsi/{feature_name}/
│ ├── PRD.md # Business behaviour spec
│ ├── {feature_name}.feature # SpecBridge HTTP contract
│ ├── architecture.md # Architecture design
│ └── conclusion.md # Verification report
└── {your_project_structure}/
├── {model_files} # Generated models
├── {service_files} # Generated services
└── {unit_test_files} # TDD-produced tests
Platform-Specific Usage
Claude Code
Commands are available directly in Claude Code CLI:
/sdd-auto <requirement>
/sdd-spec <requirement>
Codex (OpenAI)
Use prompts with argument placeholders:
/sdd-auto <requirement>
GitHub Copilot
Prefix commands with @workspace:
@workspace /sdd-auto <requirement>
@workspace /sdd-spec <requirement>
Requirements
- Python 3.10 or higher
- Node.js 18 or higher
- Git
- One of the supported AI platforms:
- Claude Code CLI
- Codex (OpenAI)
- GitHub Copilot
SpecBridge (Required)
GSI-Protocol integrates SpecBridge in the Specification (/sdd-spec) and Verification (/sdd-verify) phases. SpecBridge is a contract testing CLI that validates live HTTP API behavior against Gherkin feature files.
Install it globally before using GSI-Protocol:
npm install -g @ksz54213/specbridge
Verify installation:
specbridge --version
Documentation
For detailed documentation, see the docs directory:
- GSI Theory & Methodology - Understand the G-S-I pillars
- Quick Start Guide - Get started in minutes
Contributing
Contributions are welcome! Please feel free to submit issues and pull requests.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Author
James Hsueh - asdfg55887@gmail.com
Links
Changelog
See version history and updates in the project repository.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gsi_protocol_installer-1.4.0.tar.gz.
File metadata
- Download URL: gsi_protocol_installer-1.4.0.tar.gz
- Upload date:
- Size: 8.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
27bdeb2733c85b800006b30ee1bdbce6a6e4fe6ca0f762b1b7e483049f38fdbb
|
|
| MD5 |
89a48d5088571fd416f3f654c6479fff
|
|
| BLAKE2b-256 |
51287a85c31190d79eb4c6e3f43fb2b27434ceb2080bdbe416fe3ef877dc758c
|
Provenance
The following attestation bundles were made for gsi_protocol_installer-1.4.0.tar.gz:
Publisher:
publish-to-pypi.yml on CodeMachine0121/GSI-Protocol
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gsi_protocol_installer-1.4.0.tar.gz -
Subject digest:
27bdeb2733c85b800006b30ee1bdbce6a6e4fe6ca0f762b1b7e483049f38fdbb - Sigstore transparency entry: 1495635468
- Sigstore integration time:
-
Permalink:
CodeMachine0121/GSI-Protocol@2bd8fe3cdb98b31a759a94ad61f16078dca845de -
Branch / Tag:
refs/tags/v1.4.0 - Owner: https://github.com/CodeMachine0121
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@2bd8fe3cdb98b31a759a94ad61f16078dca845de -
Trigger Event:
release
-
Statement type:
File details
Details for the file gsi_protocol_installer-1.4.0-py3-none-any.whl.
File metadata
- Download URL: gsi_protocol_installer-1.4.0-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b25acf68c08dea0b518f8e229f58506eeb8af8a8ba6816c9aceb8afe0ae77b4f
|
|
| MD5 |
8df47857688e95eeacce2c553b03f447
|
|
| BLAKE2b-256 |
c84ed0bb9a2ec1fca90724b2033f50d44f9f843df981d9bf28363d46abcc31b8
|
Provenance
The following attestation bundles were made for gsi_protocol_installer-1.4.0-py3-none-any.whl:
Publisher:
publish-to-pypi.yml on CodeMachine0121/GSI-Protocol
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gsi_protocol_installer-1.4.0-py3-none-any.whl -
Subject digest:
b25acf68c08dea0b518f8e229f58506eeb8af8a8ba6816c9aceb8afe0ae77b4f - Sigstore transparency entry: 1495635562
- Sigstore integration time:
-
Permalink:
CodeMachine0121/GSI-Protocol@2bd8fe3cdb98b31a759a94ad61f16078dca845de -
Branch / Tag:
refs/tags/v1.4.0 - Owner: https://github.com/CodeMachine0121
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@2bd8fe3cdb98b31a759a94ad61f16078dca845de -
Trigger Event:
release
-
Statement type: