Shapes turns action-first: action leads, steps numbered, state restated. Use for ADHD-friendly output. Do not use to trim tokens; use response-compression.
日本語の概要は準備中です。原文の説明を表示しています。
Implements hub-and-spoke lazy loading to minimize token usage in large skills. Use when building multi-module skills that need conditional on-demand loading.
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Progressive loading provides standardized patterns for building skills that load modules dynamically based on context, user intent, and available token budget. This prevents loading unnecessary content while ensuring required functionality is available when needed.
The core principle: Start minimal, expand intelligently, monitor continuously.
Use progressive loading when building skills that:
## Progressive Loading
**Context A**: Load `modules/loading-patterns.md` for scenario A
**Context B**: Load `modules/selection-strategies.md` for scenario B
**Always Available**: Core utilities, exit criteria, integration points
Verification: Run the command with --help flag to verify availability.
Modules are declared in the skill's YAML frontmatter and
loaded on demand with a @modules/ directive. The hub reads
the detected context, then loads only the spokes that match:
---
modules:
- modules/git-catchup-patterns.md
- modules/python-testing.md
---
When the intent is a branch or PR catch-up, load
`@modules/git-catchup-patterns.md`. When the artifacts include
Python tests, also load `@modules/python-testing.md`.
To keep loads within the MECW token budget, check whether a
module fits before pulling it in. The MECWMonitor in
plugins/leyline/src/leyline/mecw.py exposes the methods used
here:
from leyline.mecw import MECWMonitor
monitor = MECWMonitor()
monitor.track_usage(current_context_tokens)
# module_estimated_tokens comes from the module frontmatter
can_load, reasons = monitor.can_handle_additional(module_estimated_tokens)
Load the next module only when can_load is true. Each
module records its cost in its frontmatter estimated_tokens
field.
See modules/selection-strategies.md for detailed strategies:
See modules/loading-patterns.md for implementation patterns:
imbue:catchup loads git/docs/logs modules by contextmodules/selection-strategies.md for choosing modulesmodules/loading-patterns.md for implementation techniquesmodules/performance-budgeting.md for token budget model and optimization workflowmodules/advanced-patterns.md for nested hubs, multi-tier disclosure, and cross-skill module sharingmodules/troubleshooting.md when modules fail to load, context detection misfires, or token budgets are exceededThese modules are loaded on demand by the hub based on detected artifacts and user intent. They are listed in frontmatter so the selector can match them, but the hub should only load the ones whose activation context fires.
Operating-system patterns (load on detected platform):
modules/linux-patterns.md: Linux-specific shell, paths, and process patternsmodules/macos-patterns.md: macOS-specific tooling and platform quirksmodules/windows-patterns.md: Windows shell, path, and PowerShell patternsLanguage and runtime patterns (load on detected ecosystem):
modules/modern-python.md: Python 3.11+ idioms, typing, asyncmodules/legacy-python.md: Python 2 / pre-3.8 compatibility patternsmodules/python-packaging.md: pyproject.toml, uv, pip, hatch, poetrymodules/python-patterns.md: General Python authoring patternsmodules/python-testing.md: pytest, fixtures, parametrization, mockingmodules/cargo-patterns.md: Rust Cargo workspace and dependency patternsmodules/rust-review.md: Rust code-review patternsWorkflow patterns (load on detected task):
modules/api-patterns.md: API design and endpoint conventionsmodules/api-review.md: API surface review patternsmodules/git-patterns.md: Git workflow and history patternsmodules/git-catchup-patterns.md: Catching up on a branch or PR diffmodules/document-analysis-patterns.md: Reading and analyzing documentsmodules/log-analysis-patterns.md: Parsing and reasoning over logsmodules/performance.md: Performance investigation patternsReference material (load only when explicitly cited):
modules/large-reference.md: Large reference tables and lookups (load
last; tokens are non-trivial)This skill provides foundational patterns referenced by:
abstract:modular-skills - Uses progressive loading for skill designconserve:context-optimization - Uses for MECW-compliant loadingimbue:catchup - Uses for context-based module selectionReference in your skill's frontmatter:
dependencies: [leyline:progressive-loading, conserve:context-optimization]
progressive_loading: true
Verification: Run the command with --help flag to verify availability.
まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Shapes turns action-first: action leads, steps numbered, state restated. Use for ADHD-friendly output. Do not use to trim tokens; use response-compression.
日本語の概要は準備中です。原文の説明を表示しています。
Inverts burden of proof for code additions. Use when reviewing PRs, planning refactors, or running unbloat to challenge every addition's necessity.
日本語の概要は準備中です。原文の説明を表示しています。
Tracks per-agent token usage and flags waste in parallel dispatch. Use when evaluating parallel agent efficiency or after a multi-agent run.
日本語の概要は準備中です。原文の説明を表示しています。
Coordinates Claude agent teams via filesystem protocol. Use when orchestrating parallel agents with task dependencies. Do not use for single-agent tasks.
日本語の概要は準備中です。原文の説明を表示しています。
Evaluates API surface design, consistency, and exemplar alignment. Use when reviewing public API changes or before releasing a new API surface.
日本語の概要は準備中です。原文の説明を表示しています。
Selects architecture paradigm via research before scaffolding. Use when architecture is undecided and the choice needs justification and documentation.
日本語の概要は準備中です。原文の説明を表示しています。