project-characteristics — community project-characteristics, core_node, community, ide skills

v1.0.0

关于此技能

非常适合需要了解pycore框架约定和开发标准的Python开发代理。 Describes pycore (Python core library of core_node) requirements, conventions, and architecture. Use when developing or modifying code under pycore (pycore_module_caller, callmodule, pylauncher, pythreadpool, native_ui). Enforces three-layer separation, THREAD_BUS-only cross-thread communication, step-based native_ui, and shutdown priority. This skill defines pycore requirements only.

accountbelongstox accountbelongstox
[0]
[0]
更新于: 3/7/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reference-Only Page Review Score: 6/11

This page remains useful for operators, but Killer-Skills treats it as reference material instead of a primary organic landing page.

Original recommendation layer Concrete use-case guidance Explicit limitations and caution
Review Score
6/11
Quality Score
41
Canonical Locale
zh
Detected Body Locale
zh

非常适合需要了解pycore框架约定和开发标准的Python开发代理。 Describes pycore (Python core library of core_node) requirements, conventions, and architecture. Use when developing or modifying code under pycore (pycore_module_caller, callmodule, pylauncher, pythreadpool, native_ui). Enforces three-layer separation, THREAD_BUS-only cross-thread communication, step-based native_ui, and shutdown priority. This skill defines pycore requirements only.

核心价值

赋予代理能够自信地导航和修改pycore_module_caller、callmodule和native_ui项目,利用pycore的框架和开发约定,包括THREAD_BUS、launcher和config服务。

适用 Agent 类型

非常适合需要了解pycore框架约定和开发标准的Python开发代理。

赋予的主要能力 · project-characteristics

开发和修改pycore_module_caller代码
向pycore项目添加服务
调试THREAD_BUS和launcher配置

! 使用限制与门槛

  • 仅限pycore项目
  • 需要了解pycore框架和开发约定

Why this page is reference-only

  • - Current locale does not satisfy the locale-governance contract.
  • - The underlying skill quality score is below the review floor.

Source Boundary

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

评审后的下一步

先决定动作,再继续看上游仓库材料

Killer-Skills 的主价值不应该停在“帮你打开仓库说明”,而是先帮你判断这项技能是否值得安装、是否应该回到可信集合复核,以及是否已经进入工作流落地阶段。

实验室 Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

常见问题与安装步骤

以下问题与步骤与页面结构化数据保持一致,便于搜索引擎理解页面内容。

? FAQ

project-characteristics 是什么?

非常适合需要了解pycore框架约定和开发标准的Python开发代理。 Describes pycore (Python core library of core_node) requirements, conventions, and architecture. Use when developing or modifying code under pycore (pycore_module_caller, callmodule, pylauncher, pythreadpool, native_ui). Enforces three-layer separation, THREAD_BUS-only cross-thread communication, step-based native_ui, and shutdown priority. This skill defines pycore requirements only.

如何安装 project-characteristics?

运行命令:npx killer-skills add accountbelongstox/core_node/project-characteristics。支持 Cursor、Windsurf、VS Code、Claude Code 等 19+ IDE/Agent。

project-characteristics 适用于哪些场景?

典型场景包括:开发和修改pycore_module_caller代码、向pycore项目添加服务、调试THREAD_BUS和launcher配置。

project-characteristics 支持哪些 IDE 或 Agent?

该技能兼容 Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer。可使用 Killer-Skills CLI 一条命令通用安装。

project-characteristics 有哪些限制?

仅限pycore项目;需要了解pycore框架和开发约定。

安装步骤

  1. 1. 打开终端

    在你的项目目录中打开终端或命令行。

  2. 2. 执行安装命令

    运行:npx killer-skills add accountbelongstox/core_node/project-characteristics。CLI 会自动识别 IDE 或 AI Agent 并完成配置。

  3. 3. 开始使用技能

    project-characteristics 已启用,可立即在当前项目中调用。

! 参考页模式

此页面仍可作为安装与查阅参考,但 Killer-Skills 不再把它视为主要可索引落地页。请优先阅读上方评审结论,再决定是否继续查看上游仓库说明。

Upstream Repository Material

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

Upstream Source

project-characteristics

安装 project-characteristics,这是一款面向AI agent workflows and automation的 AI Agent Skill。查看评审结论、使用场景与安装路径。

SKILL.md
Readonly
Upstream Repository Material
The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.
Supporting Evidence

pycore 项目特性(框架与约定)

本 skill 描述的是 pycore 的要求与约定(项目特性即 pycore 的框架与开发规范),不涉及项目其他部分。

When to Use

  • Use this skill when developing or modifying code under pycore (pycore_module_caller, callmodule, pylauncher, pythreadpool, native_ui).
  • Use when adding services, changing tray/startup/main window behavior, or touching THREAD_BUS / launcher / config.

Instructions

入口与三层职责

  • 根入口pycore_module_caller.pybuild_launcher_config()ServiceLauncher(config).start()register_event_handlers();主循环等 THREAD_BUS.is_shutdown_requested()launcher.stop()
  • callmodule:只做配置与事件注册(config.build_launcher_configevent_handlers.register_event_handlers),不启动线程。
  • pylauncher:单例检测 + 按 config.services 调用 pythreadpool 的 starter;不实现具体服务逻辑。
  • pythreadpoolSERVICE_STARTERS[name](config) 启动各服务线程(heartbeat / rpc_v2 / ui / tray),并注册 register_shutdown_handler;关机时发 tray.request_stop{app_id}.close 等事件。

THREAD_BUS 通信

  • 线程间不直接调用,全部通过 THREAD_BUS:trigger_eventregister_event_handlersignal/wait_signalset_thread_stateregister_shutdown_handlerrequest_shutdown
  • 事件命名带命名空间(如 ui.tray.showapp.closetray.request_stop);需要时 event_data 带 source
  • 关机按 THREAD_REGISTRYshutdown_priority 逆序执行(数字小的先关)。

Native UI 结构(step0–step10)

  • 对外只通过 pycore.pyutils.native_ui__init__.py 暴露;内部按 step 绝对引用。
  • step0_i18n:国际化。step1_config:NativeUIConfig、TrayConfig。step2_port_url:端口与 URL。step3_launcherlaunch_native_applauncher_with_startupstep4_startup:TkinterStartupThread(唯一 tk 引导窗)。step5_main_ui:PySide6 主窗、WebView、托盘。step6_tray:pystray、AppIndicator(Ubuntu)。step7_managers:thread_bus_manager、shutdown_manager 等。step9_frontend:前端进程。

启动顺序(含 UI 时)

  1. 先起 TkinterStartupThread(tk 引导),发 TkinterStartup_ready
  2. UI 线程内 wait_signal('TkinterStartup_ready') 后再 get_third_package_pyside6(),再创建 PySide6Framework 与主窗口。
  3. 引导结束后可发 STARTUP_REQUEST_CLOSE 关 tk;若启用托盘则进 tray(pystray 或 AppIndicator)。
  4. 关机:request_shutdown → 执行 shutdown handler(如 stop_ui 发 {app_id}.close,stop_tray 发 tray.request_stop)。

平台与托盘

  • platform_adapter:根据 OS、X11、XDG_CURRENT_DESKTOP 给出 recommended_tray_backend(APPINDICATOR / PYSTRAY / PYSIDE6 / NONE)。
  • Ubuntu/GNOME 桌面优先用 AppIndicator,不可用时退回 pystray。Linux 无 X11 则无托盘。
  • start_tray()_run_tray_mode() 根据推荐后端选择 AppIndicatorSystemTrayThread 或 TkinterSystemTrayThread;菜单用 build_appindicator_menu_items_build_tray_menu_items 从 TrayConfig 生成。

关键文件

  • 配置:pycore/callmodule/config.py。事件:pycore/callmodule/event_handlers.py
  • 启动器:pycore/pylauncher/launcher.py。starter 与 registry:pycore/pythreadpool/starters.pyregistry.py
  • THREAD_BUS:pycore/pyfoundations/thread_bus.py。Native UI 入口:pycore/pyutils/native_ui/step3_launcher/launch_native_app.py
  • tk 引导:pycore/pyutils/native_ui/step4_startup/startup_window_thread.py。主窗:step5_main_ui/pyside6/framework.py。平台:pycore/pyutils/native_ui/platform_adapter.py

开发约定

  • 新增服务:在 registry.py 的 THREAD_REGISTRY 加条目并设 shutdown_priority,在 starters.py 中实现 starter 并注册到 SERVICE_STARTERS;关机通过 THREAD_BUS 事件或 shutdown handler,不直接调其他线程。
  • 修改托盘/引导/主窗:保持「tk 先于 PySide6」「THREAD_BUS 关窗/关托盘」;Ubuntu 桌面优先 AppIndicator,失败再 pystray。

相关技能

寻找 project-characteristics 的替代方案 (Alternative) 或可搭配使用的同类 community Skill?探索以下相关开源技能。

查看全部

openclaw-release-maintainer

Logo of openclaw
openclaw

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

333.8k
0
AI

widget-generator

Logo of f
f

为prompts.chat的信息反馈系统生成可定制的插件小部件

149.6k
0
AI

flags

Logo of vercel
vercel

React 框架

138.4k
0
浏览器

pr-review

Logo of pytorch
pytorch

Python中具有强大GPU加速的张量和动态神经网络

98.6k
0
开发者工具