js-reverse-automation-page-redirect-debugger

页面跳转 JS 代码定位通杀方案:在跳转前触发 debugger 以定位调用源。仅在确认跳转定位需求时启用。

16 stars

Best use case

js-reverse-automation-page-redirect-debugger is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

页面跳转 JS 代码定位通杀方案:在跳转前触发 debugger 以定位调用源。仅在确认跳转定位需求时启用。

Teams using js-reverse-automation-page-redirect-debugger should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/js-reverse-automation-page-redirect-debugger/SKILL.md --create-dirs "https://raw.githubusercontent.com/diegosouzapw/awesome-omni-skill/main/skills/development/js-reverse-automation-page-redirect-debugger/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/js-reverse-automation-page-redirect-debugger/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How js-reverse-automation-page-redirect-debugger Compares

Feature / Agentjs-reverse-automation-page-redirect-debuggerStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

页面跳转 JS 代码定位通杀方案:在跳转前触发 debugger 以定位调用源。仅在确认跳转定位需求时启用。

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# 页面跳转JS代码定位通杀方案

用于在页面跳转前触发 `debugger`,定位跳转触发源。

## 先读这些信息
- 仅在确认存在强制跳转或需要定位跳转代码时启用。
- 会改变页面正常导航行为,定位完成后应关闭。

## 需要收集的输入
- 是否需要 onbeforeunload 断点定位跳转来源

<label>启用 onbeforeunload 断点:</label>
<input type="text" placeholder="yes / no" />

## 工作流程
1) 注册 `onbeforeunload`,在触发时断点定位代码。

## 产出
- 可直接注入的阻断片段:

```js
(() => {
  'use strict';

  window.onbeforeunload = () => {
    debugger;
    return false;
  };
})();
```

- 最终输出必须注明:`已启用技能: 页面跳转JS代码定位通杀方案`

## 交付前检查
- onbeforeunload 是否能定位调用栈
- 正常导航行为是否按预期恢复(调试结束后关闭)

Related Skills

lightfriend-add-frontend-page

16
from diegosouzapw/awesome-omni-skill

Step-by-step guide for adding new pages to the Yew frontend

Jotform Automation

16
from diegosouzapw/awesome-omni-skill

Automate Jotform form listing, user management, activity history, folder organization, and plan inspection through natural language commands

i18n-automation

16
from diegosouzapw/awesome-omni-skill

Automate internationalization and localization workflows for web applications with translation, key generation, and library setup

html-to-image-automation

16
from diegosouzapw/awesome-omni-skill

Automate Html To Image tasks via Rube MCP (Composio). Always search tools first for current schemas.

HeyGen Automation

16
from diegosouzapw/awesome-omni-skill

Automate AI video generation, avatar browsing, template-based video creation, and video status tracking through HeyGen's platform via Composio

hashnode-automation

16
from diegosouzapw/awesome-omni-skill

Automate Hashnode tasks via Rube MCP (Composio). Always search tools first for current schemas.

happy-scribe-automation

16
from diegosouzapw/awesome-omni-skill

Automate Happy Scribe tasks via Rube MCP (Composio). Always search tools first for current schemas.

googlebigquery-automation

16
from diegosouzapw/awesome-omni-skill

Automate Google BigQuery tasks via Rube MCP (Composio): run SQL queries, explore datasets and metadata, execute MBQL queries via Metabase integration. Always search tools first for current schemas.

google-search-console-automation

16
from diegosouzapw/awesome-omni-skill

Automate Google Search Console tasks via Rube MCP (Composio): search performance, URL inspection, sitemaps, and indexing status. Always search tools first for current schemas.

go-to-webinar-automation

16
from diegosouzapw/awesome-omni-skill

Automate GoToWebinar tasks via Rube MCP (Composio). Always search tools first for current schemas.

getform-automation

16
from diegosouzapw/awesome-omni-skill

Automate Getform tasks via Rube MCP (Composio). Always search tools first for current schemas.

geoapify-automation

16
from diegosouzapw/awesome-omni-skill

Automate Geoapify tasks via Rube MCP (Composio). Always search tools first for current schemas.