cc-haha/CONTRIBUTING.md
程序员阿江(Relakkes) 771eabe47e docs: foreground desktop onboarding in project docs
The desktop app is now a primary entry point for users, so the bilingual README should show the desktop screenshots before architecture details and the GitHub contribution panel should default to Chinese for the main audience.

Constraint: GitHub renders the root CONTRIBUTING.md directly in the repository overview.
Rejected: Leave desktop preview after architecture diagrams | buries the most visible product surface below implementation material.
Confidence: high
Scope-risk: narrow
Tested: bun run check:docs
Tested: git diff --check
Not-tested: GitHub repository page rendering after push
2026-05-03 00:06:58 +08:00

32 lines
920 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 贡献指南
感谢你帮助改进 Claude Code Haha。
完整贡献指南包含本地检查、真实模型 baseline、质量门禁报告和 PR 要求:
- 中文:[docs/guide/contributing.md](docs/guide/contributing.md)
- English[docs/en/guide/contributing.md](docs/en/guide/contributing.md)
大多数贡献者在提交 PR 前应先运行:
```bash
bun install
bun run quality:pr
```
如果你在全新 clone 中运行 adapter 或 native 相关检查,还需要安装 adapter 依赖:
```bash
cd adapters
bun install
```
如果改动涉及桌面端聊天路径、provider/runtime 选择、CLI bridge、权限、工具、文件编辑或发布打包还需要用你本地可用的模型提供商跑真实 baseline
```bash
bun run quality:providers
bun run quality:gate --mode baseline --allow-live --provider-model <selector>:main
```
质量报告会写入 `artifacts/quality-runs/<timestamp>/`