Agent skill

Error Handler

by bkywksj in bkywksj/knowledge-base

Tauri 异常处理技能,覆盖 Rust 错误处理和 React 错误边界. An agent skill from bkywksj/knowledge-base.

Custom licenceAuto-check passed

Install Error Handler

skills CLI
$ npx skills add bkywksj/knowledge-base --skill error-handler -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install bkywksj/knowledge-base error-handler --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/bkywksj/knowledge-base.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.codex/skills/error-handler .claude/skills/error-handler && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
error-handler
GitHub stars
330
Token cost
~2.3k tokens
SKILL.md length
94 words
Files
1
Skills in repo
37
Repo updated
First seen
Licence
Custom licence

At a glance

Tauri 异常处理技能,覆盖 Rust 错误处理和 React 错误边界. An agent skill from bkywksj/knowledge-base.

  • Works in 8 steps: AppError 枚举(src-tauri/src/error.rs) → 三层错误传播 → Mutex 安全处理 → …
  • SKILL.md covers 分层错误处理策略, Rust 错误处理, React 错误处理 and 错误流程图, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Error Handler is an agent skill from bkywksj/knowledge-base. Tauri 异常处理技能,覆盖 Rust 错误处理和 React 错误边界。 触发场景: - 需要设计错误处理策略 - 需要处理 Rust Command 中的错误 - 需要处理前端 invoke 调用失败 - 需要实现全局错误处理 触发词:异常、错误处理、Error、Result、try-catch、panic、崩溃、错误边界

Its SKILL.md is about 2.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It works with Rust, Tauri and React. The repository describes itself as: 本地优先的知识库桌面应用。Markdown 编辑器 + 全文搜索(FTS5) + 双向链接 / 知识图谱;多端同步(WebDAV / S3 / 同步盘,单笔记粒度增量 + 自动双向调度,含整库 ZIP 备份);AI 问答与智能规划(OpenAI 兼容 / Ollama / 自定义 provider,工具调用框架);支持导入 .md / .txt /…

Example prompts

  • “/error-handler”

Workflow steps

8 steps, taken from the step headings in SKILL.md.

  1. AppError 枚举(src-tauri/src/error.rs)
  2. 三层错误传播
  3. Mutex 安全处理
  4. 错误传播模式
  5. invoke 错误处理(Ant Design)
  6. 封装 API 调用(src/lib/api/index.ts)
  7. ErrorBoundary 组件(Ant Design Result)
  8. 全局错误处理 Hook

What it can do on your machine

Read from SKILL.md and the folder at commit deb640b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are rust and typescript).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Error Handler loads about 2.3k tokens when it runs. Until then it costs about 45 tokens; SKILL.md has 94 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~45
When it runs · the whole SKILL.md, loaded when a task matches
~2.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 94 words (~2,258 tokens).

name
error-handler

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .codex/skills/error-handler of bkywksj/knowledge-base.

Open the folder on GitHubat commit deb640b

Compare with similar skills

Error Handler next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Error Handler compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Error Handler this skillbkywksj/knowledge-base330—~2.3kAutomated safety check: PassCustom licence
Manage Skills Hubqufei1993/skills-hub1.7k—~3.2kAutomated safety check: PassMIT
Cut Releasedelexw/claude-code-trace3761 repos~1.4kAutomated safety check: PassMIT
Papr Rssl0ng-ai/papr539—~1.1kAutomated safety check: PassMIT
UI Harnessship-studio/ship-studio285—~1.4kAutomated safety check: PassMIT
Project StructureEynzof/Hermes-CN-Desktop1.7k—~4.2kAutomated safety check: NotesCustom licence

Similar skills

  • Manage Skills Hub

    qufei1993/skills-hub

    A skill your agent uses whenever an Agent needs to query, find, install, deploy, update, tag, adopt, diagnose, or safely remove Skills Hub content, including natural-language requests to manage…

    1.7k GitHub stars~3.2k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Cut Release

    delexw/claude-code-trace

    Cuts a new versioned release of claude-code-trace end-to-end without asking any questions.

    376 GitHub starsUsed in 1 repo~1.4k tokens
    DevelopmentAuto-check passed
  • Papr Rss

    l0ng-ai/papr

    Read, search and triage the user's Papr RSS subscriptions from the shell via the papr CLI.

    539 GitHub stars~1.1k tokensUpdated 14 days ago
    Knowledge ManagementAuto-check passed
  • UI Harness

    ship-studio/ship-studio

    Look at Ship Studio's actual UI. An agent skill from ship-studio/ship-studio.

    285 GitHub stars~1.4k tokensUpdated 12 days ago
    Auto-check passed
  • Project Structure

    Eynzof/Hermes-CN-Desktop

    A skill your agent uses when orienting within the Hermes Agent CN Desktop codebase, locating source files, understanding the Tauri+React architecture, finding Rust commands or frontend modules, or…

    1.7k GitHub stars~4.2k tokensUpdated 16 days ago
    DevelopmentAuto-check: notes
  • Reactflow Workflow

    veloxbase/veloxdb

    Build and harden React Flow diagram surfaces in VeloxDB using @xyflow/react patterns (nodes, edges, viewport, controls, interactions, performance).

    646 GitHub stars~897 tokensUpdated 7 days ago
    Frontend & DesignAuto-check passed

More from bkywksj/knowledge-base

All 37 skills in this repo
  • Collaborating With Codex

    bkywksj/knowledge-base

    当用户明确点名要用 OpenAI Codex CLI 协同时使用此 Skill,把指定任务委托给 Codex 执行并整合结果。

    330 GitHub stars~1.1k tokensUpdated 5 days ago
    Auto-check passed
  • Collaborating With Gemini

    bkywksj/knowledge-base

    当用户明确点名要用 Google Gemini CLI 协同时使用此 Skill,把指定任务委托给 Gemini 执行并整合结果。

    330 GitHub stars~1.5k tokensUpdated 5 days ago
    Auto-check passed
  • AI Profile Integration

    bkywksj/knowledge-base

    用于本项目中与 ai-profile crate 相关的开发:模型服务预置、ai.profile 导入导出、「获取」零成本验证、上下文窗口限额。

    330 GitHub stars~2.1k tokensUpdated 5 days ago
    Auto-check passed
  • API Development

    bkywksj/knowledge-base

    Tauri Command (IPC API) 开发技能,指导如何设计和实现 Rust Command 供前端调用. An agent skill from bkywksj/knowledge-base.

    330 GitHub stars~2.9k tokensUpdated 5 days ago
    Auto-check passed
  • Architecture Design

    bkywksj/knowledge-base

    Tauri 架构设计技能,指导双进程架构下的模块拆分和代码组织. An agent skill from bkywksj/knowledge-base.

    330 GitHub stars~1k tokensUpdated 5 days ago
    Auto-check passed
  • Brainstorm

    bkywksj/knowledge-base

    当需要探索方案、头脑风暴、创意思维时自动使用此 Skill. An agent skill from bkywksj/knowledge-base.

    330 GitHub stars~1.4k tokensUpdated 5 days ago
    Auto-check passed

Works with

Questions about Error Handler

What does Error Handler do?

Tauri 异常处理技能,覆盖 Rust 错误处理和 React 错误边界. An agent skill from bkywksj/knowledge-base. Error Handler is an agent skill from bkywksj/knowledge-base.

How do I install Error Handler in Claude Code?

Run `npx skills add bkywksj/knowledge-base --skill error-handler -a claude-code`. Or copy the skill folder (.codex/skills/error-handler in bkywksj/knowledge-base) into .claude/skills/error-handler in your project. Claude Code loads it when a task matches its description.

How do I install Error Handler in Codex?

Run `npx skills add bkywksj/knowledge-base --skill error-handler -a codex`. Or copy the skill folder (.codex/skills/error-handler in bkywksj/knowledge-base) into .agents/skills/error-handler in your project. Codex loads it when a task matches its description.

Can I use Error Handler in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add bkywksj/knowledge-base --skill error-handler -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/error-handler, .gemini/skills/error-handler, .github/skills/error-handler and .opencode/skills/error-handler in your project.

What does Error Handler need to run?

SKILL.md names no scripts, command-line tools or credentials: Error Handler is instructions for the agent only.

Does Error Handler access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Error Handler safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Error Handler use?

Error Handler has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Error Handler use?

About 2.3k tokens (SKILL.md is roughly 9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Error Handler?

Skills that share tags, products or a category with Error Handler: Manage Skills Hub (qufei1993/skills-hub, 1.7k stars), Cut Release (delexw/claude-code-trace, 376 stars), Papr Rss (l0ng-ai/papr, 539 stars) and UI Harness (ship-studio/ship-studio, 285 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Error Handler?

bkywksj (a GitHub user) maintains it in bkywksj/knowledge-base, which has 330 GitHub stars. The repository holds 37 skills in this directory. The repository was last updated on October 2, 2026.

Source: bkywksj/knowledge-base on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.