Skip to content

Add subsystem-summary skills - #5132

Merged
marta-lokhova merged 1 commit into
stellar:masterfrom
graydon:summary-skill
Feb 20, 2026
Merged

marta-lokhova merged 1 commit into
stellar:masterfrom
graydon:summary-skill

Conversation

@graydon

@graydon graydon commented Feb 11, 2026 •

Copy link
Copy Markdown
Contributor

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.

@marta-lokhova marta-lokhova left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's give it a shot! We can always revert if needed.

@marta-lokhova
marta-lokhova marked this pull request as ready for review February 19, 2026 23:39
Copilot AI review requested due to automatic review settings February 19, 2026 23:40
@marta-lokhova
marta-lokhova added this pull request to the merge queue Feb 19, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Merged via the queue into stellar:master with commit 51fcffb Feb 20, 2026
62 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants