Audit Execution Guide logo

Audit Execution Guide

Organization
devcodex-labs
audit-execution-guide

审查执行指南 — 维度优先级分批、定向审查子集、联动检查清单

Overview

Publisherdevcodex-labs
Repositorydevcodex
Skill nameaudit-execution-guide
Stars
433
Forks
44
Bundled files
1
LicenseAGPL-3.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by devcodex-labs on GitHub. Read the source before you install it.

Installation

Install the Audit Execution Guide AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/devcodex-labs/devcodex/tree/main/content/skills/audit-execution-guide
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/devcodex-labs/devcodex.git /tmp/devcodex
mkdir -p .claude/skills
cp -r /tmp/devcodex/content/skills/audit-execution-guide .claude/skills/audit-execution-guide
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Audit Execution Guide in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Audit Execution Guide on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Audit Execution Guide is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Audit Execution Guide Skill

职责

本 Skill 定义 audit 工作流的执行策略,补充 audit-common/SKILL.md 的收敛规则,提供:定向触发子集、新增子类型联动检查、数值引用联动协议。

维度优先级分批

批次维度说明
🔴 第一批D1·D2·D3·D4·D5·D7·D9·D10·D11·D12·D16·D17·D21·D22·D23·D24·D25强制,立即标记
🟡 第二批D6·D8·D18·D19·D20建议,不阻塞
💡 第三批D13·D14·D15改进,Token 允许时执行

事件驱动定向审查

audit 每轮先形成 ReviewExecutionPlanV1,按 stage+risk+claims/dimensions 选择 R0~R4;默认需要连续三个具有 coverage/dimension delta 的有效零发现轮次。只有满足 audit-common §窄范围 audit 收敛降档 的全部条件,才可记录 convergenceMode=narrow-2 并使用两轮;targeted 标签本身不构成降档依据,full/security/release 不降档。receipt 复用必须通过 ReviewEvidenceFreshnessGate 与 5% 稳定内容 oracle,unknown/mismatch 一律 full-required。

触发场景推荐专属维度
修改了 RULES.mdD2·D3·D5·D9·D17
修改了 01-common.instructions.mdD2·D5·D6·D7·D10
修改了 workflow READMED3·D5·D8·D9
审查 README / 用户使用文档 / 项目文档 / 菜单导航DA-1·DA-2·DA-5·DA-6 + audit-user-manual;README / 主入口文档再叠加 audit-readme(RM-1~RM-6)
审查发布前准备 / release pre-reviewRL-1·RL-2·RL-3·RL-4·RL-5·RL-6·RL-9 + audit-release(RL-1~RL-10)
用户自有/已授权的本地安全审查,或出现“无法显示此内容/额外安全检查”PE-3 + security-threat-modeling 的 AuthorizedLocalSecurityAuditPresentationGate;可见层最小证据、隔离探针和 SafetyInterruptionCard,禁止绕过表述
新增 spec 文件D1·D5·D9·D15·D17·D18
新增子类型 specD5(#1)·D9·D15 — 联动 L1/L2/L3
新增维度/约束编号D5·D15·D18 + 数值引用联动
修改了 ENV_MODE/模式行为定义D5·D22 — 跨文件语义传播核查
修改了规则定义文件(字段/术语/路径等)D5 · CRS 全库关键词扫描(见 audit-common §关联文件发现)
审查目录、全项目或用户提示文件很多先执行 ProjectArtifactScaleRoutingGate;缺 ScaleDecisionRecord 时不得启动 CRS/broad scan
audit finding 需要修复AuditMutationBoundaryGate:记录/交接 → 显式用户授权 → 独立 fix/self-fix;audit 内禁止 source mutation / git add
正式复审 / ECR / 多轮收敛 / 冻结清单 / 外部 finding 批次review-checklist + ReviewChecklistPrecreationGate / EvidenceExecutionGate / ChecklistStateFreshnessGate
R2+ 发现新问题(持续审查中)自我审视四轴分析(见 audit-common §自我审视机制)· D5 三层覆盖补查 · ReviewDimensionDeltaGate 维度焦点补强

新增子类型联动检查(L1~L3)⚠️

每次新增子类型 Skill 后必须核查:

#检查项对应文件
L1routing/SKILL.md 路由表包含该子类型行skills/routing/SKILL.md
L202-output-paths.instructions.md 注册该子类型目录instructions/02-output-paths.instructions.md
L3对应 workflow report 模板的子类型字段包含该子类型prompts/report-*.prompt.md

⚠️ 历史教训:session13 新建 scenario-test.md 后三处未同步,session07 才发现。

数值引用联动

新增维度编号(D/C/TD/PE/RQ/RA/DA)后,同步更新:

  • 对应维度总览表(维度列表文件)
  • 执行指南优先级分批表(本文件)
  • 交叉引用的 spec 文件中的编号引用

体量分批策略

配合 audit-common/SKILL.md §G0 体量评估 使用。当 G0 判定需要分批时,按以下策略执行。

分批原则

  • 优先级驱动:按维度优先级分批(🔴 第一批 → 🟡 第二批 → 💡 第三批)
  • 单批次上限:每批覆盖 ≤ 3 个主维度
  • audit-project(代码质量)维度建议独立成批(文件量大、分析深度高)

分批执行模板

text
批次 1(🔴 核心维度A):D1·D2·D3 → 输出发现 → 记录/交接(阻断项暂停结论)→ 写入记忆
批次 2(🔴 核心维度B):D4·D5·D7 → 输出发现 → 记录/交接 → 更新记忆
批次 3(🔴 核心维度C):D9·D10·D11 → 输出发现 → 记录/交接 → 更新记忆
批次 4(🔴 格式/语义A):D12·D16·D17 → 输出发现 → 记录/交接 → 更新记忆
批次 5(🔴 格式/语义B):D21·D22·D23 → 输出发现 → 记录/交接 → 更新记忆
批次 6(🔴 跨客户端):D24·D25 → 输出发现 → 记录/交接 → 更新记忆
批次 7(🟡 建议维度A):D6·D8·D18 → 输出发现 → 记录/交接 → 更新记忆
批次 8(🟡 建议维度B):D19·D20 → 输出发现 → 记录/交接 → 更新记忆
批次 9(💡 改进维度):D13·D14·D15 → 输出发现 → 记录/交接 → 更新记忆
ReviewCoverageDelta:R2+ 先列 ReviewedSet / UnreviewedRelatedSet / NewlyReadThisRound / RepeatReadReason / NoNewSurfaceReason,优先补读此前未审查但相关的代码、配置、测试、文档、部署副本和消费者链
ReviewDimensionDeltaGate:R2+ 同步列 PreviousDimensionSet / CurrentDimensionFocus / NewDimensionRationale / RepeatedDimensionReason,避免每轮机械重复同一组维度;重复维度只允许阻断项回归、高风险锚点、新证据或抽样
ReviewStateSnapshotV1:每批更新同一个 plan/candidate/stage snapshot;报告、记忆、进度和最终结论只投影其 snapshotDigest
重启轮次:所有批次完成、本轮无新发现,且 ReviewCoverageDelta + ReviewDimensionDeltaGate 合格 → 有效零发现计数 +1 → 达到 audit-session/Owner 计划的连续 R 轮有效零发现则进入 CRS 门禁(默认3,完整有效 narrow-2 为2,full/security/release为3)
CRS 收敛门禁:达到同一 audit-session/Owner 计划要求的连续 R 轮有效零发现后执行全库关键词扫描(见 audit-common §关联文件发现)
PCV:CRS ✅ 后执行 PCV(见 audit-common §收敛后汇总验证)→ 最终报告

ℹ️ 批次16 覆盖全部 🔴 强制维度,批次78 覆盖 🟡 建议维度,批次9 覆盖 💡 改进维度;每批最多3个主维度,不重复或遗漏 D1~D25。

ℹ️ 发现交接的含义:每批次发现问题后先完成实证、分流和状态记录;阻断项停止受影响范围的通过结论并请求显式用户授权,非阻断项进入适当台账。audit 不修改或暂存被审查源;用户授权后的独立 fix/self-fix 完成后,audit 才读取新证据并启动回归轮次。

批次报告必须为 AuditMutationBoundaryGate 写明 sourceMutationAuthorized=false;若用户已授权修复,只能记录目标 repairWorkflow 与授权证据,不能在当前 audit 批次执行补丁。

跨批记忆格式

每批完成后在记忆文件追加批次摘要:

markdown
📦 批次进度:
- 批次 N/M:[维度列表] — ✅ 完成
- 发现:🔴 X 个 / 🟡 Y 个 / 💡 Z 个
- 下批计划:[维度列表]

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Audit Execution Guide AI skill do?

审查执行指南 — 维度优先级分批、定向审查子集、联动检查清单

Why use Audit Execution Guide on TypingMind?

Because you install it once and use it with any model. Audit Execution Guide is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Audit Execution Guide in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/devcodex-labs/devcodex/tree/main/content/skills/audit-execution-guide. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Audit Execution Guide?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Audit Execution Guide?

As many as you like. As long as a model supports skills, you can use Audit Execution Guide with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Audit Execution Guide AI skill free?

Yes. It is published on GitHub by devcodex-labs under the AGPL-3.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇