CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

madge-deps

Use when a JS/TS build compiles but a clearly imported module is undefined at runtime, or CI should block new import cycles. Runs Madge on production code to find circular dependencies and orphan modules and draw the module graph, excluding test files.

Quality

91%

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

The canonical home for this skill is testland/madge-deps

SKILL.md
Quality
Evals
Security

Quality

Content

86%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 tight, highly actionable operational guide: sequenced steps, executable commands and configs throughout, and honest anti-patterns/limitations sections. Minor room to trim the intro and to add a fix-and-reverify loop after a cycle is detected.

DimensionReasoningScore

Conciseness

The body is dominated by lean, executable commands and tight tables, but the opening paragraph partially duplicates the linked Madge README and the test-exclusion rationale sentence could be trimmed. Not 5: a few tokens do not earn their place; not 3: over-explanation is minor, not 'several unnecessary explanations'.

4 / 5

Actionability

Every step gives copy-paste-ready, fully executable material: install commands per OS, madge CLI invocations with flags, a complete .madgerc JSON config, and GitHub Actions YAML. Specific examples cover the common cases (single entry vs directory, blocking vs advisory CI gates).

5 / 5

Workflow Clarity

Steps 1-6 are clearly sequenced with real checkpoints: documented exit codes for CI, explicit orphan verification ("verify usage outside source tree... before removal"), and an advisory-vs-blocking distinction. Not 5: there is no feedback loop for acting on a detected cycle (e.g., how to break one and re-verify).

4 / 5

Progressive Disclosure

Sections are well organized with no content that belongs in separate files, and the single external reference (the Madge README) is one level deep, clearly linked in-text and repeated in a References section. The destructive-op workflow cap does not apply since orphan handling includes explicit verification guidance.

5 / 5

Total

18

/

20

Passed

Description

92%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: it pairs an explicit dual-trigger 'Use when' clause with a concrete, third-person statement of capabilities scoped to production code. The only weakness is slightly incomplete natural-keyword coverage (no 'circular imports' synonym or file extensions).

DimensionReasoningScore

Specificity

"Runs Madge on production code to find circular dependencies and orphan modules and draw the module graph, excluding test files" lists multiple concrete actions (find cycles, find orphans, draw graph, scope exclusion) with comprehensive coverage of the tool's capabilities in third-person voice. Not 4: there are no meaningful gaps in the action coverage for this tool.

5 / 5

Completeness

Both halves are explicit: an explicit "Use when" clause with two concrete runtime/CI triggers, and a clear statement of what the skill does. Not 4: the 'when' is fully explicit and concrete rather than merely present.

5 / 5

Trigger Term Quality

Phrases like "build compiles but a clearly imported module is undefined at runtime", "circular dependencies", and "import cycles" are natural user phrasings. Not 5: common synonyms such as "circular imports" and file extensions (.ts, .tsx) are absent, so a few natural terms are missing.

4 / 5

Distinctiveness Conflict Risk

A clear niche (Madge-based circular-dependency and orphan analysis) with highly specific triggers (undefined import after successful compile; CI cycle gate) that no generic build or linting skill would claim. Minimal conflict risk.

5 / 5

Total

19

/

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

testland/qa

Path

plugins/qa-code-quality/skills/madge-deps/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.