Repository navigation
Add subsystem-summary skills - #5132
Merged
Merged
Conversation
marta-lokhova
approved these changes
Feb 19, 2026
marta-lokhova
left a comment
Contributor
There was a problem hiding this comment.
Let's give it a shot! We can always revert if needed.
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds 22 new "skill" files containing dense technical summaries of stellar-core subsystems. The summaries are designed as an experimental feature to provide AI agents with context-efficient architectural overviews (approximately 10% the size of reading actual code). Each summary covers key classes, data structures, control flows, ownership relationships, and threading models for a specific subsystem.
Changes:
- Added a meta-skill document describing how to regenerate all subsystem summaries
- Added 21 individual subsystem summary files covering major components (work, util, transactions, test, soroban-env, rust, protocol-curr, process, ledger, invariant, historywork, history, herder, database, crypto, catchup, and bucket subsystems)
Reviewed changes
Copilot reviewed 23 out of 23 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| .claude/skills/summarizing-the-codebase/SKILL.md | Instructions for regenerating the full set of subsystem and whole-system technical summaries |
| .claude/skills/subsystem-summary-of-*/SKILL.md (21 files) | Detailed technical summaries of each major subsystem in stellar-core |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is another "agent skill experiment", this time the "skills" are actually dense technical summaries of each subsystem (including one that's the entirety of core) produced by other agents, to allow an agent to work with a context-efficient overview of core (or some subsystem) without bloating its context with all the actual code.
The token budget for each is such that the summary is about 1/10 the size of reading the code: about 3-4k tokens for the summary instead of 30-40k tokens for the code. Enough that you can load all the summaries together into an opus 200k-token context window and still have enough space for a bit of a conversation.
I do not know if it helps. It is something I'm still experimenting with, but I thought I'd post it here for others to see.