CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

improve-codebase-architecture

扫描代码库中的深化机会,生成可视化 HTML 报告,然后围绕你选中的候选项继续追问。

Quality

66%

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/engineering/improve-codebase-architecture/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

60%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 is a well-sequenced, lean, mostly actionable instruction set for an instruction-only skill, with clear phase gating and concrete commands. Its two real defects are a dangling reference to HTML-REPORT.md that leaves the report-building step (the core deliverable) without its promised template, and the absence of any verification that the report was written and opened. Adding the missing reference file would lift both actionability and progressive disclosure.

Suggestions

Create the referenced HTML-REPORT.md (e.g. in references/) with the promised HTML scaffold, Mermaid diagram patterns, and styling guidance, or inline a minimal template if the file is intentionally omitted.

Add a verification checkpoint after writing the report (confirm the file exists at the absolute path and handle xdg-open/open failure), giving the workflow an explicit feedback loop.

Tighten the Tailwind/Mermaid paragraph — the mixing rule (graph-shaped → Mermaid, editorial → hand-drawn) can be stated in one line instead of two.

DimensionReasoningScore

Conciseness

The body is dense and prescriptive, assumes competence ("自然探索,并记录你感到 friction 的地方"), and delegates detail to HTML-REPORT.md rather than padding. Minor wordiness in the Tailwind/Mermaid paragraph and small editorial asides ("要视觉化") keep it below the every-token-earns-its-place level of 5, but it is clearly efficient rather than merely "mostly efficient".

4 / 5

Actionability

Concrete guidance is strong in places: exact commands ("git log --oneline", "xdg-open <path>" / "open <path>" / "start <path>"), exact file pattern "<tmpdir>/architecture-review-<timestamp>.html", exact Skill invocations (codebase-design, grilling, domain-modeling), and a copy-ready user prompt. However the central deliverable — the HTML report — defers "完整 HTML scaffold、diagram patterns 和 styling guidance" to HTML-REPORT.md, which does not exist in the bundle, leaving key details missing. Not 4 because that gap is in the workflow's primary artifact.

3 / 5

Workflow Clarity

A clear three-phase sequence (探索 → 报告 → grilling 循环) with explicit decision points: skip-inference when the user names a direction, ADR-conflict gating, and a hard checkpoint ("写完文件后问用户") before grilling. No destructive or batch operations, so the validation cap does not apply. Not 5 because there is no verification step that the report file was written and opened successfully, and no error-recovery loop.

4 / 5

Progressive Disclosure

Scored against the actual bundle structure per the guidelines: the bundle contains no references/, scripts/, or assets/ directories, and the body's sole bundle reference — [HTML-REPORT.md](HTML-REPORT.md) carrying the complete HTML scaffold, diagram patterns, and styling guidance — is dangling, so the promised detail exists nowhere. The reference is clearly signaled and the body sections are well organized, so it is above the monolithic anchor 1, but the navigation dead-ends on the skill's most detail-heavy step.

2 / 5

Total

13

/

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.

The description states a clear, multi-action "what" but omits any "when to use" guidance and misses the skill's core natural keyword (架构/architecture), leaning on jargon (深化机会) instead. It is mostly distinctive but would benefit from explicit trigger phrases. Note: disable-model-invocation is true, so this description is user-facing rather than model-triggered, but the rubric's completeness and trigger criteria were applied as written.

Suggestions

Add an explicit trigger clause, e.g. "Use when the user asks to improve codebase architecture, find shallow modules, or plan refactors for testability."

Include the natural terms 架构 (architecture), 重构 (refactor), and shallow modules — the skill's name says architecture but the description never does.

Replace or supplement the jargon term 深化机会 with plainer synonyms users would actually say, such as 把浅模块变深 or architecture deepening.

DimensionReasoningScore

Specificity

"扫描代码库中的深化机会", "生成可视化 HTML 报告", and "继续追问" name the domain and three concrete actions covering the full scan-report-followup flow. Not 5 because coverage has minor gaps (no mention of architecture analysis details, ADR/glossary upkeep, or candidate recommendations); above 3 because it goes beyond 1-2 generic actions.

4 / 5

Completeness

The "what" is clear (scan codebase for deepening opportunities, generate a visual HTML report, then follow up on chosen candidates), but there is no "Use when..." clause or equivalent trigger guidance, which caps completeness at 3 per the judging guidelines. Not 2 because the "what" is concrete and multi-part.

3 / 5

Trigger Term Quality

Relevant keywords are present (代码库, 扫描, 深化机会, HTML 报告) but "深化机会" is technical jargon rather than natural user phrasing, and the most natural trigger term "架构" (architecture) — the skill's own name — never appears, nor do 重构/shallow modules. Missing the core synonym, not just "a few natural terms", so not 4.

3 / 5

Distinctiveness Conflict Risk

The combination of deepening-scan + visual HTML report + follow-up grilling is a fairly distinct niche with minor overlap risk against generic code-review/refactoring skills. Not 5 because the missing "架构" keyword makes it blur slightly with broader "improve codebase" requests.

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

vinvcn/mattpocock-skills-zh-CN

Path

skills/engineering/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.