Prefer numeric literals without explicit type suffixes when the compiler can infer the type; keep suffixes only when inference fails or an explicit type is required for arithmetic/disambiguation.
Imported from OpenZeppelin/cairo-contracts (AGENTS.md). Install upstream with npx skills add OpenZeppelin/cairo-contracts. Copyright stays with the author.
AGENTS
Numeric literals
Prefer numeric literals without explicit type suffixes when the compiler can infer the type; keep suffixes only when inference fails or an explicit type is required for arithmetic/disambiguation.
Use it
Copy one of these into your project. Installing also returns the manifest and these snippets.
yaml
targets:
- https://api.opensmartroute.ai/api/v1/registry/openzeppelin-cairo-contracts-cairo-contracts/manifest # or paste the manifest below
Manifest
An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.
{
"ocm": "1",
"id": "openzeppelin-cairo-contracts-cairo-contracts",
"kind": "skill",
"name": "cairo-contracts",
"description": "Prefer numeric literals without explicit type suffixes when the compiler can infer the type; keep suffixes only when inference fails or an explicit type is required for arithmetic/disambiguation.",
"publisher": "OpenZeppelin",
"version": "1.0.0",
"capabilities": {
"domains": [
"math"
],
"tags": [
"skill-md",
"github-agents"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"Prefer numeric literals without explicit type suffixes when the compiler can infer the type; keep suffixes only when inference fails or an explicit type is required for arithmetic/disambiguation."
],
"primary": false,
"metadata": {
"source": {
"provider": "github-agents",
"repository": "https://github.com/OpenZeppelin/cairo-contracts",
"path": "AGENTS.md",
"ref": "f29c5cd7ff094c49243b263fa20a7efdb6f21361",
"url": "https://github.com/OpenZeppelin/cairo-contracts/blob/f29c5cd7ff094c49243b263fa20a7efdb6f21361/AGENTS.md",
"key": "OpenZeppelin/cairo-contracts/AGENTS.md"
}
},
"instructions": "# AGENTS\n\n## Numeric literals\n\nPrefer numeric literals without explicit type suffixes when the compiler can infer the type; keep suffixes only when inference fails or an explicit type is required for arithmetic/disambiguation.",
"cost": {
"context_tokens": 56
}
}
Fetch it by URL: GET /api/v1/registry/openzeppelin-cairo-contracts-cairo-contracts/manifest?version=1.0.0
Reviews
Star ratings from people who tried it. One review per account; edit yours any time.
No reviews yet. Install it, try it, and be the first to rate it.