This guide outlines the complete workflow for contributing to NebulaFlow, from setting up your environment to merging your changes.
Contributing to NebulaFlow follows a standard open-source workflow:
main (or dev for pre-release)git clone https://github.com/your-username/nebulaflow.git
cd nebulaflow
git remote add upstream https://github.com/PriNova/nebulaflow.git
Follow the Development Setup guide to install dependencies, set environment variables, and build the project.
Quick start:
npm installAMP_API_KEY and optionally OPENROUTER_API_KEYnpm run buildCreate a descriptive branch for your changes:
git checkout -b feature/your-feature-name
Branch naming conventions:
feature/ – new featuresfix/ – bug fixesdocs/ – documentation updatesrefactor/ – code refactoringchore/ – maintenance tasksnode: protocol for Node.js built-ins.Before committing, run the full check suite:
npm run check
This runs:
If there are errors, fix them before proceeding.
If you add or modify features, update the relevant documentation:
docs/user-guide/)docs/api-reference/)docs/workflows/)mkdocs.yml if adding new files.Follow Conventional Commits. Format:
<type>(<scope>): <subject>
<body>
<footer>
Types:
feat: New featurefix: Bug fixdocs: Documentation changesstyle: Code style (formatting, linting)refactor: Code refactoringtest: Adding or updating testschore: Build process, tooling, dependenciesExample:
feat(llm-node): add support for custom model parameters
- Extend LLM node data interface with `modelParams` field
- Update UI to allow editing model parameters
- Pass parameters to Amp SDK execution
Closes #123
git push origin feature/your-feature-name
main (or dev for pre-release features)NebulaFlow uses GitHub Actions for continuous integration. The CI pipeline runs on pushes to main and dev branches and includes:
npm run check)npm run package:vsix)You can run the same steps locally to verify your changes before pushing.
main or dev.v1.2.3). The CI workflow automatically builds and packages the extension, then creates a GitHub release with the .vsix file.main.For detailed release process, see Deployment.
| Issue | Solution |
|---|---|
| Amp SDK not available | Ensure vendor/amp-sdk/amp-sdk.tgz exists. |
| AMP_API_KEY is not set | Set the environment variable before launching VS Code. |
| Webview assets don’t load | Run npm run build or start the webview watcher (npm run watch:webview). |
| Type errors | Run npm run typecheck and fix diagnostics. |
| Lint/format issues | Run npm run check or npm run biome. |
| Extension fails to load | Check VS Code version ≥ 1.90.0; reload the window. |
| CI fails | Run npm run check locally and fix any errors. |
Last Updated: 2026-01-21