Redis LangCache guidance for semantic caching of LLM responses on Redis Cloud — calling search/set via the SDK or REST API, tuning the similarity threshold, separating caches per…
Redis expert for caching, pub/sub, data structures, and distributed systems patternsUse when "redis, caching strategy, cache invalidation, pub/sub, rate limiting, distributed…
Comprehensive guide for Redis state management including caching strategies, session management, pub/sub patterns, distributed locks, and data structures
Use Redis effectively for caching, queues, and data structures with proper expiration and persistence.
Operational skill for Redis Streams: XADD/XREADGROUP, consumer groups, acknowledgements, pending entries, and trim policies (complementary to Redis caching).
Redis Streams (XADD / XREADGROUP / consumer groups) in Rails as a lightweight Kafka — when it fits, the redis-rb client, MAXLEN cap, consumer group semantics, PEL (pending entries…
Redis testing including cache behavior verification, pub/sub testing, transaction testing, cluster failover testing, and data expiration validation.
Master Redis transactions - MULTI/EXEC, WATCH for optimistic locking, Lua scripting, and atomic operation patterns
Redis vector search guidance covering HNSW vs FLAT algorithm choice, vector index configuration (dims, distance metric, datatype), filtered hybrid search combining vector…
Connect to Redis databases using the redisctl CLI. Use when opening redis-cli sessions, managing connection profiles, or working with multiple Redis clusters.
Redoc is an open-source tool by Redocly for generating beautiful, three-panel API reference documentation from OpenAPI specifications.
Detect Regular Expression Denial of Service (ReDoS) where crafted input causes catastrophic backtracking in regex patterns applied to user-controlled strings.
Detailed API pack for API auth, BOLA, GraphQL, hidden parameter, and schema-driven testing.
Detailed authentication pack for session, token, OAuth/OIDC, SAML, and auth-boundary testing.
Domain routing and boundary guidance for authorized clickjacking testing, including missing X-Frame-Options, CSP frame-ancestors bypasses, and drag-and-drop hijacking.
Domain routing and boundary guidance for authorized operating system command injection testing, including direct injection, blind injection, out-of-band callbacks, and argument…
Detailed container and Kubernetes pack for cluster misconfiguration, pod abuse, and breakout paths.
Domain routing and boundary guidance for authorized CORS misconfiguration testing, including reflected origins, null origins, subdomain trust, and credential exposure.
Domain routing and boundary guidance for authorized insecure deserialization testing, including Java, PHP, Python, .NET, and gadget-chain analysis.
Detailed network/protocol pack for websocket, HTTP/2, request smuggling, DNS rebinding, and protocol parsing issues.
Domain routing and boundary guidance for authorized open redirect testing, including parameter redirects, meta or JavaScript redirects, and OAuth redirect_uri abuse.
Domain routing and boundary guidance for authorized SSRF testing, including basic SSRF, blind SSRF, protocol smuggling, and cloud metadata access paths.
Domain routing and boundary guidance for authorized server-side template injection testing, including Jinja2, Twig, Freemarker, Velocity, and Thymeleaf engines.
Domain routing and boundary guidance for authorized subdomain takeover testing, including dangling CNAME records, NS takeover, and cloud service takeover paths such as S3, Azure,…
Domain routing and boundary guidance for authorized XXE testing, including file read, SSRF, blind XXE, and parameter entity variants.
Apply the Green IT "Network Efficiency" principle — every transferred and every stored byte costs energy across server, network, and device.
Use when the user wants to remove unused #include directives from a WebKit source directory (bmalloc, WTF, JavaScriptCore, WebCore, WebKit) to reduce build time.
Reduce total mechanism in a selected existing system or behavior path while conserving its agreed observable behavior and non-functional guarantees.
Analyzes a codebase scope for coupling issues, diagnoses coupling types using the Connascence framework, and proposes a comprehensive refactoring plan with concrete code changes.
Use when after network partitioning, when you have identified connected subnetworks of features matched by isotope or adduct patterns and need to sanitize and categorize the…
Refacter code using complexity analysis and hotspot detection. Use when asked to refactor code, improve code quality, reduce complexity, or identify high-risk areas that need…
Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type…
Restructure code to improve readability, maintainability, and extensibility without changing external behavior.
Use when refactoring a user-level or project-level AGENTS.md for progressive disclosure
Run cargo-coupling and similarity-rs to identify refactoring targets, then create a prioritized plan.
[Code Quality] Identifies architectural hotspots: high-churn files, coupling issues, layer violations, and dependency tangles.
Guide safe, incremental refactoring of existing code. Identify refactoring opportunities, suggest patterns, and ensure behavior is preserved through the process.
Refactor by removing backward compatibility and legacy layers. Use when modernizing APIs, cleaning up migration debt, removing compat shims, or eliminating stale feature flags.
Use when modernizing APIs, removing compat shims, killing feature flags, or rewriting a subsystem cleanly.
코드베이스 대상으로 "분석 → 리팩터 → 테스트 → 리뷰" 4단계 체인을 실행하는 스킬. /refactor-chain {target-path} 명령어 입력 시 반드시 이 스킬을 사용한다. 각 단계는 독립 서브에이전트로 실행되며, 이전 단계 결과가 다음 단계 프롬프트에 주입된다.
コミット/PR の「全部置換した」「-N%削減」等の完了主張を grep で反証できる残骸や best/typical/worst 試算で検証し、抽出・集約リファクタでは並列度(Promise.all)/fast-path/遅延評価の性能特性退行と、Map/Set 集約キーの cross-kind 衝突による検出漏れも監査する
Refactor or remove dead code. Use when explicitly invoking the refactor-clean workflow.
Use when legacy prompts or older framework flows reference `refactor-cleaner` and you need the modern runtime to resolve that capability cleanly.
Dead code cleanup via pipeline knip + depcheck + ts-prune + javadoc-coverage (multi-language safe removal)
Improves changed code for reuse, simplification, readability, and efficiency without changing behavior, then re-runs tests to prove behavior is unchanged.
Intelligently refactor and improve code quality with incremental, test-backed changes. Use when the user asks to "refactor", "clean up code", "improve code quality",…
Remove code duplication, extract shared patterns, and eliminate type casts and `any` types. Run after implementing new features.
รีแฟกเตอร์และมาตรฐาน Docker project โดยสร้าง docker-compose.yml และ .env file ที่สะอาด ตามแนวทาง best practice มุ่งเน้น structure, consistency และ production readiness ใช้ skill…
For long functions: break into smaller pieces, extract helper functions, reduce nesting, improve testability and readability.
[Code Quality] Removes code duplication and cleans up dead code. Use to eliminate copy-paste code, consolidate similar logic, and remove unused code paths.
Comprehensive refactoring workflow that combines tactical and architectural passes. Runs /refactor (tactical cleanup), /review-arch (architectural restructuring), then /refactor…
รีแฟกเตอร์และสร้าง Dockerfile ที่พร้อม production ตามแนวทาง best practice ด้าน security, performance และ efficient build caching ใช้ skill นี้ทันทีเมื่อผู้ใช้แชร์หรือขอสร้าง…
Refactor a FastAPI endpoint from monolithic handler to service layer pattern — extract business logic, add error handling, fix DI
During planning after grill-task, decide whether a preparatory refactor step is needed before implementation — runs four parallel A-rule checks.
Model-only playbook for splitting a multi-responsibility class into single-purpose collaborators.
Use when the user asks about code refactoring, refactoring strategies, code smells, improving code structure, extracting functions/classes, or legacy code modernization.
Refactor HTML/TSX files to use existing UI components, DaisyUI classes, and semantic colors. Use when (1) refactoring React/TSX page components to use reusable UI components, (2)…
Refactor Java application code for a new framework. Use when updating imports, annotations, APIs, dependency injection, or framework-specific patterns.
Modernize and improve legacy codebases while maintaining functionality. Use when you need to refactor old code, reduce technical debt, modernize deprecated patterns, or improve…
Refactor given method `${input:methodName}` to reduce its cognitive complexity to `${input:complexityThreshold}` or below, by extracting helper methods.