Agent SkillsDotHarness/dotcraft › heartbeat

heartbeat

GitHub

用于配置和维护轻量级周期性检查任务。通过读写.craft/HEARTBEAT.md文件,实现固定间隔的简单重复性任务审查与执行,无需构建完整自动化流程。

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

Trigger Scenarios

用户需要轻量级周期性检查清单 需要维护或更新.craft/HEARTBEAT.md中的定期任务

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

Metadata

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

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-10 12:47
浙ICP备14020137号-1 $Гость$