AIDocxWorkFlow: Skill for Claude Code

.cursor/skills/aidocx-s3-prototype/SKILL.md

aidocx-s3-prototype is a skill for Claude Code, Cursor from SilenceInsect/AIDocxWorkFlow. It costs 131 tokens per session (2,993 once invoked), scanned A, original, MIT.

A workflow step that turns a list of software features and user stories into page descriptions, interface elements, interaction states, and Mermaid flow diagrams. Mermaid is a text format for drawing diagrams.

In plain words
What is it for?
Use it to export lightweight or detailed prototypes from an S2 backlog, including page lists, layouts, interface-element IDs, interaction states, and page-flow diagrams.
Why use it?
It gives the team a shared picture of the pages and user flows before implementation, while keeping enough interface detail for later test planning.

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 →

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-s3-prototype/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-s3-prototype

README.md
[![agentmods](https://agentmods.dev/badge/skills/silenceinsect/aidocxworkflow/aidocx-s3-prototype/github.svg)](https://agentmods.dev/skills/silenceinsect/aidocxworkflow/aidocx-s3-prototype)
Your own site
<a href="https://agentmods.dev/skills/silenceinsect/aidocxworkflow/aidocx-s3-prototype"><img src="https://agentmods.dev/badge/skills/silenceinsect/aidocxworkflow/aidocx-s3-prototype/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-s3-prototype

Your own site · 80×15
<a href="https://agentmods.dev/skills/silenceinsect/aidocxworkflow/aidocx-s3-prototype"><img src="https://agentmods.dev/badge/skills/silenceinsect/aidocxworkflow/aidocx-s3-prototype.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 131 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,993 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.00131 $0.02993
Opus 5.5 $0.00052 $0.01197
Sonnet 5.5 $0.00026 $0.00599
Haiku 4.5 $0.00013 $0.00299

Measured 1mo ago against content hash 1863c0648893, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

aidocx-s3-prototype 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 1mo 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-s3-prototype/SKILL.md · 271 lines

How it starts

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

AIDocxWorkFlow S3 — 原型导出

独立阶段:可单独调用。上游材料(S2 backlog)审查合格后开始,失败写失败报告。


模式选择

SSOT:.cursor/rules/DESIGN_AND_EXECUTION_STANDARDS.mdc §4.3 AIDOCX_S3_MODE

S3 支持两种模式,按需切换:

模式 触发条件 产出深度 适用场景
lightweight AIDOCX_S3_MODE=lightweight 页面清单 + 核心流图 纯后端需求 / 轻 UI
depth(默认) 未设置环境变量(默认 v16+) 页面清单 + 完整 UI 节点清单 + 交互状态机 + Mermaid 默认模式,S5/S6 UI 节点锚点

判定规则(LLM 在 S2 → S3 切换时执行):

import os

# v16+ 默认 depth,lightweight 需要显式强制
forced = os.environ.get("AIDOCX_S3_MODE")
if forced == "lightweight":
    mode = "lightweight"
else:
    # 默认 depth(S5/S6 需要 UI 节点锚点)
    mode = "depth"

决策树(判定流程图示):

开始
  ↓
A. 用户强制 lightweight? → AIDOCX_S3_MODE=lightweight → lightweight(强制)
  ↓ 否
B. 默认 → depth(强制)

v16+ 变更:默认 depth,lightweight 需要 AIDOCX_S3_MODE=lightweight 显式强制。 原因:S5/S6 生成测试用例需要引用 UI 节点 ID,S3 不可跳过。

输出差异:

  • depth 版(默认):在 lightweight 基础上必须追加 §UI 节点清单(见下方 §输出)
  • lightweight 版:prototype.md 仅含 §3 关键页面布局 + §4 Mermaid 页面流图

⭐ v16+ 推荐默认 depth:S5/S6 测试用例生成需要引用 UI 节点 ID,depth 模式的 UI 节点清单是 S5/S6 的锚点来源。


阶段入口

触发:/aidocx-s3-prototype 或粘贴 S2 backlog

前置材料:S2 backlog.md:workflow_assets/<req_name>/<version>/「S2 需求拆解」/backlog.md

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


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

生成原型前,必须先 Read 以下材料。

# 材料 路径 必读原因
1 8 模块总表 .cursor/MODULES.md(§1 总表) UI 模块 Story 对应页面原型;其他模块 Story 生成文本描述
2 S2 backlog workflow_assets/<req_name>/<version>/「S2 需求拆解」/backlog.md 每个 Story 的功能点是原型生成的核心输入

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

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

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

from ai_workflow.consistency_check import run_consistency_check

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

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


Read the full file on GitHub · 271 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. 1mo ago First seen · 271 lines · 131 tokens per session scan A 1863c0648893

Subscribe to this mod's changes

aidocx-s3-prototype is a skill published in the GitHub repository SilenceInsect/AIDocxWorkFlow (2 stars, last pushed 3mo ago), licensed MIT. It adds 131 tokens to every session and 2,993 once invoked, about $0.0005 per session on Opus 5.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

webgl-holographic-foil

A self-contained WebGL2 hero: thin-film interference over a crushed-foil surface whose palette shifts with the viewing angle; move the cursor to tilt the film.

nexu-io/open-design · 41 tokens

html-ppt-hermes-cyber-terminal

OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.

nexu-io/open-design · 53 tokens

html-ppt-taste-brutalist

16:9 HTML deck in tactical-telemetry / CRT-terminal taste. Deactivated-CRT charcoal slides, white-phosphor monospace, hazard-red accent, scanline overlay, ASCII syntax, density over decoration. Distilled from Leonxlnx/taste-skill brutalist-skill (Tactical Telemetry mode).

nexu-io/open-design · 78 tokens

visual-ralph

Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ultragoal with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

Yeachan-Heo/oh-my-codex · 52 tokens

glance-canonical-layouts

Use this skill to create home screen widgets using Jetpack Glance Canonical Layouts from the Android Platform Samples project, or when asked to implement standard widget layout patterns (including Check List, Image Grid, Snap Scrolling, and Standard Toolbar).

android/skills · 56 tokens

accessibility

Consolidated accessibility skill entrypoint for WCAG 2.2, ARIA Authoring Practices, cognitive accessibility, Section 508, EN 301 549, design intent verification, and the Accessibility Planner workflow.

microsoft/hve-core · 47 tokens