CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

improve-codebase-architecture

Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.

Quality

71%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Low

Low-risk findings worth noting

Fix and improve this skill with Tessl

tessl review fix ./.agents/skills/improve-codebase-architecture/SKILL.md

The canonical home for this skill is improve-codebase-architecture in mattpocock/skills

SKILL.md
Quality
Evals
Security

Quality

Content

71%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, lean, and highly actionable instruction skill with a clearly sequenced three-phase workflow. Its main defect is that the one bundle reference it depends on (HTML-REPORT.md) is broken — the file simply is not there — which undermines both the report step and the skill's progressive-disclosure design.

Suggestions

Create the referenced HTML-REPORT.md (scaffold, diagram patterns, styling guidance) or inline the essential scaffold into SKILL.md and remove the dead link — the reference currently points at a file that does not exist in the bundle.

Add a post-write validation step for the HTML report (confirm the file exists and is non-empty before opening it) and fallback guidance for when GLOSSARY.md or docs/adr/ are absent at exploration time.

Tighten the ADR-conflict paragraph to a single rule (surface only when the friction warrants reopening the ADR, and mark it clearly) to recover a few tokens.

DimensionReasoningScore

Conciseness

Dense, directive prose ("Resolve the temp dir from `$TMPDIR`, falling back to `/tmp`") with no tutorial padding — it assumes Claude already knows Tailwind and Mermaid and only says when to use each. Not 5 because minor trims exist, e.g. the ADR-conflict paragraph restates itself ("Don't list every theoretical refactor an ADR forbids" repeats the preceding rule).

4 / 5

Actionability

Concrete, executable guidance throughout: `git log --oneline`, exact output path pattern `<tmpdir>/architecture-review-<timestamp>.html`, per-OS open commands (`xdg-open`/`open`/`start`), exact user prompt ("Which of these would you like to explore?"), and enumerated badge values (`Strong`, `Worth exploring`, `Speculative`). Not 5 because the promised HTML scaffold — "See [HTML-REPORT.md](HTML-REPORT.md) for the full HTML scaffold, diagram patterns, and styling guidance" — does not exist in the bundle, leaving the report step without its concrete template.

4 / 5

Workflow Clarity

A clear three-phase sequence (Explore → Present candidates as HTML report → Grilling loop) with explicit decision points ("If the user named a direction ... skip the inference below") and a hard user checkpoint ("After the file is written, ask the user: 'Which of these would you like to explore?'"). Not 5 because there is no validation or feedback loop after writing the report (e.g. confirm the file was written before opening it) and no recovery guidance if GLOSSARY.md or docs/adr/ are absent during exploration.

4 / 5

Progressive Disclosure

Section structure is good and the single reference is clearly signaled and one level deep ("See [HTML-REPORT.md](HTML-REPORT.md) for the full HTML scaffold, diagram patterns, and styling guidance"), but that file does not exist — the bundle contains no references/, scripts/, or assets/ directories — so the content split it describes is not actually realized and navigation dead-ends. Not 4/5 because the referenced detail is missing; not 2 because the body itself is well-organized rather than monolithic.

3 / 5

Total

15

/

20

Passed

Description

58%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 concise, action-oriented description with a distinct identity, but it has no "Use when" trigger guidance and relies on suite-internal jargon ("deepening opportunities", "grill") that users would not naturally say. Adding explicit trigger phrases and natural synonyms would materially improve discoverability.

Suggestions

Add an explicit 'Use when...' clause with concrete triggers, e.g. "Use when the user wants to improve codebase architecture, find refactoring opportunities, or reduce coupling between modules."

Replace or gloss the suite jargon — "deepening opportunities" could be "refactoring opportunities that make modules deeper", and "grill through" could be "interrogate the chosen candidate" — so the description reads in terms a user would actually say.

Include natural synonyms such as "architecture review", "tech debt", or "module design" to broaden trigger-term coverage.

DimensionReasoningScore

Specificity

Quotes three concrete actions — "Scan a codebase for deepening opportunities", "present them as a visual HTML report", "then grill through whichever one you pick" — which matches the anchor "Lists several specific actions; minor gaps in coverage". Not 5 because coverage is not comprehensive and the actions lean on suite-internal jargon; clearly above 3's '1-2 concrete actions'.

4 / 5

Completeness

The "what" is clear (scan → present visual HTML report → grill the chosen candidate), but there is no "Use when..." clause or equivalent trigger guidance, which caps completeness at 3 per the judging guidelines. Not 4 because the "when" is wholly absent rather than merely weakly implied.

3 / 5

Trigger Term Quality

"codebase", "scan", and "HTML report" are relevant keywords, but the natural phrases a user would say ("refactor", "architecture", "tech debt", "module design") are absent, and "deepening opportunities"/"grill" are jargon users would not naturally say. Fits anchor 3 ("Some relevant keywords but missing common variations or synonyms") better than 2, since more than one or two relevant keywords are present.

3 / 5

Distinctiveness Conflict Risk

The phrase "deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick" carves a distinct niche with minor overlap risk against generic code-review/refactoring skills. Not 5 because the opening "Scan a codebase" is broad enough to brush against other code-analysis skills.

4 / 5

Total

14

/

20

Passed

Validation

93%

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

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

relative_links

Relative link issues: 1 missing

Warning

Total

15

/

16

Passed

Repository

withcoral/coral

Path

.agents/skills/improve-codebase-architecture/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.