Agent SkillsDotHarness/dotcraft › heartbeat

heartbeat

GitHub

用于配置和维护轻量级周期性检查任务。通过读取和编辑.craft/HEARTBEAT.md文件,协助用户管理固定间隔的待办事项,无需构建完整自动化流程。若无可执行项则返回HEARTBEAT_OK。

src/DotCraft.Core/Skills/BuiltIn/heartbeat/SKILL.md DotHarness/dotcraft

Trigger Scenarios

用户需要轻量级重复检查清单 系统触发周期性心跳检查

Install

npx skills add DotHarness/dotcraft --skill heartbeat -g -y
More Options

Non-standard path

npx skills add https://github.com/DotHarness/dotcraft/tree/main/src/DotCraft.Core/Skills/BuiltIn/heartbeat -g -y

Use without installing

npx skills use DotHarness/dotcraft@heartbeat

指定 Agent (Claude Code)

npx skills add DotHarness/dotcraft --skill heartbeat -a claude-code -g -y

安装 repo 全部 skill

npx skills add DotHarness/dotcraft --all -g -y

预览 repo 内 skill

npx skills add DotHarness/dotcraft --list

SKILL.md

Frontmatter
{
    "name": "heartbeat",
    "description": "Configure and maintain Heartbeat for lightweight recurring checks."
}

Heartbeat

Purpose

Heartbeat is a lightweight recurring check. DotCraft periodically reads .craft/HEARTBEAT.md and may run you on the actionable items in that file.

Use Heartbeat for simple recurring checks or standing tasks that should be reviewed on a fixed interval without creating a full automation workflow.

Maintain The Task File

Heartbeat reads .craft/HEARTBEAT.md.

  • When the user wants a lightweight recurring checklist, maintain .craft/HEARTBEAT.md.
  • Use ReadFile before editing it.
  • Use EditFile to add, update, or remove periodic tasks.
  • Use WriteFile only when replacing the whole file intentionally.

If the file contains only headings, blank lines, or HTML comments, Heartbeat treats it as empty and skips the run.

Writing Guidance

Write concrete recurring tasks in .craft/HEARTBEAT.md. Prefer short, actionable instructions that you can execute during a future heartbeat run.

Good examples:

  • "Check the latest CI failures and summarize new regressions."
  • "Review the inbox for urgent messages and draft a short summary."
  • "Scan open PRs that are waiting for review and report blockers."

When Nothing Needs Action

If you are triggered by Heartbeat and there is nothing actionable in .craft/HEARTBEAT.md, respond with HEARTBEAT_OK.

Version History

  • f8e839e Current 2026-07-05 15:31

Same Skill Collection

src/DotCraft.Core/Skills/BuiltIn/create-hooks/SKILL.md
src/DotCraft.Core/Skills/BuiltIn/cron/SKILL.md
src/DotCraft.Core/Skills/BuiltIn/memory/SKILL.md
src/DotCraft.Core/Skills/BuiltIn/plugin-creator/SKILL.md
src/DotCraft.Core/Skills/BuiltIn/skill-authoring/SKILL.md
src/DotCraft.Core/Skills/BuiltIn/skill-installer/SKILL.md
src/DotCraft.Core/Skills/BuiltIn/visualize/SKILL.md

Metadata

Files
0
Version
ffac645
Hash
d5048732
Indexed
2026-07-05 15:31

ホーム - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-26 04:35
浙ICP备14020137号-1 $お客様$