Логотип Self Governance

Self Governance

Спільнота
davisjam
self-governance

Apply MAGE to your own engineering work — the capstone mastery-skill of the method. Recognize the engineering situation, decide what to model and what to make authoritative, choose an engineering move, invoke a capability, act through the governed engineering environment, weigh the evidence, and convert durable lessons into engineering capital. This is the routing layer: it names the eight questions an engineering agent faces and sends each to the facet that owns it (model repertoire, engineering moves, situation recognition, judgment, system model-access, capability selection, alignment mechanisms, governance conversion). Two standing procedures live under it: AUDIT (survey a repo for missing guardrails and propose a prioritized adopt/adapt/skip plan) and INTERPRET-FAILURE (a failure just recurred — classify the class and convert it into a durable control: a constraint, sensor, validator, or gate). Use at DESIGN time — reviewing a new subsystem, state machine, queue, cross-service seam, or data model; or introducing concurrency, a trust boundary, an irreversible operation, or duplicated state/logic — to catch predictive smells whose failure class can be prevented by construction. Use when hardening an agent-collaborative codebase, reducing recurring agent-caused regressions, setting up guardrails / lints / gates / typed seams, reviewing governance posture, or when a failure class just recurred and should be prevented structurally, not only patched.

Огляд

Видавецьdavisjam
Репозиторійmodel-based-agentic-software-engineering
Назва навичкиself-governance
Зірки
27
Форки
1
Файли в пакеті
88
ЛіцензіяMIT
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Файлів у комплекті: 88

    Скрипти, шаблони й довідкові матеріали, які модель може читати під час роботи. Файли доступні лише для читання й ніколи не виконуються.

  • Відкритий вихідний код

    Видавець на GitHub: davisjam. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Self Governance у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/davisjam/model-based-agentic-software-engineering/tree/main/plugin/mage/skills/self-governance
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/davisjam/model-based-agentic-software-engineering.git /tmp/model-based-agentic-software-engineering
mkdir -p .claude/skills
cp -r /tmp/model-based-agentic-software-engineering/plugin/mage/skills/self-governance .claude/skills/self-governance
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Self Governance в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Self Governance, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Self Governance не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

Self-Governance

This skill applies MAGE to the agent's own engineering work. It carries the modeling repertoire, the engineering moves, the Alignment mechanisms, and the judgment to choose among them — and it composes model providers and other skills to act. It is a router, not a manual: each facet below owns one question, and this file sends you to the right one.

The engineering loop

Everything here supports one loop. Run it whenever you engineer.

       recognize the situation
                 |
         what do I need to know?
          /                    \
     MODEL                    ALIGN
   what is missing?        what must hold?
          \                    /
           choose an engineering move
                 |
           choose a capability
                 |
            act through the GEE
                 |
             weigh the evidence
          /                    \
     success                 failure
        |                        |
     continue                 diagnose
                                 |
                          durable lesson?
                           /          \
                          no          yes
                          |            |
                        repair     capitalize

MODEL and ALIGN are the two — and only two — MAGE activities. Modeling makes engineering knowledge explicit; Alignment gives that knowledge authority. Self-Governance is not a third activity beside them; it is the discipline of applying both to your own work.

When failure means a generate-evaluate loop is not converging rather than a single action was wrong, practice/judgment.md ("When search stalls") diagnoses which ingredient — searcher, model, oracle, or target — is missing before you add more of anything.

What this skill establishes

  • Self-Governance applies MAGE to the work. It is the method turned on the agent's own engineering, not a separate practice.
  • Modeling and Alignment remain the two activities. Self-Governance is not a third one.
  • The skill knows the method; model providers know the system. Concrete system truth — what this codebase intends, contains, and guarantees — arrives through providers, never from memory. See system/model-access.md.
  • Specialized capabilities come through other skills. Self-Governance chooses the move; a specialized skill executes it. See skills/repertoire.md.
  • Consequential action stays bounded by the GEE. Self-Governance supplies judgment; the governed engineering environment supplies authority. A move becomes consequential only through that environment — never by the skill asserting its own output is safe.
  • Self-Governance is not Self-Operate. This skill engineers and improves the environment; it does not run operational lifecycles. When the task is to execute or recover one, cross the boundary to the operate skill.
  • Self-Governance is not self-certification. The agent may learn to govern its work; it does not thereby become the authority that certifies that work. Guardrails are proposed and scaffolded, then handed to a human or the harness — never claimed as enforced when only recommended.

Routing table

Name the question you face; go to the facet that owns it. Consult one; it points onward.

QuestionConsult
What situation am I in?practice/situations.md
What kind of model could help?modeling/repertoire.md
How should the representation improve?modeling/moves.md
Which move is warranted among alternatives?practice/judgment.md
What is true of this system?system/model-access.md
What capability performs the move?skills/repertoire.md
How should intent acquire authority?alignment/repertoire.md
What should persist from this event?learning/governance-conversion.md
How do I execute an operational lifecycle?the self-operate skill (you have crossed this skill's boundary)

The last row matters as much as the rest. Self-Governance must recognize when a task is operating the environment rather than engineering it, and hand off. A meaningful operational observation that comes back the other way — a recurring or structural weakness surfaced while operating — re-enters the loop here as a fresh engineering cycle.

Ambient stance

Read principles.md — the portable engineering principles this skill operates by (the generated mirror of the Davis AI-First Engineering Method). It is the standing stance while this skill is loaded: verify rather than trust stale claims, name shapes in types, surface load-bearing calls instead of swallowing them, right-size every fix, and care with irreversible operations. Do not restate it here; the facets cite the specific reflex each relies on.

The two standing procedures

Both live in learning/governance-conversion.md — they are how the loop's capitalize branch runs in practice:

  • AUDIT — survey a repo for missing guardrails and propose a prioritized adopt / adapt / skip plan. Its design-time trait scan is situation-recognition; consult practice/situations.md for the smell catalogue.
  • INTERPRET-FAILURE — a failure recurred; classify the class and convert it into a durable control (constraint / sensor / validator / gate), following alignment/repertoire.md.

Notes

  • Partner skills — three lenses on one environment. Self-Governance engineers the environment; self-operate runs its operational lifecycles and returns evidence when reality exposes a deficiency; self-communicate supplies the craft for the representations both produce. They are orthogonal, not isolated. Each is recorded as a capability in skills/repertoire.md — consult it for when to invoke which.
  • Beware the tower of governance. The primary failure mode of this skill is minting mechanisms faster than they earn their keep. Default to skip; proportion governance to the operation. The tradeoff belongs to practice/judgment.md — a mechanism you cannot attach to a real, recurring failure is one the repo does not need, even when the user asks for more.

Local adapter (plug points)

This skill is installed from its upstream source and refreshed in place (bundle_skill.py --install / --refresh). A refresh overwrites every upstream file, so put your local additions where the refresh never looks. Two adopter-owned surfaces, disjoint from the upstream set by naming alone:

  • File overlays — for a listed upstream file, create the named *.local.md sibling. The agent reads it as an APPEND after the upstream file. There is no override mode — replacing an upstream file wholesale is a fork, out of scope for the adapter. Declared overlays:
    • principles.md → principles.local.md — your house operating principles, appended to the portable method.
  • Directory drop-in — any file you place under local/ is adopter-owned: the agent reads it on the topic it names, and upstream never ships into local/. Use it for a standalone house note this skill does not already carry.

A refresh never reads, writes, or deletes a *.local.md file or anything under local/, so your local tinkering survives every upstream update untouched.

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

Додаткових файлів: 28.

Поширені запитання

Що робить навичка ШІ Self Governance?

Apply MAGE to your own engineering work — the capstone mastery-skill of the method. Recognize the engineering situation, decide what to model and what to make authoritative, choose an engineering move, invoke a capability, act through the governed engineering environment, weigh the evidence, and convert durable lessons into engineering capital. This is the routing layer: it names the eight questions an engineering agent faces and sends each to the facet that owns it (model repertoire, engineering moves, situation recognition, judgment, system model-access, capability selection, alignment me...

Навіщо використовувати Self Governance у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Self Governance — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Self Governance у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/davisjam/model-based-agentic-software-engineering/tree/main/plugin/mage/skills/self-governance. TypingMind прочитає файл SKILL.md, додасть супровідні файли та встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Self Governance?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Self Governance?

Зі скількома забажаєте. У TypingMind ви можете використовувати Self Governance із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Self Governance?

Так. На GitHub цю навичку публікує davisjam за ліцензією MIT. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇