用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/genlayerlabs/intelligent-oracle --skill genvm-lint命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | genvm-lint |
| description | Validate this repo's GenLayer intelligent contracts with the GenVM linter. |
| allowed-tools | ["Bash","Read"] |
Use this skill whenever intelligent-contracts/*.py changes or when contract ABI/storage behavior is relevant.
Contracts in this repo live in:
intelligent-contracts/IntelligentOracle.pyintelligent-contracts/IntelligentOracleFactory.pyThe linter is expected to be available as genvm-lint. If it is missing:
python3 -m venv .venv
. .venv/bin/activate
python -m pip install genvm-linter
Run lint before contract tests and before deployment:
genvm-lint check intelligent-contracts/IntelligentOracle.py
genvm-lint check intelligent-contracts/IntelligentOracleFactory.py
For all contracts:
genvm-lint check intelligent-contracts/*.py
Use JSON output when fixing multiple errors:
genvm-lint check intelligent-contracts/*.py --json
Fast AST checks only:
genvm-lint lint intelligent-contracts/*.py
SDK semantic validation:
genvm-lint validate intelligent-contracts/*.py
Schema and ABI inspection:
genvm-lint schema intelligent-contracts/IntelligentOracle.py --json
genvm-lint schema intelligent-contracts/IntelligentOracleFactory.py --json
Pyright-backed type checking:
genvm-lint typecheck intelligent-contracts/*.py
DynArray and TreeMap; do not persist Python list or dict.scripts/deploy.ts and src/app/api/bridge/deploy-intelligent-oracle/route.ts.get_contract_addresses, create_new_prediction_market, get_dict, get_status, and resolve.