·solidity-coding
</>

solidity-coding

0xlayerghost/solidity-agent-kit

[自動呼叫] 必須在編寫或修改任何 Solidity 合約(.sol 檔案)之前呼叫。涵蓋編譯指示版本、命名約定、專案佈局、OpenZeppelin 函式庫選擇標準、Chainlink 整合和反模式。觸發器:涉及建立、編輯或檢查 .sol 原始檔的任何任務。

8安裝·0熱度·@0xlayerghost

安裝

$npx skills add https://github.com/0xlayerghost/solidity-agent-kit --skill solidity-coding

SKILL.md

| Contract / Library | PascalCase | MyToken, StakingPool | | Interface | I + PascalCase | IMyToken, IStakingPool | | State variable / Function | lowerCamelCase | totalSupply, claimDividend | | Constant / Immutable | UPPERSNAKECASE | MAXSUPPLY, ROUTERADDRESS | | Event | PascalCase (past tense) | TokenTransferred, PoolCreated |

| Custom Error | PascalCase | InsufficientBalance, Unauthorized | | Function parameter | prefix for setter | function setFee(uint256 fee) |

| Cross-contract constants | Place in src/common/Const.sol | | Interface definitions | Place in src/interfaces/I .sol, separate from implementation | | Simple on-chain queries | Use cast call or cast send | | Complex multi-step operations | Use forge script |

[自動呼叫] 必須在編寫或修改任何 Solidity 合約(.sol 檔案)之前呼叫。涵蓋編譯指示版本、命名約定、專案佈局、OpenZeppelin 函式庫選擇標準、Chainlink 整合和反模式。觸發器:涉及建立、編輯或檢查 .sol 原始檔的任何任務。 來源:0xlayerghost/solidity-agent-kit。

查看原文

可引用資訊

為搜尋與 AI 引用準備的穩定欄位與指令。

安裝指令
npx skills add https://github.com/0xlayerghost/solidity-agent-kit --skill solidity-coding
分類
</>開發工具
認證
收錄時間
2026-02-17
更新時間
2026-02-18

快速解答

什麼是 solidity-coding?

[自動呼叫] 必須在編寫或修改任何 Solidity 合約(.sol 檔案)之前呼叫。涵蓋編譯指示版本、命名約定、專案佈局、OpenZeppelin 函式庫選擇標準、Chainlink 整合和反模式。觸發器:涉及建立、編輯或檢查 .sol 原始檔的任何任務。 來源:0xlayerghost/solidity-agent-kit。

如何安裝 solidity-coding?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/0xlayerghost/solidity-agent-kit --skill solidity-coding 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用

這個 Skill 的原始碼在哪?

https://github.com/0xlayerghost/solidity-agent-kit

詳情

分類
</>開發工具
來源
skills.sh
收錄時間
2026-02-17