gy4

Used to scan a codebase to find unused functions, obsolete modules, unreachable branches, deprecated feature flags, or code that appears safe to remove, facilitating code cleanup and refactoring decisions.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "gy4" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-a87622e0cb225b67b8bfb261b2cd430e7625c0359202675c852aa7a55f846cb4. Verify the upstream source and version against https://skillhub.cn/skills/user_c283aad7/gy4 before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Used to scan a codebase to find unused functions, obsolete modules, unreachable branches, deprecated feature flags, or code that appears safe to remove, facilitating code cleanup and refactoring decisions.

0 Downloads

Introduction source: third_party · user_c283aad7 · 1.0.0 Reference

SkillPi interpretation

Tasks
Use when looking for unused functions, stale modules, unreachable branches, obsolete feature flags, or code that appears safe to delete.
Audience
Not specified in the source documentation.
Inputs and outputs
For each candidate include: File and symbol. Why it appears unused. Any risk from dynamic loading. Suggested verification before deletion.
Software, accounts and paid services
Not specified in the source documentation.
Limits and differences
Not specified in the source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: find-dead-code
description: Use when looking for unused functions, stale modules, unreachable branches, obsolete feature flags, or code that appears safe to delete.

Find Dead Code

Search for deletion candidates with evidence.

Workflow

  1. Start from static references with rg, language tooling, or project indexes.
  2. Check dynamic entry points such as routes, CLIs, plugin registries, reflection, config, and scheduled jobs.
  3. Separate confirmed unused code from suspicious low-confidence code.
  4. Recommend deletions only when references and runtime entry points have been considered.

Output

For each candidate include:

  • File and symbol.
  • Why it appears unused.
  • Any risk from dynamic loading.
  • Suggested verification before deletion.

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value75/100

Highlights

  • 提供代码清理与优化的实用能力,适用于开发者维护项目时识别可删除代码
Trigger Precision90/100

Highlights

  • 触发词精准完整,覆盖多种变体,边界清晰
Structure and Standards85/100

Highlights

  • Workflow 步骤清晰,输出格式明确,frontmatter 完整
Execution Reliability80/100

Highlights

  • 流程覆盖静态与动态检查,建议删除前验证,可靠性良好
Evidence Verifiability (mean of the first four)83/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Not specified in the source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.