Thank you for your interest in contributing to NeoCard! This guide will help you get started with our development process.
We follow a simplified GitHub Flow strategy to keep our repository clean and organized.
- The
mainbranch is always stable and production-ready. - Never commit directly to
main. All changes must be made via Pull Requests.
- For new features or enhancements.
- Example:
feature/new-seasonal-theme,feature/improved-ai-logic.
- For bug fixes and urgent patches.
- Example:
fix/vcard-encoding,fix/mobile-responsive-header.
- For updates to README, CONTRIBUTING, or other documentation.
- Example:
docs/add-api-usage-guide.
-
Fork the repository to your own account.
-
Clone your fork:
git clone https://github.com/YOUR_USERNAME/NeoCard.git
-
Install dependencies:
npm install
-
Create your branch:
git checkout -b feature/your-awesome-feature
-
Make your changes and ensure they follow our coding standards.
-
Verify your build:
npm run build
- TypeScript: Use strict typing. Avoid
any. - React: Use functional components and hooks.
- Tailwind: Avoid inline styles; use utility classes. Favor component-level abstractions for repetitive styles.
- Consistency: Follow the existing file structure and naming conventions (
PascalCasefor components,camelCasefor utilities).
- Push your changes to your feature branch.
- Open a Pull Request against our
mainbranch. - Provide a clear description of the change, including:
- Motivation for the change.
- Screenshot/Screen recording (if UI-related).
- How to test the change.
- Ensure CI/CD checks pass.
- Request a review from a maintainer.
By contributing to this repository, you agree that your contributions will be licensed under its MIT License.