First off, thank you for considering contributing to Scripthing! It's people like you that make Scripthing such a great tool for writers.
By participating in this project, you are expected to uphold our Code of Conduct (please see CODE_OF_CONDUCT.md).
- Use the GitHub issue tracker to report bugs.
- Include a clear, descriptive title and as much information as possible to help us reproduce the issue.
- Feature requests are welcome! Please open an issue to discuss your ideas before starting implementation.
- Fork the repository and create your branch from
main. - Install dependencies with
pnpm install. - If you're adding a feature, follow our Spec-Driven Development approach (refer to AGENTS.md).
- Ensure your code follows our Style Guides.
- Write tests for any new functionality.
- Run the full quality check:
pnpm checkandpnpm test.
We follow the Conventional Commits specification. This helps us generate automated changelogs.
feat(...): A new featurefix(...): A bug fixdocs(...): Documentation changeschore(...): Maintenance tasksrefactor(...): Code changes that neither fix bugs nor add features
- Files: Use
kebab-case.ts. - React Components: Use
PascalCase.tsx. - Variables/Functions: Use
lowerCamelCase. - Formatting: We use ESLint and Prettier (run automatically via
lint-stagedon commit).
- Ensure your branch is up-to-date with
main. - Update the
README.mdandCHANGELOG.mdif your change adds/modifies user-facing features. - Your PR will be automatically tested via GitHub Actions. All checks must pass before it can be merged.
- Once your PR is approved, it will be merged into
main.
Thank you for your contribution!