بنقرة واحدة
genvm-lint
Lint, validate, schema-extract, and typecheck GenLayer intelligent contracts before tests or deployment.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Lint, validate, schema-extract, and typecheck GenLayer intelligent contracts before tests or deployment.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | genvm-lint |
| description | Lint, validate, schema-extract, and typecheck GenLayer intelligent contracts before tests or deployment. |
Use this skill whenever a task involves modifying, reviewing, or debugging a GenLayer intelligent contract.
Use this skill for:
Always lint before testing. Run genvm-lint check after writing or modifying a contract, fix reported issues, and only then move to $direct-tests or $integration-tests.
pip install genvm-linter
Prefer the repo wrapper when available:
npm run contract:check
genvm-lint check <contract> --json when you need structured output.genvm-lint check contracts/my_contract.py
genvm-lint check contracts/my_contract.py --json
check runs lint and validate in one pass and should be the default starting point.
genvm-lint lint contracts/my_contract.py
Use this for fast AST-level checks such as:
genvm-lint validate contracts/my_contract.py
Use this for SDK semantic checks such as:
genvm-lint schema contracts/my_contract.py
genvm-lint schema contracts/my_contract.py --json
genvm-lint schema contracts/my_contract.py --output abi.json
genvm-lint typecheck contracts/my_contract.py
genvm-lint typecheck contracts/my_contract.py --json
genvm-lint typecheck contracts/my_contract.py --strict
genvm-lint download
genvm-lint download --version v0.2.12
genvm-lint download --list
Use download when the environment is missing GenVM artifacts.
Human output is useful for quick iteration:
Lint passed
Validation passed
Contract: MyContract
JSON output is better for automated fix loops and method-shape inspection:
{"ok":true,"lint":{"ok":true},"validate":{"ok":true}}
0 means all checks passed1 means lint, validation, or type errors were found2 usually means the contract file was not found3 usually means GenVM artifact download failedWhen asked to "make the contract pass lint":
genvm-lint check ... --json.Execute git commit with conventional commit message analysis, intelligent staging, and message generation. Use when user asks to commit changes or mentions "/commit".
Scaffold a new skill directory using the multi-YAML pattern. Use when user says /create-skill.
Write, run, and refine fast direct-mode tests for GenLayer intelligent contracts using the in-memory pytest fixtures.
Refresh documentation with deterministic generation from source files. Use when user says /docs-refresh.
Deploy, interact with, inspect, and debug GenLayer intelligent contracts with the GenLayer CLI across local Studio, hosted Studio, and testnet.
Install, upgrade, and monitor a GenLayer validator node on AMD64 Linux, including zero-downtime updates and LLM provider setup.