- Home
- Skills
- Onekeyhq
- App Monorepo
- 1k New Skill
1k-new-skill_skill
- TypeScript
2.3k
GitHub Stars
1
Bundled Files
2 months ago
Catalog Refreshed
4 months ago
First Indexed
Readme & install
Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.
Installation
Preview and clipboard use veilstrat where the catalogue uses aiagentskills.
npx veilstrat add skill onekeyhq/app-monorepo --skill 1k-new-skill- SKILL.md13.8 KB
Overview
This skill creates a new Claude Code Skill for the OneKey project following established best practices. It scaffolds the directory, SKILL.md, and reference rule files, runs required checks (merge vs create), and performs token analysis before finalizing the skill.
How this skill works
The skill inspects the repository for existing .claude/skills entries and file sizes to decide whether to merge or create a new skill. It fetches the latest official documentation before writing content, collects requirements (task, triggers, scope, tools), generates the recommended folder structure and SKILL.md, and runs a token-analysis checklist to verify optimization.
When to use it
- You want to add a new OneKey skill that follows project naming and structure conventions.
- You need to convert a standalone workflow or guide into a Claude Code Skill.
- You must decide whether to merge new content into an existing skill or create a focused skill.
- You want automated generation of SKILL.md, references/rules files, and token checks before committing.
Best practices
- Always fetch and read the latest Skills overview and Best Practices pages before authoring content.
- Run the merge-vs-create checks: prefer merging when the topic is a sub-topic of an existing skill.
- Use the 1k- prefix and a descriptive, lowercase hyphenated name (max 64 chars); avoid reserved words.
- Keep SKILL.md as a quick reference and place detailed content in references/rules/*.md to avoid large loads.
- Run token analysis after creating or modifying skills and act on the token thresholds (<2k, 2–5k, 5–10k, >10k).
Example use cases
- Create 1k-new-chain to document adding a new blockchain and include step-by-step rule files.
- Split a bloated 1k-coding-patterns skill into focused skills when files exceed 10 KB or 1,000 lines.
- Add a small, single-topic skill using the simple structure with only SKILL.md for one-off workflows.
- Merge a new notification guideline into 1k-feature-guides by adding a references/rules/notification.md file.
FAQ
Yes. Fetching the latest Skills overview and Best Practices is required to ensure compliance with current guidelines.
How do I decide between merging and creating a new skill?
Merge when the topic is closely related or a sub-topic of an existing skill; create a new skill when the topic is distinct, large, or has different trigger keywords.