بنقرة واحدة
kotlin-coding-standards
Conventions for clean, idiomatic, safe Kotlin. Use when writing or reviewing Kotlin code.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Conventions for clean, idiomatic, safe Kotlin. Use when writing or reviewing Kotlin code.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Guides users to build optimal agentic AI workflows OR optimize existing agents. Analyzes use cases, recommends patterns, selects frameworks (LangGraph, CrewAI, Strands), generates production-ready code, and optimizes existing implementations based on Amazon's production lessons.
Specialized agent for optimizing existing agentic AI systems based on Amazon's production lessons and AWS best practices
Generates production-ready agentic AI implementations with AWS best practices
Specialized agent for selecting optimal agentic AI frameworks (LangGraph, CrewAI, Strands)
Specialized agent for identifying optimal agentic AI patterns based on AWS prescriptive guidance
Guides AWS development with infrastructure automation and cloud architecture patterns. Use when designing or refactoring cloud-native applications on AWS, automating environment provisioning with Terraform/CDK/CloudFormation, setting up secure CI/CD pipelines, evaluating service choices for cost/scalability/fault tolerance, or preparing production runbooks and observability.
| name | kotlin-coding-standards |
| description | Conventions for clean, idiomatic, safe Kotlin. Use when writing or reviewing Kotlin code. |
Conventions for clean, idiomatic, safe Kotlin. Reference when writing or reviewing Kotlin code.
PascalCase for types, camelCase for functions/properties, UPPER_SNAKE_CASE for compile-time constants.!! — it defeats the purpose of Kotlin's null safety.?., ?:, let, and requireNotNull/checkNotNull (with messages) instead of force unwraps.val over var. Prefer immutable collections (List, Map) over mutable ones in public APIs.data class for value-holding types; use copy() for derived state.sealed class/sealed interface for closed type hierarchies (e.g., UI state, results). They make when exhaustive and self-documenting.enum class for fixed sets of constants (the reference design uses these well: SessionStatus, FlagReason, etc.).fun total() = qty * price.let, run, apply, also, with) intentionally; don't nest them into unreadable chains.Result<T> or a custom sealed interface) for expected failure paths (e.g., upload failed, match not found).require/check/error.viewModelScope, coroutineScope).Dispatchers.IO) so code is testable.Flow for streams; keep operators pure and side-effect-free except in terminal operators.BigDecimal for monetary values (the reference design does this for line totals and order totals). Never use Float/Double for money.