Skip to content
Back to skills

God Object Detection

ASecurity

Sub-skill of clean-code: God Object Detection.

  • 17 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 9, 2026
toolsgobash

Security analysis

A100/100

Scanned September 9, 2026

npx -y skills add vamseeachanta/workspace-hub --skill god-object-detection --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of God Object Detection?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for God Object Detection
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vamseeachanta-god-object-detection/badge)](https://www.skillsdirectory.com/skills/vamseeachanta-god-object-detection)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: clean-code-god-object-detection
description: 'Sub-skill of clean-code: God Object Detection.'
version: 2.1.0
category: workspace
type: reference
scripts_exempt: true
---

# God Object Detection

## God Object Detection


A "God Object" knows or does too much. Signs:

1. File >600 lines with >8 classes or >15 functions
2. Class that imports from 5+ different domain modules
3. Function >50 lines with >3 different concerns
4. File name that ends in `_utils.py`, `_helpers.py`, `_common.py` with >200 lines

```bash
# Files with many class definitions (God Object candidates)
grep -l "^class " src/**/*.py | xargs -I{} bash -c \
  'count=$(grep -c "^class " {}); [ $count -gt 3 ] && echo "$count classes: {}"' | sort -rn

# Files with many function definitions
grep -l "^def \|^    def " src/**/*.py | xargs -I{} bash -c \
  'count=$(grep -cE "^def |^    def " {}); [ $count -gt 15 ] && echo "$count funcs: {}"' | sort -rn
```

---

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.