---
name: gsd:workflow:brownfield
description: Workflow for working with existing codebase
version: 1.0.0
triggers: [brownfield, existing codebase]
tools: [Bash, Glob, Grep, Write]
---

# GSD Brownfield Workflow

Workflow for working with existing codebases.

## When to Use

- Joining existing project
- Continuing development on existing code
- Understanding legacy system

## Phases

1. Map codebase structure
2. Research technology stack
3. Analyze architecture
4. Identify concerns and debt
5. Plan new work
6. Execute with integration checks

## Entry Point

Run: `gsd:map-codebase`

## Success Criteria

Codebase documented and ready for new development.
