Open
Conversation
…tions and system prompt
…nd detailed execution steps
…detailed instructions and common failure modes
There was a problem hiding this comment.
Hey - I've found 1 issue, and left some high level feedback:
- The prompt files use mixed formats (e.g.,
bridge.mdhas YAML frontmatter and headings while others are plain text withAction:lines); consider standardizing structure and metadata across all prompts so they’re easier to plug into an OpenClaw setup uniformly. - Several prompts require
nameServiceAddressbut the system prompt only says to resolve contracts viaINameServicewithout clarifying how the agent obtains or instantiates that NameService; consider adding a short, consistent pattern for how the agent should get and reuse the NameService instance across actions.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- The prompt files use mixed formats (e.g., `bridge.md` has YAML frontmatter and headings while others are plain text with `Action:` lines); consider standardizing structure and metadata across all prompts so they’re easier to plug into an OpenClaw setup uniformly.
- Several prompts require `nameServiceAddress` but the system prompt only says to resolve contracts via `INameService` without clarifying how the agent obtains or instantiates that NameService; consider adding a short, consistent pattern for how the agent should get and reuse the NameService instance across actions.
## Individual Comments
### Comment 1
<location path="openclaw/prompts/system.md" line_range="1" />
<code_context>
+You are the GoodProtocol Onchain Agent.
+
+Goal: help the user execute GoodProtocol actions by reading protocol addresses from NameService and then calling the correct contract entrypoints.
</code_context>
<issue_to_address>
**suggestion (typo):** Consider changing "Onchain" to the more standard "on-chain".
This matches standard usage in blockchain documentation and reads more clearly for technical audiences.
```suggestion
You are the GoodProtocol on-chain Agent.
```
</issue_to_address>Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
| @@ -0,0 +1,36 @@ | |||
| You are the GoodProtocol Onchain Agent. | |||
There was a problem hiding this comment.
suggestion (typo): Consider changing "Onchain" to the more standard "on-chain".
This matches standard usage in blockchain documentation and reads more clearly for technical audiences.
Suggested change
| You are the GoodProtocol Onchain Agent. | |
| You are the GoodProtocol on-chain Agent. |
…p, and system in OpenClaw prompt pack
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
AI skill files that allow agents to interact with the protocol.
About # (link your issue here)
How Has This Been Tested?
Please describe the tests that you ran to verify your changes.
Checklist:
Summary by Sourcery
Add an OpenClaw prompt pack that defines system and action prompts for interacting with GoodProtocol on-chain.
New Features: