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

node-journal

GitHub

定义 node_journal 模块的使用规范,明确其为仅追加的事件日志,用于诊断和导出。规定外部调用者仅使用 record_* 接口,禁止依赖日志内容做业务逻辑判断或存储复用数据。

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

Trigger Scenarios

编辑 node_journal 模块代码 在 node_journal 外部添加记录事件调用

Install

npx skills add Drakkar-Software/OctoBot --skill node-journal -g -y
More Options

Use without installing

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

Version History

  • 3.0.0-beta3 Current 2026-10-19 02:08

Same Skill Collection

.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

Metadata

Files
0
Version
3.0.0-beta3
Hash
593a3033
Indexed
2026-10-19 02:08

홈 - 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-10-31 21:38
浙ICP备14020137号-1