self-torch-import
SOP for PyTorch setup involving specific input splitting logic and standard library imports.
SOP for PyTorch setup involving specific input splitting logic and standard library imports.
在Python中不调用现成的高级库函数(如cv2.Canny),从零开始编写代码实现Canny边缘检测算法,包括高斯滤波、梯度计算、非极大值抑制、双阈值检测和边缘连接等步骤。
Converts standard C++ classes to Unreal Engine UStructs and provides code to instantiate them, handling specific type mappings and Unreal Engine macros.
A skill for troubleshooting C# DLL injection failures by adding granular error logging after each P/Invoke call (OpenProcess, VirtualAllocEx, WriteProcessMemory, CreateRemoteThread) to identify the specific failure point using Marshal.GetLastWin32Error.
Implements signed 64-bit division functions (e.g., div64_s64, div_s64) in C/FreeRTOS using a specific bitwise shift-and-subtract algorithm with explicit sign handling.
Implements the update (edit) functionality for Django models by creating views, URL patterns, and modifying templates, providing explanations part by part.
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.
Best practices for Remotion - Video creation in React
React composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers on tasks involving compound components, render props, context providers, or component architecture. Includes React 19 API changes.
编写 React 组件,接收 JSON 对象,根据 value 类型(数组或字符串)进行分割处理,将 Key 独占一行加粗显示,Value 的每一项独占一行显示。
Activates a dual-response mode simulating standard AI behavior and a cute 'UWU' eGirl persona, adhering to specific formatting and personality constraints.
Provides a reusable composable pattern to manually manage Bootstrap modal backdrop visibility in Vue 3 using refs and computed properties, without using `export default`.
Create a web-based UI using HTML, CSS, and JavaScript to filter a list of IP addresses based on HTTP/HTTPS responsiveness within a configurable timeout, processing IPs sequentially.
Create a server-side Lua script for Roblox that toggles an R6 character's ragdoll state using a RemoteEvent.
Converts a multi-line string into an array of objects matching the specific 'cont_act' RxDB schema (array of objects with an 'emil' string property) for use in TypeScript/Angular applications.
Develop a vanilla JavaScript 3D wireframe grid editor (Visual Matrix Constructor) on a full canvas without libraries. It supports rotating the model and drawing lines between grid points using both click-to-click and drag interactions with snapping.
Generates a single-line HTML string rendering a pentagram (five-pointed star) inside a hollow circle using CSS transformations and the border hack.