Skip to content

Conversation

@markpollack
Copy link
Member

Integrate Anthropic's pre-built Skills for document generation. Skills enable Claude to create actual downloadable files rather than just describing them.

Supported skills:

  • XLSX: Generate Excel spreadsheets
  • PPTX: Create PowerPoint presentations
  • DOCX: Generate Word documents
  • PDF: Create PDF files

Example usage:
AnthropicChatOptions.builder() .anthropicSkill(AnthropicSkill.XLSX) .build()

Generated files can be downloaded via the Files API using SkillsResponseHelper to extract file IDs from responses.

Breaking change:

  • ContentBlock.content type changed from String to Object to support nested JSON structures in Skills responses

This is a backport of #4968 to the 1.1.x branch, adapted for Spring Framework 6 compatibility (uses spring-retry instead of Spring Framework 7's core retry).

Integrate Anthropic's pre-built Skills for document generation. Skills
enable Claude to create actual downloadable files rather than just
describing them.

Supported skills:
- XLSX: Generate Excel spreadsheets
- PPTX: Create PowerPoint presentations
- DOCX: Generate Word documents
- PDF: Create PDF files

Example usage:
  AnthropicChatOptions.builder()
    .anthropicSkill(AnthropicSkill.XLSX)
    .build()

Generated files can be downloaded via the Files API using
SkillsResponseHelper to extract file IDs from responses.

Breaking change:
- ContentBlock.content type changed from String to Object to support
  nested JSON structures in Skills responses

Signed-off-by: Mark Pollack <mark.pollack@broadcom.com>
@sobychacko
Copy link
Contributor

Merged via b7a36bb.
Also added another commit on top: a1f32d1

@sobychacko sobychacko closed this Dec 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants