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.

56

Quality

65%

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

47%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 substantial executable Solidity templates but is weakened by generic boilerplate instructions, a missing deployment/testing workflow, inlined content that duplicates listed asset files, and broken bundle references. It reads more like a code dump than a navigable overview pointing to deeper materials.

Suggestions

Replace the generic Instructions and "Do not use this skill when" boilerplate with a concrete DeFi implementation workflow: define requirements, scaffold from the relevant template, compile/test, deploy to testnet, verify, then audit.

Move the full contract code into the referenced asset files (assets/*.sol) and keep SKILL.md as a concise overview that links to them, ensuring every referenced path actually exists.

Add explicit validation checkpoints (e.g., `forge test`, testnet deployment verification, slither/aduit steps) since contract deployment is destructive and currently has no verification loop.

DimensionReasoningScore

Conciseness

The Solidity templates earn their place, but generic boilerplate ("Clarify goals, constraints, and required inputs", "Apply relevant best practices and validate outcomes", and the vacuous "Do not use this skill when" bullets) pads the body with content Claude already knows.

3 / 5

Actionability

Provides complete, copy-paste-ready Solidity contracts for staking, AMM, governance, and flash loans, but lacks compile/test/deploy commands and usage guidance for actually applying the templates.

4 / 5

Workflow Clarity

The Instructions are generic meta-bullets with no real sequenced workflow for implementing or deploying a protocol, and concrete validation checkpoints (test, testnet deploy, audit) are absent despite the destructive/risky nature of contract deployment.

2 / 5

Progressive Disclosure

Full contract implementations are inlined in SKILL.md while also being listed as separate asset files (assets/staking-contract.sol, etc.), and the Resources references (references/*.md, assets/*.sol, resources/implementation-playbook.md) do not resolve to actual files on disk.

2 / 5

Total

11

/

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 concise, uses correct third-person voice, and cleanly states both capability and trigger conditions. It is strong overall, with only minor gaps in protocol-type coverage and the slight breadth of "smart contract protocols".

Suggestions

Add "flash loans" and "yield farming" to the capability list so the description matches the body's full template set.

Tighten "smart contract protocols" to something more DeFi-specific (e.g., "DeFi smart contract protocols") to reduce overlap with general smart-contract skills.

DimensionReasoningScore

Specificity

Names the DeFi domain and several concrete template targets ("staking, AMMs, governance, and lending systems"), but omits flash loans and yield farming that appear in the body, leaving minor coverage gaps.

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

Good natural-term coverage ("DeFi", "staking", "AMMs", "governance", "lending", "decentralized finance applications", "smart contract protocols"), though synonyms like "yield farming" and "flash loans" are missing.

4 / 5

Distinctiveness Conflict Risk

Has a clear DeFi niche with distinct triggers, but the phrase "smart contract protocols" is broad enough to overlap with general smart-contract skills, giving minor conflict risk.

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.

Validation14 / 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
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.