Design and implement a centralized rate limiting solution for a multi-pod Kubernetes application where API limits are loaded from an external file (e.g., Excel) and synchronized via Redis.
Skills(SKILL.md)は、AIエージェント(Claude Code、Cursor、Codexなど)に特定の能力を追加するための設定ファイルです。
詳しく見る →Design and implement a centralized rate limiting solution for a multi-pod Kubernetes application where API limits are loaded from an external file (e.g., Excel) and synchronized via Redis.
Identify and list relevant key terms, concepts, and phrases from provided text blocks.
Create a Python script using regular expressions to extract all positive integers and floating-point numbers from a list of strings, ensuring hyphens are treated as separators and handling optional currency symbols.
Extracts structured CLAIM tuples from HTML tables by distinguishing context vectors from scientific measures, utilizing captions and context for accuracy.
Implement a PyTorch Transformer model using nn.Transformer without manual weight initialization, and a text-to-tensor conversion function for a fixed 8-bit character vocabulary without external libraries.
Implements a computer vision pipeline to summarize videos by detecting and tracking multiple objects, selecting only frames containing motion.
Configure a Pydantic BaseSettings class to load environment variables from a .env file, ensuring correct relative or absolute path resolution.
Perform a comprehensive SEO audit for a product on e-commerce platforms like Lazada. This involves identifying top competitors, extracting pricing and high-volume keywords, comparing them with the user's product to find gaps, and suggesting title optimizations for better search ranking.
Extracts embedding vectors from the layer immediately preceding the Softmax layer of a pre-trained model (e.g., Inception-V3, ResNet50) and saves them in a dictionary where the key is the embedding vector and the value is the corresponding label.
Transforms a single-column matrix into a multi-column matrix by splitting data into 24-row chunks, appends rows for average and max index, and calculates the most frequent max index.
Extracts audio from AVI files, detects and removes silent parts using the scipy library, and saves the recovered audio file.
Constructs a scikit-learn text classification pipeline that integrates custom feature engineering steps: one-hot encoding of spaCy NER labels for a predefined set of 18 classes and VADER sentiment analysis.
Implement a video summarization pipeline that selects frames containing motion by utilizing object detection models (like YOLO) and tracking algorithms (like OpenCV) to track multiple objects.
A systematic, first-principles approach to crafting advanced Cross-Site Scripting (XSS) payloads by analyzing reflection contexts, identifying constraints, and applying obfuscation techniques to bypass filters.
Transforms user-provided outlines, best practices, and role descriptions into formal presentation scripts for student government events.
Implements a PyTorch Transformer model with configurable layer dimensions (lists for d_model and dim_feedforward), correct attention masking (causal and padding), and a training loop that tracks and returns the best model based on the lowest validation loss.
Extracts the per-row seasonal component for multiple time series in a Polars DataFrame using STL decomposition, dynamically calculating the season length for each series to handle varying data lengths.
Extracts the text content following the 'Sub:' label from a given text string using a regular expression.
Design and implement a local, object-oriented background task management system for FastAPI using SQLAlchemy for persistence. The system must support task lifecycle control (start, pause, stop, resume, restart), load state on startup, and avoid external message brokers like Celery or RQ.
Corrects the `Filtering` Transform stream class to ensure processed audio buffers (e.g., after mono-to-stereo conversion) are pushed downstream instead of the original input chunks.
Calculates the required diameter of PE4710 pontoon pipes for floating docks and performs comprehensive structural verification (ULS/SLS), including buoyancy, detailed lateral load checks (wind/berthing) with mooring pile mechanics, wave-induced flexure, and vibration.
Implements a system to switch between 2D and 3D scenes in Godot, preserving player data (health, position) via a C# autoload singleton and triggering the swap via input actions.
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.
Implement a Mixture-of-Experts (MoE) Mamba model architecture for text generation, including data loading, training loop, and autoregressive text generation with loss tracking.
A Python function to load and preprocess paired screenshot and HTML files from separate directories, matching them by base filename (e.g., screen_13.png with html_13.html), resizing images, and normalizing pixel values for model training.
A Python module to load images and associated caption files from a directory, filter images based on caption text patterns with wildcards and exclusion rules, and copy the matched files to a new location.
Implements a Tkinter-based image viewer class that maintains a linear history of viewed images. Navigation moves through history first; moving forward beyond history adds a random, previously unseen image. Supports a 'quick switch' mode that displays the filename text before loading the image.
Simulate a male character in a newfound online relationship who is secretly romantically interested. Respond in first person with a casual, charming, and modern tone, often using philosophical or emotional depth, while acknowledging the female character's preferences without explicitly claiming to fit them.
Script Python pour extraire des segments vidéo basés sur les pics d'amplitude audio, offrant à l'utilisateur le choix de placer ce pic au début (1/3), au milieu (1/2), à la fin (2/3) ou aléatoirement dans le segment extrait.
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.
Implement a C++ class using Raylib to manage, draw, save, and load 2D polygon provinces (map regions) with support for world coordinates, file I/O, and interactive editing.
Extracts the text content immediately following the 'Sub:' label from a given text string using regex.
Génère un script Python complet pour analyser l'audio de vidéos (RMS), identifier les moments forts, trier les résultats et extraire les segments correspondants via ffmpeg, avec un positionnement précis du pic sonore (1/3, 1/2, 2/3).
Implements a system to transition between 2D and 3D scenes in Godot while persisting player data (health, position) using a C# Autoload singleton.
Implement a PyTorch-based MoE-Mamba model featuring an input-dependent selection mechanism and Mixture of Experts (MoE) layer for text generation tasks, including data loading, training, and evaluation workflows.
Implement a PyTorch text generation pipeline with a custom LSTM and dataset, featuring an interactive generation loop that stops on a full stop.
Implements a face classification pipeline in MATLAB using PCA for feature extraction and sequential forward search for feature selection to classify gender, emotions, and age.
Write a ~300-word blog section for MiddleGuy.shop explaining 'What is CBD?' covering CBD vs. THC, extraction methods, and including an interactive quiz prompt. The tone must be conversational, warm, and friendly, catering to a pro-THC audience seeking legal alternatives.
Loads and preprocesses paired image and text files from separate directories, matching them by base filename (e.g., screen_13.png with html_13.html) for machine learning training.
Create a user-friendly Python GUI using Tkinter that allows users to load a trained Keras model via a file explorer and select a tokenizer from a dropdown menu to perform text inference.
Implements a PyTorch Transformer model with configurable layer dimensions and attention masking, and a training loop that retains the best performing model based on validation loss.
Configure and train a Mixture of Experts (MoE) Transformer model in PyTorch, implementing a custom GELU activation function, learning rate warmup, and comprehensive evaluation metrics (Precision, Recall, F1).
Extracts media from Twitter JSON, selects optimal video variants using batched HEAD requests and cache bypassing to ensure files are under 50MB, and sends them to a Telegram chat via Cloudflare Workers.
Implement a camera save/load system in Unity for an Eldritch Sight mechanic, featuring 4 slots, double-tap to save, single-tap to load, and dynamic UI color feedback (Red for saved, Green for loaded, White highlight, Gray for blank).
A reusable pattern for monitoring page events (AJAX, DOM, visibility) with per-event-type throttling, and safely extracting/parsing error messages using XPath with conditional logic.
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.
针对包含小数坐标的离散点,编写MATLAB程序实现霍夫变换以提取直线斜率和截距。要求不使用MATLAB自带的hough函数进行变换,需手动实现累加器逻辑,并解决浮点数rho值映射到整数索引的问题。
扫描Windows磁盘驱动器,递归获取文件和文件夹的元数据(名称、大小、修改时间、路径),自动跳过无权限访问或无效路径的文件,并将结果进行JSON序列化和Base64编码以供传输。
使用GLM库实现向量变换函数Vector3TransformNormal(法线变换)和Vector3TransformCoord(坐标变换),并要求形参使用const T&模板引用以支持泛型。
根据预定义的规则和枚举值,将用户输入的自然语言指令解析为包含动作、事项、范围和参数的JSON格式。