Logo von Adopt Existing

Adopt Existing

Community
llopresto87
adopt-existing

Source-first growth of an existing single- or multi-repository project into CYPRESS's unified docs/graph knowledge system. Use from initialize when code already exists, or for a graph refresh after material code changes. Scout executable evidence, model subsystem nodes, build project-specific architecture/product/API/data/dependency/prompt/operations leaves, connect them for progressive discovery, and validate navigation. Never trust centralized prose without source corroboration, invent specs or ADRs, modify application files, run application builds, or push Git.

Übersicht

Herausgeberllopresto87
RepositoryCypress
Skill-Nameadopt-existing
Sterne
113
Forks
6
Mitgelieferte Dateien
Nur Anweisungen
LizenzMIT
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • In sich abgeschlossen

    Alles, was das Modell braucht, steht in den Anweisungen — keine zusätzlichen Dateien zum Synchronisieren.

  • Open Source

    Von llopresto87 auf GitHub veröffentlicht. Prüfen Sie vor der Installation die Quelldateien.

Installation

Installieren Sie den KI-Skill Adopt Existing in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner. Dabei liest die App SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/llopresto87/Cypress/tree/main/skills/adopt-existing
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill hinzufügen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format unterstützt, kann diesen Skill nutzen. Kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/llopresto87/Cypress.git /tmp/Cypress
mkdir -p .claude/skills
cp -r /tmp/Cypress/skills/adopt-existing .claude/skills/adopt-existing
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Adopt Existing in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Adopt Existing automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Adopt Existing nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Schlüsseln.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

Adopt an existing project

Turn a generic installed seed into a project-specific knowledge plant. Follow docs/graph/protocols/initialize.md; this skill supplies the existing-project discovery and authoring discipline.

Invariants

  • docs/graph/ is the only maintained knowledge root. The router, nodes, LLM wiki, provenance, plans, runbooks, contracts, and deep dives are layers of this one graph (rule.knowledge).
  • Executable source outranks prose. Manifests, entry points, routes, schemas, migrations, config, deployment, tests, CI, prompts, and evals are primary evidence. Existing docs are corroborating evidence only.
  • Make additive knowledge changes. Preserve application code and unrelated existing files. Leave competing AI configurations in place; deleting or relocating one is the owner's call.
  • Adoption ONLY records build and test commands: extract each exact command and label it discovered, not executed, with where it was found (path:line) and, when they hold, target absent or declared, non-functional (the states are verify.gate-states; the growth gate is grow.gate.executed). An inherited suite stays untrusted until proven RED by mutation (docs/graph/protocols/test-first.md), so record it as discovered.
  • Git stays read-only: record the repository revision as provenance; fetch, pull, switch, commit, and push each need a separate explicit request.
  • Record observed behaviour and observed choices as node facts. Specs and ADRs record intent, which only an existing record or the owner supplies. Unknown means unknown.

Scout pass

Establish the governed boundary first: one repo, workspace/monorepo, or an umbrella of sibling repos. For each repository record path, branch, HEAD, worktree state, role, manifests, stack, and the natural language of its identifiers and domain vocabulary. A non-English (or otherwise non-default) language is an explicit graph fact, because downstream agents grep and reason in it and an unrecorded mismatch silently defeats every later search. A glossary entry for a term in that language is checked against the fields and code that use the term: the obvious translation, or a plausible cognate, is a hypothesis until the code agrees, and a wrong gloss sends every later search to code that does not exist. Boundaries follow capabilities, not repository count.

Inventory cheaply, excluding generated/vendor/cache/build output; the inventory of source-index.py build --json, run once, is the scouts' file list. Then open the smallest authoritative files needed to trace:

  1. bootstrap and runtime entry points;
  2. module/service/package boundaries and imports;
  3. inbound APIs, messages, scheduled work, and outbound integrations;
  4. entities, schemas, migrations, storage, and data movement;
  5. config/secrets interfaces, deployment, and observability;
  6. tests, CI, scripts, prompts, evaluations, and operational commands;
  7. direct dependencies and evidence of their actual usage.

Return facts with exact paths and symbols. Find source corroboration for each claim prose makes, or record it as untrusted/unverified; repetition across central docs adds no corroboration.

Every delegated worker's brief embeds the canonical block from docs/graph/templates/prompts/graph-session-bootstrap.md.

Librarian pass

Normalize the evidence into single fact owners:

  • configure ROOT_ID and KINDS in docs/graph/graph-lint.py;
  • author a root node and capability/subsystem nodes;
  • factor shared stack, platform, data, domain, and cross-cutting facts into their own nodes only where this reduces duplication;
  • give nodes concrete load_when triggers and source paths;
  • keep requires minimal and acyclic; use peers for boundaries, and composes where an expertise.* node offers sub-expertises the router should descend into only when the task names one;
  • link detailed leaves using artifacts: and dependency wiki pages using libraries:.

Then enrich the leaf collections under docs/graph/:

CollectionSource-grounded content
product/actors, capabilities, flows, observed constraints
architecture/context, components, runtime flows, integrations, sharp edges
api/observed HTTP/RPC/event/job contracts with code locations
data/ownership, schemas, persistence, migrations, lineage
libraries/all direct deps indexed; critical deps richly wikified (which ones, and from what: skill.library-wiki, "Depth when adopting an existing project")
sources/provenance for external information actually used
prompts/discovered prompt contracts, versions, and call sites
evaluations/discovered datasets, rubrics, gates, and failure modes
runbooks/exact operational and verification commands, with status
plans/evidence gaps, drift/backfill work, next useful increment; when the project is automation that converges live systems, a backfill increment that imports the records those systems already hold as an unmanaged baseline, promoted one at a time by owner decision (design-posture.converge-on-drift owns the rule). The plan names the increment; the adoption pass does not write it
best-practices/conventions demonstrated by this project

Keep specs/ and decisions/ indexes, and fill them only from genuine intent records that already exist and can be preserved with provenance. Put implementation observations in nodes or architecture leaves.

When the sweep confirms zero test or gate infrastructure, write an absent (YYYY-MM-DD) — <reason> row for each standard gate in the verification runbook: a blank runbook is indistinguishable from one nobody checked, and a row for each gate turns an unknown into a stated finding.

When a legacy or parallel documentation source predates and conflicts with the evidence-derived graph, give the exclusion a real, routable node that states (a) the source is excluded as evidence, (b) what supersedes it, and (c) that this is a trust/evidence decision only: the artifact itself stays untouched (Invariants). A silent skip reads to a later agent as no decision, and the artifact gets re-trusted. The Handoff's excluded-docs report then points at this node rather than standing in for it. An agent-operations system is not such a source: protocol.grow Phase 4 says what each of its parts yields.

Refreshing an existing graph

Treat graph prose as a read model to verify against current source:

  1. compare repository revisions with the graph changelog/provenance;
  2. scout changed areas and their dependency/data/API blast radius (source-index.py impact, run once over the moved paths);
  3. update the existing fact owner instead of creating a duplicate;
  4. preserve valid hand-authored context;
  5. remove or supersede stale seed-owned claims only with cited contrary evidence;
  6. record conflicts and unanswered questions in the plan.

Report a refresh as partial, naming each unavailable source, whenever part of the governed source was out of reach.

Validation

Run knowledge checks only:

sh
python3 docs/graph/graph-lint.py
python3 docs/graph/graph-lint.py --plan "change a representative capability"

Verify all graph links resolve; every Tier-3 leaf is reachable from an owning node; no duplicate fact homes exist; representative task routes are small and relevant; commands say whether they were executed; the verification runbook carries the absent-gate rows where no infrastructure was found (Librarian pass); each recorded command carries its found-at, not-executed and target labels (Invariants); and no template placeholders, fabricated success, inferred specs, or invented rationale remain.

Use known-answer navigation questions from several capabilities plus an adversarial false-premise question. A wrong or bulk-read answer is a graph defect: improve ownership, routing, or leaf content and rerun, for at most two fix-and-rerun rounds per defect; with the authoring pass they are the three attempts docs/graph/protocols/recover.md allows. A defect that survives them goes to the user as an honest unknown.

Handoff (the stopping condition)

Adoption is done when validation passes within its bounded rounds and the open defects are recorded; completeness is measured by reliable progressive discovery. End with the payload from docs/graph/templates/prompts/handback-payload.md, and report: repository revisions, evidence inspected, graph artifacts created or refreshed, validation outcomes, docs deliberately excluded as untrusted (each named by its exclusion node), remaining unknowns, and one highest-leverage next action with its tier.

Häufig gestellte Fragen

Was macht der KI-Skill Adopt Existing?

Source-first growth of an existing single- or multi-repository project into CYPRESS's unified docs/graph knowledge system. Use from initialize when code already exists, or for a graph refresh after material code changes. Scout executable evidence, model subsystem nodes, build project-specific architecture/product/API/data/dependency/prompt/operations leaves, connect them for progressive discovery, and validate navigation. Never trust centralized prose without source corroboration, invent specs or ADRs, modify application files, run application builds, or push Git.

Warum Adopt Existing in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Adopt Existing besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Adopt Existing in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/llopresto87/Cypress/tree/main/skills/adopt-existing ein. TypingMind liest die Datei SKILL.md und installiert den Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Adopt Existing nutzen?

Jedes Modell, das Sie mit TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Adopt Existing verwenden?

So viele Sie möchten. In TypingMind können Sie Adopt Existing mit jedem Modell verwenden, das Skills unterstützt, etwa mit GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama. Dabei nutzen Sie Ihre eigenen API-Schlüssel.

Ist der KI-Skill Adopt Existing kostenlos?

Ja. Der Skill wird von llopresto87 auf GitHub unter der Lizenz MIT veröffentlicht. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: Die Datei SKILL.md enthält den Namen und die Beschreibung des Skills. Hinzu kommen bei Bedarf Skripte, Vorlagen oder Referenzdateien für das Modell. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und kommen daher ohne Server, API-Schlüssel und Laufzeitumgebung aus. Sie funktionieren mit jedem Modell.

Alle anzeigen

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇