kotlin-patterns
Kotlin patterns — Gradle, coroutines, null safety, Android and Ktor.
Skill by alec-c4
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/alec-c4-kotlin-patterns
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/kotlin-patterns
What's inside
- Skill name
kotlin-patterns- Description
- Kotlin patterns — Gradle, coroutines, null safety, Android and Ktor. Load after stacks/kotlin profile.
- License
- MIT
- Instructions
- 40 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Kotlin patterns Load after [stacks/kotlin](../stacks/kotlin/SKILL.md). ## Structure - **Gradle Kotlin DSL** — `build.gradle.kts` and `settings.gradle.kts`; version catalogs (`libs.versions.toml`) for deps. - **Modules** — separate `api` / `implementation` boundaries; Android `app` vs feature modules when applicable. - **Packages** — match directory layout; one public top-level type per file when practical. ## Language - Prefer **null-safe** APIs; avoid `!!` — use `?.`, `?:`, `requireNotNull`, or early returns. - **Data classes** for DTOs; **sealed** types for closed hierarchies and UI/network states. - **Coroutines** for async IO; structured concurrency with `supervisorScope` where failures must be isolated. ## Android (when applicable) - UI state in ViewModel / presenter layer; collect flows with lifecycle-aware APIs — `collectAsStateWithLifecycle()` in Compose, `repeatOnLifecycle(STARTED)` in Views. Never a bare `collect` in a composable or `launchWhenStarted`. - No secrets in `BuildConfig` committed to git; use local properties or CI secrets. - Minimize work on main thread; use `Dispatchers.IO` for blocking IO. ## Server / Ktor (when applicable) - Route handlers thin; domain logic in testable services. - Validate input at boundaries; map errors to typed HTTP responses. ## Testing - JUnit 5 + kotlinx-coroutines-test for suspend code. - Prefer fakes over heavy mocks for repositories and clients. ## References - [Kotlin docs](https://kotlinlang.org/docs/home.html) - [Gradle Kotlin DSL](https://docs.gradle.org/current/userguide/kotlin_dsl.html)
From alec-c4/agent_dev_kit, MIT.
More from alec-c4/agent_dev_kit
- 0.547score
feature
alec-c4
Start feature workflow — analyze, spec v1.0, plan, TDD, comprehension, verification.
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
fix
alec-c4
Start bug-fix workflow — analyze, spec bump, TDD fix, verification.
SkillBFreshness: B★ 1Claude Code +9 - 0.544score
docker-patterns
alec-c4
Docker and container patterns — images, compose, multi-stage builds, CI.
SkillBFreshness: B★ 1Claude Code +9 - 0.544score
intent-router
alec-c4
Classify user intent before acting — feature, bug, refactor, audit, or question.
SkillBFreshness: B★ 1Claude Code +9 - 0.544score
comprehension-check
alec-c4
Generate comprehension Q&A from spec and handoff; grade human answers and teach on errors before verification.
SkillBFreshness: B★ 1Claude Code +9 - 0.541score
elixir-phoenix-patterns
alec-c4
Elixir and Phoenix patterns — contexts, Ecto, LiveView.
SkillBFreshness: B★ 1Claude Code +9 - 0.541score
fastapi-patterns
alec-c4
FastAPI patterns — routers, dependency injection, Pydantic v2.
SkillBFreshness: B★ 1Claude Code +9 - 0.541score
flutter-patterns
alec-c4
Flutter patterns — widgets, state, navigation, async, and platform integration.
SkillBFreshness: B★ 1Claude Code +9 - 0.541score
go-service-patterns
alec-c4
Go service patterns — packages, context, errors, HTTP handlers.
SkillBFreshness: B★ 1Claude Code +9 - 0.541score
inertia
alec-c4
Inertia.js patterns with Rails or Node backends.
SkillBFreshness: B★ 1Claude Code +9 - 0.541score
kubernetes-patterns
alec-c4
Kubernetes (k8s) patterns — workloads, networking, config, GitOps.
SkillBFreshness: B★ 1Claude Code +9 - 0.541score
llm-integration
alec-c4
Patterns for calling LLM APIs, streaming, structured output, and cost controls per stack.
SkillBFreshness: B★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Sep 2, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/alec-c4/agent_dev_kit
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from alec-c4
- 0.547score
feature
alec-c4
Start feature workflow — analyze, spec v1.0, plan, TDD, comprehension, verification.
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
fix
alec-c4
Start bug-fix workflow — analyze, spec bump, TDD fix, verification.
SkillBFreshness: B★ 1Claude Code +9 - 0.544score
intent-router
alec-c4
Classify user intent before acting — feature, bug, refactor, audit, or question.
SkillBFreshness: B★ 1Claude Code +9 - 0.544score
comprehension-check
alec-c4
Generate comprehension Q&A from spec and handoff; grade human answers and teach on errors before verification.
SkillBFreshness: B★ 1Claude Code +9 - 0.544score
docker-patterns
alec-c4
Docker and container patterns — images, compose, multi-stage builds, CI.
SkillBFreshness: B★ 1Claude Code +9 - 0.541score
changelog
alec-c4
Draft user-facing changelog entries from spec changelog and merged PRs.
SkillBFreshness: B★ 1Claude Code +9
Cite this page
kotlin-patterns skill. Agent Mart. https://agentmart.dev/skills/alec-c4-kotlin-patterns (last updated 2026-10-24)