界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
开发与工程 · SKILL.md

rate-limiting

rate-limiting

【开发与工程】Comprehensive skill definitions for rate-limiting. Includes multiple references and diagrams.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: rate-limiting description: > Comprehensive skill definitions for rate-limiting. Includes multiple references and diagrams. version: "2.0.0" author: "j4flmao" license: "MIT" type: skill compatibility: claude-code: true cursor: true codex: true windsurf: true tags: [rate-limiting, backend, engineering]

rate-limiting

Purpose

Comprehensive description for rate-limiting providing detailed architectures and best practices.

Core Principles

  1. First principle - Reliability
  2. Second principle - Scalability
  3. Third principle - Maintainability
  4. Fourth principle - Security
  5. Fifth principle - Observability

Agent Protocol

Triggers: Code execution Input Context Required: Repository context Output Artifact: System design document Response Formats:

{ "status": "ok", "action": "completed" }

Decision Matrix

[Start] -> (Condition Check) -> [End]
               |
               v
          [Alternative]

Detailed Architectural Overview

[Client] ---> [API Gateway] ---> [Microservice]
                                     |
                                     v
                                 [Database]

Workflow Steps

Phase 1

  1. Initialization step 1
  2. Initialization step 2
  3. Initialization step 3
  4. Initialization step 4 Phase 2
  5. Processing step 1
  6. Processing step 2
  7. Processing step 3
  8. Processing step 4 Phase 3
  9. Storage step 1
  10. Storage step 2
  11. Storage step 3
  12. Storage step 4 Phase 4
  13. Retrieval step 1
  14. Retrieval step 2
  15. Retrieval step 3
  16. Retrieval step 4 Phase 5
  17. Optimization step 1
  18. Optimization step 2
  19. Optimization step 3
  20. Optimization step 4 Phase 6
  21. Cleanup step 1
  22. Cleanup step 2
  23. Cleanup step 3
  24. Cleanup step 4

Extended Troubleshooting Guide

SymptomPrimary CauseMitigation Action
High LatencyNetwork CongestionScale up resources
Data LossDatabase FailureRestore from backup
Connection RefusedService DownRestart service
Unauthorized AccessInvalid TokenRenew token
Out of MemoryMemory LeakOptimize code
Disk FullLog OverloadRotate logs

Complete Execution Scenario

[Trigger] -> [Analysis] -> [Action] -> [Result Verification]

Rules and Guidelines

  1. Always validate inputs.
  2. Ensure backward compatibility.
  3. Keep logs structured.
  4. Fail gracefully.
  5. Apply rate limiting where appropriate.

Reference Guides

Handoff

Refer to other standard skills if specialized logic is required.

我的收藏