Expert-Coding-Harness: Skill for Cursor

.cursor/skills/prototype/SKILL.md

prototype is a skill for Cursor from ProgrammerAnthony/Expert-Coding-Harness. It costs 92 tokens per session (706 once invoked), scanned A, original, MIT.

A temporary prototype-building skill for testing either a logic model through a terminal app or a user-interface layout through switchable design variants.

In plain words
What is it for?
Use it to test state machines and edge cases, explore several UI directions, expose changing state, and record the result before deleting or integrating the prototype.
Why use it?
It lets you answer a focused design question quickly before committing to production code.

Skill for Cursor

Written for Cursor: installed under .cursor/.

This is ProgrammerAnthony/Expert-Coding-Harness's own configuration. It tells Cursor how to work on Expert-Coding-Harness 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 Expert-Coding-Harness configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ProgrammerAnthony/Expert-Coding-Harness. 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/ProgrammerAnthony/Expert-Coding-Harness/master/.cursor/skills/prototype/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/ProgrammerAnthony/Expert-Coding-Harness

Made for: 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 prototype

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/programmeranthony/expert-coding-harness/prototype"><img src="https://agentmods.dev/badge/skills/programmeranthony/expert-coding-harness/prototype.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 92 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 706 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.00092 $0.00706
Opus 5.5 $0.00037 $0.00282
Sonnet 5.5 $0.00018 $0.00141
Haiku 4.5 $0.00009 $0.00071

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

Security

Grade A, and why

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 2mo 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/prototype/SKILL.md · 36 lines

What it actually says

原型(Prototype)

原型是回答一个问题的一次性代码。问题决定形态,答完即删。

选分支

根据用户提示、周边代码、或直接询问来判断问题属于哪类:

  • "这段逻辑/状态模型的设计感觉对吗?" → references/LOGIC.md。构建一个微型终端交互 App,手动驱动状态机穿越难以凭空推理的边界 Case。
  • "这个界面应该长什么样?" → references/UI.md。在单个路由上生成几个差异显著的 UI 变体,通过浮动底栏切换。

分支错误会浪费整个原型。若问题确实模糊且用户不在线,则默认按周边代码选择(后端模块→逻辑;页面/组件→UI),并在原型顶部声明该假设。

两条分支通用规则

  1. 从第一天起就是一次性代码,且明确标记。 将原型代码放在它实际服务的模块或页面旁边,名称中包含 prototype 以示一次性身份。
  2. 一条命令即可运行。 使用项目现有任务管理器(pnpm <name>、python <path> 等),用户不需要记路径。
  3. 默认不持久化。 状态存内存。若问题本身涉及数据库,使用临时 DB 或带有 "PROTOTYPE — wipe me" 标记的本地文件。
  4. 跳过打磨。 不写测试、不做错误处理(仅保留让原型能运行的最低限度)、不做抽象。目标是快速学到东西然后删掉它。
  5. 暴露状态。 每次操作后(逻辑)或每次切换变体后(UI),打印或渲染完整的相关状态。
  6. 完成后删除或吸收。 原型回答完问题后,要么删除,要么将经过验证的决策折叠进真实代码——不要让它在仓库里腐烂。

完成时

原型唯一值得保留的是答案。将其记录在某个持久化位置(commit message、ADR、issue,或原型旁边的 NOTES.md),连同它所回答的问题一并保存。若用户在场,几句对话即可;若不在,留好占位符供后续填写,然后删除原型。

详细指南

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2mo ago First seen · 36 lines · 92 tokens per session scan A 4d9f6706d6f9

Subscribe to this mod's changes

prototype is a skill published in the GitHub repository ProgrammerAnthony/Expert-Coding-Harness (248 stars, last pushed 5mo ago), licensed MIT. It adds 92 tokens to every session and 706 once invoked, about $0.0004 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-30.

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