Skip to content
Development
Command

/fec-smell

Diagnose frontend code smells with evidence and candidate refactorings without changing business code.

From plugin
frontend-craft
2211 skills14 agents11 commands5 hooks
+1
> /plugin marketplace add bovinphang/frontend-craft
> /plugin install frontend-craft@frontend-craft

Command definition

fec-smell.md
name: fec-smell
description: Diagnose frontend code smells with evidence and candidate refactorings without changing business code.

Use this command for **DIAGNOSE ONLY** analysis. Do not modify business code.

Workflow

1. Discover the requested scope, project/framework facts, and current diff. 2. Collect concrete evidence about ownership, duplication, change coupling, data flow, control flow, and public boundaries. 3. Match evidence against the 24-smell catalog and run false-positive checks. 4. For each finding report: `Location`, `Evidence`, `Impact`, `Smell`, `Confidence`, `Candidates`, `Priority`, and `False-positive check`. 5. LOW-confidence findings remain open questions and must not become automatic edits. 6. Save the result to `reports/refactoring/smell-YYYY-MM-DD-HHmmss.md`.

Metrics such as LOC or complexity may focus investigation but are not sufficient proof by themselves.

@bovinphang
Ships withfrontend-craft

frontend-craft is a universal frontend plugin that brings the same opinionated engineering standards to all 15 AI coding assistants.

2256 skills14 agents6 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
22
Star history of bovinphang/frontend-craft on GitHub, a chart by star-history.com

Other commands on frontend-craft.

fec-debug

fec-debug

Command

Front-end problem diagnosis and repair: covering build failures, runtime errors, UI exceptions, and interface problems, using a…

fec-doc-sync

fec-doc-sync

Command

Sync README, docs, environment variables, scripts, API/routing/component descriptions and deployment instructions from code and…

fec-init

fec-init

Command

Initialize frontend-craft project template, rules or downgrade instructions according to the current AI runtime.

fec-plan

fec-plan

Command

Unified front-end planning entrance - implementation/architecture plan or testing strategy. The implementation path is taken by…

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command