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.

52

Quality

59%

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/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 skill supplies genuinely useful, executable contract templates but suffers from a monolithic structure, generic instructional filler, missing deployment/testing workflow with validation, and a set of resource and asset references that are either inconsistent or entirely absent from the bundle.

Suggestions

Move the four full Solidity contracts into the referenced assets/*.sol files (which must actually be created) and keep only concise excerpts plus navigation pointers in SKILL.md.

Replace the generic Instructions with a concrete, sequenced build-deploy-verify workflow including explicit validation checkpoints (compile, test, audit) given the destructive financial nature of these contracts.

Fix the broken/inconsistent references: create the listed references/*.md and assets/*.sol files, and reconcile the "resources/implementation-playbook.md" path with the Resources section.

DimensionReasoningScore

Conciseness

The body inlines ~400 lines of full Solidity contracts and includes generic boilerplate ("Clarify goals, constraints, and required inputs...", the "Do not use this skill when" filler) that does not earn its token cost; the contracts should live in separate files.

2 / 5

Actionability

Provides complete, copy-paste-ready Solidity implementations for staking, AMM, governance, and flash-loan protocols, but lacks the surrounding executable guidance (Hardhat/Foundry setup, deployment, testing) needed to actually run them.

4 / 5

Workflow Clarity

The "Instructions" section is a vague three-line list with no real sequence or validation checkpoints, and for high-stakes smart-contract deployment the only nod to verification is the generic "Audit Before Launch" best-practice bullet.

2 / 5

Progressive Disclosure

Content that belongs in separate files (four full contracts) is inlined in SKILL.md, the in-text reference uses an inconsistent path ("resources/implementation-playbook.md" vs the "references/" listed in Resources), and none of the referenced references/*.md or assets/*.sol files actually exist in the bundle.

2 / 5

Total

10

/

20

Passed

Description

78%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 focused, third-person description that clearly conveys both capability and trigger conditions for a well-scoped DeFi templates skill. Its main weakness is a slightly generic "when" clause and a few missing natural synonyms.

Suggestions

Add the concrete sub-domains mentioned in the body (flash loans, yield farming) to the description for fuller trigger coverage.

Make the "Use when" clause echo natural user phrasings (e.g., "building a staking platform", "creating an AMM", "launching yield farming") instead of the generic "building decentralized finance applications".

DimensionReasoningScore

Specificity

Names the domain plus four concrete template types ("staking, AMMs, governance, and lending systems"), which is several specific actions with only minor coverage gaps (flash loans and yield farming appear in the body but not the description).

4 / 5

Completeness

Clearly states what ("Implement DeFi protocols with production-ready templates...") and when ("Use when building decentralized finance applications or smart contract protocols"), but the "when" clause is fairly generic rather than tied to concrete user phrasings.

4 / 5

Trigger Term Quality

Includes natural terms a user would say ("DeFi protocols", "staking", "AMMs", "governance", "lending", "smart contract protocols") with good coverage, though common synonyms like "yield farming" or "liquidity pools" are missing.

4 / 5

Distinctiveness Conflict Risk

Occupies a clear niche (DeFi smart-contract protocol templates) with distinct, specific triggers and minimal overlap risk with unrelated skills.

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