1仕組みと動作原理
4層のライティング基準を重ね合わせ、各層に1つの問いを配置:ドキュメント種別(Diátaxis)→ 読者指向の文体(Google developer style)→ 1文あたりの情報量(STE)→ 曖昧性の排除(Global English)。段階的に絞り込み「一読して理解できる」状態を目指す。
The goal is writing a tired engineer understands on the first read. Four layers get you there, one question each: what kind of document is this, how do sentences address the reader, how much does each sentence carry, and can any sentence be read two ways. Apply all four.
各層の上に3つの大原則を規定:機能のない単語の削除、短く一般的な語の選択、ルールを守ることで文が悪化する場合はルールに固執せず文を直すこと——ルールは読者のためのものであり、機械的な文を作らないためである。
- **Cut every word that does no work.** If the sentence survives without a word, the word goes. "In order to" is "to". "It is important to note that" is nothing.
Diátaxisモードの振り分け:「行動の指導か理解の深化か × 学習のためか実務のためか」の2つの問いによって、すべてのドキュメントをtutorial/how-to/reference/explanationのいずれかに分類。モードの混在は禁止し、別モードにまたがる内容はリンクで分割する。
One document, one mode. Two questions pick it: does the content inform action (doing) or understanding (thinking), and does it serve learning or work?
文レベルの規則は3つの外部仕様を直接導入し、ソースと取得日を本文に明記:Google developer style(developers.google.com/style)、STE管理言語(asd-ste100.org Issue 9 2025)、Global English(Kohl, SAS Press——Internet ArchiveおよびSASサンプル章より転写)。すべて執筆時に取得され、実行時呼び出しは行わない。
Source: diataxis.fr, fetched 2026-07-18.
リポジトリの語彙規律:「コードベースこそが用語集である」——実在するシンボル名、ファイル名、コマンド名を記述し、独自のスラングや比喩表現を禁止。新たな禁止語を発見した際はunslopを直接編集せず、「禁止語→置換語」をdiff形式で提案として回答内に記述する。
The codebase is the word list. Write the real symbol, file, flag, or command name, not a synonym or a description of it.
unslopと密接に連携し対象範囲を拡張:本スキルが扱うすべてのドキュメントはunslop(AI構文、冗長な穴埋め語、形式的な特徴のカタログ)によるチェックを通す。PRの説明文やコミットメッセージも執筆対象に含む(Diátaxis以外の全レイヤーを適用)。
- Apply the **unslop** skill to every doc this skill touches. That skill owns the slop-pattern catalog: AI vocabulary, filler, hedging, formatting tells.
worked example(Before/Afterのリライト例)と8項目のレビューチェックリストを提供し、抽象的な基準を直接実行可能な検収用の問いに落とし込む。宣言的ルールにより「数値、パス、カウントは適用コミット上で真であり、再現可能なコマンドを付記すること」を要求する。
Make every count or tree claim true at the commit that lands it, and include the command that regenerates it.
2コア機能
3外部依存関係
| Kind | Dependency / Endpoint |
|---|---|
| network | 内容来源引用(撰写期抓取的知识来源,非运行时调用):diataxis.fr |
| network | 内容来源引用(非运行时调用):developers.google.com/style |
| network | 内容来源引用(非运行时调用):asd-ste100.org(STE 规范 Issue 9, 2025) |
| network | 内容来源引用(非运行时调用):Kohl《The Global English Style Guide》(SAS Press,经 Internet Archive/SAS 样章转写) |
4推奨統制措置と判定根拠
- SKILL.md: 純粋なプロンプト指示およびルールテキストであり、スクリプト実行や外部影響は一切なし
5二重目の独立検証
- [ok] 单文件零资产 — 技能目录仅 SKILL.md(含隐藏文件 glob 确认),无 references/scripts/data。
- [ok] 四层标准与 description 对应 — 正文标题/内容与 description 四层(Diátaxis structure / Google developer style sentences / STE instruction rules / Global English syntax)一一对应;每层均给独立规则块与来源行。
- [ok] 来源引用为静态文字、非运行时调用 — 4 处 'Source: … fetched 2026-07-18.' 均为引用标注;无 urlopen/curl/requests 等运行时拉取代码。
- [ok] 规则内容与所引规范一致(抽样) — Google style 段 'Talk to the reader as "you", in the present tense.'、STE 段 'Split instructions longer than about 20 words and other sentences longer than about 25.'、Global English 段 'Break up long noun strings' 等与规范主旨相符;并如实声明 STE 只转写可迁移核心、完整规则在 PDF。
- [ok] unslop 联动指向真实资产 — pstack/skills/unslop/SKILL.md 存在(glob 确认);SKILL.md 明确 'That skill owns the slop-pattern catalog'——职责划分与仓库结构一致。
- [ok] 无运行时 IO/凭证/写入 — token 扫描仅命中来源标注行;全文无 shell/网络/文件命令。
- [ok] 夸大检查 — 'writing a tired engineer understands on the first read' 是质量标准陈述而非可测功能承诺;worked example 与 checklist 均可直接执行,无越界承诺。
- [ok] license/stars/commit 元数据 — GitHub API:cursor/plugins stars 7221、pushed_at 2026-09-09T08:18:30Z、license null(仓库根);pstack/LICENSE 为 MIT(Copyright (c) 2026 Lauren Tan);本地 git HEAD == pin df3fb154fb982fb83f649de8646d4af6a0cb16b3。
6結論
bf0a9d23048af4b7…