with one click
genvm-lint
// Validate this repo's GenLayer intelligent contracts with the GenVM linter.
// Validate this repo's GenLayer intelligent contracts with the GenVM linter.
Design, deploy, and monitor a GenLayer Intelligent Oracle prediction market from any coding agent. Use when a user wants to create a settled-by-web-evidence prediction market without opening the web UI.
Deploy GenLayer intelligent contracts using the deployment script. User-invoked only.
Write and run fast direct-mode pytest tests for this repo's GenLayer intelligent contracts.
Use the GenLayer CLI to inspect, interact with, and debug this repo's intelligent contracts.
Run or design live-environment GenLayer tests for this intelligent-oracle repo.
Run tests and build checks across the intelligent-oracle project. Use after making changes to validate nothing is broken.
| 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.