governance-patterns

Implement on-chain DAO governance with OpenZeppelin Governor and TimelockController.

120|12|Updated Apr 10, 2026
One-click install
npx skills add https://github.com/ccashwell/evm-cortex --skill governance-patterns
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: governance-patterns
Source: https://github.com/ccashwell/evm-cortex/tree/main/skills/governance-patterns
Command: npx skills add https://github.com/ccashwell/evm-cortex --skill governance-patterns

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

On-chain governance is complex; this skill provides patterns to implement governance, voting, quorum, and timelock systems for DAOs.

Core Features & Use Cases

  • OpenZeppelin Governor setup with voting, quorum, and timelock integrations.
  • TimelockController deployment and role management for secure proposal execution.
  • End-to-end proposal lifecycle: propose, vote, queue, execute, and governance token voting power.
  • Guidance on token-based voting, delegation, and quorum configuration for different DAO sizes.
  • Real-world use cases including DAO upgrades, treasury management, and governance experiments.

Quick Start

Implement an initial governor contract and timelock workflow to start proposing and voting on governance actions.

Frequently Asked Questions about governance-patterns

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

FAQPage Schema
How do I implement onchain DAO voting and proposal execution using OpenZeppelin Governor?

You can implement onchain DAO voting by setting up an OpenZeppelin Governor contract alongside a TimelockController, enabling a full proposal lifecycle including proposing, voting, queuing, and executing governance actions securely.

What is a TimelockController and when do I need it for Solidity governance contracts?

A TimelockController enforces a mandatory delay period between proposal approval and execution. You need it in Solidity DAOs to secure onchain governance actions against malicious or rushed administrative updates.

How do I configure vote quorum and token delegation for different DAO sizes?

Configuring vote quorum involves setting the minimum participation threshold on your Governor contract. This skill provides patterns for adjusting quorum parameters and managing token-based voting power delegation tailored to different DAO sizes.

Does this governance skill cover the complete proposal lifecycle from propose to execute?

Yes, it covers the complete proposal lifecycle. It guides developers through proposing, voting, queuing, and executing actions, while detailing how voting power architecture integrates seamlessly with governance token implementations.

Can I use these onchain governance patterns for DAO treasury management and contract upgrades?

Yes, these onchain governance patterns directly support real-world use cases like DAO upgrades and treasury management. They provide the necessary Governor and timelock logic to securely route and execute administrative actions.