One-click install
npx skills add https://github.com/darioloetsc/audit-cmtat --skill foundry-darioloetsc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: foundry
Source: https://github.com/darioloetsc/audit-cmtat/tree/main/lib/Rules/lib/RuleEngine/.claude/skills/foundry
Command: npx skills add https://github.com/darioloetsc/audit-cmtat --skill foundry-darioloetsc

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Foundry-based testing and deployment for Solidity projects can be verbose and repetitive; this skill consolidates guidelines, conventions, and templates to streamline test creation, script deployment, and environment setup.

Core Features & Use Cases

  • Foundry test structure conventions and templates
  • Cheatcodes and script-based automation for deployment
  • Guidance on environment variables and project organization for CMTAT

Quick Start

Run forge test to execute unit tests and forge script to perform deployment in your Foundry project.

Frequently Asked Questions about foundry

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I structure Solidity unit tests using Foundry?

Foundry test structure conventions organize Solidity unit tests by applying standardized templates and cheatcodes usage, ensuring test creation is streamlined and consistently documented for CMTAT project workflows.

How do I automate Solidity deployment scripts with forge?

Automating Solidity deployment with forge script involves using script-based automation and environment variable configurations. This approach consolidates deployment guidelines to streamline environment setup and execution.

What are Foundry cheatcodes and how do I use them in testing?

Foundry cheatcodes are special commands used within Solidity tests to manipulate the blockchain state, such as changing block numbers or impersonating accounts. This skill provides guidance on applying cheatcodes effectively within your test structure.

Does this Foundry workflow support environment variables for deployment configuration?

Yes, the Foundry workflow supports environment variables to manage deployment configurations safely. It provides specific guidance on environment variable usage and project organization tailored for CMTAT integration.

What is the best way to speed up repetitive Solidity testing and deployment tasks?

The best way to speed up repetitive Solidity testing and deployment is by applying consolidated conventions, templates, and script-based automation. This eliminates verbosity and standardizes Foundry-based workflows for forge integration.