gsd-core README

The project's README from github.com/open-gsd/gsd-core. As one markdown file: README.md.

GSD Core

Git. Ship. Done.

English · Português · 简体中文 · 日本語 · 한국어

A light-weight meta-prompting, context engineering, and spec-driven development system for Claude Code, OpenCode, Antigravity CLI, Kimi CLI, Kilo, Codex, Copilot, Cursor, Windsurf, and more.

npm version npm downloads Tests Discord GitHub stars License


What is GSD Core

GSD Core is a context-engineering and spec-driven development framework that drives AI coding agents (Claude Code, Codex, Antigravity CLI, Kimi CLI, Copilot, Cursor, and more) through a disciplined phase loop. It solves context rot — the quality degradation that accumulates as an AI fills its context window — by running all heavy research, planning, and execution work in fresh-context subagents while keeping your main session lean.


How it works

Each milestone repeats the same five-step loop, one phase at a time:

  1. Discuss — capture implementation decisions before anything is planned
  2. Plan — research, decompose, and verify the plan fits a fresh context window
  3. Execute — run plans in parallel waves; each executor starts with a clean 200k-token context
  4. Verify — walk through what was built; diagnose and fix before declaring done
  5. Ship — create the PR, archive the phase, repeat for the next one

Quickstart

npx @opengsd/gsd-core@latest

The installer prompts for your runtime (Claude Code, OpenCode, Antigravity CLI, Kimi CLI, Kilo, Codex, Copilot, Cursor, Windsurf, and more) and whether to install globally or locally. The installer is required for cross-runtime compatibility — do not copy files from agents/ or commands/ directly.

On another runtime or without Node.js? See Install on your runtime.

Once installed, start a new project or onboard an existing repo:

/gsd-new-project   # greenfield project
/gsd-onboard       # existing codebase

New here? Follow Your first project for a guided walkthrough from install to first shipped phase, or Onboarding an existing codebase for brownfield setup.


Documentation

What's new in 1.7.0 → docs/whats-new-1.7.0.md

Tutorials — learning by doing:

How-to guides — task-focused recipes:

Reference — authoritative facts:

Explanation — concepts and design decisions:

Full index: docs/README.md. Other languages: 日本語 · 한국어 · Português · 简体中文.


Why it works

Most AI-coding setups fail at scale because context bloat silently degrades output quality, there is no shared memory between sessions, and nothing verifies that code actually works. GSD Core solves all three: heavy work runs in fresh subagents, structured artifacts like STATE.md and CONTEXT.md survive session boundaries, and the verify step walks through what was built and generates fix plans before a phase is declared done. See docs/explanation/context-engineering.md for the full reasoning.

Troubleshooting? See docs/how-to/recover-and-troubleshoot.md.


Community

Project Platform
gsd-opencode Original OpenCode port
Discord Community support

Star History

Star History Chart

License

MIT License. See LICENSE for details.


Claude Code is powerful. GSD Core makes it reliable.

gsd-core (open-gsd/gsd-core)

Searching Database…

10.6K ·GitHub
这是什么?GSD Core 是一个轻量的上下文工程和规格驱动开发框架,通过严格的阶段循环来驱动 Claude Code、Codex、Cursor 这类 AI 编程代理。
这是一个独立的软件,还是装在我的 AI 编程代理里面的东西?它不是独立软件——而是一个框架,安装在你已经在用的代理之上。安装程序会针对你的具体运行时进行配置,可以全局安装,也可以按项目安装。
怎么安装配置?运行安装程序——需要 Node.js 24+ 和 npm 10+——它会提示你选择运行时和安装范围。然后你可以开始一个新项目,或者接入现有的代码仓库;'Your first project' 教程会带你走完从安装到交付第一个阶段的整个流程。
它支持哪些编程代理?明确支持 Claude Code、OpenCode、Antigravity CLI、Kimi CLI、Kilo、Codex、Copilot、Cursor 和 Windsurf,其他工具还有一份 'Install on your runtime' 指南。
安装上有什么要注意的坑吗?有——千万不要直接复制 agents/ 或 commands/ 里的文件。跨运行时兼容必须靠安装程序来实现,手动复制会把它弄坏。
什么是上下文腐化(context rot)?指的是随着 AI 填满它的上下文窗口,输出质量逐渐下降的现象。GSD Core 的应对方式是把所有繁重的研究、规划和执行都放在全新上下文的子代理中运行,让主会话保持轻量。
在一个阶段完成之前,它会检查代码是不是真的能跑吗?会。Verify(验证)步骤会过一遍构建出来的内容,诊断问题,并在宣布阶段完成之前生成修复计划。
能在现有的代码库上用吗,还是只能用于新项目?都可以。安装之后,你既可以开始一个新项目,也可以接入现有的代码仓库,针对存量代码的配置还有一份专门的 'Onboarding an existing codebase' 指南。
Creator
open-gsd
Size
63.2 MB
Stars
10.6K
Age
4mo
Commits · 90 Days