Contributing¶
Contributions are welcome! Whether it's bug fixes, new features, or documentation improvements.
Getting Started¶
Prerequisites¶
- Node.js 18+
- VS Code 1.85+
- At least one provider set up (Claude Max recommended)
Development Setup¶
-
Clone the repository:
-
Set up the VS Code extension:
-
Run tests to verify setup:
Running Locally¶
Open sidekick-vscode/ in VS Code and press F5 to launch the Extension Development Host.
Available Commands¶
All commands run from sidekick-vscode/:
npm run compile # Dev build (with source maps)
npm run build # Production build (minified)
npm run watch # Watch mode for development
npm test # Run all tests (Vitest)
npm run test:watch # Watch mode for tests
npm run lint # Check for linting issues
npm run lint:fix # Auto-fix linting issues
npm run package # Create .vsix for distribution
Code Style¶
- ESLint for linting — run
npm run lintbefore committing - TypeScript strict mode
- Tests co-located with source files (
Foo.ts/Foo.test.ts)
Branch Naming¶
feature/description— New featuresfix/description— Bug fixesdocs/description— Documentationrefactor/description— Code refactoring
Commit Messages¶
feat(auth): add OAuth2 support
fix(completion): handle empty responses gracefully
docs: update README with troubleshooting section
refactor(session): extract path resolution logic
Pull Requests¶
- Create a feature branch from
main - Make your changes with clear commits
- Ensure tests pass (
npm test) and linting passes (npm run lint) - Submit a PR with a clear description
Areas for Contribution¶
- Test coverage improvements
- Session monitoring enhancements
- Performance improvements for inline completions
- Documentation and developer experience
- Bug fixes
Look for issues labeled good first issue for suitable starting points.
License¶
By contributing, you agree that your contributions will be licensed under the MIT License.