Thank you for considering contributing to Manus-JS! This document provides guidelines and instructions for contributing to this project.
Before creating bug reports, please check the issue list as you might find that the bug has already been reported. If you're unable to find an open issue addressing the problem, open a new one.
Bug Report Template:
**Description:**
[Clear and concise description of the bug]
**Steps to Reproduce:**
1. [First Step]
2. [Second Step]
3. [and so on...]
**Expected behavior:**
[What you expected to happen]
**Actual behavior:**
[What actually happened]
**Environment:**
- OS: [e.g. Windows 10, macOS 11.2]
- Node version: [e.g. 16.13.0]
- npm/yarn version: [e.g. npm 8.1.0]
Enhancement suggestions are tracked as GitHub issues. Create an issue and provide the following information:
- Use a clear and descriptive title
- Provide a detailed description of the suggested enhancement
- Explain why this enhancement would be useful
- List any relevant examples if applicable
- 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 follows the existing style guidelines
- Submit your pull request!
-
Clone the repository:
git clone https://github.com/duongnguyen321/manus-js.git cd manus-js
-
Install dependencies:
bun install # or npm install # or yarn install
-
Create a branch for your changes:
git checkout -b feature/your-feature-name
- Use ES6+ features when appropriate
- Follow the ESLint configuration in the project
- Write meaningful variable and function names
- Document complex logic with comments
- Use TypeScript types appropriately
- Use the present tense ("Add feature" not "Added feature")
- Use the imperative mood ("Move cursor to..." not "Moves cursor to...")
- Limit the first line to 72 characters or less
- Reference issues and pull requests liberally after the first line
Ensure that all tests pass before submitting your PR:
bun run test
# or
npm test
# or
yarn test
If you add new functionality, please include appropriate tests.
If your changes require documentation updates, please include them in your PR.
- Check out the project
Contributors will be acknowledged in our README.md.
Thank you for contributing to Manus-JS! 🚀