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.9.8

Published

Autopilot design quality gates for AI-assisted UI with readiness bands, typography governance, Root Cause Mode, overlay reasoning, Install Agent Harness guidance, and AGENTS.md handoff before implementation.

Readme

Unslop

Stop AI coding agents from shipping generic, fragile frontend work.

A pre-implementation quality gate for PRODUCT.md, DESIGN.md, and AGENTS.md with readiness bands, taste calibration, root-cause governance, overlay reasoning, and install-agent-harness guidance.

Socket Badge npm skills.sh Gates Version License: MIT

npx unslop autopilot

One command creates or repairs PRODUCT.md, DESIGN.md, and AGENTS.md, runs the gates, scores readiness, writes a fix list, and blocks implementation until the handoff is strong enough for an AI coding agent.

Autopilot · Quick Start · Readiness · Reasoning Gates · Harness · CLI · Docs

Unslop Brand Narrative

AI made it easier to build interfaces.

It also made it easier to ship the same broken interface again and again.

The oversized headline. The glassy card stack. The purple gradient that came from nowhere. The modal that looks fine until the screen gets smaller. The popup with a scrollbar that feels like a browser bug. The z-index fix that only works because someone typed 9999 and hoped for the best.

This is AI slop.

Not because AI is bad. Because agents are fast, obedient, and often too confident.

They will implement a vague brief. They will decorate weak specs. They will patch symptoms instead of finding the cause. They will ship visual noise if no one teaches them what good looks like.

Unslop exists for the moment before that happens.

It is a preflight gate for AI-built frontends. It reads your product brief, design direction, agent instructions, and code readiness before the agent starts building.

It asks the questions a good senior frontend reviewer would ask:

  • Does the design have a real hierarchy?
  • Will the modal survive mobile screens?
  • Will the popup stay usable without an ugly scrollbar?
  • Is the z-index solving the cause or hiding it?
  • Does the typography follow a scale, or did the agent guess?
  • Is the project ready for an AI coding agent, or does it need sharper instructions first?
  • Do you actually need more tools installed, or are you about to bloat the agent’s context for no reason?

Unslop does not try to make the AI slower.

It makes the AI less naive.

It turns taste, layout logic, root-cause thinking, and agent setup into gates that can be checked before code ships.

Because the future of frontend is not "AI writes everything."

The future is knowing what to stop before AI writes the wrong thing beautifully.

Unslop helps teams ship AI-assisted interfaces that feel intentional, not generated.

When to use it

Use it when you are building or reviewing:

  • SaaS dashboards and admin panels
  • landing pages and product pages
  • Arabic RTL or bilingual RTL/LTR products
  • AI-assisted UI builds in Claude Code, Cursor, Codex, Windsurf, Cline, Amp, or similar tools
  • design systems before frontend implementation
  • weak DESIGN.md files that need amplification
  • modal, popup, drawer, dropdown, tooltip, or toast behavior that keeps breaking
  • large or unfamiliar repos where the agent needs a small tool harness before coding

Do not use it for backend-only work, database-only tasks, non-UI scripts, or projects with a mature design system that already fully governs frontend implementation.

What's current in v1.9.8

The current docs cover the readiness system through v1.9.8:

  • Strict Gates Enforcement: All rules now run in strict mode, blocking implementations if any warning or info-level guidance is missed.
  • AGENTS.md is the primary agent guidance file for new projects.
  • Readiness bands explain whether the project is blocked, needs spec work, is agent-ready with fixes, or is agent-ready.
  • Taste rules require Design Read, Taste Controls, Design System Decision, Anti-AI-Slop rules, Agent Handoff, and Pre-flight Check.
  • Placeholder gates block raw templates and vague placeholders before coding.
  • Root Cause Mode turns "fix the problem from the root" into an enforceable diagnosis-first rule.
  • Modal viewport gates block overlays that lack width guards, height guards, internal scroll, mobile behavior, and QA proof.
  • Stacking reasoning gates block blind z-index fixes and require layer scale, stacking context audit, portal policy, and conflict matrix.
  • Install Agent Harness asks the coding agent to recommend only the skills and tools this project needs now, with a warning against bulk install.

How it works

Your prompt or repository
   ↓
PRODUCT.md
   Product strategy, users, job, risks, brand traits, accessibility, localization
   ↓
DESIGN.md
   Design Read, Taste Controls, system decision, tokens, components, overlay rules
   ↓
AGENTS.md
   Project-specific instructions for AI coding agents
   ↓
Audit
   Base gates plus readiness, taste, placeholders, root cause, overlays, harness, accessibility, security
   ↓
Repair
   Safe missing sections are added, risky source fixes are written to a fix list
   ↓
Readiness decision
   blocked, needs-spec-work, agent-ready-with-fix-list, or agent-ready
   ↓
Implementation allowed only when the artifacts are specific enough

Quick Start

Option A: run with npx

npx unslop autopilot

Option B: initialize artifacts first

npx unslop init
npx unslop audit
npx unslop repair --dry-run --report

Option C: install in a project

npm install --save-dev unslop-preflight
npx unslop autopilot

Option D: install globally

npm install -g unslop-preflight
unslop autopilot

Option E: install as a skill

npx skills add imMamdouhaboammar/unslop-preflight

Autopilot

npx unslop autopilot

Autopilot runs the full loop:

  1. Attempts required setup checks.
  2. Creates missing PRODUCT.md, DESIGN.md, and AGENTS.md.
  3. Repairs safe missing sections.
  4. Runs the rules engine.
  5. Scans frontend source when present.
  6. Writes .unslop/report.md, .unslop/report.json, and agent-readable fix instructions.
  7. Repeats until it reaches the pass limit or the project is ready.

Useful options:

npx unslop autopilot --max-passes=5
npx unslop autopilot --no-source-scan
npx unslop autopilot --no-unslop
npx unslop autopilot --dry-run

Readiness bands

The audit result gives a practical decision instead of only a score.

| Band | Meaning | Action | |------|---------|--------| | blocked | Critical artifact, safety, placeholder, accessibility, security, or root-cause issue | Do not implement yet | | needs-spec-work | The docs exist but are still too vague for an AI agent | Repair or rewrite the weak sections | | agent-ready-with-fix-list | The docs are mostly usable, but source or design fixes remain | Apply the generated fix list, then rerun audit | | agent-ready | The artifacts are specific enough for implementation | Proceed with the coding agent |

Category breakdowns show where the risk lives: product clarity, design contract, taste, placeholders, agent guidance, root cause, harness readiness, responsive behavior, modal overlays, stacking, accessibility, security, and implementation scans.

Reasoning gates

Root Cause Mode

When the handoff mentions a bug, issue, broken UI, regression, overflow, clipping, z-index, viewport, modal, popup, drawer, dropdown, tooltip, toast, focus trap, or layout failure, the agent must diagnose before editing.

It must reproduce or restate the failing state, separate symptom from cause, choose the smallest root fix, check regressions, and provide verification proof.

Read docs/ROOT_CAUSE_MODE.md.

Modal viewport and overlay gates

When DESIGN.md mentions modals, dialogs, popups, drawers, sheets, overlays, lightboxes, popovers, or command palettes, it must include:

  • width guard
  • height guard
  • internal scroll behavior
  • mobile behavior
  • viewport QA proof

Read docs/OVERLAY_LAYERING_GATES.md.

Stacking and z-index reasoning

Layered UI such as sticky headers, fixed headers, modals, drawers, dropdowns, tooltips, popovers, and toasts must include:

  • stacking or placement plan
  • stacking context audit
  • layer scale
  • portal policy
  • conflict matrix

Blind z-9999 or z-index: 9999 fixes are blocked unless the root-cause analysis proves they are necessary.

Install Agent Harness

Many users of this tool are vibe coders. They may not know which agent skills, plugins, scanners, or runtime helpers should be installed before coding.

The Install Agent Harness gate asks the coding agent to inspect the project and recommend a small, relevant harness instead of installing everything.

The agent should explain:

  • active host: Claude Code, Codex, Cursor, Gemini CLI, Copilot, Antigravity, OpenCode, Windsurf, or another host
  • project shape and current risk
  • recommended harness items
  • priority: required now, recommended now, optional later, or skip
  • why each item matters for this project now
  • setup method after source review
  • verification and rollback notes

Tip: install only the skills and tools you actually need. Bulk-installing every available skill adds unnecessary context overhead and expands the review surface.

Read docs/INSTALL_AGENT_HARNESS.md.

Taste calibration

The taste system adds design judgment before implementation.

DESIGN.md should include:

  • Design Read: the agent's interpretation of the product, user, tension, and visual direction.
  • Taste Controls: DESIGN_VARIANCE, MOTION_INTENSITY, and VISUAL_DENSITY, each from 1 to 10.
  • Design System Decision: the baseline system and the reason it fits.
  • Anti-AI-Slop Guidelines: specific patterns to avoid for this product.
  • Agent Handoff: what the coding agent must preserve.
  • Pre-flight Check: final proof that the design is ready before code starts.

Placeholder gates

The audit blocks unresolved placeholders in PRODUCT.md and DESIGN.md, including patterns such as:

  • [audience]
  • [Feature 1]
  • TODO
  • TBD
  • ...
  • template-only filler

A placeholder can be useful in a starter template. It is dangerous in an implementation handoff.

CLI Reference

npx unslop <command> [args]

Short alias:

npx unslop <command> [args]

| Command | What it does | |---------|--------------| | autopilot | Runs init, audit, safe repair, scans, reports, and fix-list generation | | init | Creates missing PRODUCT.md, DESIGN.md, and AGENTS.md | | audit | Runs artifact gates and prints score, readiness, and category breakdown | | repair | Adds safe missing sections and prepares agent-readable fixes | | report | Writes .unslop/report.md and .unslop/report.json | | doctor | Checks runtime and project assumptions | | update | Updates the CLI package |

Common usage:

npx unslop init
npx unslop audit --verbose
npx unslop repair --dry-run --report
npx unslop autopilot

Base gates and readiness-layer checks

The original numbered gates still define the core UI governance system.

| # | Gate | What it enforces | |---|------|------------------| | 1 | Design System Baseline | Select a baseline before design work | | 2 | Intake Session | Capture product, user, job, localization, and risk context | | 3 | Standards Search | Check current WCAG, MDN, web.dev, and framework guidance when possible | | 4 | Unslop Install | Record or run relevant setup before UI work | | 5 | PRODUCT.md | Strategy artifact exists and passes contract | | 6 | DESIGN.md Contract | Required design sections and decisions exist | | 7 | Rules Engine | All artifact gates run consistently | | 8 | Accessibility and Directionality | Focus, contrast, ARIA, LTR by default, RTL when required | | 9 | UX-CRX Logic | Primary action, secondary action, recovery path, and decision point per screen | | 10 | Mobile and Responsive | Mobile is designed deliberately, not stacked from desktop | | 11 | Popup and Feedback System | No native alert() or confirm() for product flows | | 12 | Implementation Scan | Source blockers are detected before handoff | | 13 | Amplify Preservation | Strong existing decisions are kept during repair | | 14 | Semantic HTML and Interaction | No clickable divs, broken keyboard behavior, or missing landmarks | | 15 | Realistic Content | No lorem ipsum, fake people, or sample-only records | | 16 | Design Tokens | No hardcoded hex, magic numbers, or token drift | | 17 | Drift Control | Single source of truth and gates rerun per merge | | 18 | Viewport Governance | Scroll ownership, dvh fallback, and no root overflow hacks | | 19 | Modal and Dialog | Focus trap, scroll lock, safe sizing, inert background | | 20 | Dashboard Shell | Declared grid, scroll ownership, auth hierarchy, form quality | | 21 | Overlay Stack | Centralized overlays, toast rules, collision handling | | 22 | Sensitive Data Display | Mask tokens, secure creation flow, destructive confirmations | | 23 | Popup and Floating Positioning | Strategy A/B/C, flip/shift/size, portal mounting, z-index tokens |

Readiness-layer checks now add AGENTS.md resolution, taste calibration, placeholder blocking, root-cause governance, modal viewport hard gates, stacking reasoning, and install-agent-harness readiness.

What it blocks

| Failure | Impact | |---------|--------| | Clickable <div> | Keyboard and screen reader failure | | Missing visible label | Forms become unclear after typing | | height: 100vh on mobile auth screens | Mobile keyboard and small viewport breakage | | Modal without bounded viewport contract | Popup overflows or clips on small screens | | Dropdown inside overflow parent without portal policy | Options get clipped | | Blind z-9999 fix | Symptom patch without root-cause diagnosis | | API token visible in a table | Security UX failure | | Bulk-installing every skill | Context overhead and conflicting agent guidance |

Scanners

npx unslop scan src/
npx unslop scan:a11y src/
npx unslop scan:a11y src/ --strict
npx unslop scan:viewport http://localhost:3000

The scanners detect source-level issues that artifact rules cannot safely auto-patch. Those issues are written into fix-list output for the coding agent.

Generated artifacts

After a healthy run, a project can contain:

PRODUCT.md                  product strategy and constraints
DESIGN.md                   design contract and implementation rules
AGENTS.md                   instructions for AI coding agents
.unslop/report.md      human-readable audit report
.unslop/report.json    machine-readable audit result
.unslop/fix-list.md    agent-readable fix list when source issues exist
VDMA-FIXES.md               source fix handoff from autopilot scans

Documentation map

| File | Purpose | |------|---------| | SKILL.md | Full skill behavior for agent runtimes | | AGENTS.md | Repository-level guidance for AI coding agents | | CHANGELOG.md | Release history | | CONTRIBUTING.md | Gate, scanner, template, and docs update workflow | | docs/AI_AGENT_READINESS.md | Readiness, taste, placeholder, and report behavior | | docs/ROOT_CAUSE_MODE.md | Diagnosis-first governance for bugs and layout failures | | docs/OVERLAY_LAYERING_GATES.md | Modal viewport, stacking, z-index, and overlay reasoning | | docs/INSTALL_AGENT_HARNESS.md | Project-specific skill and tool harness recommendations | | references/ | Detailed rule references | | assets/ | Templates used to generate project artifacts |

Repository structure

unslop/
├── bin/                         CLI entrypoint
├── src/
│   ├── commands/                init, audit, repair, report, autopilot
│   ├── core/                    auditor, templates, reporter, filesystem helpers
│   └── rules/                   product, design, taste, placeholder, root-cause, harness, overlay, UX rules
├── scripts/                     standalone scanners and validators
├── assets/                      generated artifact templates
├── references/                  detailed rule references
├── docs/                        documentation for system behavior
├── tests/                       Node test runner coverage
├── AGENTS.md                    agent guidance for this repository
├── SKILL.md                     skill runtime instructions
├── CHANGELOG.md                 release history
└── package.json

Recommended workflow

npx unslop autopilot
# read the readiness band and fix list
# apply required fixes
npx unslop autopilot
# proceed only when readiness is agent-ready or intentionally accepted by the team

Contributing

Read CONTRIBUTING.md before adding a gate, scanner, template, or documentation update. Any behavior change should update the docs in the same pull request.

Current documented behavior

v1.9.8 docs

  • Strict Gates Enforcement: All warnings and info rules are now elevated to errors.
  • AGENTS.md support across init, audit, repair, reports, and package publishing
  • readiness bands and category scoring
  • taste calibration rules
  • placeholder gates for product and design artifacts
  • Root Cause Mode for bug and layout work
  • strict modal viewport and overlay sizing gates
  • stacking context, portal policy, and z-index reasoning gates
  • Install Agent Harness recommendations with bulk-install guard

Built for AI-first frontend workflows that need judgment before code.

GitHub · npm · skills.sh · Issues