Index of every page on this site: llms.txt
All skills
qiao-925 avatar

/scenario-mapping-log

@50a1ee4
Run it yourself

场景映射日志默认规则,用一张简洁的场景映射表提升 skill 调用的可解释性。它不强控路由,只维护场景预期,并在运行中比较 expected、actual、missing 与 unexpected,帮助定位是场景判断、skill 描述还是映射表需要优化。适用于 skill 体系设计、调试、重构、命中偏差排查,以及用户显式要求做场景映射校验的场景。关键词:scenario mapping、mapping log、场景映射、场景校验、命中校验、skill coverage、explainability、expected、actual、missing、unexpected。

Use this Skill: https://skilld.dev/gh/qiao-925/qiao-skills/scenario-mapping-log

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesactual-hit-sources.md

≈675 tokens on demand. Your agent reads this file only when SKILL.md points to it.

actual 命中记录来源顺序

这个文档只回答一件事:在没有底层 telemetry 协议的前提下,scenario-mapping-log 的 actual 从哪里来,以及怎样形成最小可复盘闭环。

1. 来源顺序

P0:平台或运行时原生命中日志

  • 例如:平台显式记录了本轮实际调用的 skill
  • 这是最优来源,优先级最高
  • 若存在此类日志,默认直接使用

P1:任务执行中的结构化记录

  • 例如:checkpoint、任务日志、阶段复盘、handoff 说明
  • 条件:记录中显式写出了本轮实际命中的 skill
  • 这是当前仓库默认推荐的无 telemetry 闭环方式

P2:人工复盘

  • 例如:在做命中偏差排查时,基于任务记录或对话复盘补一条命中清单
  • 仅在 P0 / P1 缺失时使用
  • 使用时应显式标注来源为 manual-review

如果三者都没有,actual 写 unavailable,不要伪造记录。

2. 何时必须补一条 actual 记录

以下场景至少应留下 1 条可回看的 actual 记录:

  • skill 系统设计
  • skill 迁移或重构
  • 命中偏差排查
  • 场景映射校验
  • 阶段复盘

以下场景不强制补记录:

  • 普通执行任务且没有明显偏差
  • 极短任务、低价值任务
  • 没有任何映射校验诉求的日常交互

3. 最小字段

最少保留以下字段:

  • Task:当前任务或问题的简短标识
  • Time:记录时间
  • Primary Scenario:若已判断出主场景则写;否则可写 none
  • Actual:本轮实际命中的 skill 列表
  • Actual Source:runtime-log / checkpoint / task-log / manual-review
  • Reliability:high / medium / low

可选字段:

  • Notes:补充为什么命中这些 skill,或为什么记录可信度较低

4. 最小模板

Task:
- review current skill repo readiness

Time:
- 2026-03-20T11:30:00+08:00

Primary Scenario:
- skill-system/design

Actual:
- agent-skill-rules
- scenario-mapping-log
- technical-readme-structure

Actual Source:
- task-log

Reliability:
- medium

Notes:
- 基于本轮任务记录整理,无平台原生命中日志

5. 默认落点

优先把这条最小记录写进以下位置之一:

  • 阶段性 checkpoint
  • 任务调试笔记
  • 研究/复盘文档
  • issue / comment / handoff 记录

不要为了记录 actual 单独发明复杂协议、数据库或重型框架。

6. 使用边界

  • 这不是底层 telemetry 协议,只是解释层的最小闭环方案。
  • 它解决的是“事后还能不能回看这轮到底命中了什么”,不是“百分之百精准自动埋点”。
  • 当前仓库优先追求低成本可执行,而不是形式上的完美完备。

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts8mo3 checks · Risk SAFE
  • Gen Agent Trust Hub8mo

    The skill provides a declarative framework for logging and auditing AI agent behavior by comparing expected skill hits with actual runtime telemetry. It consists entirely of documentation and reference data with no executable code, network operations, or unauthorized file access detected.

  • Socket8mo

    No alerts

  • Snyk8mo

    Risk: LOW · No issues

Signed by skilld at 50a1ee4. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Dormantupdated 8 months ago
Other metadata
metadata
{
  "type": "declarative",
  "category": "scenario-governance",
  "role": "default-rule"
}

README badge

README badge for qiao-925/qiao-skills/scenario-mapping-log