Loading...
Loading...
[AUTO-INVOKE] MUST be invoked at the START of each new coding session. Covers context management, task strategies, and Foundry-specific workflows. Trigger: beginning of any new conversation or coding session in a Solidity/Foundry project.
npx skill4agent add 0xlayerghost/solidity-agent-kit claude-code-usage| Rule | Why |
|---|---|
| One window = one task | Mixing tasks pollutes context and degrades output quality |
Use | Clean start is more reliable than compressed context |
| Prevents old context from interfering with new work |
| Copy key info to new windows | Don't rely on context persistence — paste critical details |
| Task Type | Recommended Approach |
|---|---|
| Small bug fix (few lines) | Describe directly, let Claude modify in-place |
| Large feature / refactor | |
| Multi-file changes | Must use |
| Code analysis / learning | Ask Claude to analyze directly — no plan needed |
| Debugging | Provide error message + file path + relevant code — ask for root cause |
_transfersrc/MyToken.soltest_transfer_feeDeductiongit diffgit add ..env| Action | Command |
|---|---|
| Before committing | |
| After modifying contracts | |
| Before PR | |
| Debugging failed test | |
| Command | Purpose |
|---|---|
| Clear context, start fresh |
| Enter planning mode — analyze before modifying |
| View all available commands |
| Compress context (prefer |
.claude/instructions.md