atlas-ledger
できること
このツールは、プロジェクトで同じミスが再び起きないようにするためのルールを作成します。検出されたエラーを「clause(条項)」と呼ばれる明確な指示に変換し、今後のプロジェクトで同じミスを防げるようにします。
使う場面
- ✓プロジェクトのレビュー中に重大なエラーが自動で検出されたとき。
- ✓ユーザーがプロジェクトの結果に誤りや不足があると指摘したとき。
- ✓ユーザーがエラーを記録して再発を防ぐよう明示的に依頼したとき。
スキルのリンク
https://github.com/sickn33/agentic-awesome-skills/blob/main/skills/atlas-ledger/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“この失敗を記録して、今後起きないようにしてください。在庫が少ないときに警告を出すべきなのに、一般的なメッセージしか表示されませんでした。”
毎週5つの新しいスキル。1分で読めます。
仕組み
ツールは発生したエラーを分析し、客観的な事実として記述します。その後、「WHEN(この状況になったとき)、(これをせず)、代わりに(別の対応をする)」という形式のルールを作成します。このルールは今後のプロジェクトで使うために保存されます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Atlas Ledger v2.2
Give the Atlas series a memory.
Contents
- Output Language
- When To Run
- Distillation (the core) — Steps 1–6
- Atlas.md format
- Clause maintenance
- Integration with atlas-contract
- Final Principle
Quick reference
caught drift (auto handoff from Final Audit / Post Review / Phase Check / user request)
→ Step 1 state facts, not motive
→ Step 2 draft WHEN / DON'T / INSTEAD
→ Step 3 four gates: Actionability → Replay → Generalization → Over-reach
→ Step 4 first occurrence = Observation [O#]; repeat or high-severity = Clause [L#]
→ Step 5 propose, ATLAS_STOP, write only after user confirms
→ Step 6 merge-first into Atlas.md; confirmed clauses ≤ 15
atlas-contract defends the goal within one conversation, but it starts from zero every time — it does not know where this project drifted before. atlas-ledger closes that gap: when a drift is caught, it distills the lesson into a permanent, project-local contract clause and (after the user confirms) writes it to Atlas.md. Next time atlas-contract builds a Goal Contract, it loads the relevant clauses, so the defense line thickens with each catch. That is the compounding effect.
It is a low-frequency, lightweight companion. It runs only after a drift is caught, and it stays small on purpose. Do not turn it into a second heavy governance skill — its only hard job is distillation quality.
Core idea
The job is not to keep a diary. A record of "what went wrong" is a memory; it changes nothing. The job is a translation:
turn this caught drift → into a clause that can enter a future contract and trigger a stop.
A diary says "I hid the feature." A ledger clause says "WHEN a backend requirement is blocked, DON'T hide the feature, INSTEAD stop and disclose." Only the second one catches it next time. The entire value of this skill is the quality of that translation — and since it is run by the same model that drifted, the mechanisms below exist to keep it honest rather than trusting it to be careful.
1. Output Language
Write Atlas.md and all user-facing output in the language of the user's current instruction.
Machine keys stay in English; clause content is localized. Never translate the keys WHEN / DON'T / INSTEAD, the IDs (L1, O1), seen, severity, Source, RETIRED, or section headers Confirmed Clauses / Provisional Observations — atlas-contract parses these, and translating them makes the read-back unstable. The text after each key is written in the user's language. (E.g. WHEN: 硬性 Must-Do 的后端部分受阻 — key English, content Chinese. Do not write 当: ....)
Every process label this skill emits to the user must also be localized (these are not machine keys — they are headings shown to the user, like the four gate names or the candidate-clause header). Only the fixed machine keys above stay English.
Chinese label mapping (process labels — localize these):
Atlas Event→Atlas 事件;Event ID→事件编号;Type→类型;Trigger Source→触发来源;Phase→阶段;Stop Status→停止状态Candidate Clause/Suggested Clause→候选条款;Proposal→提案;awaiting confirmation→等待确认Four acceptance gates→四道闸自检;Actionability→可执行性;Replay→回放;Generalization→泛化;Over-reach→误伤;Pass→通过;Fail→失败confirmed on first occurrence→首次出现即确认;merged→已合并;retired→已退休;review: stale→待复核:可能失效
Pre-output localization self-check: Before sending any user-facing output, scan for untranslated English process labels (e.g. "Suggested Clause", "Actionability"). If any are found, translate them before sending. Do not translate the fixed machine keys (WHEN/DON'T/INSTEAD/IDs/severity/Source/seen/Confirmed Clauses/Provisional Observations) — those stay English even in a Chinese response.
When to Use
2. When To Run
Run distillation only when a drift has been caught. Triggers, in order of how they usually arrive:
…
よくある質問
「clause(条項)」とは何ですか?
特定の状況でエラーを避けるために、何をすべきか、何をしてはいけないかを示す短く明確な指示、つまりルールのことです。例えば「在庫が少ないときは、メッセージを隠さず、はっきりした警告を表示する」といった内容です。
これらのルールはどこに保存されますか?
確定したルールは、プロジェクトの記憶の役割を果たす Atlas.md というファイルに保存されます。これにより、ミスから得た教訓が今後の作業にも反映されます。
どんな種類の問題でも記録できますか?
いいえ。記録できるのは、検出された「drift(逸脱)」やエラーだけです。意見、スタイルの好み、一般的な感想は対象外です。ルールとして形にできる問題に焦点を当てています。
詳細
作者による元の説明
Companion to atlas-contract. Auto-invoked by its Final Audit on caught drift; also use after Post Reviews or user requests to record a mistake. Distills drift into WHEN/DON'T/INSTEAD clauses, writes to Atlas.md after confirmation.
人気
- GitHubのスター
- 48k
- ランキング
- #6254
- ライセンス
- MIT
- 更新日
- 2026/10/15
コメント
- …
このリポジトリの他のスキル
00-andruia-consultant
48kエージェントがAIプロジェクトの立ち上げや改善を支援します。コードを分析し、ツールを提案し、スペイン語で行動計画を作成します。
007
48kエージェントがセキュリティ監査と脅威モデリングを行えるようにします。攻撃や脆弱性からプロジェクトを守るのに役立ちます。
10-andruia-skill-smith
48kエージェントがAIツールの作成や改善を支援します。ツールの動作を定義し、ドキュメントを書き、構造を検証します。
20-andruia-niche-intelligence
48kエージェントが特定の業界に関する要約を作成できるようにします。信頼できる情報源を使って、プロジェクトの背景、ルール、利用パターン、リスクを把握するのに役立ちます。
似ているスキル
test-driven-development
311k機能や修正を作る前に、まず失敗するテストを書き、それが失敗するのを確認してから、合格させる最小のコードを書くようエージェントに教えます。
verification-before-completion
311kタスク、修正、ビルドが完了した、または合格したと主張する前に、実際のチェックを実行し、その出力を読むようエージェントに教えます。
migrate-to-shoehorn
310kテストファイル内の危険な型キャストを、shoehornライブラリに置き換え、テストが部分的なデータを使いつつ型チェックを通るようにします。