CtrlK
BlogDocsLog inGet started
Tessl Logo

deepgram-java-text-to-speech

Use when writing or reviewing Java code in this repo that calls Deepgram Text-to-Speech v1 (`/v1/speak`) for audio synthesis. Covers one-shot REST via `client.speak().v1().audio().generate(...)` and streaming synthesis via `client.speak().v1().v1WebSocket()`. Use `deepgram-java-voice-agent` for full-duplex assistants instead of one-way synthesis. Triggers include "tts", "text to speech", "speak", "aura", "streaming tts", and "speak websocket".

72

Quality

88%

Does it follow best practices?

Impact

No eval scenarios have been run

SecuritybySnyk

Passed

No known issues

SKILL.md
Quality
Evals
Security

Quality

Content

77%

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

This is a strong, actionable skill with executable code examples for both REST and WebSocket TTS paths. The workflow sequencing is clear, especially the WebSocket flush-before-close pattern. Minor weaknesses include some unnecessary content (Python TextBuilder gotcha, central skills promotion section) and the lack of bundle files to support the progressive disclosure references.

Suggestions

Remove gotcha #6 about Python's TextBuilder — it explains what doesn't exist in a different language, which is noise for a Java skill.

Consider moving the 'Central product skills' section to a separate onboarding document rather than including it in every SDK skill.

DimensionReasoningScore

Conciseness

The skill is mostly efficient with good code examples, but includes some unnecessary content like the 'Central product skills' section at the bottom, the note about Python's TextBuilder not existing in Java (gotcha #6), and some verbose import lists. The gotchas section is useful but a couple items are padding.

2 / 3

Actionability

Provides fully executable, copy-paste-ready code for both REST and WebSocket paths, including proper imports, error handling patterns, and async equivalents. The API surface section gives concrete method signatures and parameter names.

3 / 3

Workflow Clarity

For a skill covering two distinct paths (REST and WebSocket), the workflows are clearly sequenced. The WebSocket example explicitly shows the correct order (connect → sendText → sendFlush → sendClose) with the gotcha explaining why flush-before-close matters. The REST path is a simple single-step operation that is unambiguous.

3 / 3

Progressive Disclosure

The skill has good section structure and references to in-repo source files and external docs. However, with no bundle files provided, the references to `reference.md` (noted as absent), example files, and source directories are unverifiable. The layered API reference section is well-organized but the content is somewhat monolithic for its length (~120 lines of substantive content).

2 / 3

Total

10

/

12

Passed

Description

100%

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

This is an excellent skill description that clearly defines its scope (Deepgram TTS v1 in Java), lists concrete API methods and patterns, provides explicit trigger terms, and even includes boundary guidance to distinguish it from a related skill. It uses proper third-person voice and is concise yet comprehensive.

DimensionReasoningScore

Specificity

Lists multiple specific concrete actions: one-shot REST audio generation via a specific method path, streaming synthesis via WebSocket, and distinguishes from full-duplex assistants. Includes specific API paths and method signatures.

3 / 3

Completeness

Clearly answers both 'what' (calling Deepgram TTS v1 for audio synthesis via REST and WebSocket) and 'when' (opens with 'Use when writing or reviewing Java code... that calls Deepgram Text-to-Speech'). Also includes explicit boundary guidance about when to use a different skill.

3 / 3

Trigger Term Quality

Explicitly lists natural trigger terms users would say: 'tts', 'text to speech', 'speak', 'aura', 'streaming tts', 'speak websocket'. Also includes technical terms like '/v1/speak' and method names that developers would reference.

3 / 3

Distinctiveness Conflict Risk

Highly distinctive with a clear niche: Java code specifically for Deepgram TTS v1. Explicitly differentiates from the 'deepgram-java-voice-agent' skill for full-duplex assistants, reducing conflict risk with related skills.

3 / 3

Total

12

/

12

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation11 / 11 Passed

Validation for skill structure

No warnings or errors.

Repository
deepgram/deepgram-java-sdk
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.