solidity-governance

Automates DAO setup, deployment, proposal workflows, and security checks using Solidity smart contracts.

Updated Feb 4, 2026
One-click install
npx skills add https://github.com/stanah/dotagents --skill solidity-governance
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: solidity-governance
Source: https://github.com/stanah/dotagents/tree/main/.claude/skills/solidity-governance
Command: npx skills add https://github.com/stanah/dotagents --skill solidity-governance

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires solidity, hardhat, truffle, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill solves the problem of manual and error-prone DAO and governance setup processes by automating the creation and deployment of DAOs with various governance mechanisms using OpenZeppelin's Governor and other patterns.

Core Features & Use Cases

  • Automated DAO Setup: Provides templates for building DAOs based on different governance structures (e.g., OpenZeppelin Governor, Quadratic Voting, TimeLock, Multi-Sig Treasury).
  • Proposal Lifecycle Management: Streamlines the process of creating, voting, queuing, and executing proposals within a DAO.
  • Security Checks: Conducts security assessments for potential vulnerabilities such as flash loans, governance hijacking, spam proposals, and centralization of voting power.

Quick Start

Run the solidity-governance skill with the 'init-governance' command to set up a new DAO with a specified governance model.

Frequently Asked Questions about solidity-governance

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

FAQPage Schema
How do I set up a DAO using OpenZeppelin's Governor in Solidity?

To set up a DAO using OpenZeppelin's Governor, you can use the 'init-governance' command to automatically generate smart contract templates for various governance structures like Quadratic Voting, TimeLock, and Multi-Sig Treasury. This automates the proposal workflow setup and deployment process.

What security checks are needed to prevent DAO governance hijacking?

Preventing DAO governance hijacking requires security checks for vulnerabilities like flash loans, spam proposals, and centralization of voting power. This Skill conducts these security assessments automatically during the DAO setup process to ensure robust governance structures.

Can I manage the full proposal lifecycle including voting and execution in a smart contract?

Yes, you can manage the full proposal lifecycle by automating the creation, voting, queuing, and execution of proposals within a DAO. This Skill streamlines these workflows using Solidity smart contracts based on OpenZeppelin's patterns.

Do I need Hardhat or Truffle to deploy these DAO governance contracts?

Yes, you need Solidity and associated testing tools like Hardhat or Truffle to use this Skill effectively. These dependencies are required to compile, test, and deploy the generated DAO governance smart contracts.

What is the best way to implement Quadratic Voting or TimeLock for a decentralized autonomous organization?

The best way to implement Quadratic Voting or TimeLock is by using automated templates based on OpenZeppelin's Governor patterns. This Skill provides these specific governance structures out-of-the-box to streamline DAO deployment and management.