Skip to content
Back to skills

Fec Code Smells

ASecurity

Use when diagnosing structural maintainability problems in existing frontend code before deciding how to refactor it, especially when evidence, false-positive checks, and candidate transformations are needed without editing business code.

  • 24 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 3, 2026
developmentrefactoringfrontend

Security analysis

A100/100

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

Scanned September 3, 2026

npx -y skills add bovinphang/frontend-craft --skill fec-code-smells --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Fec Code Smells?

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

Security grade badge for Fec Code Smells
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/bovinphang-fec-code-smells-frontend-craft/badge)](https://www.skillsdirectory.com/skills/bovinphang-fec-code-smells-frontend-craft)

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: fec-code-smells
description: Use when diagnosing structural maintainability problems in existing frontend code before deciding how to refactor it, especially when evidence, false-positive checks, and candidate transformations are needed without editing business code.
---

# Code Smell Diagnosis

## Overview
Diagnose structural problems from concrete evidence. A smell is a prompt to investigate, not proof that code must change.

## Procedure
1. Establish the requested scope and project facts.
2. Collect concrete structural and change-coupling evidence.
3. Match evidence against [the smell catalog](references/smell-catalog.md).
4. Apply [false-positive checks](references/detection-guide.md).
5. Report confidence, impact, and candidates from [the mapping guide](references/smell-to-refactoring-map.md).
6. If the request is diagnosis-only, do not modify business code.

## Finding Contract
Every finding states location, evidence, smell ID/name, impact, confidence (`HIGH`, `MEDIUM`, `LOW`), candidate refactorings, priority, and material false-positive considerations. `LOW` confidence is never an automatic-edit signal.

## Quick Reference
| Need | Reference |
| --- | --- |
| Standard 24-smell model | [Smell catalog](references/smell-catalog.md) |
| Evidence and false positives | [Detection guide](references/detection-guide.md) |
| Candidate refactorings | [Smell-to-refactoring map](references/smell-to-refactoring-map.md) |

## Common Mistakes
- Treating a metric threshold as proof.
- Reporting a smell without a file/symbol and evidence.
- Treating every loop, switch, comment, wrapper, or pipeline as defective.
- Editing code when the user asked for diagnosis only.

Files in this skill

  • SKILL.md1.7 KB
  • references/detection-guide.md1.4 KB
  • references/smell-catalog.md29 KB
  • references/smell-to-refactoring-map.md8.5 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.

View all in development →

Comments

Loading comments…

Newsletter

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