Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问许可证需确认审计异常

re-verify-structure重新验证结构

Agent Skill

re-verify-structure 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

360

周安装

15

GitHub Stars

公开资料未说明

下载量

120
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:re-verify-structure(重新验证结构)
来源仓库:https://github.com/caldiaworks/caldiaworks-marketplace
仓库路径:skills/re-verify-structure
安装命令:
npx skills add https://github.com/caldiaworks/caldiaworks-marketplace --skill re-verify-structure
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/caldiaworks/caldiaworks-marketplace --skill re-verify-structure

简介

re-verify-structure 用于查找、检索和筛选相关信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词或任务场景快速定位候选结果。
  • 通过 npx skills add 命令从指定仓库安装,需结合原始 README 确认具体用法。
  • 安装前建议确认权限范围、维护状态及是否触发联网、命令执行或文件读写操作。
  • 该技能适用于需要重新验证系统结构或数据组织的场景。

SKILL.md

Structure Verification — Reverse Engineering Phase 1 Critic

Verify the structure map produced by re-structure-analysis against the actual source code. This skill runs as an independent Critic in a separate agent context. It has no access to the Doer's reasoning — only the artifacts.

Gate rule: Phase 2 (re-visualize-logic) shall not proceed until this verification produces a PASS or WARN verdict.

Three Principles (Critic Perspective)

1. Code is Truth

  • The source code is the sole authority. If the structure map says something the code does not confirm, the structure map is wrong.

2. Traceability to Line

  • Every file:line reference in the structure map must resolve to actual code. Unresolvable references are hallucinations.

3. Behavior over Intent

  • Verify what the structure map claims against what the code shows. Do not interpret or justify discrepancies.

Execution

Step 1: Load Artifacts

Determine the manifest path:

  • If manifest argument is provided, use it directly
  • If analysis argument is provided, derive path as docs/reverse/{analysis}/manifest.json
  • At least one of manifest or analysis must be provided

Read the manifest and structure map:

{manifest-path}
{analysis-dir}/01-structure-map.md

Extract from the manifest:

  • targets.entry_points — original user-specified targets
  • phase1.status — must be "completed" to proceed
  • language — for tool strategy

If phase1.status is not "completed", report error and stop.

Step 2: Reference Verification

Extract all file:line references from the structure map.

For each reference:

  1. File existence: Verify the file exists at the specified path.
  2. Line validity: Read the file and verify the line number is within range.
  3. Content match: Verify the content at the cited line matches the claim in the structure map.

Classify each reference:

CategoryCriteria
✅ VALIDFile exists, line exists, content matches claim
⚠️ INACCURATEFile exists, content found within ±10 lines of cited line
❌ INVALIDFile does not exist, or line number grossly wrong
🚫 HALLUCINATIONComponent described in structure map cannot be found in source code at any location

Step 3: Completeness Verification

Count actual components in the target scope and compare with the structure map.

With Serena:

mcp__serena__search_for_pattern(
    substring_pattern="class |interface |def |function ",
    restrict_search_to_code_files=true
)

Without Serena:

  • Use Grep to count class/function definitions in the target scope
  • Compare with the number listed in the structure map

Calculate coverage: (listed_in_map / actual_in_source) * 100

CoverageVerdict
>= 95%PASS
90% - 94%WARN
< 90%FAIL

List any components found in source but missing from the structure map.

Step 4: Mermaid Diagram Validation

For each Mermaid code block in the structure map:

  1. Check syntax validity (matching brackets, valid node definitions, valid arrow syntax)
  2. Spot-check 3 nodes/relationships against source code
  3. Document any syntax errors or content inaccuracies

Step 5: Internal Consistency Check

Verify that:

  • Components in dependency diagrams are also listed in component tables
  • Entry points in diagrams match the entry point section
  • File paths are consistent throughout the document
  • targets_for_phase2 in the manifest references components that exist in the structure map

Step 6: Generate Verification Report

Write to docs/reverse/{analysis}/verification/v1-structure.md:

# Structure Map Verification Report

**Verification Date**: {YYYY-MM-DD}
**Target Document**: docs/reverse/{analysis}/01-structure-map.md
**Verdict**: {PASS / WARN / FAIL}

## Summary

| Check | Result | Details |
|:------|:-------|:--------|
| Reference Accuracy | {✅/⚠️/❌} | {valid}/{total} references ({%}) |
| Component Coverage | {✅/⚠️/❌} | {listed}/{actual} components ({%}) |
| Mermaid Syntax | {✅/⚠️/❌} | {error_count} errors |
| Internal Consistency | {✅/⚠️/❌} | {inconsistency_count} issues |

## Verdict

{PASS}: Phase 2 may proceed.
{WARN}: Minor issues found. Phase 2 may proceed. Corrections recommended.
{FAIL}: **Critical issues found. Phase 2 must not proceed. Corrections required.**

## Reference Verification Details

### Invalid References
| Claim | File:Line | Issue | Expected |
|:------|:----------|:------|:---------|
| {claim} | {reference} | {issue description} | {correct reference or "not found"} |

### Hallucinations
- {component}: {reason it is considered hallucinated}

## Completeness Details

### Missing Components
| Component | File | Type |
|:----------|:-----|:-----|
| {name} | {file path} | {class/function/interface} |

## Mermaid Validation

### Syntax Errors
- Block {N}: {error description}

### Content Inaccuracies
- Node "{node}": {discrepancy}

## Internal Consistency Issues

- {description of inconsistency}

## Recommendations

1. **[CRITICAL]** {fix description}
2. **[HIGH]** {fix description}
3. **[MEDIUM]** {fix description}

Step 7: Update Manifest

Read the current manifest, then update:

  • Set phase1.verification to "verification/v1-structure.md"
  • If verdict is PASS or WARN: set phase1.status to "verified"
  • If verdict is FAIL: leave phase1.status as "completed" (do not promote)
  • Update updated timestamp

Verdict Criteria

CriterionPASSWARNFAIL
Reference accuracy>= 95%80-94%< 80%
Component coverage>= 95%90-94%< 90%
Mermaid errors01-2>= 3
Hallucinations00>= 1

Any single FAIL criterion results in an overall FAIL verdict.

Prohibited Actions

  • Do NOT modify the structure map document
  • Do NOT modify source code files
  • Do NOT assume missing information — flag it as an issue
  • Do NOT approve documents with FAIL status
  • Do NOT access the Doer's conversation context or reasoning

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.84%
按下载量换算45

Claude

29.68%
按下载量换算36

Cursor

18.38%
按下载量换算22

Gemini CLI

9.67%
按下载量换算12

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills