kotlin-concurrency-and-flow SKILL.md skillA

kotlin-concurrency-and-flow from chrisbanes/skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add chrisbanes/skills/kotlin-concurrency-and-flow@git:20261017.367546f

Pins git:20261017.367546f in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
chrisbanes/skills
Path
skills/kotlin-concurrency-and-flow/SKILL.md
Versions recorded
5
Latest version
git:20261017.367546f, committed Oct 17, 2026
First version recorded
Aug 26, 2026
Size
2,856 bytes
Repository stars
1,161
License
Apache-2.0

Use when writing or reviewing Kotlin coroutine scope ownership, raw Thread or Executor work, init launches, non-suspending launch APIs, runBlocking, cancellation, StateFlow, SharedFlow, Channel, stateIn, SharingStarted, state updates, or one-shot events.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Kotlin concurrency and Flow

## Core principle

Give asynchronous work an explicit owner and lifetime, then model durable state
and transient events with primitives whose delivery and replay semantics match
the product contract.

## Procedure

1. Identify each coroutine owner, cancellation boundary, producer, consumer,
   durable state, and transient event.
2. Before changing an API, compare its existing caller-visible contract with
   the required owner and lifetime. If a suspend API already gives its caller
   cancellation, result, and failure ownership, finish with no change; do not
   add a scope, `launch`, callback, or deferred wrapper merely for convenience.
3. Select a scope whose lifecycle owns the work; do not retain arbitrary scopes
   or hide unstructured launches behind non-suspending APIs.
4. Model renderable, current data as state and imperative one-shot work as an
   event only when its loss and replay behavior are explicitly acceptable.
   Ask whether one consumer handles each event or every active consumer must
   receive it. A `Channel` hands each event to one consumer; a configured
   `SharedFlow` broadcasts to active consumers. If that consumer contract is
…

Read the whole file at its exact version.

How to install

No tool to install first
claude plugin marketplace add https://markdownregistry.com/mp/a/art_44mfwoihu64i5u5x/56398cb404c19c5e7719bb833f2380dd44d7d6e478e8a1454ea677c2867e11b9.json

Then /plugin install kotlin-concurrency-and-flow@markdownregistry-44mfwoihu64i5u5x in Claude Code. It installs git:20261017.367546f, the one graded A here, pinned to the commit it was graded at, and leaves it there.

The exact contents, by fingerprint
mdr add chrisbanes/skills/kotlin-concurrency-and-flow@sha256:56398cb404c19c5e

The line at the top of this page pins the label git:20261017.367546f, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_44mfwoihu64i5u5x.svg)](https://markdownregistry.com/a/art_44mfwoihu64i5u5x)

1 badge image fetches in 30 days. What the badge shows.

Ask from your agent
claude mcp add --transport http markdownregistry https://markdownregistry.com/mcp/registry

Then ask it: what changed in chrisbanes/skills/kotlin-concurrency-and-flow since the version I have? It reads every saved version here, no key and no account. Any agent that speaks MCP can add it.

Got a copy of kotlin-concurrency-and-flow from somewhere else? Ask it: where did my kotlin-concurrency-and-flow come from, and what was changed? It names the public original, the version yours is closest to and every changed line. The text is not kept.

Versions

The registry has recorded 5 versions of this file, between Aug 26, 2026 and Oct 17, 2026, about one every 13 days.

Watch this file (sign in, one email per new version)

versioncommittedcommitsizeaudit
git:20261017.367546f latest2026-10-17 367546f 2,856 BA view · diff
git:20260924.ba039692026-09-24 ba03969 2,716 BA view · diff
git:20260902.cff239a2026-09-02 cff239a 2,412 BA view · diff
git:20260827.0a83a942026-08-27 0a83a94 2,350 BA view · diff
git:20260826.8321e572026-08-26 8321e57 2,123 BA view
Keep it current by itself, install once

Committed this skill to a repository? Install the markdownregistry skill updates app on it, or on all of them. When the registry saves a newer version, a pull request brings your copy to it within minutes, the newest version first, then what changed and any check it newly trips. A copy you edited is never touched, and nothing is deleted.

Install on GitHub

It asks to read and write contents and pull requests, and to read metadata. No workflow file, no Actions setting, nothing runs on your runners. Uninstall it and everything the registry kept about your repository is deleted.

Keep it current by itself

Committed this skill to a repository? Add one workflow file, and when a newer version is saved, a pull request brings your copy to it, the newest version first, then what changed and any check it newly trips. A copy you edited is never touched, and nothing is deleted.

mkdir -p .github/workflows && curl -fsSL https://markdownregistry.com/ci/skill-updates.yml -o .github/workflows/skill-updates.yml

It runs daily on GitHub Actions, no key and no account. Read the workflow before you add it.

Check a whole project

From the root of your project, one line hashes each installed skill's SKILL.md, your AGENTS.md and your CLAUDE.md, and asks the registry once. Only the fingerprints and paths are sent.

sha256sum .claude/skills/*/SKILL.md AGENTS.md CLAUDE.md | curl -s --data-binary @- https://markdownregistry.com/api/v1/check-copies

In CI, add --fail-with-body: the answer is 409 when any file is behind, so the step fails and still prints which files.

sha256sum .claude/skills/*/SKILL.md AGENTS.md CLAUDE.md | curl -s --fail-with-body --data-binary @- https://markdownregistry.com/api/v1/check-copies

No sha256sum on your machine? shasum -a 256 prints the same lines.

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (2856 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

chrisbanes/skills · 1,161 stars · license Apache-2.0 · pushed 2026-11-17 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_44mfwoihu64i5u5x
GET https://markdownregistry.com/api/v1/resolve?ref=chrisbanes/skills/kotlin-concurrency-and-flow
GET https://markdownregistry.com/api/v1/blob/56398cb404c19c5e7719bb833f2380dd44d7d6e478e8a1454ea677c2867e11b9

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from chrisbanes/skills

AGENTS.md AGENTS.md file
chrisbanes/skills · AGENTS.md
git:20260926.359126d · audit A · 1,161 stars
AGENTS.md@evals/fixtures/workflow-plan AGENTS.md file
chrisbanes/skills · evals/fixtures/workflow-plan/AGENTS.md
git:20260906.f23bb5b · audit A · 1,161 stars
AGENTS.md@evals/fixtures/workflow-report-publication AGENTS.md file
chrisbanes/skills · evals/fixtures/workflow-report-publication/AGENTS.md
git:20260923.40c35fb · audit A · 1,161 stars
android-benchmark-comparison SKILL.md skill
chrisbanes/skills · skills/android-benchmark-comparison/SKILL.md · Use when comparing physical Android benchmark configurations, investigating inconsistent rankings, or selecting an…
git:20261017.367546f · audit A · 1,161 stars
changelog SKILL.md skill
chrisbanes/skills · skills/changelog/SKILL.md · Use when updating or reviewing Unreleased changelog entries, reconciling a changelog against Git history and issue or…
git:20261030.d2f24b4 · audit A · 1,161 stars
compose-animations SKILL.md skill
chrisbanes/skills · skills/compose-animations/SKILL.md · Use when writing or reviewing Jetpack Compose motion: visibility enter/exit, animating one property toward a target…
git:20260924.ba03969 · audit A · 1,161 stars
compose-component-design SKILL.md skill
chrisbanes/skills · skills/compose-component-design/SKILL.md · Use when designing or reviewing reusable Jetpack Compose component APIs with modifier parameters, root layout…
git:20261017.367546f · audit A · 1,161 stars
compose-focus-navigation SKILL.md skill
chrisbanes/skills · skills/compose-focus-navigation/SKILL.md · Use when writing or reviewing Jetpack Compose UI for TV, keyboard, desktop, accessibility focus, D-pad navigation…
git:20260924.ba03969 · audit A · 1,161 stars
compose-performance SKILL.md skill
chrisbanes/skills · skills/compose-performance/SKILL.md · Use when investigating Jetpack Compose recomposition cost, compiler stability reports, skippability, unstable…
git:20261018.40ecf27 · audit A · 1,161 stars
compose-state-and-effects SKILL.md skill
chrisbanes/skills · skills/compose-state-and-effects/SKILL.md · Use when writing or reviewing Jetpack Compose state ownership, remember state, state hoisting, screen state holders…
git:20261018.40ecf27 · audit A · 1,161 stars
compose-ui-testing-patterns SKILL.md skill
chrisbanes/skills · skills/compose-ui-testing-patterns/SKILL.md · Use when writing or reviewing Jetpack Compose UI tests, screenshot tests or baseline-recording evidence, previews…
git:20261018.40ecf27 · audit A · 1,161 stars
deliver-issue SKILL.md skill
chrisbanes/skills · skills/deliver-issue/SKILL.md · Use when explicitly asked to deliver a named tracker issue and its descendants, including clarification, planning…
git:20261117.5257561 · audit A · 1,161 stars

Every file in chrisbanes/skills

Browse by kind, by grade A, or by owner.