Logo: Infrastructure Fit

Infrastructure Fit

Organisatioun
l-gevity
infrastructure-fit

Chooses a system's infrastructure foundation from a requirements-derived fit profile, and re-checks at any later point whether the foundation in use still fits. Use when choosing or inheriting a datastore, identity provider, compute or hosting model, region, or tenancy model; when a template or starter ships infrastructure defaults; when a requirement, scale estimate, or compliance obligation changes; when workarounds against a platform accumulate; before the first real data enters an environment; or for a periodic fit review. Do not use for build-or-buy of one capability, vendor advisories or end-of-life dates, migration staging, or pipeline design; hand those to bring-down, dependency-lifecycle, evolutionary-database-design, and ci-cd-reliability-architecture.

Add to TypingMind

Iwwersiicht

Editeurl-gevity
Repositoryl-gevity-skills
Skill-Numminfrastructure-fit
Stären
72
Forks
13
Matgeliwwert Dateien
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

    l-gevity huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Infrastructure Fit an TypingMind, fir e mat all LLM ze benotzen, oder setzt 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 „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/l-gevity/l-gevity-skills/tree/main/.agents/skills/infrastructure-fit
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng 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 d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/l-gevity/l-gevity-skills.git /tmp/l-gevity-skills
mkdir -p .claude/skills
cp -r /tmp/l-gevity-skills/.agents/skills/infrastructure-fit .claude/skills/infrastructure-fit
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Infrastructure Fit 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 Infrastructure Fit automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Infrastructure Fit 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-Schlësselen.

  • 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.

Infrastructure Fit

The foundation a system runs on is chosen once and paid for on every feature after it.

Purpose: Every hard-to-reverse infrastructure choice traces to a requirement, carries a tripwire someone evaluates, and is checked again when the requirements move.

Core Directives

  1. Profile before platform. Choose no foundation before the domain sketch and the fit profile exist. A template default is a decision nobody made.
  2. Rigor follows reversibility. A one-way door gets a record with its forcing requirement, tripwires, and reversal cost. A two-way door takes the default and no record.
  3. Boring, portable, few. Start from the fewest components that meet the profile. A platform-specific feature names the requirement that forces it, or it goes.
  4. Skeleton before features. Run every hard non-functional path end to end on the chosen foundation before the first feature lands.
  5. A tripwire nobody evaluates is a comment. It names a signal, a threshold, an owner, and the place it is checked.
  6. Forward costs only. Sunk investment is never an argument for keeping a foundation, and reversal cost rises with every row of real data.

Boundary

infrastructure-fit is a task-matched Alchemy companion, not a qualification stage, gate, or acronym letter. Select mode runs when a foundation is first chosen, inherited, or extended: after readiness has fixed what the increment must do, before Architecture places subsystems on it. Review mode runs in a single pass whenever a §6 trigger fires.

This skill decides which foundation fits the requirements, and whether it still does.

  • requirements-grounding owns the quality-characteristic sweep that fills the profile. A blank dimension goes back there.
  • bring-down owns whether one capability is bespoke or external, and the survey that selects a service. When its answer becomes a one-way door, this skill's profile and record apply before adoption.
  • dependency-lifecycle owns vendor-side triggers on a platform already owned: advisories, pricing or license changes, end-of-life dates. Return here only when that event changes fit.
  • architecture-guidelines and morphogenetic-architecture own where subsystems sit on the foundation, and whether a control may rely on the platform beneath it.
  • structural-simplification measures what adding or removing a component does to diversity and count.
  • evolutionary-database-design stages a store migration once MIGRATE is decided.
  • test-strategy owns when a fake may stand in for the real foundation.
  • zero-copy-requirements names the artifact that holds the decision record.
  • ci-cd-reliability-architecture owns deploy, rollback, and promotion.

Apply a project profile for provider names, environments, infrastructure-as-code paths, and cost envelopes. Keep none of those here.

1. Modes

ModeEnter whenReturns
SelectNew project; template or starter adopted; a new foundation component proposedOne record per one-way door, plus skeleton results
ReviewA §6 trigger fires; periodic review; before the first real dataOne record per component, plus the profile diff

Review rebuilds the profile from current sources. The snapshot in an old record is what is being checked, never the input.

2. Fit Profile

Build the profile from requirements, decisions, and measurements, never from the infrastructure already in place.

DimensionCaptureDecides
Domain shape5–10 core entities, their relations, and invariants that span entities: uniqueness, referential integrity, multi-entity transactionsData model paradigm
Access patternsThe 3–5 hardest queries and reports, including aggregate, cross-tenant, and ad-hoc reportingStore, indexing, read model
ScaleExpected tenants, users, data volume, and request rate, plus a stated ceilingSingle node or distributed
Isolation and residencyTenancy model, isolation proof, data region, subprocessorsRegion, tenancy, provider
Data lifecycleRetention, erasure, legal hold, backup, restore point and time objectivesStore features, backup model
IdentityWho signs in, federation, administrative roles, account lifecycleIdentity provider, user store
Workload shapeRequest/response, long jobs, batch imports, schedules, eventsCompute model, async
OperabilityTeam size, on-call capacity, skills, local and pipeline parityManaged or self-run, component count
CostEnvelope at expected scale and at zero loadPricing model
Lock-in toleranceWhat it costs the product to be unable to leave a vendorPortable or proprietary

A blank dimension is a coverage gap. Every choice that depends on it is PROVISIONAL until the gap closes.

3. Doors and Defaults

DoorTypical choicesRigor
One-wayData model paradigm and store; identity provider and user store; compute and hosting model; cloud and region; tenancy model; persisted event backboneFull record (§4)
Two-wayPipeline provider, lint and format tooling, UI framework, logging library, add-ons behind a standard protocolTake the default; no record

Start from the default. Deviate only when the profile shows the named reason.

ConcernDefaultDeviate only when the profile shows
StoreOne relational databaseScale beyond one node, data schemaless by nature, multi-region writes, or a specialized access shape: graph, time series, search, blobs
ComputeOne deployable applicationIdle-heavy load where scale-to-zero pays and cold starts are acceptable, or a measured need to scale parts independently
IdentityA standards-based identity provider; the application owns authorizationFederation, partner, or customer-identity needs the default cannot meet
AsyncNone; then a job table in the existing storeThroughput or fan-out that table measurably cannot carry
RegionOne region that satisfies residencyLatency or availability that one region cannot meet

4. Select Protocol

  1. Strip inherited defaults. List every foundation choice the template, starter, or previous project ships. Each is INHERITED until steps 2–4 pass it. A template carries tooling, never product decisions.
  2. Build the profile (§2) and classify each choice by door (§3).
  3. Compare candidates on the three hardest access patterns and the §5 skeleton paths. When ratings are close or unknown, spike each candidate for at most a day.
  4. Record the decision where zero-copy-requirements puts decisions: forcing requirement, the profile snapshot relied on, rejected alternatives, tripwires (§6), owner, review date, and reversal cost.
  5. Put the one-way door behind an owned port, so domain code never imports the vendor SDK. A port lowers migration cost; it does not make a wrong paradigm right. A fake behind the port accepts any query shape and hides a paradigm mismatch, so the port's contract tests also run against the real foundation.

5. Walking Skeleton

Before the first feature, run each path end to end on the chosen foundation, in an environment shaped like production:

  • The full stack runs locally, or through a documented substitute, and in the pipeline.
  • Sign-in end to end, including one authorization check.
  • Deploy and rollback.
  • Backup and a restore drill.
  • Erasure of one data subject across every store and the identity provider.
  • A tenant isolation probe: a cross-tenant read is refused.
  • The hardest query or report from the profile.

A path that cannot be made to run is a fit finding, not a backlog item.

6. Tripwires and Review Triggers

A tripwire names a signal, a threshold, an owner, and where it is evaluated: a pipeline check, a release gate, or the periodic review. "Deferred until X" without those four is a comment.

Signal in code, history, or operationsIndicates
Hand-written uniqueness or referential checks, conflict retries, manual joins, denormalized copies kept in sync, readers for old document shapesA relational domain on a non-relational store
Platform behavior learned from an incident or a probe: hidden middleware, silent no-ops, local runtime limitsPlatform glue costs more than it saves
Manual per-environment steps, settings lost on reprovision, one registration per environment per serviceToo many components, or incomplete infrastructure-as-code
The stack cannot run locally; fakes pass where production failsA parity gap
Cost per tenant or idle cost outside the envelopeWrong sizing or pricing model
A large share of commits or issues spent on one component instead of featuresPlatform tax; count it, never estimate it

Review when:

  • a requirement, scale estimate, or compliance obligation moves a profile dimension;
  • a tripwire fires;
  • the first real data is about to enter an environment, because reversal is cheapest before it;
  • a period passes: at least quarterly, or before each major release;
  • dependency-lifecycle finds that a vendor event changes fit.

7. Review Protocol

  1. Inventory from the source of truth. Read the infrastructure-as-code and runtime configuration, not documents about them. A component without a record is INHERITED.

  2. Rebuild the profile and diff it against each record's snapshot.

  3. Harvest evidence. Search code and history for §6 signals. Count commits and issues per component with a script.

  4. Return one verdict per component.

    VerdictCondition
    CHOOSESelect only: the option the profile favors, recorded with its tripwires
    KEEPThe profile change stays within the envelope and no tripwire fired
    ADJUSTSame component; different tier, configuration, or usage, or removal of an unused part
    WATCHA tripwire is approaching; set the new threshold and date
    MIGRATEThe profile now favors another option, and the forward cost of staying exceeds the migration cost over the planning horizon
    DEFERA required dimension or measurement is missing; name it
  5. Justify MIGRATE with forward costs only: workaround effort, incidents, and blocked requirements against the migration cost. Sunk investment is never an argument.

  6. Update each record: new snapshot, new tripwires, next review date.

8. Output Contract

Emit one record per component:

text
Mode:            Select | Review (<trigger>)
Component:       <foundation component>
Door:            ONE-WAY | TWO-WAY
Status:          DECIDED | PROVISIONAL | INHERITED
Forcing need:    <requirement that forces this choice, or none found>
Profile:         <dimensions relied on; GAP where blank; old -> new in Review>
Evidence:        <counted signals, measurements, skeleton results; NOT VERIFIED where none>
Verdict:         CHOOSE | KEEP | ADJUST | WATCH | MIGRATE | DEFER
Tripwires:       <signal, threshold, owner, where evaluated>
Reversal cost:   <estimate, and what raises it>
Handoff:         <skill that owns the next decision, or none>
Next action:     <one concrete action>

9. See Also

  • requirements-grounding - the quality-characteristic sweep that fills the profile.
  • bring-down - whether one capability should be bespoke or external, and which service.
  • dependency-lifecycle - vendor-side triggers on a platform already owned.
  • evolutionary-database-design - staging a store migration.
  • structural-simplification - component count and diversity deltas.
  • zero-copy-requirements - where the decision record lives.

Heefeg gestallte Froen

Wat mécht de KI-Skill Infrastructure Fit?

Chooses a system's infrastructure foundation from a requirements-derived fit profile, and re-checks at any later point whether the foundation in use still fits. Use when choosing or inheriting a datastore, identity provider, compute or hosting model, region, or tenancy model; when a template or starter ships infrastructure defaults; when a requirement, scale estimate, or compliance obligation changes; when workarounds against a platform accumulate; before the first real data enters an environment; or for a periodic fit review. Do not use for build-or-buy of one capability, vendor advisories...

Firwat Infrastructure Fit op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Infrastructure Fit 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 en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Infrastructure Fit an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/l-gevity/l-gevity-skills/tree/main/.agents/skills/infrastructure-fit 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 Infrastructure Fit 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 Infrastructure Fit benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Infrastructure Fit domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Infrastructure Fit gratis?

Jo. l-gevity huet de Skill ë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 weiderverwendbare Pak vun Instruktiounen, deen 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 e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

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