Skip to main content

decision-log-audit

Audit a conversation for undocumented decisions that meet logging criteria (durable, cross-cutting, non-obvious, normative).

来源信息

仓库
LumiroCode/copilot-instructions
最近来源活动
2026年3月29日 14:35
检测到的 SKILL.md 语言
英语
星标
0
Forks
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
decision-log-audit
description
Audit a conversation for undocumented decisions that meet logging criteria (durable, cross-cutting, non-obvious, normative).
argument-hint
Changed files or description of work completed, e.g. "refactored search engine" or list of modified .php files
user-invocable
true
metadata
{"skill":"decision-log-audit","description":"Decision log hygiene and suggested entries.","usage":"Use when work is complete to ensure decisions are logged.","input":"Changed files or work description.","output":"Suggested new entries, flagged stale entries."}
# Decision Log Audit Skill ## When to use - Programmer finishes implementation and should log decisions - Finalization needs to check for undocumented decisions - Decision log needs cleanup of stale/outdated entries ## Inputs - List of changed files or description of work completed (e.g., "implemented offer deduplication logic") ## Procedure 1. Review existing `decisionlog.md` to find related entries 2. Analyze changed code/files to identify technical, architectural, or domain decisions: - Why a specific pattern was chosen (vs. alternatives) - Why a boundary or layer exists (vs. being flattened) - Performance or correctness trade-offs made - External constraints enforced (MerlinX API rules, product split rules, etc.) 3. For each identified decision, assess: - **Durable**: will it likely apply beyond this task? - **Cross-cutting**: does it affect multiple files or features? - **Non-obvious**: is it clear from the code alone? - **Normative**: does it express a rule or constraint? 4. Flag stale entries in `decisionlog.md` that no longer apply given recent changes 5. Suggest new entries for decisions meeting all 4 criteria ## Output format - **Suggested new decision log entries**: 1. [Decision statement]: [short rule-centric phrase, max 2 clauses] 2. [Rationale/evidence from changed code] 3. [Expected durability: temporary/session/long-term] - **Flagged as stale** (suggest removal): 1. [Existing entry that may no longer apply] 2. [Why it seems outdated] - **Entries to review for update**: 1. [Entry that overlaps with new decisions] 2. [Suggested amendment] ## Completion checks - All changed files analyzed for decisions - Each identified decision assessed against 4 criteria - Existing log reviewed for overlaps and staleness - Suggested entries use rule-centric phrasing - Output is actionable (ready to merge into `decisionlog.md`)
在 GitHub 查看