cases

Record and retrieve event cases with templates and an index.

26|4|Updated Mar 5, 2026
One-click install
npx skills add https://github.com/kid0317/cc_workspace_bot --skill cases-kid0317
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cases
Source: https://github.com/kid0317/cc_workspace_bot/tree/main/workspaces/_template/.claude/skills/cases
Command: npx skills add https://github.com/kid0317/cc_workspace_bot --skill cases-kid0317

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

本技能用于在日常对话中记录和检索重要的具体事件(cases),并方便快速检索历史案例,帮助提炼经验。

Core Features & Use Cases

  • 规定的目录结构和命名规则,支持将每个事件作为独立的 case 文件保存,并通过 index 进行快速导航。
  • 提供 Case 文件模版和索引文件模版,统一记录字段和分类,确保信息的一致性与可检索性。
  • 可靠的写入流程与并发保护:通过 flock 锁等流程确保跨会话写入不冲突,并保持历史记录不可删除的审计轨迹。
  • 跨场景知识沉淀与回溯:在对话中自动沉淀经验,便于后续检索和复盘。

Quick Start

Create a new case by saving a Markdown file under cases/YYYY-MM-DD-<slug>.md using the Case File Template described in the Skill, then update the cases/index.md to include the new entry.

Frequently Asked Questions about cases

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I record incident cases during conversations for post-mortem reviews?

To record incident cases during conversations, you save a Markdown file under cases/YYYY-MM-DD-<slug>.md using a Case File Template, then update the cases/index.md file to include the new entry for post-mortem reviews.

What is the best way to maintain a searchable index of decision logs?

Maintaining a searchable index of decision logs involves using a defined directory structure and an index file template, ensuring organized case templates and consistent field classification for reliable retrieval.

Can I use this case management system for cross-session record-keeping without data conflicts?

Yes, you can use this system for cross-session case record-keeping without conflicts, because it implements a safe write-flow using flock locks to ensure concurrent sessions do not overwrite each other.

Does the case template approach support immutable audit trails for knowledge management?

Yes, the case template approach supports immutable audit trails for knowledge management by enforcing a safe write-flow that preserves historical records without deletion, ensuring a reliable audit trail.

What are the limitations of using Markdown files for case retrieval and indexing?

A limitation of using Markdown files for case retrieval is that navigating records relies entirely on manually updating the index.md file, requiring strict adherence to naming rules and directory structures for accurate indexing.

How does the case file template work for knowledge management and event tracking?

The case file template works for knowledge management by providing standardized Markdown fields to document critical events, automatically sinking experience during conversations to enable subsequent retrieval and retrospective analysis.