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.
curl -O https://raw.githubusercontent.com/SilenceInsect/AIDocxWorkFlow/main/.cursor/skills/aidocx-s8-self-iteration/SKILL.mdgit clone --depth 1 https://github.com/SilenceInsect/AIDocxWorkFlowWrote 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.
[](https://agentmods.dev/skills/silenceinsect/aidocxworkflow/aidocx-s8-self-iteration)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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'])} 个问题(见日志)")
检查结果不阻断阶段执行,仅输出到日志供人工参考。
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.
- 9d ago First seen · 313 lines · 121 tokens per session scan A 1986f081472b
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.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
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…
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…
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…
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…
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…