post-process-logo
Installation
SKILL.md
Post-process logo
This skill transforms original logo images into standardised 256x256 PNG format suitable for vault protocol metadata. It automatically selects the most square variant from available logos and applies padding if needed to create a perfect square output.
Required inputs
Before starting, gather the following from the user:
- Input folder - Folder containing original logo files (e.g.,
eth_defi/data/vaults/original_logos/protocol-name/) - Output folder - Folder where processed logos should be saved (e.g.,
eth_defi/data/vaults/formatted_logos/) - Variant preference (optional) - Which variant(s) to process:
generic,light,dark, orall
If any required input is missing, ask the user before proceeding.
Prerequisites
Ensure the following are available:
- Python dependencies installed:
poetry install --with dev
Related skills
More from tradingstrategy-ai/web3-ethereum-defi
get-block-number
Get the latest block number for a blockchain using Web3.py and JSON-RPC environment variables
71extract-project-logo
Extract a project's logo from its website, brand kit, or other sources
67check-vault-onchain
Check our feature flagging against an onchain vault
66more-vaults
Add more vault smart contract types to an existing protocol
64add-vault-note
Add a note to specific vault
62fix-sphix-docs
Fix errors and warnings in Sphinx docs build
61