code-inspector-init SKILL.md skillA

code-inspector-init from adonis0123/adonis-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add adonis0123/adonis-skills/code-inspector-init@git:20260914.ce3286b

Pins git:20260914.ce3286b in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
adonis0123/adonis-skills
Path
.agents/skills/code-inspector-init/SKILL.md
Versions recorded
3
Latest version
git:20260914.ce3286b, committed Sep 14, 2026
First version recorded
Feb 19, 2026
Size
4,898 bytes
Repository stars
4
License
MIT

Set up or migrate code-inspector-plugin across modern frontend frameworks. Use when you need click-to-source IDE navigation, hotkey customization, or inspector troubleshooting.

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

# Code Inspector Init

## Overview

在开发环境为前端项目接入或修复 `code-inspector-plugin`,实现按组合键后点击 DOM 跳转到源码位置。新接入默认使用插件原生开关策略:`needEnvInspector: true` + `.env.local` 中设置 `CODE_INSPECTOR=true`;但 Next.js `>=15.3` 主模板默认使用 `hotKeys: ["altKey"]` + `needEnvInspector: false`。

## Scope and Intent

- 用户要求接入、迁移或修复时,检查工作树后完成对应改动;已有明确授权无需再让用户确认方案。仅询问原理、配置示例或排障原因时保持只读。
- 已安装但不生效时,先读取现有配置、实际运行模式和错误证据,再按 [references/troubleshooting.md](references/troubleshooting.md) 定位。下面的安装流程用于新接入;不要为排障重装依赖、重建配置或覆盖已有开关、快捷键和插件链。
- 确认需要修改后,只改与原因相关的配置。沿用已安装版本;查明版本兼容问题后才考虑升级。新接入模板的默认值不替代用户已有选择。

## Trigger Phrases

- 帮我接入 `code-inspector-plugin`
- 帮我迁移 `codeInspectorPlugin` 到新项目
- Next.js/Vite/Webpack 怎么配 code inspector
- 点击页面元素跳不到 IDE
- Alt+Shift 没反应 / 快捷键怎么改

## Decision Tree

1. 识别框架与 bundler。

- 从 `package.json`、配置文件名、构建命令确认是 Next.js、Vite、Webpack、Rspack、Rsbuild、Esbuild、Mako、Umi、Nuxt、Astro 中哪一种。

2. 如果是 Next.js,先判断版本区间。

- `<=14.x`:使用 webpack 插件接入。
- `15.0.x ~ 15.2.x`:使用 `experimental.turbo.rules`。
- `>=15.3.x`(包含 16):使用 `turbopack.rules`。

3. 选择开关策略。

- 默认:`needEnvInspector: true`(推荐,迁移一致性最好)。
- Next.js `>=15.3` 主模板特例:默认 `needEnvInspector: false`,并使用 `hotKeys: ["altKey"]` 做最小接入。
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add adonis0123/adonis-skills/code-inspector-init@sha256:f63b4536fbe37ccc

The line at the top of this page pins the label git:20260914.ce3286b, 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_qcflljflmwfm7prv.svg)](https://markdownregistry.com/a/art_qcflljflmwfm7prv)

4 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 3 versions of this file, between Feb 19, 2026 and Sep 14, 2026, about one every 103 days.

versioncommittedcommitsizeaudit
git:20260914.ce3286b latest2026-09-14 ce3286b 4,898 BA view · diff
git:20260224.f488eed2026-02-24 f488eed 3,974 BA view · diff
git:20260219.94c617f2026-02-19 94c617f 4,112 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (4898 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

GitHub

adonis0123/adonis-skills · 4 stars · license MIT · pushed 2026-10-20 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_qcflljflmwfm7prv
GET https://markdownregistry.com/api/v1/resolve?ref=adonis0123/adonis-skills/code-inspector-init
GET https://markdownregistry.com/api/v1/blob/f63b4536fbe37cccf54257a89a421cb6d1f2c10ed789db4916ae845c2e29ad5f

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 adonis0123/adonis-skills

agent-symlink-init SKILL.md skill
adonis0123/adonis-skills · .agents/skills/agent-symlink-init/SKILL.md · Initialize or migrate agent-skill symlinks in any repository. Use when a project needs `.claude/skills` linked to…
git:20260914.ce3286b · audit A · 4 stars
commit SKILL.md skill
adonis0123/adonis-skills · .agents/skills/commit/SKILL.md · Generate read-only emoji-prefixed Conventional Commit messages or create focused local commits from staged changes or a…
git:20260923.3e02ac9 · audit A · 4 stars
copywriting SKILL.md skill
adonis0123/adonis-skills · .agents/skills/copywriting/SKILL.md · When the user wants to write, rewrite, or improve marketing copy for any page — including homepage, landing pages…
v1.0.0 · audit A · 4 stars
css-tailwind-styling SKILL.md skill
adonis0123/adonis-skills · .agents/skills/css-tailwind-styling/SKILL.md · Expert guidance for writing clean, performant CSS and Tailwind CSS. Use when creating styles, designing components…
git:20260923.15ed8b9 · audit A · 4 stars
lingui-best-practices SKILL.md skill
adonis0123/adonis-skills · .agents/skills/lingui-best-practices/SKILL.md · Implement or review Lingui message macros, catalog configuration, locale loading, and React or JavaScript integration…
git:20260923.15ed8b9 · audit A · 4 stars
lingui-workflow SKILL.md skill
adonis0123/adonis-skills · .agents/skills/lingui-workflow/SKILL.md · Choose and troubleshoot extract, translation-check, compile, and catalog-manifest commands in an existing Lingui…
git:20260905.8844a98 · audit A · 4 stars
repo-skill-creator SKILL.md skill
adonis0123/adonis-skills · .agents/skills/repo-skill-creator/SKILL.md · Create and maintain repository skills for adonis-skills. Use when users ask to scaffold a new skill under skills/…
git:20260923.15ed8b9 · audit A · 4 stars
weekly-report SKILL.md skill
adonis0123/adonis-skills · .agents/skills/weekly-report/SKILL.md · Generate structured weekly reports from Git commit history across one or multiple repositories. Use when you need…
v1.1.1 · audit A · 4 stars
AGENTS.md AGENTS.md file
adonis0123/adonis-skills · AGENTS.md
git:20260317.cd91537 · audit B · 4 stars
CLAUDE.md CLAUDE.md file
adonis0123/adonis-skills · CLAUDE.md
git:20261018.53d2379 · audit A · 4 stars
DESIGN.md DESIGN.md file
adonis0123/adonis-skills · DESIGN.md · Catalog site for Nika's agent skills. Near-white warm gray pages, one fresh leaf-green accent used on small areas, and…
alpha · audit A · 4 stars
llms.txt llms.txt file
adonis0123/adonis-skills · llms.txt
git:20260923.15ed8b9 · audit A · 4 stars

Every file in adonis0123/adonis-skills

Other files named code-inspector-init

code-inspector-init SKILL.md skill
adonis0123/adonis-skills · skills/code-inspector-init/SKILL.md · Set up or migrate code-inspector-plugin across modern frontend frameworks. Use when you need click-to-source IDE…
git:20260914.ce3286b · audit A · 4 stars

Browse by kind, by grade A, or by owner.