# Contributing to Ghost Downloader

## AI 工具使用政策

Ghost Downloader 欢迎使用 AI 工具辅助开发，但请在提交 PR 时如实声明。

### 为什么？

声明 AI 的参与程度，有助于维护者在 review 时有针对性地关注相关部分。

### 怎么声明？

在 PR 模板的 "AI 工具使用" 部分勾选适用的选项：

- **辅助开发** — AI 用于代码补全、查阅 API 用法、辅助调试等。勾选即可，无需额外说明。
- **主要生成** — AI 生成了 PR 中的大量代码或核心逻辑。请注明使用的工具和模型（如 `Cursor + Claude Sonnet 4`）。不确定模型的话写"模型未知"即可。

---

## AI Tool Usage Policy

Ghost Downloader welcomes the use of AI tools in development, but please disclose AI usage when submitting a PR.

### Why?

Disclosing AI involvement helps maintainers focus their review on the parts that need closer attention.

### How to disclose?

Check the applicable option in the "AI Tool Usage" section of the PR template:

- **Assisted development** — AI was used for code completion, looking up API usage, debugging assistance, etc. Just check the box, no further explanation needed.
- **Primarily generated** — AI generated a significant portion of the code or core logic in the PR. Please specify the tool and model (e.g. `Cursor + Claude Sonnet 4`). If you're unsure about the model, just write "model unknown".
