Skip to content

feat(init): /gstack init command for brownfield onboarding#1

Merged
Ty-Robb merged 3 commits intomainfrom
feat/gstack-init-brownfield
Mar 14, 2026
Merged

feat(init): /gstack init command for brownfield onboarding#1
Ty-Robb merged 3 commits intomainfrom
feat/gstack-init-brownfield

Conversation

@Ty-Robb
Copy link
Owner

@Ty-Robb Ty-Robb commented Mar 14, 2026

Description

This PR introduces the /gstack init command, which allows users to onboard existing projects to gstack with a single command.

Features

  • Auto-Stack Detection: Auto-detects the project's tech stack and framework (Node.js, Ruby on Rails, Go, Rust, Python) using project configuration files.
  • Config Generation: Extracts test and build commands, and generates a .gstack.json file dynamically.
  • Universal Safety Checklist: Scaffolds a universal default .claude/skills/review/checklist.md covering SQL injection, Trust Boundaries, Error Handling, Concurrency, and Secrets if the project does not already have a defined checklist.
  • Uses Claude's LLM reasoning in SKILL.md instead of brittle bash scripts for parsing configurations.

Ty-Robb added 3 commits March 14, 2026 14:14
This checklist acts as a fallback for projects that have not yet defined their own .claude/skills/review/checklist.md. It covers universal concerns such as SQL injection, trust boundaries, error handling, concurrency, and secrets.
The new init skill auto-detects a project's stack (e.g. Node.js, Ruby/Rails, Go, Rust, Python) by inspecting project files like package.json, Gemfile, etc., and extracts test/build commands. It scaffolds a .gstack.json and provides a default review checklist if none exists, enabling a one-command onboarding for any existing project.
@Ty-Robb Ty-Robb merged commit 7d57c32 into main Mar 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant