CtrlK
BlogDocsLog inGet started
Tessl Logo

defi-protocol-templates

Implement DeFi protocols with production-ready templates for staking, AMMs, governance, and flash loans. Use when building decentralized finance applications or smart contract protocols.

65

Quality

78%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Medium

Suggest reviewing before use

Fix and improve this skill with Tessl

tessl review fix ./plugins/blockchain-web3/skills/defi-protocol-templates/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

68%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

The content is executable and well-structured with a clean reference split, but it omits any deployment/usage workflow and, most importantly, any validation or audit guidance for contracts that custody user funds — triggering the destructive-operations cap on workflow clarity.

Suggestions

Add a short deployment + verification workflow with explicit checkpoints (e.g. compile, run tests, audit, then deploy) so fund-handling operations are not presented without validation steps.

Pin or update OpenZeppelin import paths and pragma versions, and note which OZ major release the templates target, so the code is copy-paste-executable as written.

Rebalance content: inline minimal skeletons of each contract in SKILL.md and move the full implementations into references/, adding a short index of which reference covers which protocol.

DimensionReasoningScore

Conciseness

The body is prose-lean with no padding or explanations of concepts Claude already knows; it is mostly executable code. Not a 5 because two complete contracts (~215 lines) are inlined wholesale where a tighter skeleton plus reference pointers would be leaner.

4 / 5

Actionability

Provides two complete, copy-paste-ready Solidity contracts (StakingRewards, SimpleAMM) covering common cases. Not a 5 because OpenZeppelin import paths (e.g. contracts/security/ReentrancyGuard.sol) and pragma/version assumptions are not validated against current OZ releases, leaving a minor gap for execution.

4 / 5

Workflow Clarity

There is no multi-step deployment/usage workflow and, critically, no validation or verification steps for fund-handling operations; per rubric guidance, destructive/batch operations without validation cap this dimension at 3. Not a 2 because the per-contract function structure is itself coherent and the reference pointer gives a sequence.

3 / 5

Progressive Disclosure

Good structure: SKILL.md gives an overview with two representative contracts inline and a clearly signaled, one-level-deep pointer to references/details.md (verified to exist as a real file). Not a 5 because the split is only "inline vs. one other file" with no organized index of what each reference contains.

4 / 5

Total

15

/

20

Passed

Description

87%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong, well-formed description that clearly states both capability and trigger conditions with concrete DeFi-specific keywords. Its only weakness is keyword breadth — a few common synonyms (yield, DEX, liquidity pools) are absent.

DimensionReasoningScore

Specificity

Names the DeFi domain and several concrete template categories ("staking, AMMs, governance, and flash loans") rather than vague actions, with only minor coverage gaps. Not a 5 because it lists protocol families rather than multiple distinct concrete actions within them.

4 / 5

Completeness

Explicitly answers both what ("Implement DeFi protocols with production-ready templates for staking, AMMs, governance, and flash loans") and when ("Use when building decentralized finance applications or smart contract protocols") with concrete trigger phrases. Both halves are clearly and explicitly stated.

5 / 5

Trigger Term Quality

Good natural keyword coverage ("DeFi protocols", "staking", "AMMs", "governance", "flash loans", "decentralized finance applications", "smart contract protocols") users would plausibly say, missing only a few synonyms. Not a 5 because it lacks common shorthand/synonyms like "yield", "liquidity pools", or "DEX".

4 / 5

Distinctiveness Conflict Risk

Occupies a clear DeFi-templates niche with distinct, domain-specific triggers that would not plausibly fire for unrelated skills. Minimal conflict risk given the specialized vocabulary.

5 / 5

Total

18

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository
wshobson/agents
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.