Contributing to LunyScript

Thank you for your interest in contributing to LunyScript! This document provides guidelines and setup instructions for contributors.

Before You Start

  1. Read AI-USAGE.md - Understand our AI usage policies and restrictions
  2. Review Guidelines.md - Learn our coding and documentation standards
  3. Check TODO.md - See current priorities and open tasks

Required: Developer Certificate of Origin (DCO)

All commits must include a Signed-off-by line certifying you agree to the Developer Certificate of Origin.

Quick Setup

Run our setup script to automatically configure your local repository:

./scripts/setup-contributor.sh

Or manually configure git to always sign-off commits:

git config commit.gpgsign false
git config format.signoff true

Then commit as usual:

git commit -m "Your commit message"

The Signed-off-by: Your Name <your.email@example.com> line will be added automatically.

Manual Sign-off

If you prefer not to auto-sign, use the -s flag:

git commit -s -m "Your commit message"

AI-Assisted Contributions

If you use AI tools to help with your contributions:

  1. Only use approved AI tools - See AI-USAGE.md
  2. Never use prohibited tools - Especially GitHub Copilot (see AI-USAGE.md)
  3. Declare AI usage - Include this in your first AI-assisted commit:
I am using AI to co-author my contributions and will comply with AI-USAGE.md as updated.

AI tool(s): [e.g., Claude, JetBrains AI]

Signed-off-by: Your Name <your.email@example.com>
  1. Want to use an unlisted AI tool? - Open a discussion first

Contribution Workflow

  1. Fork the repository
  2. Create a feature branch - git checkout -b feature/your-feature-name
  3. Make your changes - Follow Guidelines.md
  4. Test your changes - Ensure everything works
  5. Commit with DCO - Use git commit -s or auto-signoff
  6. Push to your fork - git push origin feature/your-feature-name
  7. Open a Pull Request - Describe your changes clearly

Documentation Standards

When contributing documentation:

Code Standards

When contributing code (future phases):

Pull Request Review Process

All contributions are reviewed for:

We may:

Contributor Responsibilities

By contributing, you certify that:

  1. You have the legal right to submit your contributions
  2. Your contributions don’t infringe third-party intellectual property rights
  3. You comply with all project policies (AI-USAGE.md, Guidelines.md, etc.)
  4. You agree to indemnify project maintainers from claims arising from your contributions

See AI-USAGE.md - Contributor Responsibilities for full details.

Questions or Issues?

Thank You!

Your contributions help make cross-engine game development more accessible and powerful. We appreciate your time and effort!