AI студия Владимира Ломтева
УСЛУГИПРОЕКТЫСТАТЬИБАЗА ЗНАНИЙМаркетплейсПолезные сервисы

Оставьте заявку,
чтобы обсудить проект

Напишите ваш вопрос, не забудьте указать телефон. Мы перезвоним и все расскажем.

Контакты

Москва

Работаем по всей России
и миру (онлайн)

+7 (999) 760-24-41

Ежедневно с 9:00 до 21:00

lamooof@gmail.com

По вопросам сотрудничества

TelegramWhatsApp

Есть предложение?

Напишите нам в мессенджеры

© 2025 AI студия Владимира Ломтева

Политика конфиденциальностиСогласие на обработку ПДн|ИНН 623412173261

    Decision Records

    Draft, promote, archive, and supersede ADR style decision records (types are open: architecture, product, security, policy, legal, …) and keep INDEX.md and cross links generated, via the bundled scripts/decisions.py tool. Use when creating or promoting decision drafts, superseding or archiving a decision, fixing a promotion breach, or running build, check, promote, rename draft id, or install.

    Скиллы для разработки#GitHub#skymavis/skills#skills.sh
    Скачивания
    0
    В избранном
    0
    Комментарии
    0
    Просмотры
    2

    Установить скилл

    Добавьте инструмент одной командой или скачайте проверенный архив версии.

    npx skills add skymavis/skills --skill decision-records
    Скачать ZIP
    Версия
    1.0.0+cb4950155fb7
    Автор
    Владимир Ломтев
    Репозиторий
    skymavis/skills
    GitHub: skymavis/skills

    Как установить

    1. 1Скопируйте команду из блока установки.
    2. 2Запустите её в терминале из каталога проекта.

    Документация

    Decision records

    This skill owns the registry tool decisions.py, symlinked into the repo at scripts/decisions.py (run decisions.py install to set up the symlink + a CI check). The tool finds the repo's docs/ by walking up from the CWD, so run it from anywhere in the repo:

    python scripts/decisions.py build [--relink]            # regenerate INDEX.md (+ refresh links)
    python scripts/decisions.py check                       # validate (CI-safe; exit 1 if stale)
    python scripts/decisions.py promote <name…> [--deref] [--allow-replace]   # draft(s) -> accepted/
    python scripts/decisions.py rename-draft-id <name> <NEW>                  # re-ID a draft
    python scripts/decisions.py install [repo]              # adopt in a repo: symlink + pre-commit
    

    Layout

    Everything the convention owns lives under docs/decisions/:

    docs/
      decisions/              # the convention's namespace (the umbrella)
        INDEX.md              # GENERATED registry over accepted/ + archived/
        README.md             # human guide to the convention (scaffolded by install)
        AGENTS.md             # agent rules: decisions are binding here (scaffolded by install)
        accepted/<type>/      # ACCEPTED numbered records; <type> = any lowercase slug you define
        archived/             # RETIRED records (superseded | deprecated) — flat
        drafts/               # WIP candidates — flat, 4-UPPERCASE-letter IDs, NOT in INDEX
      threat-model.md         # other repo docs stay siblings — still cross-reference decisions
    
    Stage Dir ID Status
    candidate (WIP) drafts/ 4 UPPERCASE letters, mnemonic (CONF) draft
    decision accepted/<type>/ global counter (0001…) accepted
    retired archived/ (keeps its counter) superseded / deprecated

    Types are open — <type> is any lowercase slug, and your accepted/<type>/ subdirs are the set (software: architecture, product, security; governance: policy, legal, finance, people, compliance, operations). A new type's directory is created on promotion. The tool enforces that a decision sits in the subdir matching its type — not a fixed list.

    There is no proposed status — "proposing" is the act of opening a PR that promotes a draft. Mint a draft ID yourself (a mnemonic of the topic); check enforces format + uniqueness. Cross-reference by writing the bare ID as inline code — `0006` (decision) or `CONF` (draft); never hand-author a path — build --relink generates and self-heals every link across every docs/*.md (records, drafts, and other docs like threat-model.md).

    A collision with origin/main is warned about, not gated. Uniqueness is checked against one tree, so two branches can each mint 0044 and both stay green until they meet. check therefore also reads the origin/main already on disk and prints a WARN line when an ID there names a different file, along with the next free counter. It never fetches, never fails the run, and says nothing at all when that ref is not present — a fresh clone or an offline machine is not a finding.

    promote mints past what origin/main holds. Minting is the other side of that: it is a write — the record is renamed, its H1 rewritten and every inbound link repathed — so promote reads the ref rather than reporting on it afterwards, and prints which counters it stepped over. The hole that leaves is not a gap: check reads a counter origin/main holds as held rather than missing, and the rebase closes the sequence. A number neither tree has still fails, and with no ref on disk both behave exactly as they did before.

    Promoting drafts

    Promotion requires explicit human sign-off. Promoting is a finalizing, semi-irreversible act (accepted records are held firm — changing course requires supersession, never a rewrite; decider-approved maintenance edits such as clarity, staleness, and cross-record consistency are allowed). Author, edit, and validate drafts freely; but never run promote — or its downstream steps (replacing naming placeholders, resolving threads, regenerating INDEX.md) — without the user's explicit go-ahead in the current turn. Don't infer approval from an adjacent choice (a scope answer, a cleared checklist); when unsure, ask.

    An accepted decision may never reference a draft. promote enforces this: it refuses a set that would breach and prints exactly how to fix it (co-promote, --deref, or --allow-replace) with a copy-paste prompt. Before any promotion the tool refuses — or any supersession — read references/promotion.md for the mechanics.

    Promotion changes a record's ID and its directory, and promote carries both through the tree: the H1, every relative link (one level deeper now), the mnemonic in prose, and any spelled-out path to the draft file. It stops at docs/, and it never edits code — a 4-letter mnemonic also reads as an identifier. Mentions outside docs/ are listed after the run for you to work through by hand; leave any identifier that merely shares the name. mdformat reflows the rewritten paragraphs on commit.

    Adopting this in a repo

    Run this skill's decisions.py install [repo] from the target repo. (repo defaults to the current dir; install sets up there — it does not search upward.) It is idempotent: it fills in only what's missing and regenerates INDEX.md. What it does:

    • Symlinks <repo>/scripts/decisions.py to this skill's copy, and gitignores that path (creating .gitignore if absent) — the symlink is machine-specific, so each clone recreates it with install rather than committing it.
    • Scaffolds docs/decisions/: accepted/, archived/, drafts/, the two record templates, a human README.md, and an agent-facing AGENTS.md.
    • Generates INDEX.md (a build artifact, not a starter).
    • Wires the root entry points — when the repo has no root README.md or AGENTS.md (a fresh or empty repo), creates each as a placeholder linking the scaffold so people and agents discover it. An existing file is left untouched (see below).
    • In a git repo, adds a pre-commit hook running decisions.py check; run that same command in CI.

    If the repo already has these entry points, install leaves them alone — wire the scaffold in yourself so people and agents discover it:

    • Link the scaffolded docs/decisions/README.md from the repo's contributor-facing docs — CONTRIBUTING.md, or the README.md only if it addresses contributors (skip a user-facing README) — and point contributors at docs/decisions/INDEX.md to browse the accepted decisions.
    • In the repo's root AGENTS.md/CLAUDE.md, link docs/decisions/AGENTS.md so agents pick up that decisions are binding here.

    Keep each link to a one-line note on what it is.

    Требования и возможности

    Источник пакета
    https://github.com/skymavis/skills/tree/cb4950155fb7178c3bca66c5eabf741b979c0cbe/skills/decision-records

    Файлы версии

    ПутьРазмерSHA256
    SKILL.md7651708d1d0b8002bce3...
    references/promotion.md47322f52f55fc906608b...
    requirements-dev.txt1403b63ba1296e7f0f2...
    scripts/decisions.py69906affaeceb824663fd...
    templates/AGENTS.md221797f55de17c7462c4...

    Частые вопросы

    Как установить Decision Records?
    Используйте команду npx skills add skymavis/skills --skill decision-records или скачайте ZIP-архив.
    Можно ли скачать Decision Records бесплатно?
    Да, опубликованную версию можно скачать из маркетплейса бесплатно.

    Похожие инструменты

    Смотреть все
    React DoctorUse when finishing a feature, fixing a bug, before committing React code, or when the user types `/doctor`, asks to scan, triage, or clean up React diagnostics. Covers lint, accessibility, bundle size, architecture. Includes a regression check and a full local-triage workflow that fetches the canonical playbook.Argent Android Emulator SetupSet up and connect to an Android emulator using argent MCP tools. Use when starting a new session on Android, booting an emulator, getting a device serial, or before any UI interaction task.Fireworks Tech GraphCreate technical diagrams such as software architecture, data flow, flowcharts, sequence diagrams, C4 reviews, cloud deployments, event streams, observability investigations, agent/memory systems, UML, ER, network topology, timelines, and technical concept maps, then export SVG, PNG, focused semantic SVG-to-GIF motion, or offline interactive HTML. Treat direct requests such as "Generate a GIF", "生成 GIF", or "制作 GIF" as motion requests, and use this skill when the user asks to visualize a system or engineering concept. Do not use for photos, raster artwork, or quantitative data charts.
    Комментарии

    Войдите, чтобы оставить комментарий.

    Комментариев пока нет.

    Установить скилл

    Добавьте инструмент одной командой или скачайте проверенный архив версии.

    npx skills add skymavis/skills --skill decision-records
    Скачать ZIP
    Версия
    1.0.0+cb4950155fb7
    Автор
    Владимир Ломтев
    Репозиторий
    skymavis/skills
    GitHub: skymavis/skills
    Modern Web GuidanceSearch tool for modern web development best practices. MANDATORY: Execute FIRST for all HTML/CSS and clientside JS tasks. Do NOT skip — web APIs evolve rapidly and training weights contain obsolete patterns.
    Decision Records — Скилл для ИИ-агентов | AI Рассвет