CtrlK
BlogDocsLog inGet started
Tessl Logo

defi-protocol-templates

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

81

1.26x
Quality

72%

Does it follow best practices?

Impact

100%

1.26x

Average score across 3 eval scenarios

SecuritybySnyk

Medium

Suggest reviewing before use

Fix and improve this skill with Tessl

tessl review fix ./tests/ext_conformance/artifacts/agents-wshobson/blockchain-web3/skills/defi-protocol-templates/SKILL.md

The canonical home for this skill is defi-protocol-templates in wshobson/agents

SKILL.md
Quality
Evals
Security

Quality

Content

61%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 body delivers highly actionable, complete contract templates, but it is token-heavy due to inlining full contracts that are simultaneously advertised as separate asset files, and those referenced bundle files do not actually exist. No validation-gated workflow is provided despite the financial/destructive nature of the domain.

Suggestions

Create the missing references/*.md and assets/*.sol files and move the full contract bodies there, keeping only short purpose/signature snippets inline in SKILL.md to reduce duplication and fix broken references.

Add a short, sequenced workflow with explicit validation checkpoints (e.g., compile -> run tests/fuzzing -> audit -> deploy) so destructive financial operations have a clear validate->fix->retry loop.

Tighten the inlined code volume by replacing each full contract with a concise overview plus a pointer to its asset file, reserving inline code for the minimal snippet needed to convey usage.

DimensionReasoningScore

Conciseness

The prose is lean and free of concept-padding, but ~340 lines of four complete Solidity contracts are inlined directly in SKILL.md and duplicate the assets/*.sol files advertised in Resources, so the body could be tightened by keeping only signatures or snippets inline.

3 / 5

Actionability

Four complete, executable, copy-paste-ready Solidity contracts (staking, AMM, governance, flash loan) cover the common DeFi cases with real, compilable code rather than pseudocode.

5 / 5

Workflow Clarity

There is no sequenced multi-step process with validation checkpoints; 'When to Use' offers selection guidance and 'Best Practices' lists advice, but for financial/destructive contracts the absence of explicit validate->fix->retry steps caps this at 3.

3 / 5

Progressive Disclosure

The Resources section signals nine referenced files, but the references/, scripts/, and assets/ directories do not exist, and the full contracts that belong in those asset files are inlined in SKILL.md rather than split out one level deep.

2 / 5

Total

13

/

20

Passed

Description

83%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.

The description is strong: it states concrete capabilities across multiple DeFi protocol types and gives an explicit, natural-language usage trigger. Minor gaps in synonym coverage and a slightly broad 'smart contract protocols' phrase keep it just below perfect.

DimensionReasoningScore

Specificity

Lists several concrete protocol areas ('staking, AMMs, governance, and lending systems') as templates to implement, but omits flash loans and yield farming shown in the body, so coverage is not fully comprehensive.

4 / 5

Completeness

Explicitly answers both 'what' ('Implement DeFi protocols with production-ready templates for staking, AMMs, governance, and lending systems') and 'when' ('Use when building decentralized finance applications or smart contract protocols') with concrete trigger phrases.

5 / 5

Trigger Term Quality

Includes natural terms like 'decentralized finance applications', 'smart contract protocols', 'staking, AMMs, governance, and lending systems', but misses common synonyms such as yield farming, flash loans, or liquidity pools.

4 / 5

Distinctiveness Conflict Risk

The DeFi template niche is clearly distinct, though 'smart contract protocols' is broad enough to create minor overlap risk with a general Solidity or smart-contract skill.

4 / 5

Total

17

/

20

Passed

Validation

93%

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

Validation15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

referenced_paths_exist

Referenced path issues: 9 missing

Warning

Total

15

/

16

Passed

Repository
Dicklesworthstone/pi_agent_rust
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.