writing-for-agents SKILL.md skillA
writing-for-agents from shumingyang-opencode/mattpocock-skills-zh-tw is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add shumingyang-opencode/mattpocock-skills-zh-tw/writing-for-agents@git:20260806.5bfe60bPins git:20260806.5bfe60b in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- shumingyang-opencode/mattpocock-skills-zh-tw
- Path
skills/productivity/writing-for-agents/SKILL.md- Versions recorded
- 3
- Latest version
- git:20260806.5bfe60b, committed Aug 6, 2026
- First version recorded
- Jul 31, 2026
- Size
- 10,985 bytes
- Repository stars
- 3
- License
- MIT
為代理撰寫文件。建立或編輯技能,或修改 AGENTS.md 或 CLAUDE.md 時使用。.
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
為任何代理消費的文件撰寫的參考 — 一個技能、一份 `AGENTS.md` / `CLAUDE.md`、一份透過指標觸達的文件。包裝不同;寫法不同不是問題:相同的槓桿讓每一份都可預測 — 代理每次執行都採取相同的_流程_,而不是產出相同的結果。 當您撰寫的文件是技能時,閱讀 [`SKILL-MECHANICS.md`](SKILL-MECHANICS.md) 了解 frontmatter、呼叫選擇與路由器技能。 ## 脈絡指標(Context pointers) **脈絡指標**是代理脈絡中持有的引用,它指名某個不在脈絡中的材料,並編碼了觸達它的條件。技能的 description 是一個;`AGENTS.md` 中指名一份文件的一行是同一種物件。指標的_措辭_,而不是它的目標,決定了代理何時觸達該材料 — 以及多可靠。一個措辭軟弱卻指向必備目標的指標,是變異 bug:先磨利措辭,只有磨利失敗時才內嵌材料。 指標做兩件工作 — 說明材料是什麼,並列出應該觸發觸達它的**分支**(分支是文件處理的一個不同案例,因此不同的執行會走過不同的路徑)。每個永遠載入的指標的每個字都會在每一輪耗費成本,因此它比正文更需要毫不留情的修剪: - **前置第一個字** — 指標正是它做觸發工作的地方。 - **每個分支一個觸發詞。** 為單一分支改名的一系列同義詞是同一個分支寫了兩次;把它們合併,只保留真正不同的分支。 - **刪掉正文已承載的身分資訊。** ## 兩種負載(The two loads) 您新增的每份文件與指標都花費兩種預算之一: - **脈絡負載(Context load)** — 永遠載入的材料對代理視窗的成本:一行 `AGENTS.md`、一個技能 description、任何每輪都坐在脈絡裡的東西,無論是否觸發都花費 token 與注意力。 - **認知負載(Cognitive load)** — 施加在人類身上的成本:存在哪些文件,以及何時取用每一份。人類就是索引。這不是一個要最小化的成本 — 它是人類能動性的代價;把它花在人判斷重要的地方,在它不重要的地方移除它。 只有透過指標觸達的材料,以指標自身那行的代價逃離脈絡負載;完全沒有指標的材料則整個落在認知負載上。 ## 資訊階層(Information hierarchy) 一份文件由兩種內容類型組成 — **步驟**(代理執行的有序動作)與**參考**(按需查閱的定義、規則、事實)— 它們可以自由混合:全是步驟(一份配方)、全是參考(一份審查的規則、本技能)、或兩者兼具。核心決策是每個片段落在**資訊階層**的哪個位置,這是一個按代理多迫切需要該材料來排序的階梯: 1. **檔案內步驟** — 主要層級:代理做什麼,依序。 …
Read the whole file at its exact version.
How to install
mdr add shumingyang-opencode/mattpocock-skills-zh-tw/writing-for-agents@sha256:49ee0180e0fe0d6eThe line at the top of this page pins the label git:20260806.5bfe60b, 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_vvszpsv47sgj42vs)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 3 versions of this file, between Jul 31, 2026 and Aug 6, 2026, about one every 3 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260806.5bfe60b latest | 2026-08-06 | 5bfe60b | 10,985 B | A | view · diff |
| git:20260731.1fc6573 | 2026-07-31 | 1fc6573 | 10,496 B | A | view · diff |
| git:20260731.f054def | 2026-07-31 | f054def | 10,966 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 (10985 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
shumingyang-opencode/mattpocock-skills-zh-tw · 3 stars · license MIT · pushed 2026-10-07 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_vvszpsv47sgj42vs GET https://markdownregistry.com/api/v1/resolve?ref=shumingyang-opencode/mattpocock-skills-zh-tw/writing-for-agents GET https://markdownregistry.com/api/v1/blob/49ee0180e0fe0d6e47aa656c7605fe9be900a8ef0da08aeeb57a6abacf576d3f
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 shumingyang-opencode/mattpocock-skills-zh-tw
Every file in shumingyang-opencode/mattpocock-skills-zh-tw