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

@juzy/de-slop

v1.0.0

Published

Eliminate AI slop in UI, copywriting, animations, and code — enforce Senior Software Engineer & Principal Designer craft via CLI rules and codebase linting.

Readme

de-slop

Eliminate AI slop. Enforce Senior Software Engineer & Principal Designer craft across UI, copywriting, motion, and code.

de-slop is a lightweight, zero-bloat CLI + AI Rules system for Cursor, Claude Code, Antigravity, and Gemini. It pairs preventive prompt rules (de-slop init) with an automated codebase linter & Craft Score audit (de-slop scan).


Why de-slop Exists

LLM-generated apps share an unmistakable fingerprint: purple-indigo hero gradients, puffy rounded-3xl shadow-2xl cards, transition-all, hollow copy packed with words like delve and unleash, narrating // Set state comments, and swallowed catch blocks.

de-slop removes the slop at both ends of your workflow:

  1. Before generation (init) — Installs opinionated engineering and design rules into .cursorrules, CLAUDE.md, .antigravity/rules.md, and .gemini/styleguide.md without overwriting your existing instructions.
  2. Before merge (scan) — Audits .ts, .tsx, .js, .jsx, .css, .html, and .md files, pinpoints exact offending lines with concrete Senior Fix suggestions, applies safe --fix cleanups, and computes a 0–100 Craft Score.

Before de-slop vs. After de-slop

1. UI & Tailwind Classes

| Before de-slop (AI Slop) | After de-slop (Senior Craft) | | --- | --- | | bg-gradient-to-r from-purple-600 to-indigo-600 hero background | bg-white dark:bg-neutral-950 neutral canvas with one intentional accent | | rounded-3xl shadow-2xl backdrop-blur-2xl card chrome | rounded-xl border border-neutral-200/80 dark:border-white/10 shadow-sm | | bg-gradient-to-r from-purple-400 to-pink-500 bg-clip-text text-transparent | Solid high-contrast ink (text-neutral-950 dark:text-neutral-50 tracking-tight) | | transition-all duration-300 hover:scale-110 | transition-colors duration-150 ease-out active:scale-[0.98] focus-visible:ring-2 |

2. Copywriting (Microcopy & Headlines)

BEFORE (AI Slop):
  Headline:  "Unleash the power of seamless workflow elevation"
  CTA:       "Get Started Today"
  Error:     "Something went wrong. Please try again."

AFTER (Senior Craft):
  Headline:  "Run preview checks on every pull request in under 12 seconds."
  CTA:       "Deploy to production"
  Error:     "Could not deploy release: npm token expired. Run `npm login` and retry."

3. TypeScript & React Code

// BEFORE (AI Slop)
// Import dependencies
export function SloppyHero(props: any) {
  // Set state
  const [status, setStatus] = useState('idle');
  // Handle click
  const onClick = async () => {
    try { await fetch('/api/launch'); } catch (err) {}
  };
  const label = props.isEnterprise ? 'Enterprise' : props.isPro ? 'Pro' : 'Free';
  return <button onClick={onClick}>{label} ({status})</button>;
}

// AFTER (Senior Craft)
export interface HeroProps {
  tier: 'free' | 'pro' | 'enterprise';
  onLaunch: () => Promise<void>;
}

const TIER_LABELS: Record<HeroProps['tier'], string> = {
  free: 'Free',
  pro: 'Pro',
  enterprise: 'Enterprise',
};

export function LaunchControl({ tier, onLaunch }: HeroProps) {
  const [error, setError] = useState<string | null>(null);

  async function handleLaunch() {
    setError(null);
    try {
      await onLaunch();
    } catch (err) {
      setError(err instanceof Error ? err.message : 'Launch request failed.');
    }
  }

  return (
    <div>
      <button type="button" onClick={handleLaunch}>
        Launch {TIER_LABELS[tier]}
      </button>
      {error ? <p role="alert">{error}</p> : null}
    </div>
  );
}

Quick Start

1. Inject Senior Craft Rules Into Your AI Editor

# Interactive setup
npx @juzy/de-slop init

# Or target specific configs directly
npx @juzy/de-slop init --cursor
npx @juzy/de-slop init --claude
npx @juzy/de-slop init --antigravity
npx @juzy/de-slop init --gemini
npx @juzy/de-slop init --all

Rules are wrapped between <!-- de-slop:start --> and <!-- de-slop:end --> markers. Existing instructions in CLAUDE.md, .cursorrules, .antigravity/rules.md, or .gemini/styleguide.md stay untouched, and re-running de-slop init updates the managed block idempotently.

2. Audit Your Codebase for AI Slop

# Scan the current repository
npx @juzy/de-slop scan

# Scan a specific file or directory
npx @juzy/de-slop scan src/components

# Automatically remove safe narrating comments and cliché copy phrases
npx @juzy/de-slop scan src --fix

# Enforce a minimum Craft Score in CI
npx @juzy/de-slop scan src --min-score 90

Example terminal output:

de-slop v1.0.0  ·  craft audit

tests/fixtures/sloppy-hero.tsx (18 issues)
  1:1     [CODE] med   code/narrating-comment
          // Import dependencies
          Why: Comment narrates obvious code structure instead of explaining a non-obvious "why".
          Fix: Delete the narrating comment; rely on clear function and variable names. (auto-fixable)
  18:67   [UI]   high  ui/ai-purple-gradient
          <section className="relative overflow-hidden bg-gradient-to-r from-purple-600 to-indigo-6...
          Why: Default LLM purple-indigo gradient makes the UI look instantly template-generated.
          Fix: Use a crisp neutral surface (bg-white dark:bg-neutral-950) with a 1px hairline border...
  21:11   [COPY] med   copy/ai-buzzword
          Unleash the power of seamless workflow elevation
          Why: Classic LLM marketing hype phrase that adds zero concrete information.
          Fix: Start directly with the verb or action: "Automate...", "Build...", or "Use...". (auto-fixable)

────────────────────────────────────────────────────────────────
Craft Score    4 / 100  █░░░░░░░░░░░░░░░░░░░  AI Slop Detected
Files: 1 scanned (1 flagged)  ·  4 COPY · 8 UI · 6 CODE
Hint: Run with --fix to clean 5 safe auto-fixable issues.

CLI Reference

de-slop init

| Flag | Description | | --- | --- | | --cursor | Install rules into .cursorrules | | --claude | Install rules into CLAUDE.md | | --antigravity | Install rules into .antigravity/rules.md | | --gemini | Install rules into .gemini/styleguide.md | | --all | Install into all four configuration paths | | -r, --rules <list> | Subset of rule modules (base,ui,copy,code) | | -d, --dir <path> | Target project root (defaults to current working directory) |

de-slop scan [targets...]

| Flag | Description | | --- | --- | | --fix | Apply safe automated fixes (narrating comments, unambiguous buzzword phrases, Lorem ipsum placeholders) | | --json | Emit structured JSON output for tooling or dashboards | | --min-score <n> | Exit with status code 1 if the Craft Score is below n | | -c, --category <cat> | Filter audit to copy, ui, or code |

Inline Suppressions

When an exception is intentional, suppress a single line or file explicitly:

// de-slop-ignore-next-line code/explicit-any
const legacyPayload: any = parseExternalFixture();

// de-slop-ignore-file

Rule Modules (templates/)


Architecture

de-slop/
├── bin/cli.js                  # Executable CLI entrypoint
├── src/
│   ├── index.ts                # Commander router & programmatic exports
│   ├── types.ts                # Shared strict TypeScript contracts
│   ├── commands/
│   │   ├── init.ts             # Non-destructive rule merger & TTY selector
│   │   └── scan.ts             # Recursive walker, --fix runner & threshold gate
│   ├── analyzer/
│   │   ├── index.ts            # Rule runner, suppression parser & Craft Score
│   │   ├── copyRules.ts        # Prose/JSX/HTML copy extractor & cliché rules
│   │   ├── uiRules.ts          # Tailwind/CSS anti-pattern & motion checks
│   │   └── codeRules.ts        # Narrating comments, empty catches, ternaries, any
│   └── utils/
│       └── logger.ts           # Minimal terminal UI with picocolors
├── templates/                  # Curated prompt rule modules
└── tests/                      # Vitest test suite & fixtures

Contributing

See CONTRIBUTING.md for the full rule-authoring guide, fixture conventions, and auto-fix safety checklist.

npm run typecheck
npm run build
npm test
node bin/cli.js scan src templates README.md --min-score 95

License

MIT