writing-skills
Skill1 starsChanged 2 months agoMITView on GitHub
新しい skill を作る・既存 skill を書き直すとき。SKILL.md の frontmatter や本文構成、 配置と登録のしかたに迷ったとき。 「skill を作る」「skill 規約」「SKILL.md の書き方」のような自然言語でも起動。
191 other projects use a version of this.
Adopted by
Most recently taken up by
- AtilaMedeiros/skillstheir own version, first seen Nov 16, 2026
- Floppa2003/skillstheir own version, first seen Nov 16, 2026
- dragoshont/architravetheir own version, first seen Nov 16, 2026
- rundesk-ai/skillstheir own version, first seen Nov 15, 2026
- draekien/skillstheir own version, first seen Nov 15, 2026
- mintunitish/tandemtheir own version, first seen Nov 15, 2026
Used with
Projects with it also use chinese-code-review, chinese-commit-conventions and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
Leodorareluctant259Skillchinese-code-review
中文代码审查规范——在保持专业严谨的同时,用符合国内团队文化的方式给出有效反馈
Also in 8 projects that use this
Leodorareluctant259Skillchinese-commit-conventions
中文 Git 提交规范 — 适配国内团队的 commit message 规范和 changelog 自动化
Also in 8 projects that use this
obraSkilldiagnosing-superpowers
Use when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.
Also in 20 projects that use this
kntismSkillcondition-based-waiting
Use when tests have race conditions, timing dependencies, or inconsistent pass/fail behavior - replaces arbitrary timeouts with condition polling to wait for actual state changes, eliminating flaky tests from timing guesses
Also in 3 projects that use this
aaddrickSkillwriting-agents
Use when creating new agents, editing existing agents, or defining specialized subagent roles for the Task tool
Also in 3 projects that use this
frankxaiSkilldefense-in-depth
Use when invalid data causes failures deep in execution, requiring validation at multiple system layers - validates at every layer data passes through to make bugs structurally impossible
Also in 3 projects that use this
- +3 more from Leodorareluctant259
Other versions191 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 191
- obra/superpowers★ 314ksame name
- PostHog/posthog★ 41ksame name
- jnMetaCode/superpowers-zh★ 8.5ksame name
- openai/plugins★ 7.8ksame name
- farm-fe/farm★ 5.6ksame name
- compozy/compozy★ 2.9ksame name
- crbnos/carbon★ 2.8ksame name
- lingyired/status-trio★ 1.8ksame name
- GanyuanRan/Aegis★ 1.4ksame name
- pcvelz/superpowers★ 1.3ksame name
181 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository27 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- add-hookSkill
- affected-area-testingSkill
- commit-workflowSkill
- create-issueSkill
- create-manualSkill
- create-prSkill
- debug-bar-investigationSkill
- documentation-standardsSkill
- edit-issueSkill
- handoffSkill
- large-feature-executionSkill
- livewire-v3-syntaxSkill
- parallel-setupSkill
- pdf-readSkill
- pdfSkill
- playwright-error-detectionSkill
- pre-implementation-researchSkill
- questionnaireSkill
- resolve-issueSkill
- review-permissionsSkill
- review-prSkill
- route-managementSkill
- systematic-debuggingSkill
- tailwind-enforcementSkill
- tddSkill
- ui-approvalSkill
The file
Files
skill の書き方(SKILL.md 作成規約)
add-hook が hook 追加を型化するのと同様に、skill 作成を型化する。既存 skill 群に
暗黙的に共有されている規約を明文化し、frontmatter 不備で auto-load されない・トリガー文が
弱くて起動しない、といった事故を防ぐ。
最重要原則: description は「説明」ではなく「auto-load トリガー仕様」
skill は frontmatter の description を手がかりに auto-load される。description は読み物の
説明文ではなく、いつこの skill を起動すべきかの判定条件として書く。トリガー語が弱いと、
必要な場面で起動しない(= 存在しないのと同じ)。
手順
1. 配置する
- すべての skill は
skills/global/<name>/SKILL.mdに置く(<name>は frontmatter のnameと一致)。 - スタック非依存で常用するものか、特定スタック前提(例: 特定言語・フレームワーク前提)かは、本文の前提記述と 後述の README 登録先テーブルで区別する(ディレクトリは分けない)。
2. frontmatter を書く
---
name: <kebab-case の skill 名> # ディレクトリ名と一致させる
description: |
<いつ起動すべきかの状況・症状を具体的に>。
「<トリガー語1>」「<トリガー語2>」「<トリガー語3>」のような自然言語でも起動。
---name: kebab-case。ディレクトリ名と一致させる。description: 起動条件を具体的に + 「『…』『…』のような自然言語でも起動」形式で トリガー語を複数列挙。否定文や冗長な説明はトリガー精度を下げるので本文に回す。
3. 本文を書く(構成)
既存 skill が共通して持つ流れに沿う:
- 目的(なぜこの skill があるか / 防ぎたい失敗)。
- 制約・絶対ルール(あれば。「短縮禁止」のように、判断を主観でなく客観条件で固定する)。
- 手順(番号付き。分岐は「機械的に判定できる条件」で書き、読み手の解釈に委ねない)。
- 注意事項(副作用、前後の skill との関係、棲み分け)。
- 既存 skill・組み込み skill への参照は実在するものだけにする(dead link を作らない)。
特に公開テンプレートでは、リポに無い skill 名を「接続先」として書かない。
参照の書き方は「配布先で必ず在るか」で 2 分する:
- 同梱・中立なもの(常に一緒に配布される skill 等)→ 直接参照する。
- 任意配布・opt-in なもの(特定スタック前提で opt-out されうる skill や、 ADR 等のリポ単位で opt-in する運用)→「配布先にあれば」guard を付ける。
4. 登録する
- README: スタック非依存なら「フレームワーク非依存」テーブル、特定スタック前提なら 「特定スタック前提」テーブルに 1 行追記する。
- settings.json: 必要なら
permissions.allowにSkill(<name>)を追記する (skill 実行時の確認を省く allowlist。auto-load 自体は frontmatter で完結する)。
5. 検証する
- frontmatter が妥当な YAML か(
name/description)。 - description が起動条件として機能するトリガー文か(単なる説明になっていないか)。
- 本文の参照先 skill / パスが実在するか(dead link が無いか)。
- README / settings.json への登録漏れが無いか。
- 新しい規約・方針の追加(仕様判断)にあたるなら、配布先に ADR 運用があれば
documentation-standardsの ADR 規約に従って ADR を起票する。
注意事項
- skill は「字面の遵守=精神の遵守」になるように書く。手順を機械的になぞれば意図が満たされる 状態を目指し、解釈の余地で結果がぶれないようにする。
- 既存 skill と役割が重なるなら、棲み分け(どちらをいつ使うか)を本文に明記する。
- hook を伴う skill(特定コマンドを skill へ誘導したい等)は
add-hookも併せて使う。
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

