CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

downtrend-duration-analyzer

Analyze historical downtrend durations and generate interactive HTML histograms showing typical correction lengths by sector and market cap.

Quality

71%

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 ./skills/downtrend-duration-analyzer/SKILL.md
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.

A well-structured, actionable skill body with concrete commands, defined output schemas, and a properly organized bundle. Weaknesses are the absence of validation checkpoints in the batch workflow, duplicated JSON/Markdown report examples, and a slightly padded Key Principles section.

Suggestions

Add an explicit validation checkpoint between analysis and visualization (e.g., verify the JSON report exists and total_downtrends > 0 before running generate_histogram_html.py), with error-recovery guidance for API failures.

Consolidate the JSON and Markdown report examples — the Markdown example largely restates the JSON schema — or move one to references/downtrend_methodology.md.

Trim the 'Key Principles' section, whose points are already implicit in the workflow and output format.

DimensionReasoningScore

Conciseness

The body is mostly focused on non-obvious specifics (commands, flags, output filenames), but the full JSON report example (~45 lines) and the Markdown report example (~33 lines) duplicate each other in conveying the output format, and the 'Key Principles' section restates what the workflow already shows. This is more than minor trimmable over-explanation, but not severely padded.

3 / 5

Actionability

Both workflow steps provide copy-paste-ready bash commands with concrete flags ('--sector Technology', '--lookback-years 5') and exact output filename patterns. Minor gaps: the hardcoded 'skills/downtrend-duration-analyzer/scripts/...' path assumes a specific install location, and there is no guidance for handling an invalid or missing FMP API key.

4 / 5

Workflow Clarity

The four steps are clearly sequenced (fetch/analyze, auto-analysis, generate HTML, review insights), but there are no validation checkpoints — nothing verifies the JSON report exists or contains downtrends before generating the HTML, nor any error-recovery guidance. Per the guidelines, a batch operation (fetching data for a universe of stocks) without validation steps is capped at 3.

3 / 5

Progressive Disclosure

The SKILL.md is a well-organized overview with a Resources section that clearly annotates each one-level-deep bundle file ('Peak/trough detection algorithms and market cap tier definitions'), and all referenced files (analyze_downtrends.py, generate_histogram_html.py, downtrend_methodology.md) exist. The dual inlined report examples could partially move to a reference, a minor organization gap that keeps it below a 5.

4 / 5

Total

14

/

20

Passed

Description

66%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 specific, third-person description with concrete actions and good natural trigger terms for the trading domain. Its main weakness is the missing 'Use when...' trigger clause, which caps completeness, and the absence of common synonyms like drawdown or pullback.

Suggestions

Add an explicit trigger clause, e.g. 'Use when the user asks about typical correction or drawdown lengths, recovery times, or downtrend behavior for a sector or market cap tier.'

Include natural synonyms such as 'drawdown', 'pullback', and 'recovery time' to broaden trigger-term coverage.

Mention the JSON/Markdown statistical reports alongside the HTML histograms to more comprehensively convey the outputs.

DimensionReasoningScore

Specificity

The description lists two concrete actions — 'Analyze historical downtrend durations' and 'generate interactive HTML histograms' — with specifics on output form and segmentation ('showing typical correction lengths by sector and market cap'). This is noticeably above the bare 1-2-action anchor but lacks the comprehensive multi-action coverage of a 5.

4 / 5

Completeness

The 'what' is clearly stated (analyze downtrend durations, generate histograms), but there is no 'Use when...' clause or equivalent explicit trigger guidance, capping completeness at 3 per the judging guidelines. It is not a 2 because the 'what' is concrete and specific rather than vague.

3 / 5

Trigger Term Quality

Natural terms like 'downtrend', 'correction lengths', 'sector', and 'market cap' match what a trader would actually say. Common synonyms such as 'drawdown', 'pullback', or 'recovery time' are missing, keeping it just below comprehensive coverage.

4 / 5

Distinctiveness Conflict Risk

The niche (statistical downtrend-duration analysis with HTML histograms) is distinct with specific triggers, but terms like 'sector' and 'market cap' carry minor overlap risk with general market-analysis or charting skills. Not a 5 because closely related stock-analysis skills could compete for similar queries.

4 / 5

Total

15

/

20

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.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

tradermonty/claude-trading-skills

Path

skills/downtrend-duration-analyzer/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.