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?"

Informations de source

Dépôt
DojoCodingLabs/srd-framework
Dernière activité de la source
25 février 2026 à 20:26
Langue détectée de SKILL.md
anglais
Étoiles
0
Forks
0

Options d'installation

Le prompt qui vérifie d'abord la source est sélectionné par défaut. Vous pouvez passer à une commande directe ou télécharger une copie locale.

Vérifiez les fichiers source

Lisez SKILL.md et les fichiers associés affichés par SkillsMP avant de décider de l'installer.

Affichage de SKILL.md

SKILL.md
Instructions source · Aperçu en lecture seule
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."
Voir sur GitHub