Моментальная индексация артефактов при создании

engineering

index-at-creation is a Claude Code skill that indexes artifacts at the moment of creation rather than waiting for session end or scheduled batch jobs. The pattern hooks into the PostToolUse Write event so that as soon as a file is written, indexing fires immediately using the `--file` flag for fast single-file processing. This ensures downstream logic that depends on queryable artifacts never encounters stale or missing data. The skill is not user-invocable — it operates as an event-driven reaction within the pipeline. It is the right approach for real-time workflows where batch indexing or cron-based jobs would introduce unacceptable latency.