- Fix slashes in agent identity causing invalid hook file paths (gt-vqhc) - Add Prerequisites section to README (gt-vzic) - Create CONTRIBUTING.md, CODE_OF_CONDUCT.md, SECURITY.md (gt-xbfw) - Update Install section for future package managers (gt-7wcf) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1.4 KiB
1.4 KiB
Contributing to Gas Town
Thanks for your interest in contributing! Gas Town is experimental software, and we welcome contributions that help explore these ideas.
Getting Started
- Fork the repository
- Clone your fork
- Install prerequisites (see README.md)
- Build and test:
go build -o gt ./cmd/gt && go test ./...
Development Workflow
We use a direct-to-main workflow for trusted contributors. For external contributors:
- Create a feature branch from
main - Make your changes
- Ensure tests pass:
go test ./... - Submit a pull request
Code Style
- Follow standard Go conventions (
gofmt,go vet) - Keep functions focused and small
- Add comments for non-obvious logic
- Include tests for new functionality
What to Contribute
Good first contributions:
- Bug fixes with clear reproduction steps
- Documentation improvements
- Test coverage for untested code paths
- Small, focused features
For larger changes, please open an issue first to discuss the approach.
Commit Messages
- Use present tense ("Add feature" not "Added feature")
- Keep the first line under 72 characters
- Reference issues when applicable:
Fix timeout bug (gt-xxx)
Testing
Run the full test suite before submitting:
go test ./...
For specific packages:
go test ./internal/wisp/...
go test ./cmd/gt/...
Questions?
Open an issue for questions about contributing. We're happy to help!