We love your input! We want to make contributing to Platform Engineering Copilot as easy and transparent as possible, whether it's:
- Reporting a bug
- Discussing the current state of the code
- Submitting a fix
- Proposing new features
- Becoming a maintainer
We use GitHub to host code, to track issues and feature requests, as well as accept pull requests.
- Fork the repo and create your branch from
main. - If you've added code that should be tested, add tests.
- If you've changed APIs, update the documentation.
- Ensure the test suite passes.
- Make sure your code lints.
- Issue that pull request!
-
Clone the repository:
git clone https://github.com/yourusername/platform-eng-copilot.git cd platform-eng-copilot -
Install dependencies:
npm install
-
Set up your environment variables:
cp .env.example .env # Edit .env with your values -
Start the development server:
npm run dev
We use ESLint and Prettier to maintain code quality. Before submitting your PR:
-
Format your code:
npm run format
-
Run the linter:
npm run lint
We follow the Conventional Commits specification. Each commit message should be structured as follows:
<type>[optional scope]: <description>
[optional body]
[optional footer(s)]
Types include:
- feat: A new feature
- fix: A bug fix
- docs: Documentation only changes
- style: Changes that do not affect the meaning of the code
- refactor: A code change that neither fixes a bug nor adds a feature
- test: Adding missing tests or correcting existing tests
- chore: Changes to the build process or auxiliary tools
- Update the README.md with details of changes to the interface, if applicable.
- Update the documentation with any new environment variables, exposed ports, etc.
- The PR may be merged once you have the sign-off of at least one other developer.
Don't hesitate to file an issue in the GitHub issue tracker if you have any questions or problems.