Product-ready GitAgent adapter repository for multi-target AI workflows.
- CLI-first install and initialization experience
- Branch-aware adaptation for multiple runtime targets
- Built-in validation for branch artifacts and release discipline
- Version-controlled release workflow with
VERSIONandCHANGELOG.md - GitHub-native templates and CI validation for real development use
Current version: 1.0.0
gstack-agent is an adapter repository for AI workflows that target different runtime environments from a shared source base. The repository is structured to:
- keep
mainas the canonical development and release branch - support focused runtime branches for Claude, Cursor, OpenCode, Codex, Antigravity, VS Code, Copilot, and PhpStorm
- provide install helpers for cross-platform onboarding
- validate expected branch artifacts automatically during development
- preserve a clean git workflow through branch validation and release guidance
Clone the repository and enter the project directory:
git clone https://github.com/shreyas-lyzr/gstack-agent.git
cd gstack-agentRun the install helper for your platform:
./install.sh.\build.batUse the helper with --help to see available options and runtime detection behavior:
./install.sh --help.\build.bat --helpThis repository relies on one canonical branch plus runtime-specific adaptation branches.
| Branch | Target | Core artifacts | Purpose |
|---|---|---|---|
main |
Product-ready source | README.md, VERSION, CHANGELOG.md, .github/, scripts/validate_branches.py |
Canonical development and release branch |
claude |
Claude Code | agent.yaml, SOUL.md, RULES.md, skills/ |
Default GitAgent/Claude runtime adaptation |
cursor |
Cursor IDE | .cursor/rules/*.mdc, skills/ |
Cursor rule export and runtime target |
opencode |
OpenCode | AGENTS.md, opencode.json |
OpenCode runtime adapter |
codex |
OpenAI Codex | CODEX.md, codex.json |
Codex runtime adapter |
antigravity |
Antigravity | ANTIGRAVITY.md, antigravity.json |
Antigravity runtime adapter |
vscode |
VS Code AI | .vscode/agent.json, VSCODE.md |
VS Code AI runtime adapter |
copilot |
GitHub Copilot | copilot.json, COPILOT.md |
GitHub Copilot runtime adapter |
phpstorm |
PhpStorm Junie | .phpstorm/junie.json, PHPSTORM.md |
PhpStorm runtime adapter |
- Develop new features on
mainand keepmainstable. - Use dedicated runtime branches for adapter-specific artifacts.
- Sync runtime branches with
mainregularly so shared source content remains aligned. - Use
scripts/validate_branches.pybefore pushing or opening pull requests.
The repository includes branch-aware validation tooling to ensure each target branch contains the proper files and metadata.
Run validation locally:
python scripts/validate_branches.pyThis script will:
- verify the working tree is clean
- fetch origin branch refs
- check out each available branch
- ensure required runtime branch files exist
- validate shell script syntax for
install.sh - validate Python syntax for
scripts/validate_branches.py
Validation is also wired into CI via .github/workflows/validate.yml.
Keep branch artifacts aligned with workflow expectations and update this README if branch requirements change.
The install helpers are designed to be ergonomic and safe:
- detect existing adapter files
- recommend the best runtime target automatically
- prompt before creating or overwriting anything
- preserve existing configuration when possible
- support both interactive and CLI-driven invocation
This repository uses simple semantic versioning managed by the VERSION file.
To release a new version:
- Update
VERSION - Add release notes to
CHANGELOG.md - Verify all branches and validate the repo
- Push
mainand open release PRs as needed
Use the repository templates for issues and pull requests:
.github/ISSUE_TEMPLATE/bug_report.md.github/ISSUE_TEMPLATE/feature_request.md.github/PULL_REQUEST_TEMPLATE.md
Read CONTRIBUTING.md for detailed contribution guidance, branch policies, and issue handling.
agent.yaml— shared GitAgent adapter configurationCHANGELOG.md— release notes and change historyCONTRIBUTING.md— contributor guidelines and workflowsinstall.bat/install.sh— install and initialization helpersknowledge/— project knowledge and workflow documentationREADME.md— this repository overview and development guideRULES.md,SOUL.md— shared agent rules and intent guidancescripts/validate_branches.py— branch artifact validation and regression checksskills/— workflow skill definitions for planning, review, shipping, and retrospectives.github/— GitHub templates and CI workflowsVERSION— current semantic release version
The validation script uses origin by default to verify remote branch refs. Confirm your Git remotes with:
git remote -vIf you have multiple remotes, ensure origin points to your primary repository before pushing changes.
gitagent — a git-native, framework-agnostic open standard for AI agents.