Skip to content
Back to skills

Code Analysis

ASecurity

Check if code is readable by non-developers - clear names, plain English comments, no jargon

  • 416 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added February 7, 2026
code-qualitypythongobashdocumentation

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned February 12, 2026

npx -y skills add aiskillstore/marketplace --skill code-analysis --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Code Analysis?

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

Security grade badge for Code Analysis
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/aiskillstore-code-analysis/badge)](https://www.skillsdirectory.com/skills/aiskillstore-code-analysis)

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: code-analysis
description: Check if code is readable by non-developers - clear names, plain English comments, no jargon
version: 1.0.0
author: abereyes
triggers:
  - "check readability"
  - "is this code clear"
  - "can non-devs understand"
---

# Code Readability Checker

Analyzes code to ensure non-developers (managers, stakeholders, new team members) can understand it.

## What It Checks

- **Clear naming**: No cryptic abbreviations (usr_tkn → userToken)
- **Plain comments**: Everyday language, not technical jargon
- **Documentation**: What/Why/How for major sections
- **Comment ratio**: At least 20% of lines should be comments

## Usage

```bash
python3 analyze.py --path your-file.py --strictness lenient
```

## Example

**Bad Code** (score: 71/100):
```python
def proc(usr, tkn):
    tmp = usr + tkn
    return tmp * 2
```

Issues: Cryptic names, no comments, unclear purpose.

**Good Code** (score: 95/100):
```python
def process_user_authentication(username, auth_token):
    """Validate user credentials and return auth score"""
    combined_credential = username + auth_token
    return combined_credential * 2
```

## Known Issues

- May flag false positives in documentation files
- Works best on actual production code
- Use `--strictness lenient` to reduce noise

Files in this skill

  • SKILL.md1.3 KB
  • analyze.py31.2 KB
  • skill-report.json8.2 KB

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…