pin SKILL.md skillA

pin from zhaojiannet/canon is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add zhaojiannet/canon/pin@git:20260926.2fd6ef0

Pins git:20260926.2fd6ef0 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
zhaojiannet/canon
Path
plugins/flow/skills/pin/SKILL.md
Versions recorded
3
Latest version
git:20260926.2fd6ef0, committed Sep 26, 2026
First version recorded
Sep 14, 2026
Size
5,333 bytes
Repository stars
4
License
MIT

用 Playwright 脚本把肉眼难确认的界面 bug(时序、偶发、多步交互)钉住:先复现、按复现率反复验证,再修应用代码,spec 留作回归.

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

把一个界面 bug 钉住再修。一眼能看出对错的问题(文案、样式)直接改,不用这个。

## 前提

- 被测项目的 e2e 容器按 `../e2e/references/runner.md` 搭,还没搭就先搭。`<exec>` 是 `e2e/profile.md` 里的执行前缀,所有 Playwright 命令都经 `<exec>` 在容器里跑。
- 没有 `e2e/profile.md` 时,按 `../e2e/references/profile-template.md` 建,只填执行、入口、账号三节,其余写「未知」并列进「待确认」。
- 定位失败的顺序见 `../e2e/references/diagnose.md`,时序手段见 `../e2e/references/timing.md`。

## 次数规则

复现率 p = 失败次数 ÷ 运行次数。依据:零失败 N 次只能说明失败率低于约 3/N(95% 置信,统计学三法则)。

| 阶段 | 跑几次 |
|---|---|
| 确认复现 | 先跑 1 次。失败就再跑 2 次:3 次都失败按「必现」处理(p = 1);有通过的,p = 失败次数 ÷ 3。第 1 次通过就逐次接着跑,出现第一次失败时停,p = 1 ÷ 已跑次数;跑满 30 次仍无失败,按步骤 2 的「复现不出」处理 |
| 调试中 | 必现跑 1 次;偶发跑 ⌈3/p⌉ 次 |
| 确认修好 | 连续 max(3, ⌈3/p⌉) 次全部通过 |

⌈3/p⌉ 超过 30 时,先用 `timing.md` 的手段把时序固定住、提高复现率,再按上表跑。多次运行用 `--repeat-each=<N>`。

## 步骤

1. **写复现**:先 grep `e2e/tests/` 找同一流程的 spec,有就照搬它的前置条件和步骤。复现写在 `e2e/tests/repro/<kebab-case 名>.spec.ts`,文件头 `// pin: <现象> <日期>`。断言写正确的行为。会建数据的,第一次运行前就写好 `afterEach` 删除。
2. **确认复现**:按次数规则跑。失败点必须就是这个现象,按 `diagnose.md` 确认;选择器写错、账号登不上这类失败,改测试直到失败原因对上。**复现出红之后,再读应用代码。** 跑满 30 次都没失败时,先用 `timing.md` 的手段固定时序,再按次数规则重跑;仍复现不出就停下,列出试过的写法,向我要能复现的环境、录屏或 HAR。
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add zhaojiannet/canon/pin@sha256:09abf60947f34303

The line at the top of this page pins the label git:20260926.2fd6ef0, 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_pgqcxwy247y6qk44.svg)](https://markdownregistry.com/a/art_pgqcxwy247y6qk44)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 3 versions of this file, between Sep 14, 2026 and Sep 26, 2026, about one every 6 days.

versioncommittedcommitsizeaudit
git:20260926.2fd6ef0 latest2026-09-26 2fd6ef0 5,333 BA view · diff
git:20260926.cd1b4db2026-09-26 cd1b4db 5,066 BA view · diff
git:20260914.f9235832026-09-14 f923583 5,026 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (5333 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

GitHub

zhaojiannet/canon · 4 stars · license MIT · pushed 2026-10-05 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_pgqcxwy247y6qk44
GET https://markdownregistry.com/api/v1/resolve?ref=zhaojiannet/canon/pin
GET https://markdownregistry.com/api/v1/blob/09abf60947f34303bea700287e8a532422467deaf5420af3f91ad84c854b0a3c

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 zhaojiannet/canon

cm SKILL.md skill
zhaojiannet/canon · plugins/flow/skills/cm/SKILL.md · 按规范提交当前改动:先确认代码审过,每个 commit 前查密钥、调 vet 核对 message
git:20261004.e8cf316 · audit A · 4 stars
e2e SKILL.md skill
zhaojiannet/canon · plugins/flow/skills/e2e/SKILL.md · 用现有账号和环境给当前项目做全量端到端测试。摸清项目 → 出计划 → 人审 → 生成 spec → 横切面检查 → 跑并修 → 出报告,被测项目只加 e2e/ 目录和一行 .gitignore
git:20260926.2fd6ef0 · audit A · 4 stars
go SKILL.md skill
zhaojiannet/canon · plugins/flow/skills/go/SKILL.md · 工作纪律:先查证再动手,找到真正的原因再修,收尾前审查代码,如实汇报
git:20260926.2fd6ef0 · audit A · 4 stars
msg SKILL.md skill
zhaojiannet/canon · plugins/flow/skills/msg/SKILL.md · 写或审 commit message 时的格式与禁忌。写 commit、起草 message、改 message、检查 message 时都先读这里。
git:20261004.e8cf316 · audit A · 4 stars
oss SKILL.md skill
zhaojiannet/canon · plugins/flow/skills/oss/SKILL.md · 调研、选型、对比开源项目时的筛选标准和安全核对。用户要调研、选型、对比、推荐库、框架、工具、GitHub 项目,或提到 star 数、替代方案时,先读这里再找候选。
git:20261004.e8cf316 · audit B · 4 stars
vet SKILL.md skill
zhaojiannet/canon · plugins/flow/skills/vet/SKILL.md · 提交前把关。在看不到对话的子代理里,拿 diff 逐句核对 commit message 草稿和新增注释,标出指不到 diff 的句子、仓库里找不到的编号、讲开发经过的句子、只复述代码的注释、非中文。cm 在 commit…
git:20260926.2fd6ef0 · audit A · 4 stars
astro SKILL.md skill
zhaojiannet/canon · plugins/lockstep-astro/skills/astro/SKILL.md · Enforce Astro 7 static-first conventions. Use when editing .astro files or when the user mentions Astro, islands…
git:20260914.a9571da · audit A · 4 stars
echo SKILL.md skill
zhaojiannet/canon · plugins/lockstep-echo/skills/echo/SKILL.md · Enforce Echo v5 handler conventions for Go, focused on error handling. Use when editing .go handler/route/middleware…
git:20260914.a9571da · audit A · 4 stars
fastify SKILL.md skill
zhaojiannet/canon · plugins/lockstep-fastify/skills/fastify/SKILL.md · Enforce Fastify v5 plugin/route conventions for Node/TypeScript. Use when editing .ts/.js/.mjs that import fastify or…
git:20260914.a9571da · audit A · 4 stars
nuxt-ui SKILL.md skill
zhaojiannet/canon · plugins/lockstep-nuxt-ui/skills/nuxt-ui/SKILL.md · Enforce Nuxt UI v4 component-first conventions. Use when editing .vue files or when the user mentions Nuxt UI, a…
git:20260914.a9571da · audit A · 4 stars
postgres SKILL.md skill
zhaojiannet/canon · plugins/lockstep-postgres/skills/postgres/SKILL.md · Enforce PostgreSQL schema design and safe migrations. Use when editing **/migrations/*.sql, **/schema/*.sql…
git:20260914.a9571da · audit A · 4 stars
sqlc SKILL.md skill
zhaojiannet/canon · plugins/lockstep-sqlc/skills/sqlc/SKILL.md · Enforce sqlc codegen conventions for Go + PostgreSQL. Use when editing sqlc.yaml, **/queries/*.sql, or generated…
git:20260914.a9571da · audit A · 4 stars

Every file in zhaojiannet/canon

Other files named pin

pin SKILL.md skill
pantheon-org/tekhne · skills/agentic-harness/pin/SKILL.md · Pin session decisions, questions, objections, scope constraints, and corrections to a persistent board that survives…
git:20261007.83cf275 · audit A · 10 stars
pin SKILL.md skill
mubit-ai/plugins · integrations/codex/skills/pin/SKILL.md · Pin a constraint for the rest of this run, shown on every prompt; use when a rule ends with the task, and remember for…
git:20260903.008c305 · audit A · 4 stars
pin SKILL.md skill
mubit-ai/plugins · integrations/claude-code/skills/pin/SKILL.md · Pin a constraint for the rest of this run, shown on every prompt; use when a rule ends with the task, and remember for…
git:20260907.e52fcef · audit A · 4 stars

Browse by kind, by grade A, or by owner.