Trading signal Skill from Binance#11
Conversation
0263f8d to
60e93df
Compare
Greptile SummaryThis PR adds a new Issues found:
Confidence Score: 1/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant User
participant Agent as AI Agent (Skill)
participant Binance as Binance Web3 API
User->>Agent: "Show latest smart money buy signals on Solana"
Agent->>Binance: POST /signal/smart-money\n{chainId: "CT_501", page: 1, pageSize: 100}
Binance-->>Agent: {code: "000000", data: [...signals]}
Agent->>Agent: Parse signals\n(direction, alertPrice, currentPrice,\nmaxGain, exitRate, status, tokenTag)
Agent-->>User: Formatted signal summary\n(buy/sell, price comparison, max gain, exit rate, tags)
User->>Agent: "Get BSC signals ranked by max gain"
Agent->>Binance: POST /signal/smart-money\n{chainId: "56", page: 1, pageSize: 100}
Binance-->>Agent: {code: "000000", data: [...signals]}
Agent->>Agent: Sort by maxGain descending
Agent-->>User: Ranked signal list with performance data
Last reviewed commit: "add Trading Signal S..." |
| id: trading-signal | ||
| name: Trading Signal | ||
| description: Retrieve on-chain smart money trading signals, including buy or sell direction, trigger and current price, max gain, exit rate, and token tags. | ||
| category: Blockchain |
There was a problem hiding this comment.
The frontmatter uses category: Blockchain, but according to CONTRIBUTING.md, the only valid values are: productivity, development, communication, writing, research, other.
The automated PR checks explicitly validate that "Category is valid", so this skill will fail the automated review pipeline and cannot be merged as-is. For a financial data/on-chain analytics skill, research or other would be the most appropriate choices.
| category: Blockchain | |
| category: other |
| **Method**: POST | ||
|
|
||
| **URL**: | ||
| `https://web3.binance.com/bapi/defi/v1/public/wallet-direct/buw/wallet/web/signal/smart-money` |
There was a problem hiding this comment.
External URLs violate contribution guidelines
CONTRIBUTING.md explicitly states: "Don't reference external URLs — Skills should be self-contained."
However, this skill contains multiple live external URLs throughout its body:
- Line 33:
https://web3.binance.com/bapi/defi/v1/public/wallet-direct/buw/wallet/web/signal/smart-money(repeated on lines 62, 219, 227) - Line 81:
https://bin.bnbstatic.com/image/...(inside the example JSON) - Line 235:
https://bin.bnbstatic.com(in the Notes section)
The PR checklist item "No external URLs referenced in instructions" was checked as done, but this is incorrect — the skill contains several external URLs. These references also create a maintenance risk: if the Binance API endpoint path or the CDN URL changes, the skill instructions will become inaccurate.
Consider replacing the live API URL with a placeholder (e.g., {BINANCE_WEB3_API_BASE_URL}/signal/smart-money) and referencing the CDN domain abstractly, or working with the maintainers to confirm whether API-endpoint-style skills have an exemption from this rule.
New Skill Contribution
Skill Info
Checklist
Testing
Describe how you tested this skill:
Notes
Any additional context or notes for reviewers.