agentleFS
GetStreamGetStream/Agents/.claude/skills/stt/SKILL.md

stt

Skill8.2k starsChanged 58 days agoApache-2.0View on GitHub

Build and test a new streaming STT provider in acceleration/internal/stt.

  • Reads credentials

4 other projects use a version of this.

Adopted by

Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data

Week of Oct 4: 0 new projectsWeek of Oct 11: 0 new projectsWeek of Oct 18: 0 new projectsWeek of Oct 25: 0 new projectsWeek of Nov 1: 0 new projectsWeek of Nov 8: 0 new projectsWeek of Nov 15: 0 new projectsWeek of Nov 22: 0 new projects
Oct 2026Nov 2026Nov 2026
New projects taking a version of this file each week, over the 8 weeks our latest run read: only 0 in all, so this is a hint, not a trend.

Most recently taken up by

Who's talking about GetStream/Agents

The biggest 5 of 8 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 8

Talked about on GitHub (8 times).

On GitHub · 8

3 more on GitHub

The file

Files
SKILL.md

New STT provider (Go)

Build

  • One package per provider: acceleration/internal/stt/<name>/<name>.go, implementing stt.STT (Start, ProcessAudio, Events, Close, Provider, Model).
  • Emit stt.ModeReplacement for hypotheses and stt.ModeFinal for the settled turn. Never ModeDelta unless the server really sends deltas.
  • Options struct with an APIKey that falls back to the provider's env var. Validate the options in New and return a descriptive error rather than failing at connect time.
  • Register it in sttrouter/registry.go so routing config can name it.

Test

Three files, in this order of value:

  1. <name>_test.go — no network. Feed handleMessage (or its equivalent) server frames and assert the events that come out.
  2. socket_test.go — a fake WebSocket server. Asserts what goes on the wire (setup frame, keyterms, flush on close).
  3. <name>_integration_test.go — //go:build integration, embeds sttsuite.Suite. Copy deepgram/deepgram_integration_test.go, and see the go-testing skill's ai-routing.md:
suite.Run(t, &XIntegrationSuite{Suite: sttsuite.Suite{
    New:      func() stt.STT { p, err := New(Options{}); require.NoError(t, err); return p },
    Requires: []string{"X_API_KEY"},
    ChunkMs:  80,             // the pace the server prefers; 100 by default
    SettlesOnClose: true,     // set if ending the audio stream flushes the tail
}})

That inherits accuracy (>=90% of the fixture's words), settle time, interim arrival, transcript identity and the tail-of-the-call test. Only add provider-specific tests on top; .env is loaded for you. Tune MaxSettle, MinAccuracy or SessionTimeout only when the provider genuinely cannot meet the default, and say why in a comment.

Run

cd acceleration
go test ./internal/stt/...                                              # unit + socket
go test -tags integration -run TestXIntegrationSuite ./internal/stt/x    # live

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.