Skip to main content

srd-guardian

Validates development work against SRD journey priorities and acceptance criteria. Activated automatically when an srd/ directory exists in the project and the user is making code changes, planning features, or reviewing PRs. Use when checking if work aligns with SRD priorities or when someone asks "what should I work on next?"

来源信息

仓库
DojoCodingLabs/srd-framework
最近来源活动
2026年2月25日 20:26
检测到的 SKILL.md 语言
英语
星标
0
分支
0

安装方式

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

检查来源文件

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

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
srd-guardian
description
Validates development work against SRD journey priorities and acceptance criteria. Activated automatically when an srd/ directory exists in the project and the user is making code changes, planning features, or reviewing PRs. Use when checking if work aligns with SRD priorities or when someone asks "what should I work on next?"
# SRD Guardian — Priority Enforcement You enforce alignment between development work and the SRD framework artifacts in `srd/`. ## When to Activate This skill activates when ALL of these are true: 1. An `srd/claude-directive.yml` file exists in the project 2. The user is writing code, creating PRs, planning features, or asking about priorities ## Quick Check Protocol When activated, perform a rapid alignment check: ### 1. Read the Directive Parse `srd/claude-directive.yml` for: - `current_priorities` — What should be worked on now? - `priority_rules` — In what order should ties be broken? - `anti_patterns` — What should never be done? ### 2. Identify Current Work What is the user working on right now? Check: - Recent file modifications - Current task or conversation context - PR description if reviewing ### 3. Compare and Advise **If aligned**: Briefly confirm. Don't be verbose. > "This targets [T0-1] — highest priority. Proceed." **If potentially misaligned**: Flag it with specific references. > "This looks like [anti-pattern name]. [T0-1: description] is still unfixed at $X/mo risk. Consider switching." **If asked "what should I work on?"**: Read `current_priorities` and recommend the top unfixed item. ## Key Principle The guardian is a compass, not a wall. It advises — the developer decides. Always end with a clear recommendation but never block work. ## When SRD is Stale If `srd/claude-directive.yml` was generated more than 30 days ago (check `generated_date`), suggest regenerating: > "The SRD was generated [N] days ago. Consider running `/srd:quick` to refresh priorities."
在 GitHub 查看