lineth-monorepo: Skill for Claude Code

.agents/skills/developing-smart-contracts/SKILL.md

developing-smart-contracts is a skill for Claude Code, Codex from LFDT-Lineth/lineth-monorepo. It costs 63 tokens per session (1,401 once invoked), scanned A, original, Apache-2.0.

A set of Solidity development guidelines for Lineth blockchain smart contracts, including rules for documentation, naming, structure, imports, visibility, and gas use.

In plain words
What is it for?
Use it when writing, reviewing, or refactoring Solidity contracts and adding NatSpec documentation.
Why use it?
It gives contract work consistent standards and helps avoid common code-organization, documentation, and efficiency problems.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is LFDT-Lineth/lineth-monorepo's own configuration. It tells Claude Code and Codex how to work on lineth-monorepo itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything lineth-monorepo configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is import { IMessageService } from "../interfaces/IMessageService.sol";.

Reuse

Borrowing it

Nothing to install: this file belongs to LFDT-Lineth/lineth-monorepo. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/LFDT-Lineth/lineth-monorepo/main/.agents/skills/developing-smart-contracts/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/LFDT-Lineth/lineth-monorepo

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for developing-smart-contracts

README.md
[![agentmods](https://agentmods.dev/badge/skills/lfdt-lineth/lineth-monorepo/developing-smart-contracts.svg)](https://agentmods.dev/skills/lfdt-lineth/lineth-monorepo/developing-smart-contracts)
Your own site
<a href="https://agentmods.dev/skills/lfdt-lineth/lineth-monorepo/developing-smart-contracts"><img src="https://agentmods.dev/badge/skills/lfdt-lineth/lineth-monorepo/developing-smart-contracts.svg" alt="Measured on agentmods" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,401 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00063 $0.01401
Opus 5 $0.00032 $0.00700
Sonnet 5 $0.00013 $0.00280
Haiku 4.5 $0.00006 $0.00140

Measured 8d ago against content hash b1fb1faea539, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

developing-smart-contracts scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/developing-smart-contracts/SKILL.md · 166 lines

How it starts

The opening of the file, as written. The whole thing — 166 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Lineth Smart Contract Development

Best practices for developing Solidity smart contracts on Lineth blockchain. Contains rules covering documentation, naming, structure, and code style.

Reference: Lineth Contract Style Guide

When to Apply

Reference these guidelines when:

  • Writing new Solidity contracts for Lineth
  • Reviewing smart contract code
  • Refactoring existing contracts
  • Adding NatSpec docstring documentation
  • Setting up contract file structure

Licenses

// SPDX-License-Identifier: Apache-2.0 OR MIT

Solidity Pragma

  • Contracts: 0.8.33 (exact)
  • Interfaces, abstract contracts, libraries: ^0.8.33 (caret)

Rule Categories by Priority

Priority Category Impact Rule File
1 Gas optimization CRITICAL rules/gas-optimization.md
2 NatSpec Docstrings HIGH rules/natspec.md
3 File Layout HIGH rules/file-layout.md
4 Naming HIGH rules/naming-conventions.md
5 Imports MEDIUM rules/imports.md
6 Visibility MEDIUM rules/visibility.md
7 General Rules MEDIUM rules/general-rules.md

Read individual rule files for detailed explanations and code examples (correct and incorrect).

Quick Reference

1. Gas Optimization (CRITICAL)

Gas efficiency is critical for Lineth contracts. Apply these rules unless there is a documented safety, audit, or readability reason to deviate.

// Correct: external + calldata, cache storage reads
function submit(bytes32[] calldata _proofs) external {
  uint256 current = fee;
  require(current != 0, FeeNotSet());
  _verify(_proofs, current);
}

// Incorrect: public + memory, repeated storage reads
function submit(bytes32[] memory _proofs) public {
  require(fee != 0, FeeNotSet());
  _verify(_proofs, fee);
}

Read the full file on GitHub · 166 lines

Files

What ships with it

9 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 166 lines · 63 tokens per session scan A b1fb1faea539

Subscribe to this mod's changes

developing-smart-contracts is a skill published in the GitHub repository LFDT-Lineth/lineth-monorepo (126 stars, last pushed today), licensed Apache-2.0. It adds 63 tokens to every session and 1,401 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

blockchain-expert

Expert-level blockchain, Web3, smart contracts, DeFi, and cryptocurrency development. Use when the user mentions Web3, smart contracts, DeFi, Ethereum, or Solidity, or when the task involves Blockchain Fundamentals, Web3 & DeFi, Smart Contract Security, or Gas Optimization.

personamanagmentlayer/pcl · 63 tokens

blockchain-zk

Zero-knowledge proofs, zk-rollup, zkEVM, Circom, Noir, Halo2, proof systems, Groth16, PLONK, STARK, recursive proofs, circuit optimization, zkSync, StarkNet, Scroll, Polygon zkEVM, and ZK application patterns. Covers proof system selection, circuit programming, prover infrastructure, and ZK rollup architecture. Do NOT…

j4flmao/agent-skills · 116 tokens

web3-expert

Build production-ready Web3 applications including smart contracts, dApps, DeFi protocols, and decentralized storage solutions. Use when the user mentions Web3, smart contracts or Solidity, dApps, DeFi protocols, ethers.js or web3.js, IPFS, or on-chain integration with Ethereum-compatible networks.

personamanagmentlayer/pcl · 66 tokens

solidity-language-docs

Solidity 0.8.36 — smart contracts, types, functions, modifiers, events, inheritance, libraries, assembly, ABI.

pledgeandgrow/pledge-skills · 34 tokens

Web3 & Blockchain Development

Production-grade Web3 development with Solidity smart contracts, ethers.js/web3.js integration, DApp architecture, security patterns, and AI-enhanced blockchain development (ChatWeb3, Aider + Gemini 2024).

bobmatnyc/mcp-skillset · 49 tokens

analyzing-ethereum-smart-contract-vulnerabilities

Perform static and symbolic analysis of Solidity smart contracts using Slither and Mythril to detect reentrancy, integer overflow, access control, and other vulnerability classes before deployment to Ethereum mainnet.

mukul975/Anthropic-Cybersecurity-Skills · 49 tokens