deslop

Check the diff against the base branch and remove all AI-generated slop introduced in this branch.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "deslop" with this command: npx skills add skyosev/agent-skills/skyosev-agent-skills-deslop

Remove AI Code Slop

Check the diff against the base branch and remove all AI-generated slop introduced in this branch.

Remove

  • Redundant comments/docs: Delete narration that restates obvious behavior (e.g., "Increment the date"). Remove stale bug/workaround notes that no longer apply.

  • Verbose comments: Make long comment blocks more concise while keeping the intent.

  • Over-defensive handling: Remove unnecessary null/validation guards and broad try/catch blocks when inputs are trusted or exceptions should propagate. Prefer direct flow over catch-and-rethrow, empty catches.

  • Silent fallbacks: Replace defensive fallbacks that silently mask invalid input with explicit errors. Surface potential bugs instead of hiding them.

  • Type-system bypasses: Replace or remove casts/pragmas used only to silence errors (e.g., any , as unknown as T , // @ts-ignore , # type: ignore ). Restore correct typing or remove the unnecessary construction.

  • Dead/unused code: Delete unused imports, variables, helpers, alternate implementations, and commented-out code. Keep the diff free of placeholders and vestiges.

  • Style drift: Conform to local patterns (naming, formatting, error handling, structure).

  • Duplication: Remove repeated logic and refactor to avoid duplicated semantics.

Process

  • Diff against base: git diff $(gh repo view --json defaultBranchRef --jq '.defaultBranchRef.name')...HEAD

  • Scan for slop: Identify added narration, guards, catches, casts, suppressions, dead code, duplication, and out-of-style constructs.

  • Edit for intent:

  • Remove slop while preserving legitimate behavior.

  • Fix root causes behind suppressions when feasible; otherwise remove the suppression if it was unnecessary.

  • Keep high-value comments that capture critical behavior or design intent that is not immediately obvious.

  • Verify and summarize: Run tests/linters and write a 1–3 sentence summary of the cleanup (e.g., removed redundant commentary and null checks; removed unnecessary try/catch; aligned code with project conventions).

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

deslop

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

vercel-composition-patterns

React composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers on tasks involving compound components, render props, context providers, or component architecture. Includes React 19 API changes.

Repository Source
86.4K23Kvercel
Automation

vercel-react-native-skills

React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.

Repository Source
60.7K23Kvercel
Automation

supabase-postgres-best-practices

Postgres performance optimization and best practices from Supabase. Use this skill when writing, reviewing, or optimizing Postgres queries, schema designs, or database configurations.

Repository Source
35.3K1.6Ksupabase