Logo : Dev Context Multi Repo

Dev Context Multi Repo

Communauté
vasilyu1983
dev-context-multi-repo

Builds multi-repo context hubs and compiled markdown knowledge maps. Use when profiling repo portfolios or assembling LLM-ready cross-repo knowledge bases.

Présentation

Éditeurvasilyu1983
DépôtAI-Agents-public
Nom de la compétencedev-context-multi-repo
Étoiles
87
Forks
19
Fichiers inclus
77
LicenceMIT
Liens
  • Instructions en Markdown

    Un fichier SKILL.md que le modèle charge à la demande : il ne consomme donc des tokens que lorsqu’une demande correspond réellement à la compétence.

  • Compatible avec tous les LLM

    Les compétences IA sont rédigées en Markdown et non sous forme de code propre à un fournisseur. Elles fonctionnent donc avec GPT, Claude, Gemini, Grok ou un modèle local.

  • Fichiers inclus : 77

    Des scripts, des gabarits et des références que le modèle peut consulter pendant son travail. Les fichiers sont en lecture seule et ne sont jamais exécutés.

  • Open source

    Publiée par vasilyu1983 sur GitHub. Consultez les sources avant de l’installer.

Installation

Installez la compétence IA Dev Context Multi Repo dans TypingMind pour l’utiliser avec n’importe quel LLM, ou ajoutez-la à un autre agent capable de lire SKILL.md.

1

Installer dans TypingMind

TypingMind installe une compétence directement depuis son dossier GitHub : l’application lit SKILL.md, regroupe les fichiers de ressources et enregistre le tout localement.

  1. Ouvrez l’application et accédez à Plugins → Compétences.
  2. Choisissez « Installer depuis GitHub ».
  3. Copiez l’URL ci-dessous, qui pointe vers le dossier de la compétence, puis collez-la et confirmez.
    https://github.com/vasilyu1983/AI-Agents-public/tree/main/frameworks/shared-skills/skills/dev-context-multi-repo
  4. Activez la compétence dans chaque discussion où vous souhaitez pouvoir l’utiliser.
Plugins → Compétences → Ajouter une compétence → Via une URL GitHub, puis collez l’URL du dossier et appuyez sur Continuer.
2

Installer dans un autre agent

Tout agent capable de lire le format Agent Skills peut utiliser cette compétence : copiez le dossier dans le répertoire des compétences de cet agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/vasilyu1983/AI-Agents-public.git /tmp/AI-Agents-public
mkdir -p .claude/skills
cp -r /tmp/AI-Agents-public/frameworks/shared-skills/skills/dev-context-multi-repo .claude/skills/dev-context-multi-repo
Redémarrez Claude Code après la copie pour que la nouvelle compétence soit prise en compte.

Utilisez cette compétence dans TypingMind

Activez Dev Context Multi Repo dans n’importe quelle discussion TypingMind et le modèle s’occupe du reste. Le nom et la description de la compétence figurent dans le prompt système. Dès qu’une demande correspond, le modèle charge lui-même l’intégralité des instructions : vous n’avez jamais à l’invoquer manuellement, et elle ne consomme aucun token tant qu’elle n’est pas utilisée.

Le modèle charge automatiquement Dev Context Multi Repo dès qu’une demande correspond à cette compétence.

Compatible avec tous les modèles IA

Les compétences IA sont de simples instructions Markdown, et non du code propre à un fournisseur. Ainsi, la compétence Dev Context Multi Repo n’est pas liée au modèle pour lequel elle a été conçue. Installez-la une seule fois dans TypingMind et utilisez-la avec GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou un modèle local que vous exécutez vous-même, le tout avec vos propres clés API.

  • Chargée uniquement en cas de besoin

    Le prompt système ne contient que le nom et la description. Les instructions sont récupérées à la première demande correspondante : une compétence inutilisée ne coûte donc rien.

  • Changez de modèle en cours de discussion

    La compétence étant constituée d’instructions et non de code, elle reste fonctionnelle lorsque vous changez de modèle : le nouveau modèle lit le même fichier SKILL.md.

Instructions de la compétence

Voici le contenu de SKILL.md que le modèle charge. Lisez-le avant l’installation : une compétence contient des instructions que votre modèle suivra.

Multi-Repo Context

Use this skill to inventory, normalize, and publish one coherent knowledge hub for many repositories. The strongest default is a two-layer system: raw source captures plus an LLM-maintained compiled markdown hub with profiles, concept pages, backlinks, and derived reports. It owns repo discovery, high-signal extraction, cross-repo inference, artifact-set generation, and knowledge-graph assembly. It does not replace single-repo context or code-graph work.

Quick Reference

TaskUse
Discover repos and classify portfolio shapescripts/discover_repos.py, references/repo-discovery-patterns.md
Scan repos into normalized profilesscripts/scan_repo.py, scripts/scan_portfolio.py, references/repo-classification-rules.md
Build standard artifact setscripts/build_artifact_set.py, references/output-model-and-gap-analysis.md
Build and validate graph outputsscripts/build_knowledge_graph.py, scripts/validate_graph.py, scripts/check_graph_consistency.py, references/knowledge-graph-patterns.md
Calibrate graph edge weights from evidencescripts/calibrate_weights.py, references/knowledge-graph-patterns.md
Query graph neighborhoods, paths, impact, rank, PPR, and communitiesscripts/query_graph.py --node|--from|--impact|--rank|--ppr|--communities, references/knowledge-graph-patterns.md
Detect communities (Louvain) and generate per-community summariesscripts/query_graph.py --communities --resolution, assets/community-summary-template.md
Bitemporal time-slice queriesscripts/query_graph.py --as-of <date> --known-at <date>, references/knowledge-graph-patterns.md §12
Create or operate a coordination hubassets/coordination-repo-layout-template.md, references/hub-operations-playbook.md
Run a raw-ingest to compiled-wiki loopthe docs-notes-retrieval skill, references/hub-design-patterns.md, references/hub-operations-playbook.md
Freshness and drift checksscripts/report_drift.py, scripts/check_hub_freshness.sh, references/hub-freshness-checking.md

When to Use

  • Build a master context repo or docs hub for many services or repositories.
  • Produce one normalized profile per repo instead of ad hoc summaries.
  • Generate consistent repo descriptions from structured JSON profiles and graph edges instead of freehand summaries.
  • Classify complex orchestration repos such as agent runtimes, remote bridges, terminal-first CLIs, plugin hosts, and worktree coordinators without collapsing them into unknown.
  • Map stacks, interfaces, dependencies, owners, and integration edges across a portfolio.
  • Generate hub artifacts for onboarding, migration planning, architecture review, or RAG.
  • Retrofit a knowledge graph onto an existing coordination hub.
  • Operate a raw/ evidence layer plus a compiled markdown wiki for a repo portfolio.
  • Maintain or refresh a large repo portfolio, including 100+ repo hubs where incremental compilation matters more than one-shot summarization.

Recreate a Requirements-Hub

A ready-to-copy blank hub ships at assets/hub-scaffold/. It is the same shape this skill produces — hot layer (AGENTS.md, rules/), compiled layer (context/), and one example domain folder — with zero organization-specific content.

bash
cp -r assets/hub-scaffold ~/repos/requirements-hub

Then follow assets/hub-scaffold/context/scripts/README.md for the end-to-end command sequence: discover_repos.py → scan_portfolio.py → build_knowledge_graph.py → query_graph.py --rank → validate_graph.py, then build/validate the hub's own context graph with the reused dev-context-engineering scripts. The scaffold's rules/ stubs point at the clearly-labelled generic templates in dev-context-engineering/assets/ — swap each regime reference for your own regulatory context.

Route Elsewhere

Defaults

  • Structured metadata first, narrative second.
  • One canonical profile per repo.
  • Raw ingest first, compiled wiki second.
  • Treat repo knowledge as the system of record and keep root agent files as maps, not encyclopedias.
  • Use just-in-time loading by default: store stable identifiers, paths, graph node IDs, and report links, then load the relevant artifact at task time.
  • High-signal file reads before deep reads.
  • Separate raw evidence, normalized metadata, and human summaries.
  • Prefer markdown-native index pages, summaries, and backlinks before adding heavier retrieval layers.
  • Let the LLM maintain the compiled hub; humans review, prune, and correct drift instead of hand-editing every page.
  • File durable answers, diagrams, and reports back into the hub so portfolio queries compound over time.
  • Treat hidden differentiators as first-class extraction targets: transport model, control plane, permission bridge, session lifecycle, worktree model, plugin lifecycle, and recovery policy are often more important than language or package metadata.
  • Mark claims as verified, subset-verified, inferred, or unverified when coverage is incomplete.
  • Keep generated artifacts under one artifact root instead of scattering them through docs.
  • Do not create free-floating Markdown reports for every portfolio query; route reusable outputs into the hub catalog, reports lifecycle, or generated context artifact set.

May 2026 Stance

The current best default is not "index everything and stuff it into a prompt." Build a small, navigable context system that can select the right evidence at runtime.

  • Keep AGENTS.md and sibling runtime files short; they should route agents to the hub, not duplicate the hub.
  • Make structured artifacts the compiler inputs: profiles, code graphs, system edges, freshness reports, and evidence refs.
  • Make markdown the operator surface: catalog pages, concept notes, architecture maps, and reusable query outputs.
  • Use graph traversal when relationship structure changes the answer: dependency paths, ownership, blast radius, shared providers, cross-repo flows, migration seams, or "catch me up on this system" questions.
  • Use lexical search, index pages, or direct file reads for simple lookup questions; graph-first retrieval for every query adds latency and noise.
  • Use Personalized PageRank when the question is seeded by a repo/domain/process but needs budget-bounded context beyond a 1-2 hop neighborhood.
  • Use community detection (--communities) at multiple resolutions when the question is global ("what does the platform look like?") and a single-seed walk would miss the structure. Drop in Leiden via igraph or graspologic when you need stronger connectedness guarantees on portfolios > 1k nodes.
  • Calibrate weights when prose, Mermaid, manifests, and schemas all contribute edges; direct multi-source evidence should outrank single-source prose edges.
  • Keep symbol-level graphs as per-repo artifacts from dev-context-code-graph; import summaries or links into the hub instead of merging every symbol into the portfolio graph.
  • Apply context-hygiene gates before publishing: relevance, provenance, freshness, ACL/sensitivity scope, contradiction risk, and bounded token shape.
  • Prefer dynamic pruning of irrelevant graph communities or subgraphs over static "include the whole graph" prompts.

Workflow

  1. Inventory candidate repos and classify repo shape.
  2. Index raw evidence first: repo roots, architecture docs, API contracts, datasets, screenshots, and other source captures should live in a raw layer instead of being flattened into summaries.
  3. Read only high-signal manifests, docs, CI files, schema clues, and instruction artifacts.
  4. Normalize evidence into one RepoProfile per repo.
  5. If the repo appears to be an orchestration-heavy runtime, deepen the scan around transport, remote/session, approval, worktree, plugin, and recovery files before accepting a generic classification.
  6. Infer repo kind, interfaces, dependencies, storage, ownership, and capability families without overclaiming.
  7. Generate or refresh one repo description per repo from the normalized profile and relationship edges, with confidence labels derived from evidence coverage.
  8. Compile the markdown hub incrementally: repo catalog pages, cross-repo concept notes, backlinks, and index files that help the agent navigate without scanning the whole corpus every time.
  9. Rebuild only the changed pages, indexes, and graph edges when possible; do not re-summarize the whole portfolio by default.
  10. Materialize the artifact set: profiles, catalog pages, graphs, and reports.
  11. Validate graph consistency and freshness, then run hub health checks for stale claims, missing summaries, unindexed reports, and candidate pages worth adding before calling the hub current.

ASCII Flow

text
multi-repo context request
  -> discover repos and classify portfolio shape
  -> ingest raw evidence without flattening it into prose
  -> scan high-signal files into one RepoProfile per repo
  -> build compiled hub: catalog pages, indexes, backlinks, reports
  -> build graph artifacts: system edges and knowledge graph
  -> query with lexical search, direct reads, graph paths, PPR, or communities
  -> validate coverage, freshness, consistency, and unindexed outputs
  -> publish only durable hub artifacts, not free-floating reports

Core Decisions

Output Model

Default artifact set:

  • profiles/<repo>.json
  • catalog/<repo>.md
  • graphs/system-edges.json
  • graphs/knowledge-graph.json
  • reports/coverage.md
  • reports/drift.json

Do not invent alternate shapes unless there is a downstream consumer that requires a transform layer.

Treat catalog/ and reports/ as the compiled markdown layer by default. Add folders such as concepts/ or research/ only when there is a clear downstream consumer for concept articles or query outputs.

The repo description page should usually be generated from:

  • verified fields in profiles/<repo>.json
  • relationship edges from graphs/system-edges.json
  • a bounded set of direct evidence references

Do not let the description page become an ungrounded prose summary.

For complex repos, the profile should capture capability families rather than only surface metadata. A strong profile often needs fields or derived sections for:

  • runtime or deployment mode
  • control-plane and transport model
  • remote or bridge responsibilities
  • session and resume semantics
  • permission and approval path
  • worktree or parallel-task isolation model
  • plugin, hook, or hot-reload lifecycle
  • recovery or retry policy

Extraction Strategy

Start from files that reveal repo reality quickly:

  • manifests and lockfiles
  • CI workflows
  • container and infra files
  • native/mobile project manifests such as Package.swift, project.yml, .xcodeproj, and .xcworkspace
  • schema and migration files
  • API contracts
  • repo instruction files
  • specs and plans

If the hub also stores non-repo evidence, keep those captures in the raw layer and summarize them into the compiled hub rather than treating screenshots, exports, or article clips as first-class catalog pages.

Use deep reads only when the high-signal layer is insufficient to classify the repo or prove an integration.

For orchestration-heavy repos, the high-signal layer must include runtime spine files, not just manifests:

  • transport implementations
  • remote bridge or client/server session managers
  • permission and approval bridge code
  • worktree and task orchestration setup
  • plugin, hook, and hot-reload loaders
  • reconnect, backpressure, batching, and recovery logic

Many of the most important differentiators are invisible in package metadata. If the extractor only sees language, lockfiles, and README text, it will under-classify repos that actually win on runtime design.

Complex Runtime Classification

When a repo contains files or modules for multiple of the following, prefer a complex-runtime classification over unknown:

  • remote bridge or remote execution support
  • explicit transport abstractions such as SSE, WebSocket, or hybrid read/write transport
  • session manager or resume lifecycle
  • permission or approval mediation
  • task, coordinator, teammate, or worker orchestration
  • worktree creation, branch isolation, or tmux/session bootstrapping
  • plugin, hook, or lazy-loader infrastructure
  • explicit recovery, retry suppression, buffering, or backpressure mechanisms

Typical classifications worth recognizing:

  • agent runtime
  • coding-agent CLI
  • remote execution bridge
  • terminal UI host
  • plugin platform
  • multi-repo coordinator

Verification Scope

Before synthesis:

  • separate direct evidence from inferred structure
  • avoid portfolio-wide universal claims unless every relevant repo was checked
  • verify storage engines from manifests and drivers, not from README prose
  • mark partial coverage explicitly in summaries and tables

For generated repo descriptions:

  • distinguish what is proven from manifests or workflows vs what is inferred from naming or topology
  • prefer concise, structured descriptions over narrative confidence theater
  • include unknowns explicitly when a repo cannot be confidently classified

Knowledge Graph

Use the knowledge graph when the hub needs queryable relationships across repos, systems, and artifacts. Keep symbol-level graph work out of this layer; that belongs to single-repo code-graph workflows.

The graph complements the markdown hub; it does not replace it. The best default is graph-backed markdown pages with backlinks, index notes, and concise summaries that an agent can read directly at small and medium corpus sizes.

For complex runtimes, add capability and behavior edges, not just dependency edges. Useful examples:

  • uses_transport
  • splits_read_write_channels
  • supports_resumable_streams
  • bridges_permissions
  • manages_remote_sessions
  • supports_worktree_isolation
  • supports_plugin_hot_reload
  • serializes_writes
  • buffers_stream_events
  • has_recovery_policy

Q&A and Derived Outputs

Prefer answers as files, not terminal-only output:

  • markdown reports for architecture questions or migration maps
  • Mermaid or other diagrams for relationship views
  • slide or image outputs when a viewer exists and the question is presentation-heavy

If an answer will likely be useful again, file it back into the hub and link it from the relevant repo or concept page.

Before adding the file, run the hub placement test:

  • does this belong in an existing repo catalog, concept page, or report?
  • will it be linked from the hub index or related repo page?
  • is it generated from structured inputs, and if so is the rebuild command known?
  • does it have a lifecycle state if it is a point-in-time analysis?

If not, keep it in the task thread or update an existing hub page.

Operating at 100+ Repos

At large portfolio scale, optimize for maintenance loops, not heroic one-off scans:

  • keep a registry of repos and last-refresh state
  • compile incrementally instead of rebuilding every page on every run
  • maintain short index pages that help the LLM find the right repo or concept quickly
  • prefer JSON + markdown + graph artifacts that can be diffed, linted, and repaired
  • add lightweight CLIs for search, freshness checks, and targeted rebuilds before reaching for heavier retrieval systems

Hub Layout

Prefer a coordination repo with:

  • root entry files
  • domain folders at the root
  • generated hub infrastructure under context/ or docs/context/
  • optional raw/ capture areas for evidence the LLM compiles into the hub

Keep the root navigation-focused. Do not paste inventories into AGENTS.md.

For native/mobile repos, the default scanner should classify from high-signal project files before falling back to generic language heuristics. Swift/Xcode repos should resolve cleanly as app repos when project.yml, .xcodeproj, or .xcworkspace evidence is present, and scans should ignore generated build trees such as .build, DerivedData, Pods, and SourcePackages.

Output Modes

Default to one of these:

  • Portfolio inventory: repo registry, classifications, and scan coverage.
  • Context hub: profiles, catalog pages, relationship edges, and knowledge graph.
  • Compiled wiki: raw evidence registry, markdown indexes, concept notes, backlinks, and reusable query outputs.
  • Repo description set: one grounded page per repo compiled from profile JSON, graph edges, and verified evidence.
  • Capability map: per-repo runtime capabilities, differentiators, and operational behaviors derived from source evidence rather than README-level summaries.
  • Migration map: active vs legacy systems, integration edges, and transition hotspots.
  • Freshness report: drift, stale documents, and re-verification queue.

Known Traps

  • Accepting a generic repo classification too early and missing the operational behavior that actually distinguishes orchestrators, bridges, or control planes.
  • Reading README-heavy repos as if they were authoritative when manifests, workflows, and runtime scripts say something else.
  • Rebuilding the full hub on every scan instead of compiling incrementally from the repos that actually changed.
  • Letting inferred cross-repo edges harden into "facts" before they are traced back to manifests, schemas, or concrete integration evidence.
  • Using portfolio summaries as the source of truth while raw evidence and normalized profiles quietly drift underneath them.
  • Treating a longer model context window as permission to load the whole hub; large irrelevant context still causes distraction and context rot.
  • Applying GraphRAG or graph traversal to every question even when a direct catalog lookup, lexical search, or bounded file read is more accurate.
  • Letting generated markdown and generated JSON drift independently instead of regenerating prose from the structured profile and graph contracts.
  • Re-ingesting LLM-generated summaries as fresh evidence without keeping the original source and timestamp.

Anti-Patterns

  • Treating one repo summary as a portfolio model.
  • Claiming complete coverage without a verified scan registry.
  • Mixing raw evidence, normalized data, and commentary in the same file.
  • Verifying storage or runtime claims from docs instead of manifests.
  • Leaving useful portfolio answers in chat output instead of filing them back into the hub.
  • Pasting portfolio inventories into root agent-memory files.
  • Forcing symbol-level code graphs into the portfolio knowledge graph.
  • Reaching for heavy RAG before maintaining index pages, concise summaries, and backlinks.
  • Rebuilding 130 repo descriptions from scratch when only a subset changed.
  • Writing repo descriptions directly from chat impressions instead of profile JSON and graph edges.
  • Letting complex repos remain unknown because the scanner only looked at manifests and README text.
  • Modeling only dependency edges and missing operational edges such as permission bridges, session control planes, resumable streams, or worktree isolation.
  • Using a vector database, GraphRAG stack, or MCP server as a substitute for repo-owned profiles, evidence refs, and freshness checks.
  • Publishing "complete codebase context" claims without parse coverage, scan date, excluded paths, and unsupported-language notes.
  • Mixing public docs, private code evidence, secrets, and customer data in one context layer without sensitivity labels and access boundaries.

Navigation

Fact-Checking

  • Known bugs, regressions, framework/compiler/runtime footguns, and version-specific crash or workaround guidance must be verified against current primary web sources before being treated as current fact.
  • External source mapping lives in data/sources.json.
  • Portfolio summaries must distinguish verified facts from inferred edges.
  • If a claim cannot be traced to a manifest, schema, workflow, or other direct evidence, label it accordingly instead of hardening it into a fact.

Fichiers inclus

Le modèle lit ces fichiers à la demande lorsque la compétence est chargée. Ils sont accessibles en lecture et ne sont jamais exécutés.

Nombre de fichiers supplémentaires : 17.

Foire aux questions

À quoi sert la compétence IA Dev Context Multi Repo ?

Builds multi-repo context hubs and compiled markdown knowledge maps. Use when profiling repo portfolios or assembling LLM-ready cross-repo knowledge bases.

Pourquoi utiliser Dev Context Multi Repo sur TypingMind ?

Parce que vous l’installez une seule fois pour l’utiliser avec n’importe quel modèle. Dev Context Multi Repo se compose de simples instructions en Markdown plutôt que de code propre à un fournisseur. La même compétence fonctionne donc avec GPT-5, Claude, Gemini, Grok ou un modèle local, et vous pouvez changer de modèle en cours de discussion sans perturber son fonctionnement. TypingMind utilise vos propres clés API : vous payez donc directement les fournisseurs plutôt qu’un abonnement par siège, et vos compétences et discussions restent dans votre propre espace de stockage.

Comment installer Dev Context Multi Repo dans TypingMind ?

Dans TypingMind, ouvrez Plugins → Compétences → Installer depuis GitHub et collez https://github.com/vasilyu1983/AI-Agents-public/tree/main/frameworks/shared-skills/skills/dev-context-multi-repo. TypingMind lit le fichier SKILL.md, regroupe les fichiers associés et installe le tout sous forme de compétence que vous pouvez activer pour chaque discussion.

Quels modèles d’IA peuvent utiliser Dev Context Multi Repo ?

N’importe quel modèle que vous connectez dans TypingMind. Les compétences IA sont de simples instructions en Markdown, et non du code propre à un fournisseur. GPT, Claude, Gemini, Grok et les modèles locaux peuvent donc tous charger cette compétence lorsqu’une demande lui correspond.

Combien de modèles d’IA puis-je utiliser avec Dev Context Multi Repo ?

Autant que vous le souhaitez. Vous pouvez utiliser Dev Context Multi Repo avec tout modèle qui prend en charge les compétences : GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama et bien d’autres, le tout dans TypingMind avec vos propres clés API.

La compétence IA Dev Context Multi Repo est-elle gratuite ?

Oui. Cette compétence est publiée sur GitHub par vasilyu1983 sous licence MIT. Vous ne payez que votre propre fournisseur d’IA pour les tokens utilisés.

Que sont les compétences IA ?

Une compétence IA est un ensemble d’instructions réutilisables qui apprend à un modèle d’IA à accomplir une tâche précise. Elle suit le format ouvert Agent Skills : un fichier SKILL.md contenant un nom et une description, ainsi que les éventuels scripts, gabarits ou fichiers de référence dont le modèle peut avoir besoin. Le modèle ne lit les instructions que lorsque votre demande correspond à la compétence. Une compétence installée ne coûte donc rien tant qu’elle n’est pas utilisée.

En quoi les compétences IA diffèrent-elles des plugins ou des serveurs MCP ?

Un plugin ou un serveur MCP fournit au modèle de nouveaux outils à appeler : du code qui s’exécute quelque part et renvoie un résultat. Une compétence IA lui apporte plutôt des connaissances et une méthode : comment aborder une tâche, quelles étapes suivre et à quoi ressemble un bon résultat. Les compétences sont de simples instructions en Markdown. Elles ne nécessitent donc ni serveur, ni clé API, ni environnement d’exécution, et fonctionnent avec n’importe quel modèle.

Tout voir

Créez votre propre espace de travail IA dès maintenant

Abonnez-vous à notre newsletter pour être informé des nouvelles fonctionnalités et des prochains cadeaux à gagner 👇