Contributing to CC Switch banner
farion1231 farion1231

Contributing to CC Switch

Development community intermediate

Description

> [中文版本](#贡献指南) Thank you for your interest in contributing to CC Switch! Please read our [Code of Conduct](./CODE_OF_CONDUCT.md) before participating.

Installation

Terminal
claude install-skill https://github.com/farion1231/cc-switch

README

Contributing to CC Switch

[中文版本](#贡献指南)

Thank you for your interest in contributing to CC Switch! Please read our [Code of Conduct](./CODE_OF_CONDUCT.md) before participating.

How to Contribute

There are many ways to contribute:

    undefined

**Security vulnerabilities**: Please do NOT use public issues. See our [Security Policy](./SECURITY.md) instead.

Development Setup

Prerequisites

    undefined

Quick Start

# Install dependencies
pnpm install

# Start development server with hot reload
pnpm dev

Useful Commands

Command Description
pnpm dev Start dev server (hot reload)
pnpm build Production build
pnpm typecheck TypeScript type checking
pnpm test:unit Run unit tests
pnpm lint ESLint check
pnpm format Format code (Prettier)
pnpm format:check Check code formatting

For Rust backend:

cd src-tauri
cargo fmt        # Format Rust code
cargo clippy     # Run linter
cargo test       # Run tests

Code Style

    undefined

Run all checks before submitting:

pnpm typecheck && pnpm format:check && pnpm test:unit
cd src-tauri && cargo fmt --check && cargo clippy && cargo test

Pull Request Guidelines

    undefined

PR Checklist

    undefined

Commit Convention

We use [Conventional Commits](https://www.conventionalcommits.org/):

feat(provider): add support for new provider
fix(tray): resolve menu not updating after switch
docs(readme): update installation instructions
ci: add format check workflow
chore(dep