secure_pattern
Get a secure code pattern for any risky Kotlin/JVM task before writing it, with vetted before/after snippets and the reasoning.
Instructions
Get the secure way to do a risky Kotlin/JVM task, before writing it.
Ask "how do I do X securely" and get vetted before/after snippets and the reason — so the agent writes the safe version the first time.
Args: task: What you want to do, e.g. "create a session cookie", "store a JWT secret", "configure CORS", "read the current user in reactive code". framework: Optional stack to narrow results, e.g. "spring-webflux", "ktor", "vertx". Leave empty to search all frameworks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | ||
| framework | No |