lov-refactor-api SKILL.md skillA
lov-refactor-api from lovstudio/skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add lovstudio/skills/lov-refactor-api@v1.0.3Pins v1.0.3 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- lovstudio/skills
- Path
skills/refactor-api/SKILL.md- Versions recorded
- 3
- Latest version
- v1.0.3, committed Sep 25, 2026
- First version recorded
- Sep 7, 2026
- Size
- 3,189 bytes
- Repository stars
- 72
- License
- MIT
识别后端接口重复并在保持调用契约的前提下实施重构。支持明确输入与结果回读。Use to refactor redundant backend.
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
# API 精修 · API Refiner 识别后端接口重复并在保持调用契约的前提下实施重构。 ## Triggers ### Activate when - The user asks to use this Skill for its documented outcome. - “识别后端接口重复并在保持调用契约的前提下实施重构。” - “Refactor redundant backend APIs.” ### Do not activate when - 只是查询本 Skill 的说明,或请求与上述结果无关的任务;不执行实际业务操作。 - 用户仅要预览或审查时,不进入修改、提交或发布分支。 ## Execution boundary 自然语言请求即可触发;无需旧 slash 路径、参数插值或指定助手。明确解析当前请求中的 项目、目标文件、选项与输出位置;用当前宿主实际提供的文件、搜索、CLI 和浏览器能力。 项目依赖版本与外部 API 在执行时核实,不能假设示例是现行配置。随包脚本从 Skill 根解析, 业务文件从目标项目根解析。先读当前状态,保护已有未提交内容与其他任务的暂存区。 分析、预览请求保持只读;修改、提交、推送、部署和发布各依当前请求的明确范围执行。 不绕过保护、自动发送消息、强制结束用户进程或抢前台。失败保留可诊断原始错误。 ## Workflow 1. 识别 Tauri command、REST、GraphQL 或当前后端,列出真实接口、调用方、鉴权、参数和返回值。 2. 区分实现重复与语义不同,针对读取、CRUD、路径获取等形成候选组;不能仅因代码类似就把权限不同接口合并。 3. 先确定公共内部实现与兼容边界,必要时保留旧接口适配,避免一次修改破坏外部调用者。 4. 按依赖顺序更新服务实现和全部已知调用、类型、文档及错误处理,只有确认无使用且允许破坏兼容时移除旧入口。 5. 运行接口契约、鉴权、错误与前端调用回归,报告减少的重复及保留的兼容路径。 ## Composition 执行前读取 [能力组合](references/skill-composition.md),按明确制品交接相邻能力。 ## Runtime context (shared) 运行前读取本包 `skill.yaml` 与 [Profile 合同](references/user-profile.md)。优先级为当前请求、 项目上下文、本 Skill records、共享 preferences、brand/user Profile、安全默认值。 只读取声明字段;没有专用运行时的宿主可使用 `scripts/profile_store.py` 读取共享 Profile。 …
Read the whole file at its exact version.
How to install
mdr add lovstudio/skills/lov-refactor-api@sha256:a7a82ff5121f572dThe line at the top of this page pins the label v1.0.3, 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_hu434322y5vhobu7)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 3 versions of this file, between Sep 7, 2026 and Sep 25, 2026, about one every 9 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v1.0.3 latest | 2026-09-25 | 4b67fd1 | 3,189 B | A | view · diff |
| v1.0.1 | 2026-09-07 | a09848e | 3,189 B | A | view · diff |
| v1.0.1 | 2026-09-07 | c122fff | 3,180 B | A | view |
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 (3189 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
lovstudio/skills · 72 stars · license MIT · pushed 2026-11-06 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_hu434322y5vhobu7 GET https://markdownregistry.com/api/v1/resolve?ref=lovstudio/skills/lov-refactor-api GET https://markdownregistry.com/api/v1/blob/a7a82ff5121f572da781d45ac2b3d01e5c5d4387dcafb336ca63810414705998
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.