resupply-architecture

Document Resupply protocol architecture coordinating Core.sol, ResupplyRegistry.sol, and operator permissions.

Updated Jan 28, 2026
One-click install
npx skills add https://github.com/cyotee/resupply-skill --skill resupply-architecture
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: resupply-architecture
Source: https://github.com/cyotee/resupply-skill/tree/main/.opencode/skills/resupply-architecture
Command: npx skills add https://github.com/cyotee/resupply-skill --skill resupply-architecture

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Understand how the Resupply architecture coordinates core components, the address registry, and operator patterns to ensure secure governance, upgradeability, and predictable interactions across protocol modules such as Core.sol and ResupplyRegistry.sol.

Core Features & Use Cases

  • Centralized governance and configuration via Core.sol, including operator permissions and auth hooks.
  • Single source of truth for all protocol addresses via ResupplyRegistry.sol, enabling controlled deployments and lookups.
  • Operator pattern with pre/post execution hooks to enforce safety and modular integration of privileged actions.

Quick Start

Explain how the Core.sol, ResupplyRegistry.sol, and operator pattern interact during a typical deployment, liquidation, and permission update workflow.

Frequently Asked Questions about resupply-architecture

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How does the operator pattern work in blockchain protocol governance?

The operator pattern enforces safety in blockchain protocol governance using pre and post execution hooks to modularize privileged actions. This ensures predictable interactions and secure integration across protocol modules during deployment and permission updates.

What is the best way to map smart contract roles for a system design review?

Map smart contract roles by documenting component interactions like Core.sol and ResupplyRegistry.sol to establish a single source of truth for addresses. This centralized registry enables controlled deployments and accurate system design reviews.

How do I manage liquidation and permission updates across lending protocol modules?

Manage liquidation and permission updates by coordinating core components through centralized governance in Core.sol. This architecture uses operator permissions and auth hooks to safely enforce predictable interactions across all protocol modules.

Why does a blockchain registry need a single source of truth for protocol addresses?

A blockchain registry needs a single source of truth for protocol addresses to enable controlled deployments and secure lookups. ResupplyRegistry.sol provides this centralized configuration, ensuring interoperability and preventing address mismatches across modules.

Can I use this architecture documentation for onboarding engineers to smart contract security?

Yes, you can use this architecture documentation for onboarding engineers to smart contract security. It explains how core components, address registries, and operator patterns coordinate to enforce secure governance and upgradeability across protocol modules.