BC swap-integration
Integrate PancakeSwap swaps into applications. Use when user says "integrate swaps", "pancakeswap", "smart router", "add swap functionality", "build a swap frontend", "create a swap script", "smart contract swap integration", "use Universal Router", or mentions swapping tokens via PancakeSwap.
As a process C 52/100 · Has gaps — weak spots: result and completion, when it triggers, inputs and preconditions
What is at stake
Medium-severity findings: the skill is probably honest, but read what alarmed the scanner.
Below is the worst case for this category. The finding here is medium: the guard saw a sign, not a proof.
The skill asks for more than the task needs: broad tool access, credential environment variables, binaries. Every extra permission widens the damage from a mistake or a compromise.
Narrow allowed-tools and the variable list to the minimum; replace binaries with readable sources or scripts.
How to improve
- The SKILL.md body is over 5,000 tokens: move reference detail into references/ and load it when needed.
- Your own cases (evals/evals.json, 4–6 real requests with expected answers): the full check would then run those instead of a model-drafted suite.
- A spec.yaml with trigger phrases and assertions — a behaviour contract for CI; `skilltest init` writes a template.
Guard findings · 6
✓ No critical or high findings
Medium and low: 6
-
medium Broad scope
meta-broad-allowed-toolsSKILL.md:1Broad tool permissions pre-approved: Bash(curl:*)allowed-tools: Read Write Edit Glob Grep Bash(npm:*) Bash(npx:*) Bash(yarn:*) Bash(curl:*) WebFetch Task(subagent_type:swap-integration-expert)
-
low Secrets in code
secret-high-entropy-tokenSKILL.md:88High-entropy token-like string (may be an id, hash or a credential) (documentation table row)| WBNB | `0xbb…95c` |
table -
low Secrets in code
secret-high-entropy-tokenSKILL.md:89High-entropy token-like string (may be an id, hash or a credential) (documentation table row)| BUSD | `0xe9…D56` |
table -
low Secrets in code
secret-high-entropy-tokenSKILL.md:90High-entropy token-like string (may be an id, hash or a credential) (documentation table row)| USDT | `0x55…955` |
table -
low Secrets in code
secret-high-entropy-tokenSKILL.md:91High-entropy token-like string (may be an id, hash or a credential) (documentation table row)| USDC | `0x8A…80d` |
table -
low Secrets in code
secret-high-entropy-tokenSKILL.md:92High-entropy token-like string (may be an id, hash or a credential) (documentation table row)| CAKE | `0x0E…E82` |
table
Files scanned: 2. Evidence is masked. Grey chips explain why severity was lowered.
Against the Agent Skills spec
- warning
body-longSKILL.md body ≈ 8003 tokens (recommended < 5000); move details to references/ - note
frontmatter-keyunknown frontmatter key "slug" - note
frontmatter-keyunknown frontmatter key "homepage"
Process rating: all ten parameters 52/100
- 0Result and completion. Does not say what the result is
- 0Inputs and preconditions. Does not say what the process needs to start
- 0Progress reporting. Says nothing while it works
- 20When it triggers. No condition that starts the skill
- 30Running it twice. 3 mutating operations with no state check
- 40Consistency. Frontmatter name (swap-integration) differs from the folder (pcs-swap-integration)
- 40Execution cost. Instruction body is 8003 tokens: crowds the task out of the window
- 100Tools and files. Tools declared in frontmatter
- 100Steps. 9 steps
- 100Failures and branches. 1 branches, has a failure section
- low 12 top-level sections: this looks like several domains in one skill
Everything here is measured from the skill text rather than judged by a model, so the numbers are checkable. A parameter weighs more when it is a more common reason for the process to stall.
Quality signals
- +4Description does not say when NOT to use the skill (false activations)
- +3Output format is not stated: the model decides each time
- -245 emoji in the instructions: noise for the model
- +2Single-language instructions
- +5Description quotes 8 example trigger phrases
- +3Description length 294: enough signal without eating the budget
- +4Structure: 41 headings
- +3Step-by-step instructions: 9 items
- +4Has examples (20 code blocks)
- +1License stated
Quality base 70; lint remarks subtract, signals add up to 100. Result: 76.