package mcp

import (
	"github.com/tidbcloud/AgentTeam/desktop/internal/promptcompiler"
	"github.com/tidbcloud/AgentTeam/desktop/internal/types"
)

// SkillDoc returns AgentTeam-specific MCP tool usage instructions for the
// agent system prompt.
func (h *mcpHandler) SkillDoc(toolName types.ToolNamer) string {
	return types.JoinSkillDocParts(h.SkillDocSplit(toolName))
}

// SkillDocSplit returns the AgentTeam-specific MCP tool usage instructions split
// into instruction-critical rules and turn-history reference material.
func (h *mcpHandler) SkillDocSplit(toolName types.ToolNamer) types.SkillDocParts {
	return promptcompiler.AgentTeamSkillDocParts(toolName)
}

func (h *mcpHandler) MemoryResumeReminder() string {
	return promptcompiler.AgentTeamMemoryResumeReminder()
}
