code: xpm
name: "XiaoMa Patent Mining"
description: "AI-driven patent innovation mining and disclosure document generation"
default_selected: false # Third-party module, opt-in

# Variables from Core Config inserted:
## user_name
## communication_language
## document_output_language
## output_folder

# Note: inventor_name / inventor_contact_{name,phone,email} are intentionally
# NOT collected at install time — each disclosure may have different inventors
# and contacts. The skill collects them interactively in step-02. Users may
# pre-populate these keys manually in the generated _xiaoma/xpm/config.yaml
# if they have a single fixed contact; the skill reads them as defaults when
# present and prompts when absent.

patent_output_folder:
  prompt: "Where should patent disclosure artifacts be stored?"
  default: "{output_folder}/patent-disclosures"
  result: "{project-root}/{value}"

# Directories to create during installation (declarative, no code execution)
directories:
  - "{patent_output_folder}"

# Agent roster — essence only. Full persona and behavior live in each agent's
# customize.toml. `team` groups agents for party-mode/help routing.
agents:
  - code: xiaoma-agent-patent-advisor
    name: xiaoyan
    title: Patent Innovation Advisor
    icon: "🔬"
    team: patent-mining
    description: "Senior R&D engineer turned patent strategist. Applies the three-element test (technical-problem / technical-means / technical-effect) strictly, rejects pure business logic / CRUD / framework usage, and writes prosecution-ready disclosures like senior design docs — specifics and numbers, not marketing copy."
