CtrlK
BlogDocsLog inGet started
Tessl Logo

1k-coding-patterns

OneKey coding patterns for TypeScript, React, promises, date formatting, and error handling.

60

Quality

71%

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 ./.skillshare/skills/1k-coding-patterns/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

82%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 an exemplary lean overview: a navigation table with key points, compact forbidden/correct code pairs for the three most critical rules, and clean one-level-deep pointers to full guides. Minor gaps are the placeholder imports, lack of inline examples for two topics, and stray duplicate reference files at the bundle root.

DimensionReasoningScore

Conciseness

The body is lean (~55 lines): a Quick Reference table, tight forbidden/correct code pairs, and a short Related Skills list. It assumes Claude's competence and explains nothing the model already knows, so every token earns its place.

5 / 5

Actionability

The three rule sections give concrete, copy-adaptable forbidden/correct TypeScript pairs ('await apiCall();', 'string.toLowerCase()', 'const { x } = await CoreSDKLoader();'). It falls short of 5 because of '...' path placeholders in the imports and because date formatting and error handling have no inline example, deferring entirely to references.

4 / 5

Workflow Clarity

This is a rules-lookup skill rather than a multi-step workflow, and each rule is unambiguous via the forbidden/correct pairing, so the single action (apply these patterns) is clear. It is not a 5 because there is no guidance on when to consult which reference beyond the table, and no verification step for confirming compliance.

4 / 5

Progressive Disclosure

The Quick Reference table clearly signals five one-level-deep references under references/rules/, all of which exist and are appropriately split out of the overview. It is not a 5 because the bundle also contains unreferenced date-formatting.md and error-handling.md files at the references/ root that differ from the rules/ versions, which is a minor organization gap that could mislead navigation.

4 / 5

Total

17

/

20

Passed

Description

61%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 is concise, appropriately scoped to the OneKey codebase, and names five specific topic areas with natural keywords. Its main weakness is the absence of any 'Use when...' trigger guidance and of action verbs describing what the skill actually does, leaving it as a topic list rather than a capability statement.

Suggestions

Add an explicit trigger clause, e.g. 'Use when writing or reviewing TypeScript/React code in the OneKey codebase, handling promises, formatting dates, or preserving errors across RPC boundaries.'

Lead with action verbs instead of topic nouns, e.g. 'Enforces OneKey conventions for promise handling, React components, date formatting, and error propagation' so the capability is explicit.

Include natural trigger phrasings users would actually say (e.g. 'async/await', 'floating promise', 'hd-core import', 'dateUtils') to improve trigger matching and distinctiveness.

DimensionReasoningScore

Specificity

The phrase 'OneKey coding patterns for TypeScript, React, promises, date formatting, and error handling' names the domain and enumerates five concrete topic areas, but describes topics with nouns rather than concrete actions (no verbs like 'enforce' or 'apply'). It sits between anchor 2 (domain named, actions generic) and anchor 3 (domain plus concrete actions), and the enumerated topics give it more information than the anchor-2 example.

3 / 5

Completeness

The 'what' is clear (OneKey coding patterns across five named areas), but there is no 'Use when...' clause or equivalent explicit trigger guidance, which caps completeness at 3 per the judging guidelines. It is not a 4 because 'when' is entirely absent rather than merely implicit.

3 / 5

Trigger Term Quality

'TypeScript', 'React', 'promises', 'date formatting', and 'error handling' are natural terms users would say, giving good keyword coverage. A few natural variations are missing (e.g. 'async/await', 'hooks', 'imports', 'linting'), so it does not reach comprehensive synonym coverage.

4 / 5

Distinctiveness Conflict Risk

The 'OneKey' prefix establishes a clear niche unlikely to trigger for unrelated skills, but 'coding patterns' covering broad topics like React and promises carries minor overlap risk with closely related code-quality or architecture skills.

4 / 5

Total

14

/

20

Passed

Validation

81%

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

Validation — 13 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

allowed_tools_field

'allowed-tools' contains unusual tool name(s)

Warning

relative_links

Relative link issues: 3 deeper-than-1-level

Warning

referenced_paths_exist

Referenced path issues: 3 deeper-than-1-level

Warning

Total

13

/

16

Passed

Repository
OneKeyHQ/app-monorepo
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.