fec-debug-framework SKILL.md skillA

fec-debug-framework from bovinphang/frontend-craft is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add bovinphang/frontend-craft/fec-debug-framework@git:20260611.9d7f5e4

Pins git:20260611.9d7f5e4 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-debug-framework/SKILL.md
Versions recorded
1
Latest version
git:20260611.9d7f5e4, committed Jun 11, 2026
Size
4,880 bytes
Repository stars
22
License
MIT

用于诊断前端构建失败、运行时错误、UI 异常、API/数据问题、白屏、请求失败或难以解释的线上异常;中文触发词包括 调试、debug、排查、定位、报错、异常、白屏、请求失败。.

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

# 前端诊断框架

## 用途

用证据驱动的分类、收集、假设、验证和修复流程定位前端故障,避免凭直觉扩大改动范围。

## 流程

所有前端问题诊断遵循统一流程:

### Step 1: 分类(Classify)

识别问题类型和影响范围:

| 类型    | 判断依据                     | 诊断入口       |
| ------- | ---------------------------- | -------------- |
| build   | 命令退出非零、stderr 有错误  | → Build 模块   |
| runtime | 控制台异常、白屏、功能不可用 | → Runtime 模块 |
| ui      | 视觉偏差、交互不符预期       | → UI 模块      |
| api     | 请求状态码异常、数据不一致   | → API 模块     |

跨类型问题(如 API 失败导致 UI 异常)从最表层症状入手,逐层深入。

### Step 2: 收集(Collect)

按类型收集证据(各模块有具体策略,见下方)。

### Step 3: 假设(Hypothesize)

基于证据提出可能根因,按可能性排序:

- 每个假设必须可测试(有明确的验证方法)
- 最多保留 3 个假设,避免发散
- 格式:「因为 X,导致 Y,可通过 Z 验证」

### Step 4: 验证(Verify)

逐一测试假设:

- 从最可能的假设开始
- 每次只改一个变量
- 验证结果记录:证实 / 证伪 / 待定
- 假设全部证伪时回到 Step 2 重新收集

### Step 5: 修复与确认(Fix & Validate)

- 应用最小修复
- 运行受影响验证命令
- 确认无回归
- 输出修复报告

---

## 诊断模块

### Build 模块

**收集**:运行最小失败命令,捕获完整 stderr/stdout
**假设**:按错误类型分组(类型错误、导入失败、配置解析、依赖缺失),匹配已知模式
**验证**:修一类根因 → 重跑命令 → 确认错误减少
**特殊处理**:

- 依赖版本、peer dependency、ESM/CJS、lockfile 相关失败先作为 build 兼容性问题收集证据
- 记录 package manager、Node 版本、lockfile diff、相关包版本和完整错误日志
- 不在缺少证据时升级依赖、手工编辑 lockfile,或把依赖迁移与普通调试修复混在同一批改动
- 若任务目标本身是版本升级、CVE 修复或 lockfile 风险评审,应转入依赖升级工作流
- CI 专属失败检查 Node 版本、包管理器、环境变量差异
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add bovinphang/frontend-craft/fec-debug-framework@sha256:06c6df90eca8b2fe

The line at the top of this page pins the label git:20260611.9d7f5e4, 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_ypwjc3snu2uqbh3h.svg)](https://markdownregistry.com/a/art_ypwjc3snu2uqbh3h)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Jun 11, 2026.

versioncommittedcommitsizeaudit
git:20260611.9d7f5e4 latest2026-06-11 9d7f5e4 4,880 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (4880 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

GitHub

bovinphang/frontend-craft · 22 stars · license MIT · pushed 2026-09-26 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_ypwjc3snu2uqbh3h
GET https://markdownregistry.com/api/v1/resolve?ref=bovinphang/frontend-craft/fec-debug-framework
GET https://markdownregistry.com/api/v1/blob/06c6df90eca8b2fe81c759552c943cbf4e8faa76ba7015d0805b938dbc9607ae

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

fec-accessibility-check SKILL.md skill
bovinphang/frontend-craft · localized/zh-CN/skills/fec-accessibility-check/SKILL.md · 用于审查或改进前端无障碍、语义结构、键盘支持、焦点管理、ARIA 标签、屏幕阅读器行为、WCAG 2.2 问题、触控无障碍或辅助技术回归;中文触发词包括 无障碍、accessibility、a11y、WCAG、屏幕阅读器。
git:20260611.9d7f5e4 · audit A · 22 stars
fec-alchemy SKILL.md skill
bovinphang/frontend-craft · localized/zh-CN/skills/fec-alchemy/SKILL.md · 用于从参考系统中吸收想法、能力、工作流、架构、质量体系、生态扩展或工程实践,并通过原创的项目内重设计转化为当前项目能力,而不是复制原实现。
git:20260611.9d7f5e4 · audit A · 22 stars
fec-api-integration SKILL.md skill
bovinphang/frontend-craft · localized/zh-CN/skills/fec-api-integration/SKILL.md · 用于设计、实现或审查前后端 API 集成、类型化 API client、REST/tRPC/OpenAPI 客户端选型、认证刷新、API 错误映射、上传流程、SSE/WebSocket/轮询选择、CORS 相关前端行为或跨边界…
git:20260611.9d7f5e4 · audit A · 22 stars
fec-backend-requirements-handoff SKILL.md skill
bovinphang/frontend-craft · localized/zh-CN/skills/fec-backend-requirements-handoff/SKILL.md · 用于前端工作需要向后端团队说明数据、动作、状态、权限、校验或业务规则需求,但不指定端点设计、字段名、数据库形态或实现细节;中文触发词包括 前后端需求交接、后端需求、API 需求澄清、数据需求说明。
git:20260611.9d7f5e4 · audit A · 22 stars
fec-browser-storage SKILL.md skill
bovinphang/frontend-craft · localized/zh-CN/skills/fec-browser-storage/SKILL.md · 用于选择、实现或审查 localStorage、sessionStorage、IndexedDB、cookie、客户端持久化、离线数据、安全存储或清理策略等浏览器存储方案;中文触发词包括 浏览器存储、客户端持久化。
git:20260611.9d7f5e4 · audit A · 22 stars
fec-canvas-threejs SKILL.md skill
bovinphang/frontend-craft · localized/zh-CN/skills/fec-canvas-threejs/SKILL.md · 用于构建或审查 Canvas 2D、Three.js/WebGL、React Three Fiber、GLSL shader、ShaderToy 到 WebGL 适配、2D/3D 可视化、游戏渲染、动画循环、GPU…
git:20260611.9d7f5e4 · audit A · 22 stars
fec-code-review SKILL.md skill
bovinphang/frontend-craft · localized/zh-CN/skills/fec-code-review/SKILL.md · 用于用户要求通用前端代码评审、PR 评审、合并就绪评估、架构可维护性、类型安全、渲染/状态风险、样式一致性、可测性缺口或横向评审总结时。深度安全、无障碍、E2E 或性能问题应委托对应专项 skill;中文触发词包括…
git:20260926.e2c689f · audit A · 22 stars
fec-code-smells SKILL.md skill
bovinphang/frontend-craft · localized/zh-CN/skills/fec-code-smells/SKILL.md · 需要在不修改业务代码的前提下诊断既有前端代码的结构性可维护性问题,并要求提供证据、误判检查与候选重构方向时。
git:20260901.387d97a · audit A · 22 stars
fec-component-testing SKILL.md skill
bovinphang/frontend-craft · localized/zh-CN/skills/fec-component-testing/SKILL.md · 用于编写或审查靠近 UI 代码的前端单元、组件或轻量集成测试,包括 React Testing Library、Vue Test Utils、hooks/composables、props/emits、回调、可访问查询、user-event…
git:20260611.9d7f5e4 · audit A · 22 stars
fec-data-fetching SKILL.md skill
bovinphang/frontend-craft · localized/zh-CN/skills/fec-data-fetching/SKILL.md · 用于实现或审查前端服务端状态流程:类型化查询、请求缓存、失效、mutation、乐观更新、无限查询、预取、SSR hydration 或 API 层整合。不要用于本地 UI 状态或 Service Worker 缓存;中文触发词包括…
git:20260611.9d7f5e4 · audit A · 22 stars
fec-dependency-upgrade SKILL.md skill
bovinphang/frontend-craft · localized/zh-CN/skills/fec-dependency-upgrade/SKILL.md · 用于规划、实现或审查前端依赖升级、包迁移、lockfile 变更、框架大版本升级、CVE 修复、peer dependency 冲突、ESM/CJS 切换、构建工具兼容性或 CI 验证矩阵;中文触发词包括…
git:20260611.9d7f5e4 · audit A · 22 stars
fec-doc-sync SKILL.md skill
bovinphang/frontend-craft · localized/zh-CN/skills/fec-doc-sync/SKILL.md · 用于根据 package.json、lockfile、配置、env 示例、路由、API client 或 server routes、schema、组件、测试、CI、构建/部署配置、ADR、changelog…
git:20260611.9d7f5e4 · audit A · 22 stars

Every file in bovinphang/frontend-craft

Other files named fec-debug-framework

fec-debug-framework SKILL.md skill
bovinphang/frontend-craft · skills/fec-debug-framework/SKILL.md · Use when diagnosing frontend build failures, runtime errors, UI anomalies, API/data problems, white screens, request…
git:20260611.9d7f5e4 · audit A · 22 stars

Browse by kind, by grade A, or by owner.