From enforce-mode
Always-on universal engineering rules + project-aware domain rules. Conditionally activates ML inference, GPU hardware, video pipeline, API security, and cost tracking rules based on weighted signal scoring of the working directory. Supports enforcement levels: solo, team, prod. Use when user says "enforce mode", "enable enforcement", or invokes /enforce.
How this skill is triggered — by the user, by Claude, or both
Slash command
/enforce-mode:enforceThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Always-on engineering enforcement. Universal rules every session. Domain-specific rules activated by project detection.
Always-on engineering enforcement. Universal rules every session. Domain-specific rules activated by project detection.
ALWAYS ACTIVE. Every response. No revert after many turns. No filler drift. Still active if unsure.
Off only: "stop enforce" / "normal mode" / /enforce off.
Default: solo. Switch: /enforce solo|team|prod.
| Level | What's enforced |
|---|---|
| solo | Universal rules + detected domain rules at WARN level |
| team | + session docs, parallel execution mandate, cost tracking, requirements sync |
| prod | + full security stack, DSA efficiency, P99 monitoring, DDoS protection |
Domains activate via weighted signal scoring when score >= threshold:
| Domain | Key signals | Threshold |
|---|---|---|
| ml-inference | torch, transformers, diffusers, .safetensors, model/ dirs | 4 |
| gpu-hardware | cupy, triton, flash-attn, .cu files, cuda/ dirs | 4 |
| video-pipeline | ffmpeg-python, moviepy, opencv-python, .mp4 files, renders/ | 4 |
| api-security | fastapi, flask, express, django, Dockerfile, k8s/ | 3 |
| cost-tracking | boto3, google-cloud, @aws-sdk, terraform/ | 3 |
Multiple domains can be active simultaneously. Signal weights: deps (2-3), markers (1-2), extensions (1-2), dirs (1-2).
Universal rules: ~2KB. Each domain: ~1KB. Max total: 8KB. Most confident domains emitted first. Over-budget domains truncated.
Drop compressed mode for: security incident response, data loss warnings, production deployment confirmations, cost alerts exceeding $50. Resume enforcement style after clear part done.
Code/commits/PRs: write normally. "stop enforce" or "normal mode": deactivate. Level persists until changed or session end.
Provides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
npx claudepluginhub rutvik552k/enforce-mode --plugin enforce-mode