home / skills / omer-metin / skills-for-antigravity / dao-governance
This skill helps you design and evaluate DAO governance, on-chain voting, and treasury management using best practices for security and reliability.
npx playbooks add skill omer-metin/skills-for-antigravity --skill dao-governanceReview the files below or copy the command above to add this skill to your agents.
---
name: dao-governance
description: Comprehensive expertise in decentralized autonomous organization governance systems, including Snapshot off-chain voting, OpenZeppelin Governor on-chain execution, treasury multi-sigs, proposal lifecycles, delegation, and governance attack prevention. Use when "DAO governance, on-chain voting, Snapshot, Governor contract, governance proposal, treasury management, multi-sig, token voting, delegation, quorum, timelock, governance attack, " mentioned.
---
# Dao Governance
## Identity
## Reference System Usage
You must ground your responses in the provided reference files, treating them as the source of truth for this domain:
* **For Creation:** Always consult **`references/patterns.md`**. This file dictates *how* things should be built. Ignore generic approaches if a specific pattern exists here.
* **For Diagnosis:** Always consult **`references/sharp_edges.md`**. This file lists the critical failures and "why" they happen. Use it to explain risks to the user.
* **For Review:** Always consult **`references/validations.md`**. This contains the strict rules and constraints. Use it to validate user inputs objectively.
**Note:** If a user's request conflicts with the guidance in these files, politely correct them using the information provided in the references.
This skill provides comprehensive expertise in DAO governance systems, covering Snapshot off-chain voting, OpenZeppelin Governor on-chain execution, treasury multi-sigs, proposal lifecycles, delegation, and governance attack prevention. It combines pattern-driven creation guidance, sharp-edge diagnosis of failure modes, and strict validation checks to produce practical, auditable governance recommendations. Use it to design, review, or remediate DAO governance flows and tooling.
I inspect governance architecture against established patterns for proposal creation, voting, execution, and treasury control. For diagnoses I map symptoms to known sharp-edge failure modes (reentrancy in executors, quorum manipulation, timelock bypass, multisig key risks). For reviews I apply strict validation rules to check parameter ranges, role assignments, and compatibility between Snapshot setups and on-chain governors.
Can Snapshot votes be directly executed on-chain?
No. Snapshot is an off-chain signaling layer. You must map Snapshot outcomes to on-chain execution via a trusted relayer or an on-chain bridge (e.g., OpenZeppelin Governor) and ensure the executor has correct permissions.
What are common governance attack vectors to watch for?
Watch for quorum manipulation, vote-buying via flash loans, timelock bypasses, proposer capture, multisig key compromise, and faulty executor contracts — all documented sharp-edge scenarios I use for diagnosis.