Логотип Speq Adr Rules

Speq Adr Rules

Сообщество
marconae
speq-adr-rules

When a decision becomes an ADR: the default is no, only durable decisions qualify, search first, one decision per ADR. Use inside a /speq-plan, /speq-record, or /speq-audit run.

Обзор

Издательmarconae
Репозиторийspeq-skill
Название навыкаspeq-adr-rules
Звёзды
54
Форки
10
Файлы в комплекте
Только инструкции
ЛицензияMIT
Ссылки
  • Инструкции в формате Markdown

    Модель загружает файл SKILL.md по мере необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой большой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Всё необходимое — в инструкциях

    Всё необходимое для модели содержится в инструкциях — никаких дополнительных файлов для синхронизации.

  • Открытый исходный код

    Издатель навыка на GitHub — marconae. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Speq Adr Rules в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/marconae/speq-skill/tree/main/.claude/skills/speq-adr-rules
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/marconae/speq-skill.git /tmp/speq-skill
mkdir -p .claude/skills
cp -r /tmp/speq-skill/.claude/skills/speq-adr-rules .claude/skills/speq-adr-rules
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Speq Adr Rules в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Speq Adr Rules, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Speq Adr Rules не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими ключами API.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

ADR Rules

An ADR is a rare record of a durable decision. Most plans produce none. This skill is the single owner of the rules. Other skills and agents cite it and do not restate it.

1. Default No

  • The expected number of Promotes to ADR: yes entries per plan is zero.
  • Set yes only when a criterion in rule 2 applies and you can name it.
  • Two or more yes entries in one plan get re-judged. Re-read each one against rule 2 and rule 3 before you keep it.
  • A plan with many Design Decisions entries or many resolved review findings does not owe an ADR for each. Most decisions are local and stay no.

2. Criteria for Yes

A decision qualifies only when at least one of these holds:

  • It affects multiple components.
  • It sets a long-lived constraint that binds future work.
  • It is a major technology, API, persistence, security, or deployment choice.
  • It rejects a plausible alternative, and the reason will matter to a later reader.

The entry's Rationale names the criterion that applies and states the result of the search in rule 5.

3. Never an ADR

  • Naming, file placement, and folder layout.
  • A one-off bug fix.
  • A scope trim or a task ordering choice.
  • Implementation detail: function signatures, file paths, flags, data layout inside one module.
  • A workaround specific to one plan's own mechanics, such as a spec-merge gap or a review-loop correction.
  • A corollary of another decision. Record it as a bullet in the parent entry's Consequences line.
  • A statement that already lives in a feature spec scenario.

4. Where It Goes Instead

ContentDestination
Conventions that bind contributors or agentsCLAUDE.md, AGENTS.md, a .speq/*-hook.md file, or specs/mission.md Constraints
WHAT the system is: components and boundariesspecs/architecture.md, changed through an architecture delta
HOW this plan builds itA phrase in the plan.md task line. Only a choice with a rejected alternative gets a decision-log.md ## Design Decisions entry with Promotes to ADR: no
Execution stepsplan.md ## Implementation Tasks

An ADR records why. specs/architecture.md records what is.

To change an existing ADR, write a new ADR with Supersedes: <slug>. Do not edit the old fragment.

5. Search First

Before you set yes, read the ADR digest (/speq-cli) and any fragment that matches the decision. If an ADR already covers the decision, do not promote a duplicate. Either set no, or supersede that ADR when the decision has changed. State the search result in Rationale.

Every plan reads the accepted ADRs before it records design decisions. A plan whose decision, spec delta, or architecture delta contradicts an accepted ADR either conforms to it or supersedes it through a decision-log entry with Supersedes: <slug> and Promotes to ADR: yes. A silent contradiction is a defect.

6. One Decision, No Detail

  • One ADR records one decision.
  • Decision states the choice in plain words. It holds no function signatures, file paths, or flags.
  • An ADR names a library but never pins its version. A version number lives in the manifest or lockfile. The Decision states the policy instead, for example "use the registry release, not a git tag".
  • If the Decision needs a list of paths, signatures, or version numbers to make sense, the content is implementation detail. Move it to the plan.md task line, or to a decision-log.md ## Design Decisions entry with Promotes to ADR: no if it has a rejected alternative.

7. Shape

An ADR has four short sections: Context, Decision, Options Considered, Consequences.

  • Options Considered appears only when a real alternative was rejected.
  • Consequences appears only when the entry carries a Consequences line.
  • Each section is a few sentences. A section that needs a page is more than one decision or holds implementation detail.

7a. Minimum Text, No History

An ADR holds the least text that states the decision. Follow /speq-writing-guardrails.

  • State the current fact in the present tense. Do not narrate how the decision was reached: no earlier attempts, review rounds, plan names, dates, or "was changed from".
  • Context is one or two sentences: the situation that forces the decision.
  • Decision is one to three sentences.
  • An Options Considered row is one line: the option and the reason it lost.
  • Consequences are short bullets that name what becomes easier or harder.
  • Do not copy a decision-log entry's Rationale or Alternatives prose into the ADR. Keep only what a later reader needs to understand why.
  • Remove a sentence that a reader could drop without losing the decision or its reason.

8. Status Lifecycle

  • An ADR is proposed at plan time. A Promotes to ADR: yes entry that passes rules 1 to 5 is the proposal. The plan skill prints it as an ADR candidate.
  • Recording the plan is the acceptance. recorder-agent writes Status: Accepted when /speq-record runs.
  • To reject a proposal, change the entry to Promotes to ADR: no and run the plan skill again before you record. In a PR run, comment on the draft PR and run /speq-plan-pr again with the PR number.
  • Deprecated and Superseded by <slug> follow the existing rules.

9. Vocabulary

TermMeaning
ADRA permanent record in specs/_decision/ of one durable decision
Plan contextThe ## Context part of plan.md: a bullet list of the problem and the forces behind one plan's change. It holds no decisions and is not an ADR
Decision-log entryA note in a plan's decision-log.md. Only an entry marked Promotes to ADR: yes can become an ADR
ADR candidateA decision-log entry marked Promotes to ADR: yes. It is the proposal, shown when the plan is ready
AcceptedAn ADR written by /speq-record. Recording the plan is the acceptance

Часто задаваемые вопросы

Что делает навык ИИ Speq Adr Rules?

When a decision becomes an ADR: the default is no, only durable decisions qualify, search first, one decision per ADR. Use inside a /speq-plan, /speq-record, or /speq-audit run.

Зачем использовать Speq Adr Rules в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Speq Adr Rules — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Speq Adr Rules в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/marconae/speq-skill/tree/main/.claude/skills/speq-adr-rules. TypingMind прочитает файл SKILL.md и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Speq Adr Rules?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Speq Adr Rules?

С любым количеством. В TypingMind вы можете использовать Speq Adr Rules с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Speq Adr Rules?

Да. Навык опубликован на GitHub по лицензии MIT. Издатель — marconae. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇