金色时刻 · 15:48
让好资源,触手可及
AGENT SKILL

index-at-creation

index-at-creation 是面向数据库的 Agent Skill,来自 parcadei/Continuous-Claude-v3。查看技能说明、操作步骤与使用约定,并通过原项目了解详细用法。

Index at Creation Time

SKILL.md

下载 MD ↓
nameindex-at-creation
descriptionIndex at Creation Time
user-invocable

Index at Creation Time

Index artifacts when they're created, not at batch boundaries.

Pattern

If downstream logic depends on artifacts being queryable, index immediately at write time.

DO

  • Index handoffs in PostToolUse Write hook (immediately after creation)
  • Use --file flag for fast single-file indexing
  • Trigger indexing from the same event that creates the artifact

DON'T

  • Wait for SessionEnd to batch-index
  • Rely on cron/scheduled jobs for time-sensitive data
  • Assume data will be available "soon enough"

Source Sessions

  • a541f08a: "Index at artifact creation time, not at SessionEnd"
  • 1c21e6c8: "If downstream logic depends on artifacts, index at the moment they're created"

来源:parcadei/Continuous-Claude-v3 · MIT 许可 · 许可原文 · MD 为来源页保存的历史版本