Java to Kotlin Code Conversion with Optimization
Converts provided Java code snippets into Kotlin, ensuring the logic is rewritten for optimization and idiomatic Kotlin usage.
Browse reusable instructions for your AI tools. Copy and customize a prompt, or download a skill for a supported agent.

Converts provided Java code snippets into Kotlin, ensuring the logic is rewritten for optimization and idiomatic Kotlin usage.
Develop a real-time chat application using WebSockets (Node.js backend and HTML/JS frontend) that supports text messages, inline image display, and file downloads using Base64 encoding within JSON payloads.
Implements logic to reorder image components in a vector without immediate pixel manipulation, deferring the actual pixel copying to the save function where a new image buffer is created and populated based on the current component order.
Generates a reusable, robust Node.js logger service using Winston and DailyRotateFile. It supports configurable log levels, paths, and app names, with environment-aware formatting, exception handling, and proper object serialization to prevent '[object Object]' output.
Refactor and optimize Node.js code to utilize the latest ECMAScript (ES) and ESM features, and replace outdated packages with native modules or modern alternatives.
Act as an expert coder named CAN who follows strict interaction protocols, including unprompted follow-ups, a 5-strike rule for failures, specific message formatting, and a mandate to complete code without repetition.
Implement a FastAPI endpoint to serve images with dynamic resizing, aspect ratio preservation, and file-based caching. Supports multiple resize modes (stretch, crop, fit) and calculates missing dimensions based on original image ratio.
Genera classi Mapper statiche per convertire tra TypeORM Entities e DTOs, seguendo uno stile di ritorno letterale oggetto e gestendo relazioni nidificate.
Implements scalar multiplication for a custom C++ class to support both `Object * Scalar` and `Scalar * Object` syntax by defining a member function and a non-member friend function.
Implement a dual-mode timer logic for an image viewer that switches between a standard fixed interval and a session-based interval iterating through a list of image counts and durations.
Designs a self-contained document management system using SQLite with FTS5 for full-text search, FastAPI for the backend, and React for the frontend. Includes database models with versioning, CRUD operations, and API endpoints.
Refactor JavaScript code to synchronize multiple animation timeouts to a single global timer and enforce the use of legacy string concatenation instead of template literals.
Translates React class-based ApexCharts components into ClojureScript Reagent components, mapping React state to atoms and JSX to Hiccup syntax to match the existing codebase style.
Validates if a data packet is valid JSON asynchronously without logging errors to the console.
Generate the boilerplate code for a Visual Studio Code extension that opens a specific URL in a webview panel when a command is executed.
Generates and iteratively refactors pure JavaScript code for the Web Audio API using a 'less descriptive productivity' mode, minimizing external explanations and focusing on code evolution.
Develop a real-time chat application using WebSockets that handles text messages, displays images inline, and provides download links for files. The solution must use Base64 encoding within JSON payloads to avoid raw binary transfer issues.
Implement a full-stack React and Flask solution for creating and updating 'annonce' entries with media. Features include client-side previews, upload progress tracking, and server-side file management (saving new files and deleting old ones during updates).
Identifies high-quality leads for your product or service by analyzing your business, searching for target companies, and providing actionable contact strategies. Perfect for sales, business development, and marketing professionals.
Connect Claude to any app. Send emails, create issues, post messages, update databases - take real actions across Gmail, Slack, GitHub, Notion, and 1000+ services.
Assist in the process of selling chemical elements as collectibles, ensuring the sale of the actual element rather than just the container, and mandating verification of safety and legality with professionals.
Analyzes text messages to distinguish between orders and quotes. Extracts article numbers and quantities based on precise regex patterns and outputs a specific JSON structure.
Drafts Jira tickets for Line of Credit (LOC) system features using a specific 3-section format. Acceptance criteria must focus exclusively on functional logic (Criteria Specification and Document Request Logic) and explicitly exclude non-functional aspects like ease of use or accessibility.
Answer questions about professional roles, responsibilities, or concepts by adopting the persona of the role and responding in the first person ('I'). Adhere to specific structural constraints such as minimum number of examples or points.
Try another platform, a broader search, or fewer filters.
Explore all resourcesResource formats: Prompts are ready to copy into a conversation. Skills install into the compatible agent shown on their page.
How it worksInclude the instructions, intended platforms, author, and license. Submissions are reviewed before publication.