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.

Install with Tessl CLI

npx tessl i github:Dicklesworthstone/pi_agent_rust --skill defi-protocol-templates
What are skills?

80

1.26x

Quality

68%

Does it follow best practices?

Impact

100%

1.26x

Average score across 3 eval scenarios

Optimize this skill with Tessl

npx tessl skill review --optimize ./tests/ext_conformance/artifacts/agents-wshobson/blockchain-web3/skills/defi-protocol-templates/SKILL.md
SKILL.md
Review
Evals

Discovery

85%

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

This is a well-structured description that clearly defines its DeFi-specific niche with concrete protocol types and explicit usage triggers. The main weakness is moderate trigger term coverage - while it captures core DeFi terminology, it misses some common user phrases and variations that could improve skill selection accuracy.

Suggestions

Add more natural trigger terms users might say: 'yield farming', 'liquidity pools', 'token swaps', 'DEX', 'DAO voting', 'Solidity contracts'

DimensionReasoningScore

Specificity

Lists multiple specific concrete actions: 'staking, AMMs, governance, and lending systems' along with 'production-ready templates' - these are specific DeFi protocol types rather than vague language.

3 / 3

Completeness

Clearly 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 explicit trigger guidance.

3 / 3

Trigger Term Quality

Includes good terms like 'DeFi', 'staking', 'AMMs', 'governance', 'lending', 'smart contract protocols', but missing common variations users might say like 'yield farming', 'liquidity pools', 'token swaps', 'DAO', or 'Solidity'.

2 / 3

Distinctiveness Conflict Risk

Clear niche focused specifically on DeFi protocols with distinct triggers like 'staking', 'AMMs', 'governance', 'lending' - unlikely to conflict with general smart contract or web development skills.

3 / 3

Total

11

/

12

Passed

Implementation

52%

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

This skill excels at providing production-ready, executable Solidity code templates for common DeFi protocols. However, it lacks critical workflow guidance for safely deploying and testing these high-stakes contracts, and includes some generic best practices that don't add value. The content would benefit from deployment workflows with validation checkpoints and better separation of overview from detailed implementations.

Suggestions

Add a deployment workflow section with explicit steps: compile -> test locally -> deploy to testnet -> verify -> audit -> deploy to mainnet, with validation checkpoints at each stage

Move the full contract implementations to separate files (assets/) and keep only minimal examples or key snippets in the main SKILL.md

Remove or condense the 'Best Practices' and 'Common DeFi Patterns' sections - these are generic knowledge Claude already has

Add specific testing commands and validation steps (e.g., 'Run: forge test --match-contract StakingTest' before any deployment)

DimensionReasoningScore

Conciseness

The skill provides substantial code templates which are valuable, but includes some unnecessary sections like 'When to Use This Skill' that Claude can infer, and the 'Best Practices' section contains generic advice Claude already knows (e.g., 'Test Thoroughly', 'Use Established Libraries').

2 / 3

Actionability

Excellent actionability with complete, executable Solidity contracts including imports, events, and full function implementations. The staking, AMM, governance, and flash loan contracts are copy-paste ready with proper OpenZeppelin imports.

3 / 3

Workflow Clarity

No workflow guidance for deploying or testing these contracts. Missing critical validation steps like how to test before mainnet deployment, no deployment sequence, no verification checkpoints. For DeFi protocols handling real funds, this is a significant gap.

1 / 3

Progressive Disclosure

References to external files (references/staking.md, assets/staking-contract.sol) are listed but the main file is quite long with all templates inline. The structure could better separate quick-start from full implementations, with templates in separate files.

2 / 3

Total

8

/

12

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.

Validation11 / 11 Passed

Validation for skill structure

No warnings or errors.

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.