CtrlK
BlogDocsLog inGet started
Tessl Logo

kotlin-coroutines-expert

Expert patterns for Kotlin Coroutines and Flow, covering structured concurrency, error handling, and testing.

44

Quality

46%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Passed

No findings from the security scan

Fix and improve this skill with Tessl

tessl review fix ./plugins/AI-Agents-Safe-Coding-Skills/skills/kotlin-coroutines-expert/SKILL.md

The canonical home for this skill is kotlin-coroutines-expert in administrakt0r/AI-Agents-Safe-Coding-Skills

SKILL.md
Quality
Evals
Security

Quality

Content

57%Scale 1-5

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

This skill provides solid, executable Kotlin coroutine examples covering key patterns, but suffers from some unnecessary preamble and explanations of concepts Claude already knows. The content reads more like a reference guide than an actionable workflow, with topics presented independently rather than as a coherent process. Testing guidance is notably thin compared to the other sections despite being listed as a core topic.

Suggestions

Remove the 'When to Use This Skill' and 'Overview' sections — Claude already knows when coroutines are applicable; jump straight into the patterns.

Add a complete, executable testing example using runTest and TestDispatcher, since testing is listed as a core topic but only gets a brief troubleshooting mention.

Consider splitting into referenced files (e.g., FLOW_PATTERNS.md, TESTING.md) to improve progressive disclosure for this multi-topic skill.

Add a workflow for debugging coroutine issues with explicit validation steps (e.g., check cancellation propagation, verify dispatcher usage) rather than a single troubleshooting entry.

DimensionReasoningScore

Conciseness

The 'When to Use This Skill' section and 'Overview' add little value since Claude already knows when coroutines are relevant. The 'Structured Concurrency' section's instruction to 'Always launch coroutines within a defined CoroutineScope' is basic knowledge. However, the code examples themselves are reasonably tight and the best practices section is efficiently formatted.

3 / 5

Actionability

The code examples are concrete, executable, and cover real patterns (coroutineScope with async, CoroutineExceptionHandler, Flow operators, supervisorScope). Minor gaps exist: the testing section mentions runTest/TestDispatcher but provides no executable example, and the Flow section lacks a complete collection example.

4 / 5

Workflow Clarity

The steps are numbered but represent independent topics rather than a sequential workflow. There are no validation checkpoints or feedback loops. The troubleshooting section is minimal with only one scenario. For a skill covering error handling and testing, the lack of a validate-fix-retry pattern or explicit testing workflow is a gap.

3 / 5

Progressive Disclosure

The content is reasonably structured with clear headers and sections, but everything is inlined in a single file with no references to supporting documents. The testing section is underdeveloped and would benefit from a separate detailed guide. For a skill covering this many topics (structured concurrency, error handling, Flow, testing), splitting into referenced files would improve organization.

3 / 5

Total

13

/

20

Passed

Description

36%Scale 1-5

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

The description identifies a specific technology domain (Kotlin Coroutines and Flow) but fails to describe concrete actions the skill performs and lacks any 'when to use' guidance. The listed topics (structured concurrency, error handling, testing) are categories rather than actionable capabilities, making it difficult for Claude to confidently select this skill over others.

Suggestions

Add a 'Use when...' clause with trigger phrases like 'Use when the user asks about coroutine patterns, suspend functions, Flow operators, or coroutine testing'.

Replace 'expert patterns' with concrete actions such as 'Generates coroutine implementations, converts callback-based code to suspend functions, builds Flow pipelines, writes coroutine tests with runTest'.

Include additional natural trigger terms and synonyms like 'suspend functions', 'CoroutineScope', 'async/await', 'StateFlow', 'SharedFlow', 'Dispatchers', 'runTest', 'launch', 'withContext'.

DimensionReasoningScore

Specificity

Names the domain (Kotlin Coroutines and Flow) and mentions topic areas (structured concurrency, error handling, testing), but these are categories rather than concrete actions. No verbs describing what the skill actually does—'expert patterns' is vague.

2 / 5

Completeness

Has a vague 'what' (expert patterns for coroutines/flow) but completely lacks a 'when' clause. There is no 'Use when...' guidance, which per the rubric should cap completeness at 3, and the 'what' itself is too vague to reach 3.

2 / 5

Trigger Term Quality

Includes relevant keywords like 'Kotlin Coroutines', 'Flow', 'structured concurrency', 'error handling', and 'testing' that users might mention. However, it misses natural variations like 'suspend functions', 'CoroutineScope', 'async/await', 'StateFlow', 'SharedFlow', 'dispatchers', or 'runTest'.

3 / 5

Distinctiveness Conflict Risk

Kotlin Coroutines and Flow is a reasonably specific domain, but 'error handling' and 'testing' are extremely broad terms that could overlap with many other skills. The description could conflict with general Kotlin skills or general testing skills.

3 / 5

Total

10

/

20

Passed

Validation

90%

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

Validation10 / 11 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

10

/

11

Passed

Repository
administrakt0r/AI-Agents-Safe-Coding-Skills
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.