prototype SKILL.md skillA
prototype from vinvcn/mattpocock-skills-zh-cn is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add vinvcn/mattpocock-skills-zh-cn/prototype@git:20261008.5be0dc1Pins git:20261008.5be0dc1 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- vinvcn/mattpocock-skills-zh-cn
- Path
skills/engineering/prototype/SKILL.md- Versions recorded
- 5
- Latest version
- git:20261008.5be0dc1, committed Oct 8, 2026
- First version recorded
- Jul 12, 2026
- Size
- 2,748 bytes
- Repository stars
- 5,110
- License
- MIT
构建一次性原型来回答一个设计问题。适用于用户想验证某个 state model 或 logic 是否感觉对,或探索 UI 应该长什么样时。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# 原型 Prototype 是**用来回答一个问题的 throwaway code**。问题决定形状。 ## 选择分支 先识别正在回答哪个问题:来自用户 prompt、周围代码,或在用户在线时直接询问: - **"Does this logic / state model feel right?"** → [LOGIC.md](LOGIC.md)。构建一个单一、可分享的 HTML 文件(free-play buttons 加 tabbed guided walkthroughs),推动 state machine 跑过纸面上难以推理的 cases,而且非开发人员也能驱动它。 - **"What should this look like?"** → [UI.md](UI.md)。在单一路由上生成几种差异很大的 UI variations,并通过 URL search param 和浮动底栏切换。 这两个分支会产出非常不同的 artifacts;选错会浪费整个 prototype。如果问题确实模糊且用户不可达,默认选择更匹配周围代码的分支(backend module → logic;page 或 component → UI),并在 prototype 顶部说明假设。 ## 两个分支通用的规则 1. **从第一天就是 throwaway,并明确标记。** Prototype code 要靠近它实际会被使用的位置(放在被 prototype 的 module 或 page 旁边),这样上下文清楚;但命名要让随手读代码的人看出它是 prototype,不是 production。对 throwaway UI routes,遵守项目现有 routing convention;不要发明新的顶层结构。 2. **运行毫无负担。** UI prototype 从项目 task runner 中的一条命令启动:`pnpm <name>`、`python <path>`、`bun <path>` 等。Logic demo 则是用户双击即可打开的单个 HTML 文件。无论哪种,启动都不需要动脑。 3. **默认不持久化。** State 保存在内存中。Persistence 是 prototype 要_检查_的东西,不该成为依赖。如果问题明确涉及 database,就用 scratch DB 或带有清晰 “PROTOTYPE, wipe me” 名称的本地文件。 4. **跳过 polish。** 不写 tests,不做超过“能跑起来”所需的 error handling,不做 abstractions。重点是快速学到东西。 …
Read the whole file at its exact version.
How to install
mdr add vinvcn/mattpocock-skills-zh-cn/prototype@sha256:d0b564eca26b4f96The line at the top of this page pins the label git:20261008.5be0dc1, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_uk3iae66p4lrmpzf)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Jul 12, 2026 and Oct 8, 2026, about one every 22 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261008.5be0dc1 latest | 2026-10-08 | 5be0dc1 | 2,748 B | A | view · diff |
| git:20261008.f659bb3 | 2026-10-08 | f659bb3 | 2,749 B | A | view · diff |
| git:20260811.b46e155 | 2026-08-11 | b46e155 | 2,758 B | A | view · diff |
| git:20260722.fb10cdb | 2026-07-22 | fb10cdb | 2,582 B | A | view · diff |
| git:20260712.62cf4a9 | 2026-07-12 | 62cf4a9 | 2,827 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (2748 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
vinvcn/mattpocock-skills-zh-cn · 5,110 stars · license MIT · pushed 2026-10-20 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_uk3iae66p4lrmpzf GET https://markdownregistry.com/api/v1/resolve?ref=vinvcn/mattpocock-skills-zh-cn/prototype GET https://markdownregistry.com/api/v1/blob/d0b564eca26b4f9648e65c9ca9891d27f659aa9c2793a382c60636e311ce0099
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from vinvcn/mattpocock-skills-zh-cn
Every file in vinvcn/mattpocock-skills-zh-cn