首页/ AI 技能 / @skilllib/skill-2014279426987470853
Skill站外收录 @skilllib/skill-2014279426987470853

create-justification

自动生成结构化决策依据文档,包含唯一三词标识符、带日期和标题的 frontmatter 以及用户提供的正文内容,文件存储于 .agents/justifications/ 目录下,便于团队追溯技术决策背景。

0.0 (0) 539 次安装 原作者 编程导航
收录于 2026-01-22
内容与媒体 AI 技能

Skills.MD

## What I do I help you create new justification files in the `.agents/justifications/` directory. Each justification file gets: - A unique three-word identifier (e.g., `swift-emerald-river`) - Frontmatter with the current date and formatted title - Content you provide ## How to use Run the script with a slug and content: ```bash npx tsx scripts/create-justification.ts "decision-name" "Justification content here" ``` Or use heredoc for multi-line content: ```bash npx tsx scripts/create-justification.ts "decision-name" << HEREDOC Multi-line justification content goes here HEREDOC ``` ## File format Files are created as: `{three-word-id}-{slug}.md` Example: `swift-emerald-river-decision-name.md` The file includes frontmatter: ```markdown --- date: 2026-01-13 title: Decision Name --- Your content here ``` ## When to use me Use this skill when you need to document the reasoning or justification for a decision, approach, or architectural choice. The unique ID ensures no filename conflicts, and the frontmatter provides metadata for organization.

评论 0

还没有评论,来抢沙发。