Skip to content
This repository was archived by the owner on Apr 4, 2026. It is now read-only.

Latest commit

 

History

History
54 lines (40 loc) · 1.16 KB

File metadata and controls

54 lines (40 loc) · 1.16 KB

Contributing to VIBEE

Development Workflow

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/my-feature
  3. Write specification first — Create .vibee file before implementation
  4. Generate code — Use vibeec gen to generate implementation
  5. Test — Run zig test on generated code
  6. Commit — Follow conventional commits
  7. Submit pull request

Specification-First Development

All new features must start with a .vibee specification:

# specs/my_feature.vibee
name: my_feature
version: "1.0.0"
language: zig
module: my_feature

behaviors:
  - name: feature_behavior
    given: Precondition
    when: Action
    then: Expected result

Code Style

  • Zig: Follow Zig style guide
  • Specifications: Use 2-space indentation in YAML
  • Commits: Use conventional commits (feat:, fix:, docs:)

Testing

cd src/vibeec
zig test parser.zig
zig test codegen.zig

Pull Request Guidelines

  1. Reference related issue
  2. Include specification file
  3. Add tests for new behaviors
  4. Update documentation if needed

Questions

Open an issue for questions or discussions.