一键导入
rate-limit-message
Standardizes 429 handling with RateLimitModal and retry-after UX. Use when handling API errors that may return 429 (rate limited) responses.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Standardizes 429 handling with RateLimitModal and retry-after UX. Use when handling API errors that may return 429 (rate limited) responses.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Canonical linear DB migrations under infra/k8s/base/ops/source/database/linear-migrations, ops bundles, env keys, and runners. Use when adding or changing SQL migrations, K8s DB bootstrap, or scripts/database in this repo.
When an E2E test verifies a specific element, pass it to the capture helper so the step screenshot is taken with that element vertically centered.
Create and use Metaboost git worktrees in sibling directories named metaboost_<branch_slug> (underscores). Use when starting feature work, moving WIP off the main checkout, or opening the correct worktree path for a branch.
Distributed tracing and OTLP export patterns. Use when adding trace context, log correlation, or Observability env — after Metaboost adopts a shared observability package.
When you finish a plan file in active/, automatically move it to completed/. If it's the last plan in its set, move the whole set. Use when completing any plan under .llm/plans/active/.
User vocabulary abcmemory and abcremember — where Cursor guidance lives and how to persist new instructions. Use when the user says abcmemory or abcremember.
| name | rate-limit-message |
| description | Standardizes 429 handling with RateLimitModal and retry-after UX. Use when handling API errors that may return 429 (rate limited) responses. |
RateLimitModal from @metaboost/ui (or the same pattern: modal + retryAfterSeconds state).Retry-After (seconds) from the response when present; pass retryAfterSeconds to RateLimitModal so the user sees how long to wait.alert() for user-facing rate-limit copy.AuthContext and auth pages — reuse rather than inventing a one-off helper per page.import { RateLimitModal } from '@metaboost/ui';
const [rateLimitRetrySeconds, setRateLimitRetrySeconds] = useState<number | undefined>(undefined);
const [rateLimitOpen, setRateLimitOpen] = useState(false);
// On 429 from API:
if (res.status === 429) {
const retryAfter = parseRetryAfterSeconds(res.headers.get('Retry-After'));
setRateLimitRetrySeconds(retryAfter);
setRateLimitOpen(true);
}
<RateLimitModal
open={rateLimitOpen}
onClose={() => setRateLimitOpen(false)}
retryAfterSeconds={rateLimitRetrySeconds}
/>
RateLimitModal live in app i18n (ui.rateLimitModal.*) — the shared component uses next-intl keys, not hard-coded English in packages/ui call sites.