Agent skill

Framework Dev

by ncatbot in ncatbot/NcatBot

开发与维护 NcatBot 框架本体。调试 bug、开发新功能、维护 Skill、代码审查、重构。Use when: 框架调试、debug、fix bug、feat、新功能、Skill 维护、代码贡献、模块修改、代码审查、重构。

MITAuto-check passedDevelopment

Install Framework Dev

skills CLI
$ npx skills add ncatbot/NcatBot --skill framework-dev -a claude-code

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

GitHub CLI
$ gh skill install ncatbot/NcatBot framework-dev --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/ncatbot/NcatBot.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/framework-dev .claude/skills/framework-dev && 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
framework-dev
GitHub stars
116
Token cost
~768 tokens
SKILL.md length
206 words
Files
7 (incl. references)
Skills in repo
12
Repo updated
First seen
Licence
MIT

At a glance

开发与维护 NcatBot 框架本体。调试 bug、开发新功能、维护 Skill、代码审查、重构。Use when: 框架调试、debug、fix bug、feat、新功能、Skill 维护、代码贡献、模块修改、代码审查、重构。

  • Works in 3 steps: 以现有测试套件确认外部行为基线 → 修改内部实现,保持最小改动范围 → 如有内部模块文档需更新,委托 docs-maintenance 同步…
  • : 框架调试、debug、fix bug、feat、新功能、Skill 维护、代码贡献、模块修改、代码审查、重构
  • SKILL.md covers 随附脚本, 设计哲学:四位一体, 协作技能 and Fix 工作流(fix/), plus 7 more sections
  • Calls ruff

What it does

Framework Dev is an agent skill from ncatbot/NcatBot. 开发与维护 NcatBot 框架本体。调试 bug、开发新功能、维护 Skill、代码审查、重构。Use when: 框架调试、debug、fix bug、feat、新功能、Skill 维护、代码贡献、模块修改、代码审查、重构。

Its SKILL.md is about 770 tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including reference files (for example `references/adapter-cli-hooks.md`, `references/feat-workflow.md` and `references/hard-bug-debugging.md`).

It sits in Development, covering Debugging. The repository describes itself as: NapCat Python SDK;快速开发你的 QQ 机器人. The licence is MIT.

When your agent uses it

  • : 框架调试、debug、fix bug、feat、新功能、Skill 维护、代码贡献、模块修改、代码审查、重构
  • Tasks that involve Debugging

Example prompts

  • “/framework-dev”

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. 以现有测试套件确认外部行为基线
  2. 修改内部实现,保持最小改动范围
  3. 如有内部模块文档需更新,委托 docs-maintenance 同步 contributing/

What it can do on your machine

Read from SKILL.md and the folder at commit c26300a. 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

    Shell commands in SKILL.md call:

    • ruff

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

  • Network

    Links to these hosts (documentation or services it may open):

    • conventionalcommits.org

    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

Framework Dev loads about 768 tokens when it runs, and up to ~6.8k if it reads all its reference files. Until then it costs about 32 tokens; SKILL.md has 206 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~32
When it runs · the whole SKILL.md, loaded when a task matches
~768
With references · SKILL.md plus every file in references/, read only if the agent opens them
~6.8k

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

The full file from ncatbot/NcatBot at commit c26300a, republished under its MIT licence (© ncatbot). 206 words, ~768 tokens.

Download SKILL.mdSave it as .claude/skills/framework-dev/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.
name
framework-dev
description
开发与维护 NcatBot 框架本体。调试 bug、开发新功能、维护 Skill、代码审查、重构。Use when: 框架调试、debug、fix bug、feat、新功能、Skill 维护、代码贡献、模块修改、代码审查、重构。
license
MIT

技能指令

你是 NcatBot 框架开发助手。帮助用户对框架本体进行一切变更:修 bug、加功能、重构代码。

随附脚本

脚本用途
.agents/scripts/check_imports.py自动检查导入规范(Rule 1 跨层深度 + Rule 2 同层相对导入)
.agents/scripts/check_runtime_imports.py扫描非顶层运行时导入,分类报告(--stat 汇总 / --strict CI 门禁)

设计哲学:四位一体

NcatBot 项目中,skill、docs、code、test 是不可分割的整体。任何变更都必须同时触及这四项:

产物说明不同步的后果
Code实现代码功能不存在
Test测试代码无法验证正确性,回归无保障
Docs用户文档 + 参考文档用户不知道怎么用,贡献者不知道怎么改
SkillAgent 技能知识AI 助手无法正确引导后续开发

变更检查清单(每次提交前过一遍):

  • Code:实现/修复已完成
  • Test:新增或更新了测试(→ testing-framework 技能)
  • Docs:guide / reference / architecture 已同步(→ docs-maintenance 技能)
  • Skill:如变更影响 agent 技能的知识,同步更新相关 .agents/skills/ 文件

协作技能

需要做什么委托给
定位代码、理解模块、导航文档codebase-nav
理解设计意图、查阅架构与 APIdoc-nav
编写测试、运行测试、调试测试testing-framework
编写/编辑文档、一致性检查、索引同步docs-maintenance
发布版本、推送变更、管理 docs submodulerelease

Fix 工作流(fix/)

核心原则:日志优先,禁止通过纯代码阅读推演定位根因。

完整生命周期:症状 → 插桩日志 → 最小复现测试 → 从日志定根因 → 修复 → 回归 → (按需)同步文档

→ 详见 references/hard-bug-debugging.md(完整流程、插桩位置速查、实战案例)

Feat 工作流(feat/)

核心原则:先读文档理解设计意图,再找实现位置;接口设计优先于编码。

流程:读文档(doc-nav)→ 接口设计 → 编码 → 写文档(docs-maintenance)

→ 详见 references/feat-workflow.md(文档路径速查、接口设计检查点、docs 委托指南)

Refactor 工作流(refactor/)

核心原则:现有测试即契约,外部行为不得改变。

  1. 以现有测试套件确认外部行为基线
  2. 修改内部实现,保持最小改动范围
  3. 如有内部模块文档需更新,委托 docs-maintenance 同步 contributing/

Docs 工作流(docs/)

→ 委托 docs-maintenance 技能执行。


收尾(每次变更后)

  1. 四位一体检查:Code ✓ Test ✓ Docs ✓ Skill ✓
  2. 代码风格:ruff format . + ruff check . --fix
  3. docs submodule:若改动了 docs/ 文件 → 参见 release 技能的 commit 编排流程
  4. 留痕:在 memory/ 目录创建工作记录 → 模板见 references/memory-template.md
  5. 多平台变更:若涉及新平台或跨平台接口 → 见 references/multi-platform.md

导入规范

详见 references/import-conventions.md。核心原则:

  • 跨 layer 绝对导入,最多到二级平台子模块(from ncatbot.<layer> import ...),禁止三级及更深
  • 同 layer 内部相对导入(from ..module import ...)
  • 运行时导入(Rule 5):默认放顶层;仅可选依赖 / CLI 懒加载 / 已确认循环 / 平台条件允许延迟
  • 新增公共 API 必须在对应 layer 的 __init__.py 中注册
  • 验证:check_imports.py(架构规范)+ check_runtime_imports.py --strict(运行时导入),均须 0 违规

适配器 CLI 配置钩子

各适配器通过 cli_configure() 类方法为 ncatbot init / ncatbot adapter 提供交互式配置。含智能跳过逻辑(如 NapCat 自动安装跳过 WS/WebUI 输入、Bilibili 扫码跳过凭据输入)。

→ 详见 references/adapter-cli-hooks.md(实现位置、跳过设计、新适配器实现规则)


分支与提交

  • 分支命名:feat/xxx、fix/xxx、refactor/xxx、docs/xxx
  • Commit 格式:Conventional Commits
  • 代码风格:ruff format . + ruff check . --fix

© ncatbot, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 6 other files (references) in .agents/skills/framework-dev of ncatbot/NcatBot.

  • SKILL.md
  • references/adapter-cli-hooks.md
  • references/feat-workflow.md
  • references/hard-bug-debugging.md
  • references/import-conventions.md
  • references/memory-template.md
  • references/multi-platform.md

Open the folder on GitHubat commit c26300a

Compare with similar skills

Framework Dev 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.

Framework Dev compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Framework Dev this skillncatbot/NcatBot116—~768Automated safety check: PassMIT
Trellis Session Insightmindfold-ai/Trellis15k4 repos~1.7kAutomated safety check: PassAGPL-3.0
Native Data FetchingCherryHQ/cherry-studio-app4k6 repos~2.9kAutomated safety check: NotesMIT
Debugging Executionsn8n-io/n8n207k—~2.6kAutomated safety check: PassCustom licence
Aoti Debugpytorch/pytorch104k1 repos~1.7kAutomated safety check: PassCustom licence
Herdr Throwaway Reproductionherdrdev/herdr43k—~2.4kAutomated safety check: PassApache-2.0

Similar skills

  • Trellis Session Insight

    mindfold-ai/Trellis

    Reach into past AI conversation history through the trellis mem CLI.

    15k GitHub starsUsed in 4 repos~1.7k tokens
    DevelopmentAuto-check passed
  • Native Data Fetching

    CherryHQ/cherry-studio-app

    A skill your agent uses when implementing or debugging ANY network request, API call, or data fetching.

    4k GitHub starsUsed in 6 repos~2.9k tokens
    DevelopmentAuto-check: notes
  • Official

    Debug failed or wrong-output workflow executions using executions tools.

    207k GitHub stars~2.6k tokensUpdated today
    DevelopmentAuto-check passed
  • Aoti Debug

    pytorch/pytorch

    Debug AOTInductor (AOTI) errors and crashes. An agent skill from pytorch/pytorch.

    104k GitHub starsUsed in 1 repo~1.7k tokens
    DevelopmentAuto-check passed
  • Runs a disposable, uniquely named Herdr session inside an existing one so runtime, pane, terminal or API bugs can be reproduced without touching the main session.

    43k GitHub stars~2.4k tokensUpdated today
    DevelopmentAuto-check passed
  • Systematic Debugging

    ultralisp/ultralisp

    A skill your agent uses when encountering any bug, test failure, or unexpected behavior, before proposing fixes

    258 GitHub starsUsed in 51 repos~2.4k tokens
    DevelopmentAuto-check passed

More from ncatbot/NcatBot

All 12 skills in this repo
  • Code Nav

    ncatbot/NcatBot

    定位 NcatBot 代码实现:锁定模块目录、找到关键类/函数、追踪调用链。当文档不够时才读代码,用搜索而非遍历。Use when: 找代码实现、哪个文件、哪个类、追踪调用链、定位 bug 行号、代码在哪、模块目录、源码定位。

    116 GitHub stars~460 tokensUpdated 3 days ago
    Auto-check passed
  • Docs Maintenance

    ncatbot/NcatBot

    维护 NcatBot 项目文档、示例、Skills 知识资产。编写/编辑文档、修复文档问题、文档结构规范审查。Use when: 写文档、改文档、新增文档、修复断链、修复索引、修复代码块标注、文档规范、文档模板、文档结构设计、docs maintenance。

    116 GitHub stars~722 tokensUpdated 3 days ago
    Auto-check passed
  • Docs Sync

    ncatbot/NcatBot

    整体/局部防腐检查:Docs 内部链接断裂、README 索引不同步、guide↔reference 内容不一致、examples 导入过时、Code↔Docs API 对齐。逐文件检查,最大化并发 subagent。Use when: docs 防腐、docs 链接、docs 断链、断链检查、docs 审计、docs audit、code docs 对齐、reference 过时、guide…

    116 GitHub stars~1.3k tokensUpdated 3 days ago
    Auto-check passed
  • Framework Usage

    ncatbot/NcatBot

    使用 NcatBot 框架开发 QQ 机器人或跨平台 Bot。当用户需要快速体验、创建插件、注册事件处理、发送消息、调用 Bot API、使用 Mixin/Hook、使用 CLI 工具、编写插件测试、或调试运行问题时触发此技能。Use when: 开发…

    116 GitHub stars~1.2k tokensUpdated 3 days ago
    Auto-check passed
  • Plugin Migration

    ncatbot/NcatBot

    将 NcatBot 4.4/4.5 版本插件迁移到 5.0。包括导入路径、注册方式、Config/Data API、事件类型、消息构造的全面映射。Use when: 迁移插件、升级插件、4 转 5、老版本、旧版本、migration、upgrade、plugin migration、版本升级。

    116 GitHub stars~1.2k tokensUpdated 3 days ago
    Auto-check passed
  • Release

    ncatbot/NcatBot

    发布 NcatBot 新版本到 PyPI 和 GitHub Release,或仅编排 Commit 推送到 main。从工作区变更编排 commit 到最终发布的全链路流程。Use when: 发版、release、发布、changelog、版本号、pick commits、挑选提交、release notes、编排 commit、push、推送。

    116 GitHub stars~513 tokensUpdated 3 days ago
    Auto-check passed

Categories

Questions about Framework Dev

What does Framework Dev do?

开发与维护 NcatBot 框架本体。调试 bug、开发新功能、维护 Skill、代码审查、重构。Use when: 框架调试、debug、fix bug、feat、新功能、Skill 维护、代码贡献、模块修改、代码审查、重构。. Framework Dev is an agent skill from ncatbot/NcatBot.

When should I use Framework Dev?

Framework Dev fits situations like: : 框架调试、debug、fix bug、feat、新功能、Skill 维护、代码贡献、模块修改、代码审查、重构; tasks that involve Debugging.

How do I install Framework Dev in Claude Code?

Run `npx skills add ncatbot/NcatBot --skill framework-dev -a claude-code`. Or copy the skill folder (.agents/skills/framework-dev in ncatbot/NcatBot) into .claude/skills/framework-dev in your project. Claude Code loads it when a task matches its description.

How do I install Framework Dev in Codex?

Run `npx skills add ncatbot/NcatBot --skill framework-dev -a codex`. Or copy the skill folder (.agents/skills/framework-dev in ncatbot/NcatBot) into .agents/skills/framework-dev in your project. Codex loads it when a task matches its description.

Can I use Framework Dev 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 ncatbot/NcatBot --skill framework-dev -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/framework-dev, .gemini/skills/framework-dev, .github/skills/framework-dev and .opencode/skills/framework-dev in your project.

What does Framework Dev need to run?

Going by SKILL.md and its folder, Framework Dev needs the command-line tools its instructions call (ruff).

Does Framework Dev access the network?

SKILL.md names 1 domain. As links in the text: conventionalcommits.org. This is read from the text; nothing was executed.

Is Framework Dev 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 Framework Dev use?

Framework Dev is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Framework Dev use?

About 768 tokens (SKILL.md is roughly 3.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 6.1k tokens, read only when the agent opens those files.

What are the alternatives to Framework Dev?

Skills that share tags, products or a category with Framework Dev: Trellis Session Insight (mindfold-ai/Trellis, 15k stars), Native Data Fetching (CherryHQ/cherry-studio-app, 4k stars), Debugging Executions (n8n-io/n8n, 207k stars) and Aoti Debug (pytorch/pytorch, 104k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Framework Dev?

ncatbot (a GitHub organization) maintains it in ncatbot/NcatBot, which has 116 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on October 4, 2026.

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