当用户希望基于 Spring AI Alibaba 设计、实现、排查、重构或解释 Java AI 应用时,使用这个 skill。
这个 skill 以本地 references/ 文档集为准,目标不是只回答概念问题,而是指导实际开发落地。
当任务涉及以下一项或多项内容时,使用这个 skill:
Spring Boot + Spring AI Alibaba 项目ReactAgent 或智能体团队StateGraph / CompiledGraph 设计图工作流java2ai-docs 中的框架 API、示例和推荐模式references/ 文档核实后再回答。根据任务特点选择实现方式:
ReactAgent。SequentialAgent、ParallelAgent、LlmRoutingAgent 或 agent-as-tool 组合方式。StateGraph。按任务只读取必要文档:
references/overview.md:项目概览与整体架构references/quick-start.md:快速开始references/versions.md:版本说明与变更记录references/frameworks_agent-framework_tutorials_agents.md:ReactAgent 核心概念references/frameworks_agent-framework_tutorials_models.md:模型配置与接入references/frameworks_agent-framework_tutorials_messages.md:消息类型与消息组织references/frameworks_agent-framework_tutorials_tools.md:工具调用、函数工具、MCP 工具references/frameworks_agent-framework_advanced_agent-tool.md:智能体作为工具的组合方式references/frameworks_graph-core_examples_mcp-node.md:Graph Core 中的 MCP 节点示例references/frameworks_agent-framework_tutorials_structured-output.md:JSON / POJO 结构化输出references/frameworks_agent-framework_tutorials_memory.md:基础记忆能力references/frameworks_agent-framework_advanced_memory.md:高级记忆与长期记忆references/frameworks_graph-core_core_memory.md:Graph Core 的记忆机制references/frameworks_graph-core_core_persistence.md:持久化与检查点references/frameworks_graph-core_examples_checkpoint-redis.md:基于 Redis 的检查点示例references/frameworks_graph-core_examples_persistence.md:持久化示例references/frameworks_agent-framework_advanced_workflow.md:Agent Framework 工作流能力references/frameworks_graph-core_quick-start.md:Graph Core 快速开始references/frameworks_graph-core_core_core-library.md:核心图编排 APIreferences/frameworks_graph-core_core_streaming.md:流式处理references/frameworks_graph-core_examples_parallel-branch.md:并行分支示例references/frameworks_graph-core_examples_subgraph.md:子图示例references/frameworks_graph-core_examples_subgraph-as-compiledgraph.md:子图作为 CompiledGraphreferences/frameworks_graph-core_examples_subgraph-as-nodeaction.md:子图作为 NodeActionreferences/frameworks_graph-core_examples_subgraph-as-stategraph.md:子图作为 StateGraphreferences/frameworks_agent-framework_advanced_multi-agent.md:多智能体模式references/frameworks_graph-core_examples_multi-agent-supervisor.md:监督者式多智能体示例references/frameworks_agent-framework_advanced_a2a.md:A2A 智能体通信references/frameworks_agent-framework_advanced_human-in-the-loop.md:人工介入流程references/frameworks_graph-core_examples_human-in-the-loop.md:Graph Core 人工审批示例references/frameworks_graph-core_examples_cancellation.md:取消与中断控制references/frameworks_graph-core_examples_time-travel.md:时间回溯与状态恢复references/frameworks_graph-core_examples_long-time-running-task.md:长时间运行任务references/frameworks_agent-framework_advanced_rag.md:RAG 检索增强模式references/frameworks_agent-framework_advanced_context-engineering.md:上下文工程与提示设计references/frameworks_agent-framework_tutorials_hooks.md:Hook 机制references/frameworks_agent-framework_tutorials_skills.md:Skill 组合与扩展当用户要求“使用 Spring AI Alibaba 开发”时,按下面流程处理:
references/ 中读取最小必要文档集合。application.yml 或环境变量对于实现类任务,优先按以下顺序输出:
对于解释或排障类任务,优先按以下顺序输出:
优先参考:
references/quick-start.mdreferences/frameworks_agent-framework_tutorials_agents.mdreferences/frameworks_agent-framework_tutorials_models.mdreferences/frameworks_agent-framework_tutorials_tools.md优先参考:
references/frameworks_agent-framework_tutorials_tools.mdreferences/frameworks_agent-framework_tutorials_messages.mdreferences/frameworks_agent-framework_tutorials_structured-output.md优先参考:
references/frameworks_agent-framework_advanced_workflow.mdreferences/frameworks_graph-core_quick-start.mdreferences/frameworks_graph-core_core_core-library.md优先参考:
references/frameworks_agent-framework_advanced_multi-agent.mdreferences/frameworks_graph-core_examples_multi-agent-supervisor.mdreferences/frameworks_agent-framework_advanced_agent-tool.md优先参考:
references/frameworks_agent-framework_advanced_rag.mdreferences/frameworks_agent-framework_advanced_memory.mdreferences/frameworks_agent-framework_advanced_context-engineering.mdreferences/ 文档,而不是直接凭记忆回答。references/versions.md。
共 1 个版本