spring-ai-alibaba
Provides comprehensive guidance for Spring AI Alibaba including Alibaba Cloud AI services integration, model APIs, and AI application development.
Skill by full-stack-skills
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/full-stack-skills-spring-ai-alibaba
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 26, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/spring-ai-alibaba
What's inside
- Skill name
spring-ai-alibaba- Description
- Provides comprehensive guidance for Spring AI Alibaba including Alibaba Cloud AI services integration, model APIs, and AI application development. Use when the user asks about Spring AI Alibaba, needs to use Alibaba Cloud AI services, or integrate AI capabilities in Spring applications.
- License
- Apache-2.0
- Instructions
- 332 lines in SKILL.md · view on GitHub
Files (2)
- SKILL.md
- openai.yaml · agents/
SKILL.md (first lines)
# Spring AI Alibaba 开发指南
## 概述
Spring AI Alibaba 提供了与阿里云 DashScope(通义千问)的集成,支持使用阿里云的大语言模型服务。
## 核心功能
### 1. 项目创建
**依赖**:
```xml
<dependency>
<groupId>com.alibaba.cloud.ai</groupId>
<artifactId>spring-ai-starter-model-aliyun-dashscope</artifactId>
</dependency>
```
**或使用 Gradle**:
```gradle
dependencies {
implementation 'com.alibaba.cloud.ai:spring-ai-starter-model-aliyun-dashscope'
}
```
### 2. 配置
**application.yml**:
```yaml
spring:
ai:
alibaba:
dashscope:
api-key: ${DASHSCOPE_API_KEY}
chat:
options:
model: qwen-turbo
temperature: 0.7
max-tokens: 2000
```
**application.properties**:
```properties
spring.ai.alibaba.dashscope.api-key=${DASHSCOPE_API_KEY}
spring.ai.alibaba.dashscope.chat.options.model=qwen-turbo
spring.ai.alibaba.dashscope.chat.options.temperature=0.7
spring.ai.alibaba.dashscope.chat.options.max-tokens=2000
```
### 3. Chat Client
**使用 ChatClient**:
```java
@Service
public class ChatService {
private final ChatClient chatClient;
public ChatService(ChatClient chatClient) {
this.chatClient = chatClient;
}
public String chat(String message) {
return chatClient.call(message);
}
public String chatWithPrompt(String userMessage) {
Prompt prompt = new Prompt(new UserMessage(userMessage));
ChatResponse response = chatClient.call(prompt);
return response.getResult().getOutput().getContent();
}
}
```
**流式响应**:
```java
@Service
public class ChatService {
private final StreamingChatClient streamingChatClient;
public ChatService(StreamingChatClient streamingChatClient) {
this.streamingChatClient = streamingChatClient;
}
public Flux<String> streamChat(String message) {
return streamingChatClient.stream(message)
.map(response -> response.getResult().getOutput().getContent());
}
}
```
### 4. 模型选择
**支持的模型**:
- `qwen-turbo` - 通义千问 Turbo 模型(快速响应)
- `qwen-plus` - 通义千问 Plus 模型(平衡性能)
- `qwen-max` - 通义千问 Max 模型(最强性能)
**配置不同模型**:
```yaml
spring:
ai:
alibaba:
dashscope:
chat:
options:
model: qwen-max # 使用最强模型
temperature: 0.7
max-tokens: 2000
```
### 5. Prompt TemplateFrom full-stack-skills/spring-skills, Apache-2.0.
More from full-stack-skills/spring-skills
- 0.604score
spring-cloud-alibaba
full-stack-skills
Provides comprehensive guidance for Spring Cloud Alibaba including Nacos, Sentinel, RocketMQ, and Alibaba Cloud integration.
SkillAFreshness: A★ 3Claude Code +9 - 0.604score
spring-boot
full-stack-skills
Provides comprehensive guidance for Spring Boot development including project creation, auto-configuration, dependency injection, web development, data…
SkillAFreshness: A★ 3Claude Code +9 - 0.604score
spring-cloud
full-stack-skills
Provides comprehensive guidance for Spring Cloud microservices including service discovery, configuration management, load balancing, circuit breakers, API…
SkillAFreshness: A★ 3Claude Code +9 - 0.604score
spring-security
full-stack-skills
Provides comprehensive guidance for Spring Security including authentication, authorization, OAuth2, JWT, and security best practices.
SkillAFreshness: A★ 3Claude Code +9 - 0.604score
spring-data-jpa
full-stack-skills
Provides comprehensive guidance for Spring Data JPA including repositories, entity management, query methods, and database operations.
SkillAFreshness: A★ 3Claude Code +9 - 0.604score
spring-ai
full-stack-skills
Provides comprehensive guidance for Spring AI including AI model integration, prompt templates, vector stores, and AI applications.
SkillAFreshness: A★ 3Claude Code +9 - 0.342score
openspec-archive-change
openspec
Archive a completed change in the experimental workflow.
SkillBFreshness: B★ 3Claude Code +9 - 0.342score
openspec-explore
openspec
Enter explore mode - a thinking partner for exploring ideas, investigating problems, and clarifying requirements.
SkillBFreshness: B★ 3Claude Code +9 - 0.342score
openspec-propose
openspec
Propose a new change with all artifacts generated in one step.
SkillBFreshness: B★ 3Claude Code +9 - 0.342score
openspec-apply-change
openspec
Implement tasks from an OpenSpec change.
SkillBFreshness: B★ 3Claude Code +9 - 0.342score
openspec-apply-change
openspec
Implement tasks from an OpenSpec change.
SkillBFreshness: B★ 3Claude Code +9 - 0.342score
openspec-archive-change
openspec
Archive a completed change in the experimental workflow.
SkillBFreshness: B★ 3Claude Code +9
Signals
- Stars
- 3
- Forks
- 3
- Open issues
- 0
- Last commit (this folder)
- Oct 3, 2026 (25 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from full-stack-skills
- 0.604score
spring-cloud
full-stack-skills
Provides comprehensive guidance for Spring Cloud microservices including service discovery, configuration management, load balancing, circuit breakers, API…
SkillAFreshness: A★ 3Claude Code +9 - 0.604score
spring-boot
full-stack-skills
Provides comprehensive guidance for Spring Boot development including project creation, auto-configuration, dependency injection, web development, data…
SkillAFreshness: A★ 3Claude Code +9 - 0.604score
spring-cloud-alibaba
full-stack-skills
Provides comprehensive guidance for Spring Cloud Alibaba including Nacos, Sentinel, RocketMQ, and Alibaba Cloud integration.
SkillAFreshness: A★ 3Claude Code +9 - 0.604score
spring-data-jpa
full-stack-skills
Provides comprehensive guidance for Spring Data JPA including repositories, entity management, query methods, and database operations.
SkillAFreshness: A★ 3Claude Code +9 - 0.604score
spring-ai
full-stack-skills
Provides comprehensive guidance for Spring AI including AI model integration, prompt templates, vector stores, and AI applications.
SkillAFreshness: A★ 3Claude Code +9 - 0.604score
spring-security
full-stack-skills
Provides comprehensive guidance for Spring Security including authentication, authorization, OAuth2, JWT, and security best practices.
SkillAFreshness: A★ 3Claude Code +9
Cite this page
spring-ai-alibaba skill. Agent Mart. https://agentmart.dev/skills/full-stack-skills-spring-ai-alibaba (last updated 2026-10-24)