fec-refactoring-validation SKILL.md skillA
fec-refactoring-validation 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-refactoring-validation@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-refactoring-validation/SKILL.md- Versions recorded
- 1
- Latest version
- git:20260901.387d97a, committed Sep 1, 2026
- Size
- 2,400 bytes
- Repository stars
- 22
- License
- MIT
用于证明前端重构保持了既有行为、选择合适的安全网、逐步验证结构修改,或依据证据给出 PASS、PARTIAL、NOT PROVEN 的行为保持结论。.
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. 将安全网分为 A、B、C 三个等级。 3. 运行并记录修改前基线。 4. 根据当前步骤的风险和边界选择验证方式。 5. 每个结构步骤后立即运行最小有效检查。 6. 新增失败出现时先回滚当前步骤,再扩大排查。 7. 最后运行与影响面匹配的更广门禁。 8. 只按证据给出 PASS、PARTIAL 或 NOT PROVEN。 纯结构重构使用 **GREEN → REFACTOR → GREEN**。 ## 安全网等级 | 等级 | 证据 | 执行建议 | | --- | --- | --- | | A — 强 | 既有测试直接覆盖相关行为 | 直接作为主要安全网 | | B — 部分 | 重要行为覆盖不完整 | 高风险步骤前补当前行为的特征测试 | | C — 无 | 没有有效自动化覆盖 | 不自动安装框架;CAUTION/DANGER 默认只规划,除非已授权补最小安全网 | ## 前端行为契约清单 按实际范围检查:函数输入输出、异常和错误映射;DOM、可见状态、焦点、键盘和无障碍语义;props、emits、slots、Hook/Composable 返回值和事件顺序;请求、载荷、取消、重试、缓存键和加载/错误状态;store、持久化、对象身份、memoization、响应式和生命周期;路由、URL、guard、包导出、序列化字段和后端 DTO。 ## 参考资料 - 构建行为契约和证明等级见 [behavior-preservation.md](references/behavior-preservation.md)。 - 按前端风险选择目标验证见 [refactoring-test-checklist.md](references/refactoring-test-checklist.md)。 ## 约束 - 无关测试通过不能证明行为保持。 - 只在修改后新增并通过的测试,证据弱于可比较的修改前基线。 - 不因为重构改变了行为就改测试期望值。 - 证据不足时不能用 PASS 掩盖缺口。 - 未经明确授权不安装新的测试框架。 ## 预期输出 输出行为契约、基线状态、安全网等级、逐步验证、最终门禁、覆盖缺口,以及 PASS、PARTIAL 或 NOT PROVEN 结论。
Read the whole file at its exact version.
How to install
mdr add bovinphang/frontend-craft/fec-refactoring-validation@sha256:6b905388298e4dedThe 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_thpnqts3ze2ijpiz)
3 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 (2400 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_thpnqts3ze2ijpiz GET https://markdownregistry.com/api/v1/resolve?ref=bovinphang/frontend-craft/fec-refactoring-validation GET https://markdownregistry.com/api/v1/blob/6b905388298e4ded3b1e11709a63c35860c6fec6d861ebf2bed55dabb109bf9e
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