New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

unslop-preflight

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unslop-preflight

Autopilot design quality gates and source-level UI slop detectors for AI-assisted frontend work before implementation handoff.

latest
Source
npmnpm
Version
1.15.2
Version published
Weekly downloads
124
-38.31%
Maintainers
1
Weekly downloads
 
Created
Source

Unslop Preflight

Unslop Preflight Mark

The ultimate preflight & autonomous repair guardrail for AI-built frontends.

npm version npm downloads CI status License: MIT

Socket Supply Chain skills.sh

Stop AI coding agents before they ship fragile, slop-ridden frontend layouts into production.

Unslop Preflight Repo Card

Mamdouh Abo Ammar GitHub Stats Top Languages

What is Unslop Preflight?

AI coding agents write frontend code 10x faster, but they also introduce fragile UI regressions 10x faster. When agents "vibe code" without strict guardrails, they often generate:

  • Clickable <div> elements: Interactive components missing keyboard support and ARIA landmarks.
  • Blind z-9999 patches: Stacking-context bugs masked by extreme z-indexes.
  • Desktop-only modals: Overlays that lock scrolling or clip content on mobile devices.
  • Performance killers: Broad transition: all declarations that degrade Interaction to Next Paint (INP).
  • Prose slop: AI-sounding filler copy (e.g., "delve", "foster").

Unslop Preflight is an automated quality gate and source-level repair engine. It enforces accessibility, layout sanity, and copy standards before AI-generated code is ever merged.

Features: 7 Integrated Engines

Unslop Preflight unifies 7 open-source quality engines into one deterministic CLI:

  • no-ai-slop: Copy and prose refactoring.
  • loop-engineering: Continuous L1/L2 autonomous loops.
  • ui-review-loop: Visual browser UI testing and DOM timeline capture.
  • browser-use: Headless automation and viewport boundary testing.
  • make-interfaces-feel-better: 19 design engineering polish principles.
  • ui-skills: Baseline motion performance and interaction rules.
  • ux-ui-agent-skills: Design token governance and taste calibration.

Quick Start

[!NOTE] bun is highly recommended for executing Unslop Preflight within AI agent environments.

Run the instant preflight scan and auto-repair:

bunx unslop-preflight autopilot --safe-fix --verify

Installation

# Using Bun (Recommended)
bun add -d unslop-preflight

# Using npm
npm install --save-dev unslop-preflight

# Using pnpm
pnpm add -D unslop-preflight

CLI Commands

CommandDescriptionExample
autopilotFull preflight, source scan, repair, and verification.bunx unslop-preflight autopilot --safe-fix --verify
scanScans source code, prose, interface feel, and a11y.bunx unslop-preflight scan src --strict
loopContinuous engineering loop runner (PR triage, CI sweep).bunx unslop-preflight loop status
reviewBrowser UI review recorder (DOM, HAR, network).bunx unslop-preflight review start --url http://localhost:3000
initBootstraps PRODUCT.md, DESIGN.md, and AGENTS.md.bunx unslop-preflight init
repairExecutes safe, non-destructive AST transformations.bunx unslop-preflight repair --safe-fix
doctorChecks environment health and lockfile configuration.bunx unslop-preflight doctor

Security & Supply Chain Defense

[!IMPORTANT] Unslop Preflight is built with a zero-trust, secure-by-default architecture to prevent supply chain attacks, strictly adhering to npm security best practices.

  • Zero Postinstall Scripts: Executes cleanly with ignore-scripts=true.
  • Lockfile Integrity: Strictly validates package lockfiles (package-lock.json, bun.lockb, pnpm-lock.yaml) during the repair lifecycle to prevent injection.
  • OIDC Publishing: Releases are signed via GitHub Actions OIDC with provenance attestations (--provenance).
  • Credential Scanning: Embedded detectors proactively block hardcoded API keys and JWTs in source code before they ship.

Agent Instructions

[!TIP] Paste this into Claude Code, Cursor, or Gemini CLI to delegate the cleanup loop.

You are my cleanup agent. Please run Unslop Preflight and fix the reported issues:

1. Detect the package manager (prefer Bun).
2. Run: `bunx unslop-preflight autopilot --safe-fix --verify --report --strict`
3. Read the reports in `.unslop/` (report.md, fix-list.md).
4. Address the findings:
   - Fix prose slop and AI-sounding copy.
   - Fix interface issues (transition: all, missing focus states).
   - Fix accessibility gaps (clickable divs, icon-only buttons).
   - Fix z-index and modal clipping bugs.
5. Re-run the autopilot command to verify the score delta.
6. Ensure all project checks (build, test, lint) pass cleanly.

Repository Structure

unslop-preflight/
├── .github/workflows/          # CI/CD & OIDC trusted npm publishing
├── bin/cli.js                  # CLI executable entry point
├── src/
│   ├── commands/               # CLI handlers (autopilot, scan, loop, review)
│   ├── core/                   # Engines (loopGate, reviewRecorder, safetyValidator)
│   ├── rules/                  # Gate rules (proseSlop, interfaceFeel, a11y)
│   └── scanners/               # Analyzers (browserAutomation, sourceSlop)
├── tests/                      # Unit & integration test runner suite
├── AGENTS.md                   # Agent guidance contract
├── SKILL.md                    # Universal skill manifest
└── package.json                # Project description & ESM manifest

Crafted with care to bring rigorous architectural discipline and gorgeous visual elegance to AI-driven frontend workflows.

Keywords

claude

FAQs

Package last updated on 01 Aug 2026

Related posts