borrow-integration
Installation
SKILL.md
Borrow Integration — Blue and Midnight
Route every request to the product actually being integrated:
- Blue: variable-rate, open-ended borrowing against collateral in isolated Morpho Blue markets.
- Midnight: fixed-rate, fixed-term borrowing through the Base orderbook.
- Both: two distinct products. Load and apply both references, and keep their data, transaction flows, terminology, risks, and review verdicts separate.
If the product is not named, infer it from concrete evidence: utilization/IRM/market params imply Blue; books/bids/offers/units/maturity imply Midnight. If evidence supports neither and the choice changes the implementation, ask which product is intended.
Use the authoritative Morpho documentation index, Morpho SDK documentation, and Core API reference for current signatures and schemas.
Choose a mode
- Build or update: read references/blue.md for Blue, references/midnight.md for Midnight, or both when both products are in scope.
- Review, audit, QA, or pre-launch: identify Blue, Midnight, or both, then read references/review.md completely. Review only unless the user explicitly asks for fixes.