Generate Foundry fork tests for contracts that need real on-chain integration coverage. Use when the user asks for fork tests, mainnet or chain fork coverage, or integration tests against live protocol state.
中文简介正在准备中。当前显示原文说明。
Handle git commits with auto-staging, targeted pre-commit formatting, and Conventional Commit messages. Use when the user says commit it, commit this, commit changes, save my changes, or similar git commit requests.
中文简介正在准备中。当前显示原文说明。
实测评分 未实测
查看安装方法安装前可以查看交给 AI 代理的指令内容。
Automate the full commit workflow: inspect changes, format only affected files, stage tracked and untracked files individually, generate a Conventional Commit message, and create the commit. The user asked for a commit because they want the commit created, not a plan.
Run git status.
Stop and tell the user if the repo is mid-merge, rebase, or cherry-pick. If there are no tracked or untracked changes, say Nothing to commit and stop.
Run these in parallel:
git diffgit diff --cachedgit status --porcelaingit log --oneline -5Untracked files shown as ?? are often part of the current task and should normally be included.
Collect candidate files with:
git diff --name-onlygit diff --name-only --cachedgit ls-files --others --exclude-standardOnly run formatters for changed files.
If any .sol files under contracts/tests/ changed:
forge fmt <those-files>
If any .sol files not under contracts/tests/ changed:
npx prettier --write --plugin=prettier-plugin-solidity <those-files>
If files under src/js/ or JS config files changed:
yarn lint --fix
yarn prettier --write <changed-js-files>
Do not format the whole repository. If formatting fails and cannot be auto-fixed, report the issue and stop unless the user explicitly wants to proceed.
Stage files individually. Do not use git add -A or git add ..
Include:
Skip and warn on likely secrets:
.env and .env.*credential or secret*.pem, *.p12, *.pfx*.key private keysBase the message on the staged diff from git diff --cached.
Format:
type(scope): description
Types:
featfixrefactorperftestdocschoreSuggested scopes in this repo:
lidoetherfiethenaoriginarmdeployjscapzappermarketpendleskillIf the change spans multiple unrelated areas, omit the scope. Use imperative mood, lowercase, no trailing period, and keep the subject under 72 characters.
Always run git commit unless an earlier safety stop applied. Do not stop after staging and do not ask for confirmation if the user already requested a commit.
Check the original user request for:
Create the commit with git commit -m .... Afterward run git status to confirm success and report:
Committed <short-hash>: type(scope): description
If the user explicitly asked to push, run git push or git push -u origin <branch> when needed. Otherwise do not push and do not ask.
--no-verify还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Generate Foundry fork tests for contracts that need real on-chain integration coverage. Use when the user asks for fork tests, mainnet or chain fork coverage, or integration tests against live protocol state.
中文简介正在准备中。当前显示原文说明。
Reorganize Foundry test files (*.t.sol) for readability and consistency without changing semantics. Use when the user asks to organize, reorder, clean up, tidy, or reformat a test file's structure.
中文简介正在准备中。当前显示原文说明。
Generate Foundry smoke tests that validate deployment health using DeployManager/Resolver against real on-chain state with pending governance applied. Use when the user asks for smoke tests, deployment verification tests, or post-deploy health checks.
中文简介正在准备中。当前显示原文说明。
Develop, modify, review, and maintain standalone Talos actions in contracts/tasks/actions, including chain guardrails, contract bindings, transaction safety, schedules, action catalogues, and Talos documentation. Use when adding an action, changing an action’s behavior or parameters, updating a Talos schedule, or maintaining action runtime support.
中文简介正在准备中。当前显示原文说明。
Generate Foundry unit tests for a contract using this repository's conventions, structure, and naming. Use when the user asks for unit tests, Foundry tests, concrete tests, or fuzz tests.
中文简介正在准备中。当前显示原文说明。
Verifies a POST-EXECUTION mainnet (or other network) smart-contract deployment PR for this repo: confirms every deployed contract is listed in the PR description, that the on-chain verified source (and its dependencies) matches the codebase via `sol2uml diff`, that constructor args and the initialize tx match the Foundry script, and that the on-chain governance proposal matches the script's actions. Use when asked to review, verify, audit, or sign off on an executed deployment PR. Invoke explicitly with /verify-deployment-pr <PR#>.
中文简介正在准备中。当前显示原文说明。