Logo vun Speq Adr Rules

Speq Adr Rules

Communautéit
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.

Iwwersiicht

Editeurmarconae
Repositoryspeq-skill
Skill-Nummspeq-adr-rules
Stären
54
Forks
10
Matgeliwwert Fichieren
Nëmmen Instruktiounen
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    Vum marconae op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Speq Adr Rules an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/marconae/speq-skill/tree/main/.claude/skills/speq-adr-rules
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

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
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Speq Adr Rules an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Speq Adr Rules automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Speq Adr Rules net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

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

Heefeg gestallte Froen

Wat mécht de KI-Skill 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.

Firwat Speq Adr Rules op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Speq Adr Rules besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Speq Adr Rules an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/marconae/speq-skill/tree/main/.claude/skills/speq-adr-rules an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Speq Adr Rules benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Speq Adr Rules benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Speq Adr Rules domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Speq Adr Rules gratis?

Jo. De Skill gëtt vum marconae ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇