CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

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.

Quality

68%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

Fix and improve this skill with Tessl

tessl review fix ./plugins/AI-Agents-Safe-Coding-Skills-claude/skills/defi-protocol-templates/SKILL.md

The canonical home for this skill is defi-protocol-templates in administrakt0r/AI-Agents-Safe-Coding-Skills

SKILL.md
Quality
Evals
Security

Quality

Content

40%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's core value — four executable, production-grade Solidity templates — is real and mostly copy-paste ready, but it is buried in generic filler sections and inline mass that duplicates a bundle layer that does not actually exist on disk. There is no usable workflow guidance tying the templates together, and all referenced follow-up files are missing.

Suggestions

Ship the bundle: create the referenced references/*.md, assets/*.sol, and resources/implementation-playbook.md files (or remove the Resources section), since every referenced path is currently missing from the skill directory.

Move the four full Solidity contracts out of SKILL.md into the assets/*.sol files, keeping only brief descriptions and links in the body, and delete the generic Instructions/Best Practices/Common Patterns boilerplate that Claude already knows — this fixes both conciseness and progressive disclosure.

Add a concrete workflow for using the templates: which template fits which request, how to adapt and test it (e.g., a compile/test/verify loop with a validation checkpoint before suggesting deployment), replacing the vague 'apply relevant best practices and validate outcomes' instruction.

DimensionReasoningScore

Conciseness

Noticeably verbose: the "Instructions" section is generic filler ("Clarify goals, constraints, and required inputs. Apply relevant best practices and validate outcomes."), "Best Practices" and "Common DeFi Patterns" one-liners (TWAP, multisig, timelocks) restate concepts Claude already knows, and ~400 lines of contracts are inlined that the skill's own Resources section says exist as assets/*.sol files. Not 1 because there is no from-scratch explanation of basic concepts and the code itself is substantive rather than padded prose.

2 / 5

Actionability

Four complete, compilable Solidity contracts (staking, AMM, governance, flash loan) are copy-paste ready and cover common cases. Not 5 because Governor.execute() is a stub ("// Execute proposal logic here"), the example FlashLoanReceiver leaves its core logic as "// ...", and the lending use case has no code in the body.

4 / 5

Workflow Clarity

No real sequence exists: the Instructions give vague direction ("Apply relevant best practices and validate outcomes. Provide actionable steps and verification.") with no steps, no order, and no validation checkpoints. Fits anchor 2 (rough implied approach, many gaps, validation absent); not 1 because there is an implied pick-template → apply-practices → verify flow and the templates themselves carry implicit structure.

2 / 5

Progressive Disclosure

Anchor 2: content that clearly belongs in separate files is inlined — ~400 lines of contracts duplicating the declared assets/*.sol bundle. Compounding this, every referenced bundle path (resources/implementation-playbook.md, five references/*.md, four assets/*.sol) is missing from the skill directory, so navigation to the referenced deeper material is broken. Not 3 because the inline wall of code plus nonexistent referenced files go beyond "could be better organized".

2 / 5

Total

10

/

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.

A strong description that explicitly states what the skill does and when to use it, in correct third-person voice, with natural domain trigger terms. Minor gaps: a few common synonyms (yield farming, liquidity pools, flash loans, Solidity) are absent, and the "smart contract protocols" trigger is broader than the DeFi niche.

DimensionReasoningScore

Specificity

Names the domain and several concrete capability areas ("templates for staking, AMMs, governance, and lending systems") with only minor gaps (flash loans and yield farming, present in the body, are omitted). Not 5 because the action list reduces to a single verb ("Implement") plus enumerated template types, unlike the multi-action anchor-5 example.

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, matching the anchor-5 example structure. Third-person voice is correct.

5 / 5

Trigger Term Quality

"staking", "AMMs", "governance", "lending", "decentralized finance applications", and "smart contract protocols" are natural terms users would say in this domain. Not 5 because common synonyms like "yield farming", "liquidity pools", "flash loans", "Solidity", or "Ethereum" are missing.

4 / 5

Distinctiveness Conflict Risk

DeFi protocol templates is a clear niche, but the when-clause widens to "or smart contract protocols" broadly, creating minor overlap with generic smart-contract or Solidity development skills. Not 5 for that broadened trigger; clearly above anchor 3 since the core niche and triggers are distinct.

4 / 5

Total

17

/

20

Passed

Validation

87%

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

Validation — 14 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

referenced_paths_exist

Referenced path issues: 9 missing

Warning

Total

14

/

16

Passed

Repository

administrakt0r/AI-Agents-Safe-Coding-Skills

Path

plugins/AI-Agents-Safe-Coding-Skills-claude/skills/defi-protocol-templates/SKILL.md

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.