npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

unslop-preflight

v1.15.2

Published

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

Downloads

1,191

Readme

Unslop Preflight

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.


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:

  1. no-ai-slop: Copy and prose refactoring.
  2. loop-engineering: Continuous L1/L2 autonomous loops.
  3. ui-review-loop: Visual browser UI testing and DOM timeline capture.
  4. browser-use: Headless automation and viewport boundary testing.
  5. make-interfaces-feel-better: 19 design engineering polish principles.
  6. ui-skills: Baseline motion performance and interaction rules.
  7. 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

| Command | Description | Example | |---|---|---| | autopilot | Full preflight, source scan, repair, and verification. | bunx unslop-preflight autopilot --safe-fix --verify | | scan | Scans source code, prose, interface feel, and a11y. | bunx unslop-preflight scan src --strict | | loop | Continuous engineering loop runner (PR triage, CI sweep). | bunx unslop-preflight loop status | | review | Browser UI review recorder (DOM, HAR, network). | bunx unslop-preflight review start --url http://localhost:3000 | | init | Bootstraps PRODUCT.md, DESIGN.md, and AGENTS.md. | bunx unslop-preflight init | | repair | Executes safe, non-destructive AST transformations. | bunx unslop-preflight repair --safe-fix | | doctor | Checks 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.