What problem does it solve? User-generated text on a social platform can contain profanity, spam, or severe policy violations, and abuse must be detected, escalated, and audited consistently across many server routes without duplicating fragile inline logic. ## Core Features & Use Cases - Two-tier content gating: validate user-input fields with validateContentSafe (deterministic exact-substring filter) or validateContentSafeAsync (adds a fail-open WeChat msgSecCheck Tier-1 call under a 250ms budget), with every block logged to content_filter_logs. - Violation escalation and rate limiting: recordViolation in abuseDetection.ts drives the warning → 1-hour AI freeze → 24-hour freeze → permanent ban ladder, while createRateLimiter protects AI, auth, payment, and webhook endpoints. - Admin moderation and review queue: ban/unban routes emit USER_BANNED/USER_UNBANNED audit entries, and PATCH /api/admin/content-filter/logs/:id supports an idempotent review workflow with missFlag false-positive feedback into keyword-list curation. - Use Case: When adding a new free-text field like an event feedback comment, wire it through validateContentSafeAsync before persistence so severe violations are blocked unconditionally, warning-tier hits respect the contentModerationSevereFailClosedEnabled flag, and the route keeps its own recordViolation call. ## Quick Start Ask the AI to gate a new user-input field such as a profile bio through validateContentSafeAsync before saving it, following the content-safety skill's escalation and audit rules.