Agent Skills › Drakkar-Software/OctoBot › node-journal

node-journal

GitHub

定义 node_journal 模块的使用规范,规定外部仅能通过 record_* 追加事件日志,禁止读取或依赖其作为业务状态源。内部负责导出与总结逻辑,确保日志仅用于诊断和分享,维持应用边界清晰。

.cursor/skills/node-journal/SKILL.md Drakkar-Software/OctoBot

触发场景

需要记录用户行为或系统事件用于诊断分析时 在 node_journal 包内实现事件导出或旅程摘要功能时

安装

npx skills add Drakkar-Software/OctoBot --skill node-journal -g -y
更多选项

不安装直接使用

npx skills use Drakkar-Software/OctoBot@node-journal

指定 Agent (Claude Code)

npx skills add Drakkar-Software/OctoBot --skill node-journal -a claude-code -g -y

安装 repo 全部 skill

npx skills add Drakkar-Software/OctoBot --all -g -y

预览 repo 内 skill

npx skills add Drakkar-Software/OctoBot --list

SKILL.md

Frontmatter
{
    "name": "node-journal",
    "paths": [
        "octobot\/community\/node_journal\/**"
    ],
    "description": "Node journal (octobot.community.node_journal): record-only from outside the package; reads only for export inside node_journal; not a source of truth. Apply when editing node_journal or adding\/changing record_* calls elsewhere."
}

Node journal

Full rules: octobot/community/node_journal/AGENTS.md.

Purpose

Append-only event log for diagnostics, journey analytics, and export/sharing (upload envelope). Not authoritative application state.

Integrators (outside node_journal/)

  • Import octobot.community.node_journal and call Tier-1 record_* / record only.
  • Do not call read_events, read journal files on disk, or branch product logic on journal contents.
  • Do not store data in journal payloads to reuse later for non-journal features. Use config, DB, sync collections, or domain stores as source of truth.

Inside octobot/community/node_journal/

  • read_events, build_journey_summary, and build_upload_envelope belong to the export pipeline (plus unit tests).
  • Event and wire literals: extend events.py, constants.py, enums.py; do not inline strings in recording code.
  • Respect import tiers in package __init__.py; feature code must not reach into store / state except via the public API.

Related

版本历史

  • 3.0.0-beta3 当前 2026-10-19 02:08

同 Skill 集合

.cursor/skills/agent-seed/SKILL.md
.cursor/skills/end-user-ui/SKILL.md
.cursor/skills/octobot-cloud/SKILL.md
.cursor/skills/cloud-roadmap/SKILL.md

元信息

文件数
0
版本
3.0.0-beta3
Hash
593a3033
收录时间
2026-10-19 02:08

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-11-04 12:36
浙ICP备14020137号-1