fec-code-smells SKILL.md skillA
fec-code-smells from bovinphang/frontend-craft is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add bovinphang/frontend-craft/fec-code-smells@git:20260901.387d97aPins git:20260901.387d97a in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- bovinphang/frontend-craft
- Path
localized/zh-CN/skills/fec-code-smells/SKILL.md- Versions recorded
- 1
- Latest version
- git:20260901.387d97a, committed Sep 1, 2026
- Size
- 1,514 bytes
- Repository stars
- 22
- License
- MIT
需要在不修改业务代码的前提下诊断既有前端代码的结构性可维护性问题,并要求提供证据、误判检查与候选重构方向时。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# 代码坏味道诊断 ## 概览 基于具体证据诊断结构问题。坏味道是进一步调查的信号,不等于必须修改代码的结论。 ## 执行流程 1. 明确分析范围和项目事实。 2. 收集结构、依赖方向、职责和变化耦合证据。 3. 对照[坏味道目录](references/smell-catalog.md)。 4. 执行[误判检查](references/detection-guide.md)。 5. 根据[坏味道到重构手法映射](references/smell-to-refactoring-map.md)报告置信度、影响和候选方案。 6. 如果用户只要求诊断,不修改业务代码。 ## Finding 输出契约 每项必须包含位置、证据、坏味道 ID/名称、影响、置信度(`HIGH`、`MEDIUM`、`LOW`)、候选重构、优先级和重要误判因素。`LOW` 置信度不能作为自动修改依据。 ## 快速索引 | 需要 | 资料 | | --- | --- | | 24 种标准坏味道 | [坏味道目录](references/smell-catalog.md) | | 证据与误判保护 | [检测指南](references/detection-guide.md) | | 候选重构手法 | [映射指南](references/smell-to-refactoring-map.md) | ## 常见错误 - 把指标阈值当成坏味道证据。 - 不指出文件/符号就下结论。 - 把所有循环、switch、注释、包装层或管道都视为缺陷。 - 用户要求只诊断时仍直接改代码。
Read the whole file at its exact version.
How to install
mdr add bovinphang/frontend-craft/fec-code-smells@sha256:0dee82a4ac5f0469The line at the top of this page pins the label git:20260901.387d97a, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_tgsgerjyq3gzue5v)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Sep 1, 2026.
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (1514 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
bovinphang/frontend-craft · 22 stars · license MIT · pushed 2026-09-26 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_tgsgerjyq3gzue5v GET https://markdownregistry.com/api/v1/resolve?ref=bovinphang/frontend-craft/fec-code-smells GET https://markdownregistry.com/api/v1/blob/0dee82a4ac5f0469b6a51b4045ba2d3b40707a780817792d25e1ffa573631ca1
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from bovinphang/frontend-craft
Every file in bovinphang/frontend-craft