CtrlK
BlogDocsLog inGet started
Tessl Logo

backend-patterns

后端架构模式、API 设计、数据库优化以及适用于 Node.js、Express 和 Next.js API 路由的服务端最佳实践。

56

Quality

65%

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 ./.agents/skills/backend-patterns/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

65%

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-organized, highly actionable catalog of backend patterns with concrete TypeScript, but it is a long monolithic file with no progressive disclosure to reference files and lacks explicit multi-step validation workflows for its destructive/batch operations.

Suggestions

Split the larger sections (database patterns, authentication/authorization, background jobs) into one-level-deep reference files (e.g., DATABASE.md, AUTH.md) referenced from a concise overview in SKILL.md to improve progressive disclosure.

Trim the full generic class implementations Claude already knows (RateLimiter, JobQueue, Logger) down to the distinctive parts to improve conciseness.

Add explicit validation/feedback-loop steps for destructive and batch operations (e.g., validate-then-commit for transactions, verify-then-ack for queued jobs) to raise workflow clarity.

DimensionReasoningScore

Conciseness

The body is mostly lean code with minimal explanatory prose, but at ~590 lines it includes several full generic class implementations (RateLimiter, JobQueue, Logger) that largely restate patterns Claude already knows, so it is 'mostly efficient but could be tightened' rather than lean.

2 / 3

Actionability

It provides concrete, largely executable TypeScript across many patterns (repository, service, middleware, caching, RBAC, transactions) with copy-paste-ready examples, matching the 'fully executable code' anchor; the few `// ...实现` stubs are minor and explicitly framed as fill-in placeholders.

3 / 3

Workflow Clarity

This is a pattern catalog with organized sections and a 'When to Activate' list, but there is no sequenced multi-step workflow with explicit validation checkpoints for the destructive/batch operations it covers (DB transactions, queue jobs), so it sits at 'steps listed but validation gaps'.

2 / 3

Progressive Disclosure

No bundle files exist and all content is inline in a single ~590-line document; section headers provide structure, but content that could be split (DB patterns, auth patterns) is not separated into one-level-deep reference files, matching the 'content that should be separate is inline' anchor.

2 / 3

Total

9

/

12

Passed

Description

65%

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 clearly scopes a backend server-side niche with natural trigger terms, but it lacks an explicit 'Use when...' trigger clause and relies on topic areas rather than concrete action verbs, which caps completeness and specificity.

Suggestions

Add an explicit 'Use when...' trigger clause (e.g., 'Use when designing REST/GraphQL endpoints, implementing repository/service/controller layers, or optimizing Node.js/Express/Next.js API routes') to raise completeness to 3.

Lead with concrete action verbs (e.g., 'Design REST/GraphQL endpoints, implement repository/service layers, optimize N+1 queries, add caching and auth middleware') instead of topic nouns to improve specificity.

Tighten distinctiveness by naming the specific stack boundaries that separate this from a generic database or API-design skill.

DimensionReasoningScore

Specificity

The description names several specific domain areas ('后端架构模式、API 设计、数据库优化') but uses no concrete action verbs like 'extract/fill/merge', matching the 'names domain and some actions' anchor rather than the vague anchor (1) or the multi-concrete-action anchor (3).

2 / 3

Completeness

It clearly answers 'what' the skill covers but has no 'Use when...' clause or equivalent explicit trigger guidance, so per the guideline completeness is capped at 2.

2 / 3

Trigger Term Quality

It includes natural terms a backend user would actually say — 'API 设计', '数据库优化', 'Node.js', 'Express', 'Next.js API 路由' — giving good coverage of likely trigger phrases.

3 / 3

Distinctiveness Conflict Risk

The Node/Express/Next stack scoping gives it a niche, but the broad topics 'API 设计' and '数据库优化' could still overlap with generic API or database skills, matching the 'somewhat specific but could overlap' anchor.

2 / 3

Total

9

/

12

Passed

Validation

87%

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

Validation14 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

skill_md_line_count

SKILL.md is long (599 lines); consider splitting into references/ and linking

Warning

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

14

/

16

Passed

Repository
xu-xiang/everything-claude-code-zh
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.