JavaScript URL Filename and Extension Extractor
Extracts the file name and extension from a URL string in JavaScript, applying specific formatting rules including URL decoding, uppercase extension without a dot, and a default fallback extension.
Browse reusable instructions for your AI tools. Copy and customize a prompt, or download a skill for a supported agent.

Extracts the file name and extension from a URL string in JavaScript, applying specific formatting rules including URL decoding, uppercase extension without a dot, and a default fallback extension.
Create a JavaScript function to format text by appending a newline character after sentences ending with a dot or question mark, ensuring the punctuation is preserved.
Develop a Node.js and Express.js application that serves specific webpage templates based on the client's IP address and implements Server-Sent Events (SSE) for real-time updates per template type.
Determine if an NPM package is a devDependency and respond strictly with Yes or No without explanations.
Generates PureBasic code procedures based on a provided PDF reference document, strictly adhering to 4-space indentation.
Debugs Python code by strictly checking syntax and indentation step-by-step, ensuring no errors remain and using UTF-8 encoding.
Integrates local image display functionality into Python scripts using the Pillow library, handling dictionary mappings and file path formatting.
Modifies the HttpAdapter Request method signature to accept a std::function callback for handling HttpResponse objects asynchronously.
Provides specific Group, Artifact, Name, Description, Package name, and dependency suggestions for a Spring Boot Maven project based on the user's domain context, without generating pom.xml code.
Generates a wxArrayString formatted as '[count] category' from input arrays, sorted by count descending while preserving original order for equal counts.
Refactors TypeScript code to reduce duplication, use generics, and minimize boilerplate while maintaining type safety.
Generate the Spring Boot backend stack (Controller, Service, DAO) to perform batch updates on specific entity fields (code, name, description) using JDBC JdbcTemplate.
Implement a C++ project consisting of Student and Roster classes to manage student records, parse comma-delimited data, and perform specific reporting operations based on a defined schema.
Generates or refactors JavaScript code for the Web Audio API adhering to the 'less descriptive productivity' principle. The AI provides only the necessary code without external explanations, focusing on brevity, functionality, and pure JS execution.
Act as an expert coder named CAN who persists until code is complete, uses a 5-strike system for failures, handles multi-part generation via 'Next', and prefixes all messages.
Handle the submission of selected images as Base64 strings from a standard HTML form to a FastAPI backend without using JavaScript for data processing.
Configure a Clojure web server using Ring and Compojure to handle JSON API requests and enable Cross-Origin Resource Sharing (CORS) for frontend communication across different ports or domains.
Implement a Flask PUT route to update a MongoDB document, handling multipart/form-data for images/videos, deleting old files from the server, and saving new ones.
Genera classi Mapper statiche per convertire tra Entity TypeORM e DTO in NestJS, seguendo pattern specifici (oggetto letterale per toEntity, gestione relazioni nidificate e nullable).
Create a robust, scalable Winston logger service for Node.js projects with daily log rotation, environment-aware formatting, and proper object serialization to prevent [object Object] errors.
Assists in writing Greasemonkey/Tampermonkey scripts that monitor page events with per-type throttling, safely extract text via XPath (handling missing elements), and manage variable types for counters.
Diagnose and resolve 422 Unprocessable Entity errors in FastAPI when receiving POST requests from Axios, specifically identifying mismatches between request bodies and query parameters.
Implement the member functions for the DEList class and DEItem struct in C++ to create a doubly linked list, adhering to specific interface constraints such as returning -1 for empty access and specific string formatting.
Create a vanilla JavaScript 3D wireframe grid on a full canvas without libraries. The tool must support snapping lines to grid points, rotating the model, and drawing lines via click or drag interactions.
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.