मुख्य सामग्री पर जाएँ
Skillpedia
सामान्य कोडिंग5.1k · #15073

omh-ai-slop-cleaner

यह क्या करती है

यह बेकार कोड, दोहराव और बचे हुए कचरे को ढूँढकर हटाती है, और टेस्ट से जाँचती है कि व्यवहार नहीं बदला। यह उन डेवलपर्स के लिए है जिन्हें गंदा कोड विरासत में मिला है या जो सुरक्षित सफ़ाई चाहते हैं।

कब इस्तेमाल करें

  • ✓जब कोड में मृत कोड, दोहराव या AI से बना बचा कचरा भरा हो।
  • ✓जब आप ऐसी सफ़ाई चाहते हैं जिससे व्यवहार न बदले।
  • ✓जब आप जोखिम भरे रीफ़ैक्टर की योजना और टेस्ट से पुष्टि चाहते हैं।

Skill का लिंक

https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-ai-slop-cleaner/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-ai-slop-cleaner/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“इस फ़ाइल की दोहराई गई राउटर शाखाएँ साफ़ कीजिए, और टेस्ट जोड़िए ताकि यूज़र के लिए कुछ न बदले।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

आपका एजेंट सफ़ाई की योजना बनाता है, कोड हटाता या सरल करता है, और लक्षित टेस्ट से साबित करता है कि व्यवहार वही है। जो बदलाव डिज़ाइन बदलते हैं, वे अलग योजना-चरण में जाते हैं।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Ai Slop Cleaner

This is an OMH ai-slop-cleaner workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).

Why This Exists

ai-slop-cleaner exists to keep maintenance work explicit, evidence-backed, and inside the Hermes/executor boundary instead of relying on ad hoc chat narration.

Do Not Use When

  • The goal is new or changed behavior rather than removing existing code; a plain refactor, feature, or fix request belongs to ulw-work.
  • The cleanup would change architecture or module boundaries and needs its execution shaped into phases first; use omh-refactor-plan, or ulw-plan when the direction itself is still contested.
  • The user wants code judged for bugs or merge readiness with no drafted slop removal to inspect; use omh-code-review for a bug-first review and omh-failure-signal-audit for swallowed failures.

Examples

Good example:

  • Prompt: $ai-slop-cleaner remove duplicated router branches and lock behavior with regression tests before refactoring.
  • Expected behavior: Plan cleanup, preserve behavior, delete or simplify code, and prove it with targeted tests.
  • Why: The request is maintenance cleanup with regression risk.

Bad example:

  • Prompt: ai-slop-cleaner: treat casual chat or unaccepted work as if this workflow already produced verified results.
  • Expected behavior: Ask a clarification question or route to a narrower workflow instead of forcing ai-slop-cleaner.
  • Why: The request lacks the required inputs or would overclaim work that Hermes did not observe.

Completion Checklist

  • The selected coding or runtime owner is named before any implementation claim.
  • Prepared handoff, dispatch, execution, verification, review, CI, and merge states are separated.
  • The final status cites observed runtime evidence or keeps the work prepared_not_observed.
  • When Hermes is the selected coding owner, use hermes_coding_harness/v1 to keep builder, verifier, reviewer, docs, and PR lanes separate.
  • Report the current harness stage, owner, next action, and missing evidence without claiming PR creation, review, CI, merge-readiness, or merge until matching runtime observations exist.

Recovery Notes

  • If the selected executor is unavailable, ask for Codex, Claude Code, Hermes, or another runtime before retrying.
  • If dispatch or result evidence is missing, keep the handoff prepared_not_observed and expose the next observable action.

When to Use

Use when the goal is removing existing low-quality, duplicated, or AI-generated code and the observable behavior must not change; lock behavior with tests before and after the edits.

Strong routing signals: `ai-slop-cleaner`, `$ai-slop-cleaner`, `cleanup`, `deslop`, `refactor`, `risky`, `behavior-preserving refactor`, `risk analysis`, `refactor workflow`, `legacy refactor`, `anti-slop pass`, `anti-slop review`, `anti-slop sweep`, `ai slop`, `deslop review`, `리팩터링`, `리팩토링`, `위험 분석`, `변경 범위 제한`, `회귀 테스트`, `деслоп`, `убери мусор из кода`, `почисти код`, `убери лишнее в коде`, `зачисти код`, `мёртвый код`, `анслоп`, `деблоат`, `почистить код`

Catalog Metadata

Category: maintenance Phase: cleanup Quality tier: regression-gated Reasoning demand: heavy

Quality bar:

  • Lock current behavior with regression checks before non-trivial cleanup.
  • Classify before deleting: every finding names one category from the slop taxonomy - duplication, dead code, needless abstraction, boundary violation, missing tests, or templated defaults - so the pass order below can own it.
  • Run single-smell passes in fixed order, re-verifying between passes and never bundling categories: dead-code deletion, then duplicate removal, then naming and error handling, then test reinforcement; the full contract is omh-ai-slop-cleaner/references/cleanup-passes.md.
  • When the user names no target smell, run detection first and hand back the inventory: prepared linter and dead-code commands are named per stack in the reference and stay prepared_not_observed until run.
  • When the cleanup target is written English rather than code, load omh-ai-slop-cleaner/references/prose-lexicon.md for the word tiers, the pattern severities, and the context profile that decides which rules apply.
  • Review mode (deslop review, or a request to judge a drafted cleanup without editing) edits nothing: read the writer pass's plan, its diff, and the before/after checks it ran against the six taxonomy categories and return findings
अक्सर पूछे जाने वाले सवाल

क्या सफ़ाई से ऐप का व्यवहार बदलेगा?

नहीं। लक्ष्य है कोड हटाना, जबकि दिखने वाला व्यवहार वही रहे।

क्या यह किसी भी गंदे कोड पर काम करती है?

यह मौजूदा कोड पर काम करती है; नया या बदला हुआ व्यवहार अलग फ़ीचर या फ़िक्स वर्कफ़्लो का हिस्सा है।

अगर सफ़ाई के लिए नया आर्किटेक्चर चाहिए तो?

स्किल ऐसा काम पहले रीफ़ैक्टर योजना के चरण में भेजती है।

जानकारी

लेखक का मूल विवरण

[omh] Messy or AI-generated code to clean up: delete AI-generated slop, dead code, and duplication while observable behavior stays identical. Use when the user says: ai-slop-cleaner, cleanup, deslop, refactor, risky, behavior-preserving refactor, risk analysis, refactor workflow.

repo: rlaope/oh-my-hermes

लोकप्रियता

GitHub स्टार
5.1k
रैंकिंग में स्थान
#15073
लाइसेंस
MIT
अपडेट की गई
2/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

omh-accessibility-audit

5.1k

यह आपके एजेंट को किसी स्क्रीन या फ़्लो में एक्सेसिबिलिटी की कमियाँ जाँचने में मदद करती है, जैसे कीबोर्ड उपयोग, स्क्रीन रीडर लेबल, कंट्रास्ट और टच टारगेट का आकार।

कोडिंगटेस्टिंग

omh-adversarial-consensus

5.1k

यह आपके एजेंट को किसी तकनीकी प्रस्ताव पर प्रतिबद्ध होने से पहले उस पर कई स्वतंत्र नज़रियों से हमला करवाने देती है, फिर देखती है कि क्या बचता है।

AI और एजेंटएजेंट

omh-agent-debug

5.1k

यह आपके एजेंट को पता लगाने में मदद करती है कि कोई दूसरा AI एजेंट क्यों अटका है, लूप में है या भटक रहा है, और सबसे छोटा सुरक्षित सुधार सुझाती है।

AI और एजेंटएजेंट

omh-agent-instructions

5.1k

यह आपके एजेंट को वह निर्देश फ़ाइल लिखने या अपडेट करने में मदद करती है, जैसे AGENTS.md या CLAUDE.md, जो बताती है कि AI टूल किसी प्रोजेक्ट में कैसे काम करें।

AI और एजेंटप्रॉम्प्ट और LLM

मिलती-जुलती skills