Skip to content
Development
Skill

/smart-contracts

- [ ] **Protocol Design:** Define contract architecture (e.g., Monolithic vs. Proxy/Upgradable vs. Diamond pattern). - [ ] **Tokenomics:** Map out value flow, minting, burning, and pausing capabilities (ERC20/ERC721/ERC1155). - [ ] **Access Control:** Plan roles (Owner, Admin,

From plugin
pudo-code-system
538 skills1 agent

Claude Code

$ npx -y skills add DongDuong2001/pudo-code-system --skill smart-contracts --agent claude-code

SKILL.md

smart-contracts.SKILL.md

Web3 & Smart Contracts PUDO Checklist

1. PLAN (Architecture & Strategy)

  • [ ] **Protocol Design:** Define contract architecture (e.g., Monolithic vs. Proxy/Upgradable vs. Diamond pattern).
  • [ ] **Tokenomics:** Map out value flow, minting, burning, and pausing capabilities (ERC20/ERC721/ERC1155).
  • [ ] **Access Control:** Plan roles (Owner, Admin, Minter) and multisig requirements.
  • [ ] **Gas Economics:** Architect data structures to minimize storage operations (packing variables).

2. UNDERSTAND (Context & Auditing)

  • [ ] **Dependencies:** Validate versions of inherited libraries (e.g., OpenZeppelin Contracts).
  • [ ] **External Interactions:** Map all calls to external, untrusted contracts (risk of reentrancy).
  • [ ] **State Changes:** Understand the lifecycle of state variables over the contract's active period.

3. DEVELOP (Implementation)

  • [ ] **CEI Pattern:** STRICTLY adhere to Checks-Effects-Interactions pattern for all state-mutating functions.
  • [ ] **Modifiers:** Use modifiers for access control and validation logically without bloating gas.
  • [ ] **Events:** Emit events for all significant state changes for off-chain indexing.
  • [ ] **Testing:** Achieve 100% branch test coverage using Foundry or Hardhat. Include fuzz testing and invariant testing.

4. OPTIMIZE (Performance & Review)

  • [ ] **Security Auditing:** Run static analyzers (Slither, Aderyn) to catch common vulnerabilities (reentrancy, arithmetic overflows).
  • [ ] **Gas Optimization:** Use `calldata` instead of `memory` for read-only external inputs. Pack structs to fit in 256-bit slots.
  • [ ] **Upgradability:** If using proxies, ensure storage slots do not clash on upgrades (append-only storage).
  • [ ] **Documentation:** Add NatSpec comments (`@title`, `@notice`, `@param`) to all public/external functions.
Read more
@dongduong2001
Ships withpudo-code-system

Modular, scalable, automated development intelligence.

538 skills1 agent
Get the whole plugin

Stars on GitHub

Momentum

stars in total
5
Star history of DongDuong2001/pudo-code-system on GitHub, a chart by star-history.com

Other skills on pudo-code-system.

pudo

pudo

PUDO workflow: Plan -> Understand -> Develop -> Optimize. Use on any non-trivial coding task (features, bug fixes, refactors,…

fastapi

fastapi

- [ ] **API Design:** Define RESTful endpoints, path parameters, and query parameters. - [ ] **Data Validation:** Plan Pydantic…

rust

rust

- [ ] **Framework Selection:** Choose web framework (Axum, Actix-web) based on performance vs. ecosystem needs. - [ ] **Crate…

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills11d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc13d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react2d252k
@facebook@facebookInstall Skill

Questions about smart-contracts.

Which coding agents can use smart-contracts?
smart-contracts installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.