# 46.5.3 Starter模块

starter模块实际是一个空jar。它的目的是提供使用该library所需的必要依赖。

不要对添加你的starter的项目做任何假设。如果你正在自动配置的library需要其他starter，一定要提到它。提供一个合适的默认依赖集可能比较困难，特别是存在大量可选依赖时，你应该避免引入任何非必需的依赖。换句话说，不应当包含可选的依赖。

**注** 无论哪种方式，你的starter必须直接或间接（如果你的starter依赖另外的starter，就不需要添加）地引用核心的Spring Boot starter（`spring-boot-starter`）。 如果一个项目只用你自定义的starter创建，Spring Boot的核心特性会因为核心starter的存在而启用。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://jack80342.gitbook.io/spring-boot/iv.-spring-boot-features/46.-creating-your-own-auto-configuration/46.5-creating-your-own-starter/46.5.3-starter-module.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
