AIDocxWorkFlow: Skill for Claude Code

.cursor/skills/aidocx-s8-self-iteration/SKILL.md

aidocx-s8-self-iteration is a skill for Claude Code, Cursor from SilenceInsect/AIDocxWorkFlow. It costs 121 tokens per session (4,361 once invoked), scanned A, original, MIT.

The eighth stage of a Chinese-language workflow for analyzing review results, finding the root causes of defects, and improving earlier workflow instructions. It uses reports, test points, test cases, and business-flow documentation.

In plain words
What is it for?
Use it after a workflow review to analyze coverage and module-boundary errors, identify recurring defect causes, and record improvements for later work.
Why use it?
It turns repeated review failures into documented patterns and proposed process improvements instead of treating each defect as isolated.

Skill for Claude CodeCursor

Written for Claude Code and Cursor: disable-model-invocation in frontmatter, but also installed under .cursor/. Also seen: mentions Claude Code; mentions Codex; mentions Cursor.

This is SilenceInsect/AIDocxWorkFlow's own configuration. It tells Claude Code and Cursor how to work on AIDocxWorkFlow itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything AIDocxWorkFlow configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is ⚠️ **模块定义见 [`.cursor/MODULES.md`](../../MODULES.md)(项目级唯一真相源)。**.

Reuse

Borrowing it

Nothing to install: this file belongs to SilenceInsect/AIDocxWorkFlow. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/SilenceInsect/AIDocxWorkFlow/main/.cursor/skills/aidocx-s8-self-iteration/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/SilenceInsect/AIDocxWorkFlow

Made for: Claude Code, Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for aidocx-s8-self-iteration

README.md
[![agentmods](https://agentmods.dev/badge/skills/silenceinsect/aidocxworkflow/aidocx-s8-self-iteration/github.svg)](https://agentmods.dev/skills/silenceinsect/aidocxworkflow/aidocx-s8-self-iteration)
Your own site
<a href="https://agentmods.dev/skills/silenceinsect/aidocxworkflow/aidocx-s8-self-iteration"><img src="https://agentmods.dev/badge/skills/silenceinsect/aidocxworkflow/aidocx-s8-self-iteration/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for aidocx-s8-self-iteration

Your own site · 80×15
<a href="https://agentmods.dev/skills/silenceinsect/aidocxworkflow/aidocx-s8-self-iteration"><img src="https://agentmods.dev/badge/skills/silenceinsect/aidocxworkflow/aidocx-s8-self-iteration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 121 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,361 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00121 $0.04361
Opus 5 $0.00060 $0.02181
Sonnet 5 $0.00024 $0.00872
Haiku 4.5 $0.00012 $0.00436

Measured 9d ago against content hash 1986f081472b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

aidocx-s8-self-iteration scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/skills/aidocx-s8-self-iteration/SKILL.md · 313 lines

How it starts

The opening of the file, as written. The whole thing — 313 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AIDocxWorkFlow S8 — 自迭代

独立阶段:可单独调用。上游材料(S7 review_report.json / review_snapshot.json)审查合格后开始,失败写失败报告。

⚠️ 模块定义见 .cursor/MODULES.md(项目级唯一真相源)。 本文件不重写模块表。涉及"模块归属错误"分析时,按 MODULES.md §1 总表 + §3.5 交叉场景判定规则 + §4.5-§4.12 各模块边界 + §9 兼容映射综合判定。

HINT vs UI 边界误标是历史 S5 误标高发区(SYS_MSG / RED_DOT 旧枚举出现),自迭代时需重点关注。


阶段入口

触发/aidocx-s8-self-iteration 或粘贴 S7 审查报告

前置材料

  • S7 审查报告:workflow_assets/<req_name>/<version>/「S6 测试用例生成」/review_report.json
  • S5 test_points.json(用于 S4 覆盖率分析):workflow_assets/<req_name>/<version>/「S5 测试点生成」/test_points.json
  • S6 test_cases.json:workflow_assets/<req_name>/<version>/「S6 测试用例生成」/test_cases.json
  • S4 business_flow.md(用于风险点提取):workflow_assets/<req_name>/<version>/「S4 流程图导出」/business_flow.md
  • 执行反馈日志(可选):workflow_assets/feedback_logs/

材料缺失时:生成失败报告,停止 S8。


§1.4 LLM 必读材料(阶段前置)

开始根因分析前,必须先 Read 以下材料。禁止凭印象直接生成。

# 材料 路径 必读原因
1 8 模块总表 .cursor/MODULES.md(§1 总表) 缺陷根因最终落到模块 × 类型的组合;缺陷模式按模块统计
2 模块边界区分 .cursor/MODULES.md(§4 各模块 O_boundary.md) 判断 S5 TP 模块归属是否正确;根因分析的起点
3 S7 review_report workflow_assets/<req_name>/<version>/「S6 测试用例生成」/review_report.json 所有审查结论的来源;按 reviewer_a / reviewer_b / recommendations 结构追溯
4 S5 test_points workflow_assets/<req_name>/<version>/「S5 测试点生成」/test_points.json S5 层缺陷追溯的起点
5 S4 business_flow workflow_assets/<req_name>/<version>/「S4 流程图导出」/business_flow.md 异常决策树和风险点清单是 S5 缺 TP 的根因来源
6 S6 test_cases workflow_assets/<req_name>/<version>/「S6 测试用例生成」/test_cases.json S6 层缺陷追溯的参考

§5 一致性检查(SKILL ↔ Rule 自动对齐)

触发时机:本节读取后、正式执行前。仅执行一次(同一次对话中多次触发本阶段,不重复检查)。

检查类型:A = 必读材料对齐 / B = 输出路径对齐 / C = 字段名对齐 / D = 模块枚举对齐

from ai_workflow.consistency_check import run_consistency_check

result = run_consistency_check(stage="s8")
if not result["passed"]:
    print(f"[一致性检查] 发现 {len(result['issues'])} 个问题(见日志)")

检查结果不阻断阶段执行,仅输出到日志供人工参考。

Read the full file on GitHub · 313 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 313 lines · 121 tokens per session scan A 1986f081472b

Subscribe to this mod's changes

aidocx-s8-self-iteration is a skill published in the GitHub repository SilenceInsect/AIDocxWorkFlow (2 stars, last pushed 1mo ago), licensed MIT. It adds 121 tokens to every session and 4,361 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens