Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 801 Bytes

File metadata and controls

34 lines (24 loc) · 801 Bytes

Forge - CLAUDE.md

Project Structure

Multi-module Go workspace with three modules:

  • forge-core/ — Core library (registry, tools, security, channels, LLM)
  • forge-cli/ — CLI commands, TUI wizard, runtime
  • forge-plugins/ — Channel plugins (telegram, slack), markdown converter

Pre-Commit Requirements

Always run before committing:

# Format all modules
gofmt -w forge-core/ forge-cli/ forge-plugins/

# Lint all modules
golangci-lint run ./forge-core/...
golangci-lint run ./forge-cli/...
golangci-lint run ./forge-plugins/...

Fix any lint errors and formatting issues before creating commits.

Testing

Run tests for affected modules before committing:

cd forge-core && go test ./...
cd forge-cli && go test ./...
cd forge-plugins && go test ./...