fec-refactor-clean SKILL.md skillA
fec-refactor-clean 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-refactor-clean@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
skills/fec-refactor-clean/SKILL.md- Versions recorded
- 4
- Latest version
- git:20260901.387d97a, committed Sep 1, 2026
- First version recorded
- May 29, 2026
- Size
- 3,955 bytes
- Repository stars
- 22
- License
- MIT
Use when safely removing dead frontend code, unused exports, stale components, obsolete routes, unused dependencies, or cleanup targets found by tools such as knip, depcheck, ts-prune, TypeScript, ESLint, or manual review. Do not use for feature rewrites that change behavior; Chinese triggers include dead code, clean up unused, refactor clean, dependency cleanup, delete useless code.
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
# Refactoring and cleaning ## Purpose Identify and clean up unused front-end code under validation protection, reducing technical debt while avoiding accidentally deleting dynamic references, routing entries, configuration files, and runtime conventions. ## Procedure 1. Establish a baseline first: run or confirm the current status of lint, type-check, test, and build. 2. Collect candidates: - Prioritize the use of existing tools in the warehouse, such as knip, depcheck, ts-prune, eslint, and TypeScript. - When tools are not available, use `rg` to check references, exports, routes, registration points and document entries. 3. Classification by risk: - SAFE: test fixtures, unreferenced tool functions, explicitly unexported private components. - CAUTION: Shared components, feature entries, style files, Storybook stories. - DANGER: routing, configuration, package scripts, runtime templates, dynamic import, plug-in metadata. - UPGRADE: Expired dependencies, duplicate dependencies, unused dependencies and security alarms will be evaluated first for dependency upgrade or dependency cleanup, and will not be mixed with dead code deletion. …
Read the whole file at its exact version.
How to install
mdr add bovinphang/frontend-craft/fec-refactor-clean@sha256:626dba050a06e847The 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_3bujsqfbqfkdbvz7)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 4 versions of this file, between May 29, 2026 and Sep 1, 2026, about one every 32 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260901.387d97a latest | 2026-09-01 | 387d97a | 3,955 B | A | view · diff |
| git:20260611.9d7f5e4 | 2026-06-11 | 9d7f5e4 | 3,637 B | A | view · diff |
| git:20260607.5e55862 | 2026-06-07 | 5e55862 | 3,020 B | A | view · diff |
| git:20260529.c76cc44 | 2026-05-29 | c76cc44 | 3,007 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 (3955 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_3bujsqfbqfkdbvz7 GET https://markdownregistry.com/api/v1/resolve?ref=bovinphang/frontend-craft/fec-refactor-clean GET https://markdownregistry.com/api/v1/blob/626dba050a06e847f125ccc296c7ca2634202164ba967c7613b940336c9969f8
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