Nuke 标志

Nuke

社区
enemigos
nuke

Review changes or current architecture with two exclusive subagent reviews: Integrity, Complexity.

概览

发布者enemigos
代码仓库skills
技能名称nuke
星标数
21
复刻数
0
附带文件
仅含指令
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 enemigos 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Nuke AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/enemigos/skills/tree/main/skills/nuke
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/enemigos/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/nuke .claude/skills/nuke
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Nuke,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Nuke。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Nuke 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Review changes or current architecture with two exclusive subagent reviews. Invoke a general subagent per lane, running on a frontier model at its highest reasoning effort. One brief per lane. The main agent handles context, verification, lane dispatch, synthesis, and the final gate verdict. OpenSpec is optional.

1. Initial verification

  1. Infer MODE and SCOPE from the request and conversation. The current request takes precedence.
    • changes: Review changes against a fixed point. Use this mode when no architecture intent is clear.
    • architecture: Review the current code in the named area, including relevant dependencies and tests. If no narrower area is clear, use repository-wide scope and state that choice.
  2. Record the agreed goals, constraints, and requirements from chat in REVIEW_CONTEXT. Separate assumptions from agreed requirements. Ask only when unresolved context changes the review criteria.
  3. For changes, identify the fixed point reference. When unspecified, use HEAD~1 on main, or main on other branches. Verify it with git rev-parse <fixed-point>. If invalid, stop. Find the merge base commit: BASE=$(git merge-base "<fixed-point>" HEAD 2>/dev/null || git rev-parse "<fixed-point>^{commit}")
  4. For changes, collect changes against $BASE:
    • Unified diff: git diff $BASE
    • Commit log: git log $BASE..HEAD --oneline
    • Untracked files: git status --porcelain If the diff and untracked files are empty, stop.
  5. For architecture, record the current HEAD hash and the source files, dependencies, and tests in SCOPE. Include relevant dirty and untracked files. Review their current contents even when the diff is empty. HEAD records the starting commit, not a comparison that limits findings.
  6. Resolve the optional SPEC_TARGET with the specification rules below.
  7. Run each defined check. A defined check is a test, lint, format-check, or type command the project already has. Record command names, exit codes, and output text as check evidence. Done: every defined check is green.

If a defined check is red, report Verdict: Cannot approve with the check evidence in the section 3 order, then stop.

Specification target

SPEC_TARGET can be resolved files, a verified issue reference, chat, or none. For chat, use the agreed requirements in REVIEW_CONTEXT. A review needs no external specification. none alone does not block approval.

For OpenSpec discovery or resolution, run local commands from the selected planning root. When the CLI is available and a store is named or already selected for this work, resolve its ID with openspec store list --json before other OpenSpec commands. Pass --store <id> on list, status, and instructions. Keep the selected store. Follow CLI-resolved paths for external stores and custom schemas.

  1. If provided, use the explicit specification file or change directory and skip automatic discovery. If it cannot be read, report Verdict: Cannot approve and stop.
  2. Otherwise, use an OpenSpec change when the request or conversation ties it to this work, or when reviewed files identify it in changes mode. Infer the change from that context. Use openspec list --json when selection needs it. Exclude archives unless requested. If relevant targets are ambiguous or conflict, ask the user before review. Unrelated active changes need no selection or question.
  3. If an OpenSpec change is selected and the CLI is available, resolve it with:
    • openspec status --change "<name>" --json
    • openspec instructions apply --change "<name>" --json Use the resolved paths and contextFiles, including the proposal, specs, design, and tasks when the schema provides them.
  4. If an OpenSpec change is selected but the CLI is unavailable, use the nearest local openspec/changes/<change>/ only when the root, change, and standard schema are clear. Read its review artifacts. If store or custom-schema resolution is needed, ask for explicit artifact paths.
  5. If no source is selected, use relevant documents in docs/ or specs/, canonical OpenSpec requirements, or verified issue references such as #123 when they apply to the review. If no external source applies, use chat when agreed requirements exist, or none when they do not.
  6. Record the exact resolved files, verified issue reference, chat, or none in SPEC_TARGET. If a requested or selected external target is unreadable, unresolved, or missing required artifacts, report Verdict: Cannot approve and stop.

For change deltas, include the matching canonical specs from the same OpenSpec root. Review the requirements after additions, modifications, removals, and renames. Superseded requirements do not remain obligations.

2. Parallel review lanes

Start this section only when every defined check is green.

Two exclusive reviews:

  • Integrity: correctness (Defects) and convention (Standards)
  • Complexity: structure

Keep dispatcher steps in this skill. Keep review work in the lane briefs.

  1. Resolve and read the installed coding-standards SKILL.md and confirm its PRINCIPLES.md, STANDARDS.md, and TYPESCRIPT.md. If that read fails, record both lanes as Verdict: Cannot approve, treat them as active lanes, and skip the rest of this section.
  2. Resolve and read the installed thermo-nuclear-code-quality-review SKILL.md.
  3. If that read fails, do not launch Complexity. Record Complexity as Verdict: Cannot approve. Treat that recorded verdict as an active lane.
  4. Launch Integrity and Complexity (when active) as parallel background subagents, each on a frontier model at its highest reasoning effort. One exclusive brief per lane. Keep each subagent read-only. Collect completion reports before synthesis. Do not poll. When the host cannot choose the subagent's model or effort, record that in Caveats.

Shared brief

Start the subagent brief with the full lane section. The original-task line is the first line. Then give read-only instructions, MODE, SCOPE, REVIEW_CONTEXT, and check evidence.

  • For changes, include $BASE as the comparison base, the unified diff, commit log, and untracked files.
  • For architecture, include the recorded HEAD and scoped file list. Require a current-state audit of all scoped code under the lane's remit. A comparison base or feature spec is not required. An empty diff does not limit the audit. Record inspected files and coverage gaps.

Require a gate verdict (Approved, Changes requested, or Cannot approve) for the inspected scope. Missing required checks or incomplete scope coverage prevents approval. Require structured findings:

  • Priority: P0 (data loss, security hole, crash), P1 (bug, regression, unmet requirement), P2 (local defect, standard violation), P3 (nit).
  • Category: Defects, Standards, or Complexity.
  • Location: file:line.
  • Issue: What fails and under what condition.
  • Realistic failure case: Scenario that triggers the issue.
  • Impact: Operational or developer effect.
  • Evidence: Supporting lines, contracts, or test outputs.
  • Fix: Smallest concrete code change.
  • Type: Introduced, pre-existing, or unmet task requirement.

Put the resolved coding-standards path in both briefs. Put SPEC_TARGET only in the Integrity brief. Put the resolved thermo-nuclear path only in the Complexity brief.

Lane 1: Integrity

You are the Integrity reviewer only. Report only correctness (Defects) and convention (Standards) findings. This brief is your complete review checklist. Complete both reviews before returning the lane's gate verdict. Approval requires complete coverage of both categories.

Defects

Denotation: correctness. File a finding when the reviewed code can fail at runtime, under concurrency, or against agreed requirements.

Read the scoped code and tests. In changes, trace the diff's effects. In architecture, inspect existing behavior throughout SCOPE. Check the agreed requirements in REVIEW_CONTEXT and any selected external specification. Without a spec, assess correctness against code contracts and tests. Report bugs, races, security holes, unmet requirements, and tests that miss relevant behavior.

Standards

Denotation: convention. File a finding when the reviewed code violates the coding-standards skill.

Read STANDARDS.md from the resolved coding-standards path. Read TYPESCRIPT.md only for TypeScript code, and its better-result rules only when the project uses better-result. Read PRINCIPLES.md only for Model the Domain, Boundary Discipline, and Modules and abstractions excluding Deep modules. Skip checks that tooling already enforces.

Lane 2: Complexity

You are the Complexity reviewer only. Report only structure findings. This brief is your complete review checklist.

Denotation: structure.

  • In changes, file findings only for extra structure introduced against $BASE. Put pre-existing less-code opportunities in Caveats. Block this lane only on introduced complexity.
  • In architecture, assess existing structure throughout SCOPE. File pre-existing findings when unnecessary layers, duplication, or branching cause a concrete maintenance or behavior problem. Keep preferences and speculative rewrites in Caveats.

Read the thermo-nuclear skill at the resolved path. Keep its items only when they concern extra structure. Read PRINCIPLES.md from the resolved coding-standards path only for Subtract Before You Add, Laziness Protocol, and Deep modules. Propose the smallest safe removal of unnecessary complexity. Leave necessary complex code in place.

3. Synthesis and action plan

  1. Parse all lane reports.
  2. Resolve conflicts with this precedence: correctness (Integrity: Defects) > convention (Integrity: Standards) > structure (Complexity). Keep safety guards and domain types.
  3. Deduplicate findings within and across lanes under the higher-precedence category and cite secondary categories.
  4. Consolidate the gate verdict:
    • If any active lane returns Verdict: Changes requested, the overall verdict is Verdict: Changes requested.
    • If no lane requested changes, but any active lane fails, times out, produces unconfirmed output, or returns Verdict: Cannot approve, the overall verdict is Verdict: Cannot approve.
    • If all active lanes return Verdict: Approved, the overall verdict is Verdict: Approved.
  5. Output the result in this exact order:
    • Standalone Verdict: <verdict>.
    • ## Summary: At most three bullets with the key results, MODE, SCOPE, and SPEC_TARGET. Include $BASE for changes or the recorded HEAD for architecture. For chat, name the agreed requirements. For none, state that no external or chat requirements were identified.
    • ## Remediation Plan: Sequenced markdown task list ordered from P0 to P3 with file, line, reason, and concrete fix. Write None when there are no findings.
    • ## Findings by Lane: Deduplicated findings grouped under ### Integrity (with #### Defects and #### Standards) and ### Complexity. Write None under each empty category.
    • ## Caveats: Consolidated caveats, pre-existing complexity, and verification gaps. Write None when there are no caveats.

4. Review after fixes

Apply the remediations in the implementation session.

  1. For a rerun, retain MODE, SCOPE, REVIEW_CONTEXT, and SPEC_TARGET. For changes, retain the literal $BASE commit hash. If scope, requirements, or artifact paths change, resolve them again and disclose the change.
  2. For changes, collect the current diff, commit log, and untracked files against $BASE. For architecture, refresh HEAD and the scoped file list. Reinspect the current contents in either mode.
  3. Rerun the checks from step 7. Launch fresh review lanes when every defined check is green. Earlier approvals do not cover later edits.
  4. Repeat after fixes until every lane returns Verdict: Approved. If a blocker prevents verification, return Verdict: Cannot approve.

常见问题

Nuke AI 技能有什么作用?

Review changes or current architecture with two exclusive subagent reviews: Integrity, Complexity.

为什么在 TypingMind 中使用 Nuke?

因为您只需安装一次,就能搭配任何模型使用。Nuke 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Nuke?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/enemigos/skills/tree/main/skills/nuke。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Nuke?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Nuke 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Nuke 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Nuke AI 技能免费吗?

enemigos 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇