What problem does it solve?
This Skill removes the manual, error-prone work of preparing a Foundry project for BattleChain or alternative L2 deployment by scanning existing contracts and scripts, collecting deployment choices via a guided interview, and generating the necessary Forge/Foundry deployment and agreement scripts.
Core Features & Use Cases
- Repository pre-scan: Detects deployment scripts, source contracts, constructor arguments, post-deploy calls, and external dependencies.
- Interactive guided flow: Asks a sequenced set of deployment and Safe Harbor questions (14 steps) and adapts when answers overlap.
- Script generation: Produces chain-aware Forge scripts that modify existing Deploy scripts, plus CreateAgreement and RequestAttackMode scripts, and adds seeding and logging logic for BattleChain.
- Use case: A smart contract team wants to deploy audited contracts to BattleChain testnet with a Safe Harbor agreement and scripted attack-mode workflow while preserving original deployment logic.
Quick Start
Ask the assistant to "deploy battlechain", allow it to scan your repository, and answer the guided questions to generate BattleChain-ready Forge scripts.