Skip to content
Back to skills

Quick Scan Commands

ASecurity

Sub-skill of clean-code: Quick Scan Commands.

  • 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 quick-scan-commands --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Quick Scan Commands?

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

Security grade badge for Quick Scan Commands
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vamseeachanta-quick-scan-commands/badge)](https://www.skillsdirectory.com/skills/vamseeachanta-quick-scan-commands)

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-quick-scan-commands
description: 'Sub-skill of clean-code: Quick Scan Commands.'
version: 2.1.0
category: workspace
type: reference
scripts_exempt: true
---

# Quick Scan Commands

## Quick Scan Commands


Run these before reviewing or merging code:

```bash
# Find files exceeding 400-line hard limit
find src/ -name "*.py" -exec wc -l {} + | awk '$1 > 400 {print $1, $2}' | sort -rn | head -20

# Find functions exceeding 50 lines (approximate — counts def blocks)
grep -n "^    def \|^def " src/**/*.py | awk -F: '{print $1, $2}' | head -30

# Oversized files by severity
echo "=== CRITICAL (>1000 lines) ===" && find src/ -name "*.py" -exec wc -l {} + | awk '$1>1000{print}' | sort -rn
echo "=== HIGH (400-1000 lines) ===" && find src/ -name "*.py" -exec wc -l {} + | awk '$1>400 && $1<=1000{print}' | sort -rn

# Dead code: files named *_unused.py or *_old.py
find src/ \( -name "*_unused.py" -o -name "*_old.py" -o -name "*_bak.py" \) | head -20

# Duplicate class names (possible God Object fragmentation)
grep -r "^class " src/ | sed 's/.*class //' | sed 's/[:(].*//' | sort | uniq -d
```

---

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.