CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

improve-codebase-architecture

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

Quality

61%

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

63%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 content is a lean, well-sequenced, instruction-style workflow that assumes Claude's competence and gives specific commands, paths, and output structure. Its main weaknesses are the dangling HTML-REPORT.md reference, which leaves the core report deliverable underspecified, and the absence of any validation checkpoint on the generated output.

Suggestions

Ship the referenced HTML-REPORT.md (e.g., under references/) with the HTML scaffold, diagram patterns, and styling guidance, or inline a minimal scaffold — the link "[HTML-REPORT.md](HTML-REPORT.md)" currently points to a file that does not exist in the bundle.

Add a validation step after writing the report (e.g., confirm the temp path resolved, the file was written, and Mermaid/Tailwind CDN references are present) before opening it for the user.

Tighten the OS-specific open-command prose ("Linux 用 xdg-open...macOS 用 open...Windows 用 start") into a compact list, and compress the card-field bullets.

DimensionReasoningScore

Conciseness

The body is dense and instruction-only: it assumes competence with concepts like the deletion test, seams, and locality without tutorializing them, and every section instructs rather than describes. A few spots could still be tightened (the per-OS open-command prose, the card-field bullets), so it does not reach the every-token-earns-its-place level of 5, but it is clearly above the some-unnecessary-explanation level of 3.

4 / 5

Actionability

There is genuinely concrete guidance — `git log --oneline`, `$TMPDIR` with `/tmp` fallback, `<tmpdir>/architecture-review-<timestamp>.html`, `xdg-open`/`open`/`start`, Tailwind and Mermaid via CDN, explicit card fields and badge values — but the primary deliverable's complete specification ("完整 HTML scaffold、diagram patterns 和 styling guidance 见 [HTML-REPORT.md](HTML-REPORT.md)") points to a file that does not exist in the bundle (no references/ directory, no HTML-REPORT.md anywhere), leaving key details missing for the main output. This matches the 3 anchor (some concrete guidance but incomplete / missing key details) rather than 4.

3 / 5

Workflow Clarity

Three clearly sequenced phases (探索 → HTML 报告 → Grilling 循环) with an explicit user checkpoint ("写完文件后问用户:'Which of these would you like to explore?'") and good decision rules (user-named direction vs. commit-history hot spots, ADR-conflict handling, YAGNI scoping). It stays at 4 rather than 5 because there are no validation steps for the generated report (e.g., verifying the file was written and renders) and sub-agent exploration findings are accepted unverified, though nothing destructive or batch-oriented occurs — the report deliberately goes to the temp dir, not the repo.

4 / 5

Progressive Disclosure

The body is well-sectioned and correctly keeps heavy detail (HTML scaffold, diagram patterns, styling) out of the overview, with the reference clearly signaled one level deep. However, the sole bundle reference, HTML-REPORT.md, is absent from the actual bundle (no references/, scripts/, or assets/ directories exist), so the disclosure chain is broken and navigation to the detail layer fails. It does not drop to 2 because the SKILL.md itself has good structure and does not inline what belongs elsewhere, but the dangling reference prevents 4 or above.

3 / 5

Total

14

/

20

Passed

Description

42%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 communicates a concrete three-step capability but omits any "when to use" guidance and lacks the natural trigger terms (architecture, refactor) users would employ. The second-person phrasing and jargon ("深化机会") further weaken it.

Suggestions

Add an explicit trigger clause, e.g. "Use when the user wants to improve codebase architecture, refactor shallow modules, or run an architecture review" (e.g. "当用户想要改进代码库架构、重构浅模块或做架构评审时使用").

Include natural user vocabulary such as 架构/architecture、重构/refactor in the description; replace or gloss the internal jargon 深化机会.

Rewrite "围绕你选中的候选项继续追问" in third person (e.g. "围绕选中的候选项继续追问") to avoid the second-person voice penalty.

DimensionReasoningScore

Specificity

The description lists three actions — "扫描代码库中的深化机会" (scan for deepening opportunities), "生成可视化 HTML 报告" (generate a visual HTML report), "围绕你选中的候选项继续追问" (follow-up questioning on selected candidates) — which would otherwise reach 4, but "深化机会" is internal jargon that never names the actual domain (architecture/refactoring), and the second-person phrase "你选中的候选项" triggers the mandated 1-point voice penalty, landing it at 3.

3 / 5

Completeness

The "what" is clear (scan, generate HTML report, follow-up grilling), but there is no "when" / "Use when..." clause or equivalent trigger guidance anywhere, which per the judging guidelines caps completeness at 3.

3 / 5

Trigger Term Quality

Only a couple of generic keywords appear ("代码库", "HTML 报告"); the natural phrases a user would actually say — 架构 (architecture), 重构 (refactor), architecture review — are entirely absent, and "深化机会" is vocabulary internal to the skill rather than user language.

2 / 5

Distinctiveness Conflict Risk

The scan → HTML report → follow-up grilling flow is somewhat distinctive, but "扫描代码库" is generic enough to overlap with code-review and analysis skills, and without the word 架构 the niche is blurred relative to the 4-anchor's "minor overlap risk".

3 / 5

Total

11

/

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 possibly missing (HTML-REPORT.md)

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.