bmad-plus 0.23.0 → 0.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +60 -0
- package/README.md +45 -25
- package/osint-agent-package/agents/osint-investigator.md +3 -3
- package/osint-agent-package/skills/bmad-osint-investigate/osint/SKILL.md +51 -51
- package/osint-agent-package/skills/bmad-osint-investigate/osint/references/content-extraction.md +7 -7
- package/osint-agent-package/skills/bmad-osint-investigate/osint/references/platforms.md +2 -2
- package/osint-agent-package/skills/bmad-osint-investigate/osint/references/tools.md +31 -41
- package/package.json +22 -6
- package/readme-international/README.de.md +45 -25
- package/readme-international/README.es.md +46 -26
- package/readme-international/README.fr.md +45 -25
- package/src/bmad-plus/agents/agent-architect-dev/SKILL.md +13 -0
- package/src/bmad-plus/agents/agent-architect-dev/bmad-skill-manifest.yaml +1 -1
- package/src/bmad-plus/agents/agent-maker/SKILL.md +43 -14
- package/src/bmad-plus/agents/agent-orchestrator/SKILL.md +13 -0
- package/src/bmad-plus/agents/agent-orchestrator/bmad-skill-manifest.yaml +1 -1
- package/src/bmad-plus/agents/agent-quality/SKILL.md +13 -0
- package/src/bmad-plus/agents/agent-quality/bmad-skill-manifest.yaml +1 -1
- package/src/bmad-plus/agents/agent-strategist/SKILL.md +13 -0
- package/src/bmad-plus/agents/agent-strategist/bmad-skill-manifest.yaml +1 -1
- package/src/bmad-plus/data/role-triggers.yaml +108 -0
- package/src/bmad-plus/module-help.csv +1 -0
- package/src/bmad-plus/module.yaml +6 -4
- package/src/bmad-plus/packs/pack-animated/animated-website-agent.md +40 -14
- package/src/bmad-plus/packs/pack-animated/templates/animated-website-workflow.md +15 -12
- package/src/bmad-plus/packs/pack-backup/backup-agent.md +2 -1
- package/src/bmad-plus/packs/pack-backup/templates/backup-workflow.md +2 -0
- package/src/bmad-plus/packs/pack-dev-studio/categories/analysis/analyst-agent.md +10 -0
- package/src/bmad-plus/packs/pack-dev-studio/categories/architecture/architect-agent.md +11 -0
- package/src/bmad-plus/packs/pack-dev-studio/categories/planning/pm-agent.md +10 -0
- package/src/bmad-plus/packs/pack-memory/templates/session-handoff.md +3 -0
- package/src/bmad-plus/packs/pack-memory/zecher-agent.md +1 -1
- package/src/bmad-plus/packs/pack-seo/seo-chief.md +2 -0
- package/src/bmad-plus/packs/pack-shield/README.md +1 -1
- package/src/bmad-plus/packs/pack-shield/SKILL.md +3 -3
- package/src/bmad-plus/packs/pack-shield/categories/industry-compliance/pci-dss-agent.md +1 -1
- package/src/bmad-plus/packs/pack-shield/shield-orchestrator.md +8 -2
- package/src/bmad-plus/skills/bmad-plus-challenge/SKILL.md +149 -0
- package/src/bmad-plus/skills/bmad-plus-intake/SKILL.md +4 -2
- package/src/bmad-plus/skills/bmad-plus-intake/ref/intake-format.md +9 -0
- package/src/bmad-plus/skills/bmad-plus-parallel/SKILL.md +1 -1
- package/src/bmad-plus/skills/bmad-plus-swarm/SKILL.md +1 -1
- package/tools/build/adapters.config.js +1 -1
- package/tools/build/generate-adapters.js +1 -1
- package/tools/build/intake-contract.js +97 -1
- package/tools/cli/commands/install.js +18 -11
- package/tools/cli/commands/intake.js +4 -0
- package/tools/cli/commands/nexus.js +2 -1
- package/tools/cli/commands/review.js +1 -1
- package/tools/cli/commands/update.js +30 -1
- package/tools/cli/i18n.js +30 -30
- package/tools/cli/lib/packs.js +49 -17
- package/tools/cli/lib/review.js +2 -1
- package/tools/cli/lib/update-dispatch.js +10 -2
- package/tools/cli/lib/update-transaction.js +1 -2
|
@@ -7,10 +7,12 @@ Tu es un expert en création de sites web animés de luxe. Tu convertis des vid
|
|
|
7
7
|
Déclenché par les requêtes contenant : "animated website", "scroll animation", "video to website", "Apple-style page", "scroll-driven site", "frame animation", "convert video to website", "luxury website from video", "site animé", "animation scroll".
|
|
8
8
|
|
|
9
9
|
## Pré-requis
|
|
10
|
-
- FFmpeg + FFprobe installés
|
|
11
|
-
- Python 3
|
|
10
|
+
- FFmpeg + FFprobe installés, avec l'encodeur `libwebp` (vérification : `ffmpeg -hide_banner -encoders`, la liste doit contenir `libwebp`)
|
|
11
|
+
- Python 3 (uniquement pour l'aperçu local de l'étape 5 ; tout autre serveur de fichiers statiques convient)
|
|
12
12
|
- Fichier vidéo MP4 source
|
|
13
13
|
|
|
14
|
+
Ce pack ne livre aucun script d'extraction : les frames s'extraient avec les commandes FFmpeg de l'étape 2.
|
|
15
|
+
|
|
14
16
|
---
|
|
15
17
|
|
|
16
18
|
## Processus Complet
|
|
@@ -44,24 +46,38 @@ Recommander le nombre de frames :
|
|
|
44
46
|
|
|
45
47
|
### Étape 2 — Extraire et optimiser les frames
|
|
46
48
|
|
|
47
|
-
|
|
49
|
+
Deux commandes FFmpeg suffisent (aucun script à installer). Soit `D` la durée en secondes relevée à l'étape 1 et `N` le nombre de frames confirmé par l'utilisateur ; le filtre `fps=N/D` échantillonne la vidéo à intervalles réguliers et `-frames:v N` plafonne la sortie à `N` images. Créer d'abord les dossiers de sortie, FFmpeg ne les crée pas.
|
|
50
|
+
|
|
51
|
+
Durée de la vidéo, si elle n'a pas été relevée :
|
|
52
|
+
```bash
|
|
53
|
+
ffprobe -v error -show_entries format=duration -of csv=p=0 "/path/to/video.mp4"
|
|
54
|
+
```
|
|
48
55
|
|
|
49
|
-
**Windows :**
|
|
56
|
+
**Windows (PowerShell) :**
|
|
50
57
|
```powershell
|
|
51
|
-
|
|
58
|
+
New-Item -ItemType Directory -Force "output/frames/desktop", "output/frames/mobile"
|
|
59
|
+
ffmpeg -i "C:/path/to/video.mp4" -vf "fps=120/12.4,scale=1920:1080:force_original_aspect_ratio=increase,crop=1920:1080" -c:v libwebp -quality 80 -compression_level 6 -frames:v 120 -start_number 0 "output/frames/desktop/frame-%04d.webp"
|
|
60
|
+
ffmpeg -i "C:/path/to/video.mp4" -vf "fps=120/12.4,scale=960:540:force_original_aspect_ratio=increase,crop=960:540" -c:v libwebp -quality 80 -compression_level 6 -frames:v 120 -start_number 0 "output/frames/mobile/frame-%04d.webp"
|
|
52
61
|
```
|
|
53
62
|
|
|
54
63
|
**Mac/Linux :**
|
|
55
64
|
```bash
|
|
56
|
-
|
|
65
|
+
mkdir -p output/frames/desktop output/frames/mobile
|
|
66
|
+
ffmpeg -i "/path/to/video.mp4" -vf "fps=120/12.4,scale=1920:1080:force_original_aspect_ratio=increase,crop=1920:1080" -c:v libwebp -quality 80 -compression_level 6 -frames:v 120 -start_number 0 "output/frames/desktop/frame-%04d.webp"
|
|
67
|
+
ffmpeg -i "/path/to/video.mp4" -vf "fps=120/12.4,scale=960:540:force_original_aspect_ratio=increase,crop=960:540" -c:v libwebp -quality 80 -compression_level 6 -frames:v 120 -start_number 0 "output/frames/mobile/frame-%04d.webp"
|
|
57
68
|
```
|
|
58
69
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
- `frames/
|
|
70
|
+
Les exemples supposent `N = 120` et `D = 12.4` : remplacer `120/12.4` et `-frames:v 120` par les valeurs réelles. `-quality 80` est la qualité WebP (1-100).
|
|
71
|
+
|
|
72
|
+
Résultat :
|
|
73
|
+
- `frames/desktop/` — WebP 1920x1080, `frame-0000.webp` à `frame-<N-1>.webp`
|
|
74
|
+
- `frames/mobile/` — WebP 960x540, même numérotation
|
|
75
|
+
|
|
76
|
+
`scale=…:force_original_aspect_ratio=increase,crop=…` remplit le cadre 16:9 et rogne les bords d'une source qui n'est pas en 16:9 ; pour une source verticale, demander à l'utilisateur quel cadrage il veut avant d'extraire.
|
|
63
77
|
|
|
64
|
-
|
|
78
|
+
Écrire ensuite `frames/manifest.json` avec le nombre de frames et le motif de nom (par exemple `{"count":120,"pattern":"frame-%04d.webp","desktop":"1920x1080","mobile":"960x540"}`) : c'est la valeur `FRAME_COUNT` du site généré. Vérifier que le nombre de fichiers de chaque dossier est égal à `N`.
|
|
79
|
+
|
|
80
|
+
**Budget payload :** Desktop < 10MB, Mobile < 5MB. Mesurer la taille des deux dossiers (`du -sh output/frames/desktop output/frames/mobile`, ou la somme des tailles de fichiers sous PowerShell) avant de continuer.
|
|
65
81
|
|
|
66
82
|
### Étape 3 — Contenu des 6 sections
|
|
67
83
|
|
|
@@ -126,6 +142,16 @@ python3 -m http.server 8080
|
|
|
126
142
|
- **Labels :** DM Sans, 8-9px, weight 500, uppercase, letter-spacing 0.25-0.35em
|
|
127
143
|
- **Hero :** `clamp(42px, 5.5vw, 76px)` — grand mais light
|
|
128
144
|
|
|
145
|
+
#### Chargement des polices : un choix à faire avec l'utilisateur
|
|
146
|
+
|
|
147
|
+
Playfair Display et DM Sans ne sont pas embarquées par BMAD+. Avant de générer le site, demander laquelle de ces options l'utilisateur veut (la première si aucune réponse) :
|
|
148
|
+
|
|
149
|
+
1. **Polices système (défaut).** Ne rien charger : les piles de `--heading` et `--body` ci-dessus retombent sur Georgia et sur la police système. Aucune requête externe.
|
|
150
|
+
2. **Polices auto-hébergées.** L'utilisateur fournit les fichiers `.woff2` (Playfair Display et DM Sans sont sous licence SIL Open Font ; il vérifie la licence de toute autre police), à placer dans le dossier du site et à déclarer avec `@font-face`. Aucune requête vers un tiers.
|
|
151
|
+
3. **Google Fonts.** À n'utiliser que sur demande explicite, après avoir prévenu l'utilisateur que le navigateur de **chaque visiteur du site généré** contactera fonts.googleapis.com et fonts.gstatic.com (son adresse IP est donc transmise à Google) et que cela peut exiger une mention dans la politique de confidentialité du site. Cette requête est une propriété du site généré, pas de BMAD+ : BMAD+ lui-même n'envoie rien à Google.
|
|
152
|
+
|
|
153
|
+
Balise à insérer uniquement pour l'option 3 :
|
|
154
|
+
|
|
129
155
|
```html
|
|
130
156
|
<link href="https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Playfair+Display:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&display=swap" rel="stylesheet">
|
|
131
157
|
```
|
|
@@ -213,7 +239,7 @@ Fichier HTML unique. Ordre structurel :
|
|
|
213
239
|
|
|
214
240
|
```
|
|
215
241
|
HTML :
|
|
216
|
-
1. Google Fonts
|
|
242
|
+
1. Chargement des polices (option choisie : système, auto-hébergée ou lien Google Fonts)
|
|
217
243
|
2. <style> — tout le CSS
|
|
218
244
|
3. Cursor custom divs (#cursor-dot, #cursor-ring)
|
|
219
245
|
4. Film grain overlay
|
|
@@ -316,8 +342,8 @@ Avant livraison, vérifier :
|
|
|
316
342
|
| Problème | Solution |
|
|
317
343
|
|---------|---------|
|
|
318
344
|
| FFmpeg non trouvé | `winget install FFmpeg` (Win), `brew install ffmpeg` (Mac) |
|
|
319
|
-
| Pas de libwebp |
|
|
320
|
-
| Frames trop lourdes (>10MB) |
|
|
345
|
+
| Pas de libwebp | Installer une build de FFmpeg qui inclut `libwebp` (`ffmpeg -hide_banner -encoders` doit le lister) |
|
|
346
|
+
| Frames trop lourdes (>10MB) | `-quality 60` ou `-frames:v 90` (avec `fps=90/D`) |
|
|
321
347
|
| Animation saccadée | Réduire frames, vérifier DPR cap à 2, réduire particules |
|
|
322
348
|
| Flash blanc entre frames | Vérifier extraction, fallback nearest-frame |
|
|
323
349
|
| Canvas blanc sur mobile | Vérifier existence des frames mobile, chemin FRAME_DIR |
|
|
@@ -8,32 +8,33 @@ Converts an MP4 video into a luxury scroll-driven animated website with canvas f
|
|
|
8
8
|
|
|
9
9
|
## Pre-requisites
|
|
10
10
|
|
|
11
|
-
1. FFmpeg installed (`winget install FFmpeg` on Windows, `brew install ffmpeg` on Mac)
|
|
12
|
-
2. Python 3 installed
|
|
11
|
+
1. FFmpeg installed, with the `libwebp` encoder (`winget install FFmpeg` on Windows, `brew install ffmpeg` on Mac; `ffmpeg -hide_banner -encoders` must list `libwebp`)
|
|
12
|
+
2. Python 3 installed (only for the local preview in step 6; any static file server works)
|
|
13
13
|
3. Source MP4 video file
|
|
14
14
|
|
|
15
|
+
This pack ships no extraction script: the frames are extracted with the FFmpeg commands of step 3.
|
|
16
|
+
|
|
15
17
|
## Steps
|
|
16
18
|
|
|
17
19
|
1. Ask the user for:
|
|
18
20
|
- Path to the MP4 video file
|
|
19
21
|
- Website concept (product, real estate, portfolio, etc.)
|
|
20
22
|
- Optional: brand colors, section content, target frame count
|
|
23
|
+
- How fonts are loaded in the generated site (see step 5)
|
|
21
24
|
|
|
22
25
|
2. Analyze the video:
|
|
23
26
|
```bash
|
|
24
27
|
ffprobe -v quiet -print_format json -show_format -show_streams "VIDEO_PATH"
|
|
25
28
|
```
|
|
26
29
|
|
|
27
|
-
3. Extract frames
|
|
30
|
+
3. Extract the frames with FFmpeg. `DURATION` is the video length in seconds from step 2; create the two output folders first (`mkdir -p OUTPUT_DIR/frames/desktop OUTPUT_DIR/frames/mobile`):
|
|
28
31
|
```bash
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
--output "OUTPUT_DIR/frames" \
|
|
32
|
-
--frames FRAME_COUNT \
|
|
33
|
-
--quality 80
|
|
32
|
+
ffmpeg -i "VIDEO_PATH" -vf "fps=FRAME_COUNT/DURATION,scale=1920:1080:force_original_aspect_ratio=increase,crop=1920:1080" -c:v libwebp -quality 80 -compression_level 6 -frames:v FRAME_COUNT -start_number 0 "OUTPUT_DIR/frames/desktop/frame-%04d.webp"
|
|
33
|
+
ffmpeg -i "VIDEO_PATH" -vf "fps=FRAME_COUNT/DURATION,scale=960:540:force_original_aspect_ratio=increase,crop=960:540" -c:v libwebp -quality 80 -compression_level 6 -frames:v FRAME_COUNT -start_number 0 "OUTPUT_DIR/frames/mobile/frame-%04d.webp"
|
|
34
34
|
```
|
|
35
|
+
Then write `OUTPUT_DIR/frames/manifest.json` with the frame count and the file name pattern, and check that each folder holds `FRAME_COUNT` files and stays under the payload budget (desktop under 10 MB, mobile under 5 MB).
|
|
35
36
|
|
|
36
|
-
4. Generate the complete index.html following the design system in `
|
|
37
|
+
4. Generate the complete index.html following the design system in `animated-website-agent.md` (the agent file of this pack):
|
|
37
38
|
- Canvas frame-by-frame scroll animation
|
|
38
39
|
- Scroll dwell engine with Gaussian density
|
|
39
40
|
- 6 overlay sections (Hero, Vision, Details, Grid, Context, CTA)
|
|
@@ -42,14 +43,16 @@ python3 scripts/extract_frames.py \
|
|
|
42
43
|
- Custom cursor, chapter markers, branded loader
|
|
43
44
|
- Gallery with parallax
|
|
44
45
|
|
|
45
|
-
5.
|
|
46
|
+
5. Fonts. Use system fonts by default. Self-hosted `.woff2` files are the alternative that sends nothing to a third party. Use Google Fonts only when the user explicitly asks for it, after telling them that each visitor's browser will then contact Google's font servers (this concerns the generated site, not BMAD+).
|
|
47
|
+
|
|
48
|
+
6. Serve and preview:
|
|
46
49
|
```bash
|
|
47
50
|
cd OUTPUT_DIR
|
|
48
51
|
python3 -m http.server 8080
|
|
49
52
|
```
|
|
50
53
|
|
|
51
|
-
|
|
54
|
+
7. Iterate based on user feedback (scroll speed, colors, content, etc.)
|
|
52
55
|
|
|
53
56
|
## Reference
|
|
54
57
|
|
|
55
|
-
See `
|
|
58
|
+
See `animated-website-agent.md` for the complete design system, code architecture, and quality checklist.
|
|
@@ -35,7 +35,8 @@ PROJECT_NAME=$(basename "$PROJECT_ROOT")
|
|
|
35
35
|
mkdir -p "$PROJECT_ROOT/backups"
|
|
36
36
|
cd "$PROJECT_ROOT" && zip -r "backups/${PROJECT_NAME}_backup_$TIMESTAMP.zip" . \
|
|
37
37
|
-x "backups/*" "node_modules/*" ".git/*" "vendor/*" "__pycache__/*" "*.backup_*"
|
|
38
|
-
|
|
38
|
+
SIZE=$(du -h "backups/${PROJECT_NAME}_backup_$TIMESTAMP.zip" | cut -f1)
|
|
39
|
+
echo "✅ Backup: ${PROJECT_NAME}_backup_$TIMESTAMP.zip ($SIZE)"
|
|
39
40
|
```
|
|
40
41
|
|
|
41
42
|
### 2. `/backup-list` — Lister les backups
|
|
@@ -40,6 +40,8 @@ PROJECT_NAME=$(basename "$PROJECT_ROOT")
|
|
|
40
40
|
mkdir -p "$PROJECT_ROOT/backups"
|
|
41
41
|
cd "$PROJECT_ROOT" && zip -r "backups/${PROJECT_NAME}_backup_$TIMESTAMP.zip" . \
|
|
42
42
|
-x "backups/*" "node_modules/*" ".git/*" "vendor/*" "__pycache__/*" "*.backup_*"
|
|
43
|
+
SIZE=$(du -h "backups/${PROJECT_NAME}_backup_$TIMESTAMP.zip" | cut -f1)
|
|
44
|
+
echo "Backup: ${PROJECT_NAME}_backup_$TIMESTAMP.zip ($SIZE)"
|
|
43
45
|
```
|
|
44
46
|
|
|
45
47
|
2. Confirm the backup was created and report the file name and size.
|
|
@@ -47,3 +47,13 @@ Record the inspected inputs, important uncertainties, rejected explanations and
|
|
|
47
47
|
decision rationale in the selected workflow's report. On return, reread changed
|
|
48
48
|
inputs and update affected conclusions. Preserve unresolved dissent; an earlier
|
|
49
49
|
recommendation does not make a new product direction an authorized decision.
|
|
50
|
+
|
|
51
|
+
## When to challenge
|
|
52
|
+
|
|
53
|
+
Open the Core skill `bmad-plus-challenge` before a product brief or PR/FAQ is
|
|
54
|
+
written when its target user, problem or success measure rests on a choice nobody
|
|
55
|
+
has made, and the supplied material does not settle it. Pass the reason, the open
|
|
56
|
+
decision and what you already established, with sources. Do not open it for
|
|
57
|
+
research requests, or for a brief whose open points the user has answered. At most
|
|
58
|
+
6 questions per round, a soft cap of 5 rounds, and "stop" ends it at any time.
|
|
59
|
+
Continue only after the user confirms the end; build on its `decisions.md`.
|
|
@@ -44,3 +44,14 @@ Use small examples of requests, responses or state transitions to expose ambigui
|
|
|
44
44
|
Report uncertain assumptions and missing validation honestly. A complete document
|
|
45
45
|
does not establish that the proposed system works. Keep authoring decisions
|
|
46
46
|
separate from implementation status, and preserve human edits when revising plans.
|
|
47
|
+
|
|
48
|
+
## When to challenge
|
|
49
|
+
|
|
50
|
+
Open the Core skill `bmad-plus-challenge` before an architecture or an epic split
|
|
51
|
+
is written when three or more choices it depends on are open (data ownership,
|
|
52
|
+
interfaces, deployment, security boundary), or when a step cannot be undone and
|
|
53
|
+
an assumption behind it is unproven. Pass the reason, the open decision and what
|
|
54
|
+
the code and the PRD already fix, with paths. Do not open it for a routine
|
|
55
|
+
choice the project already imposes or for a readiness check. At most 6 questions
|
|
56
|
+
per round, a soft cap of 5 rounds, and "stop" ends it at any time. Write the
|
|
57
|
+
architecture only after the user confirms the end; build on its `decisions.md`.
|
|
@@ -46,3 +46,13 @@ Deliver the selected workflow's artifact, rationale and unresolved decisions.
|
|
|
46
46
|
A PRD is ready only for the uses its evidence supports; a readable document alone
|
|
47
47
|
does not establish feasibility or approval. On resume, compare inputs, preserve
|
|
48
48
|
requirement IDs and record the impact of changed decisions on dependent work.
|
|
49
|
+
|
|
50
|
+
## When to challenge
|
|
51
|
+
|
|
52
|
+
Open the Core skill `bmad-plus-challenge` before a PRD is frozen when two or more
|
|
53
|
+
scope, priority or constraint decisions it depends on are still open, or when
|
|
54
|
+
stakeholders disagree and the text would hide it. Pass the reason, the open
|
|
55
|
+
decision and the requirements already agreed, with their sources. Do not open it
|
|
56
|
+
for an edit to an approved PRD or a validation without changes. At most 6
|
|
57
|
+
questions per round, a soft cap of 5 rounds, and "stop" ends it at any time.
|
|
58
|
+
Freeze the PRD only after the user confirms the end; build on its `decisions.md`.
|
|
@@ -9,6 +9,9 @@ project: "{{project_name}}"
|
|
|
9
9
|
|
|
10
10
|
# Session Handoff — {{date}}
|
|
11
11
|
|
|
12
|
+
<!-- Never write a secret (token, key, password) in this file. Name where it lives instead: "the deploy key is in the CI secret store". -->
|
|
13
|
+
<!-- Refer to an artefact by its path. Do not copy its content here. -->
|
|
14
|
+
|
|
12
15
|
## What changed
|
|
13
16
|
<!-- Summary of work done this session -->
|
|
14
17
|
|
|
@@ -101,7 +101,7 @@ You are NOT an orchestrator. You are a **utility agent** — called upon by othe
|
|
|
101
101
|
Recursively walk the target path
|
|
102
102
|
Identify project roots by marker files (package.json, .git, Cargo.toml, etc.)
|
|
103
103
|
Skip: node_modules, .git internals, vendor, __pycache__, dist, build
|
|
104
|
-
Depth limit: configurable (default
|
|
104
|
+
Depth limit: configurable with `bmad-plus scan --depth <n>` (default 4 levels below the scanned directory)
|
|
105
105
|
</step>
|
|
106
106
|
<step n="2" goal="Analyze each project">
|
|
107
107
|
For each discovered project root:
|
|
@@ -35,6 +35,8 @@ overrides numeric placeholders in report templates.
|
|
|
35
35
|
- **Auto-generate code fixes** for common issues (meta tags, schema JSON-LD, robots.txt improvements)
|
|
36
36
|
- Estimate impact and effort for each recommendation
|
|
37
37
|
|
|
38
|
+
**When to challenge**: open the Core skill `bmad-plus-challenge` before a strategy or roadmap is fixed, when the target markets, the business goal or the pages that must rank are unstated and the audit data does not settle them. Pass the reason, the open decision and what the audit established, with its sources. Do not open it to prioritise the findings of an audit or for a quick win. At most 6 questions per round, a soft cap of 5 rounds, and "stop" ends it at any time. Write the roadmap only after the user confirms the end; build on its `decisions.md`.
|
|
39
|
+
|
|
38
40
|
### Role: Reporter
|
|
39
41
|
**Trigger**: Report generation, export, summary
|
|
40
42
|
- Produce structured Markdown reports
|
|
@@ -41,7 +41,7 @@ Pack Shield transforms BMAD+ into a comprehensive GRC (Governance, Risk & Compli
|
|
|
41
41
|
| Agent | Framework | Jurisdiction |
|
|
42
42
|
|-------|-----------|-------------|
|
|
43
43
|
| `soc2-agent` | SOC 2 Type I/II | US/Global |
|
|
44
|
-
| `pci-dss-agent` | PCI DSS v4.0 | International |
|
|
44
|
+
| `pci-dss-agent` | PCI DSS v4.0.1 | International |
|
|
45
45
|
| `hipaa-agent` | HIPAA | US Healthcare |
|
|
46
46
|
| `swift-csp-agent` | SWIFT CSP | Intl. Banking |
|
|
47
47
|
| `dora-agent` | DORA | EU Financial |
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
## Overview
|
|
10
10
|
|
|
11
|
-
Shield transforms BMAD+ into a comprehensive GRC (Governance, Risk & Compliance) assistant. It serves as an intelligent orchestrator for 27 compliance agents across 6 categories, plus 11 GDPR & AI Act workflows, covering
|
|
11
|
+
Shield transforms BMAD+ into a comprehensive GRC (Governance, Risk & Compliance) assistant. It serves as an intelligent orchestrator for 27 compliance agents across 6 categories, plus 11 GDPR & AI Act workflows, covering 27 regulatory frameworks. Route requests to the appropriate specialist agent, combine insights for cross-framework analysis, and provide consolidated compliance reports.
|
|
12
12
|
|
|
13
13
|
## Capabilities
|
|
14
14
|
|
|
@@ -29,7 +29,7 @@ Shield transforms BMAD+ into a comprehensive GRC (Governance, Risk & Compliance)
|
|
|
29
29
|
|
|
30
30
|
### Industry Compliance (6 frameworks)
|
|
31
31
|
- **SOC 2 Type I/II** — Service Organization Controls
|
|
32
|
-
- **PCI DSS v4.0** — Payment Card Industry
|
|
32
|
+
- **PCI DSS v4.0.1** — Payment Card Industry
|
|
33
33
|
- **HIPAA** — Healthcare Privacy & Security
|
|
34
34
|
- **SWIFT CSP** — Banking Security
|
|
35
35
|
- **DORA** — EU Digital Operational Resilience
|
|
@@ -66,7 +66,7 @@ Shield transforms BMAD+ into a comprehensive GRC (Governance, Risk & Compliance)
|
|
|
66
66
|
To use Shield, include this pack in your BMAD+ installation:
|
|
67
67
|
|
|
68
68
|
```bash
|
|
69
|
-
npx bmad-plus install --
|
|
69
|
+
npx bmad-plus install --packs shield
|
|
70
70
|
```
|
|
71
71
|
|
|
72
72
|
Then invoke the orchestrator from any conversation:
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# PCI DSS Compliance Agent
|
|
2
2
|
|
|
3
3
|
> **Pack:** Shield (GRC Audit) -- Industry Compliance
|
|
4
|
-
> **Framework:** PCI DSS v4.0
|
|
4
|
+
> **Framework:** PCI DSS v4.0.1
|
|
5
5
|
> **Version:** 1.0.0
|
|
6
6
|
> **Based on:** Claude Skills for GRC by Hemant Naik (Sushegaad) -- MIT License
|
|
7
7
|
> **Upstream:** https://github.com/Sushegaad/Claude-Skills-Governance-Risk-and-Compliance
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
## Persona
|
|
13
13
|
|
|
14
|
-
You are **Shield**, an expert GRC (Governance, Risk & Compliance) orchestrator. You serve as the intelligent entry point for regulatory and compliance queries. You understand
|
|
14
|
+
You are **Shield**, an expert GRC (Governance, Risk & Compliance) orchestrator. You serve as the intelligent entry point for regulatory and compliance queries. You understand 27 compliance frameworks and 11 workflow agents. You route requests to the appropriate specialist agent, combine insights from multiple agents for cross-framework analysis, and provide consolidated compliance reports.
|
|
15
15
|
|
|
16
16
|
---
|
|
17
17
|
|
|
@@ -40,7 +40,7 @@ You are **Shield**, an expert GRC (Governance, Risk & Compliance) orchestrator.
|
|
|
40
40
|
| Agent | Framework | Jurisdiction |
|
|
41
41
|
|-------|-----------|-------------|
|
|
42
42
|
| `soc2-agent` | SOC 2 Type I/II | US (global use) |
|
|
43
|
-
| `pci-dss-agent` | PCI DSS v4.0 | International |
|
|
43
|
+
| `pci-dss-agent` | PCI DSS v4.0.1 | International |
|
|
44
44
|
| `hipaa-agent` | HIPAA Privacy & Security | US Healthcare |
|
|
45
45
|
| `swift-csp-agent` | SWIFT CSP | International Banking |
|
|
46
46
|
| `dora-agent` | DORA (EU 2022/2554) | EU Financial |
|
|
@@ -179,6 +179,12 @@ Produce a unified report using the `shared/audit-report-template.md` format, hig
|
|
|
179
179
|
|
|
180
180
|
---
|
|
181
181
|
|
|
182
|
+
## When to Challenge
|
|
183
|
+
|
|
184
|
+
Open the Core skill `bmad-plus-challenge` before a compliance scope is fixed, when the frameworks, the systems in scope, the data categories or the jurisdictions are not stated and the project files do not settle them. Pass the reason, the open decision and what you already know, with sources. Do not open it for a single-framework question, a control lookup or a review of a stated scope. At most 6 questions per round, a soft cap of 5 rounds, and "stop" ends it at any time. An open scope item stays `unknown` with its risk in the report. Start the analysis only after the user confirms the end; build on its `decisions.md`.
|
|
185
|
+
|
|
186
|
+
---
|
|
187
|
+
|
|
182
188
|
## Interactive Menu
|
|
183
189
|
|
|
184
190
|
When the user is unsure which framework to use, present this interactive guide:
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: bmad-plus-challenge
|
|
3
|
+
description: Stress-test a plan, a design or a decision with the user before any work starts, or attack an existing plan file. Map the choices the plan depends on, look in the project before asking, ask the whole open frontier in one numbered round with a recommended answer for each question, and log every decision as answered, defaulted or unknown in decisions.md. Use when someone says "stress-test", "challenge my plan", "poke holes", "grill the plan", "challenge mon plan", "critique mon plan", "trouve les failles", or when an agent is about to act on a plan whose dependencies are not settled.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Challenge a plan
|
|
7
|
+
|
|
8
|
+
## Overview
|
|
9
|
+
|
|
10
|
+
A plan fails where a choice it depends on was never made, or was made on a guess. This skill
|
|
11
|
+
finds those choices before work starts, settles them with the user in few rounds, and writes down
|
|
12
|
+
what was decided, on what basis and at what risk. It asks; it never builds, edits or runs
|
|
13
|
+
anything.
|
|
14
|
+
|
|
15
|
+
```
|
|
16
|
+
plan ─► decision tree ─► look in the project ─► frontier ─► one numbered round ─► user answers
|
|
17
|
+
▲ │
|
|
18
|
+
└───────────── answers unlock the next questions ◄──────────────────────┘
|
|
19
|
+
user confirms the end ─► decisions.md ─► hand over
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## When to activate
|
|
23
|
+
|
|
24
|
+
- The user asks to stress-test, challenge, critique or poke holes in a plan, a design or a decision.
|
|
25
|
+
- The user names a plan file to attack (see "Adversarial mode").
|
|
26
|
+
- An agent is about to act on a plan with open dependencies (see "Called by another agent").
|
|
27
|
+
|
|
28
|
+
Do not challenge trivial work: a change that one person reverts in minutes, a request that already
|
|
29
|
+
says exactly what to do, a question with one obvious answer (ask it plainly), a decision a
|
|
30
|
+
`decisions.md` of this subject already covers, or a pack that declares its own questions (see
|
|
31
|
+
"What this skill is not").
|
|
32
|
+
|
|
33
|
+
## Protocol
|
|
34
|
+
|
|
35
|
+
1. **Frame.** Restate the plan in two or three lines and pick a subject slug (lowercase, hyphens).
|
|
36
|
+
If `_bmad-output/<subject>/decisions.md` exists, read it and resume from it.
|
|
37
|
+
2. **Build the decision tree.** List the choices the plan rests on. Give each an id (`d1`, `d2`…)
|
|
38
|
+
and the ids that must be settled before it can even be asked: "which database" waits for
|
|
39
|
+
"single tenant or multi-tenant". Show the user a compact indented tree once, in round 1.
|
|
40
|
+
3. **Look before you ask.** For every open choice, search the repository, the installed project
|
|
41
|
+
files (`AGENTS.md`, `README`, `package.json`, `docs/`, `project-context.md`) and
|
|
42
|
+
`_bmad-output/`. When the answer is there, do not ask: state what you found and where
|
|
43
|
+
("`d3` is settled by `package.json`: Node 20"), record it, and move on. The user can overrule it
|
|
44
|
+
in the next message.
|
|
45
|
+
4. **Find the frontier.** The frontier is every open choice whose prerequisites are all settled
|
|
46
|
+
(answered, defaulted or unknown). Ask the whole frontier in one numbered round, at most 6
|
|
47
|
+
questions. With more, take the ones whose wrong answer costs most and carry the rest over.
|
|
48
|
+
Never put a question in a round while a prerequisite of it is still open, even when its answer
|
|
49
|
+
looks obvious.
|
|
50
|
+
5. **Ask with a recommendation.** Each question carries the answer you recommend, phrased so that a
|
|
51
|
+
bare "yes" accepts it, and one line of why:
|
|
52
|
+
|
|
53
|
+
```
|
|
54
|
+
2. Do users sign in with an email link only?
|
|
55
|
+
Recommended: yes, email link only, no passwords to store or reset.
|
|
56
|
+
Why: the audience is occasional and the plan has no support staff.
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
Ask in the user's language. A question is one decision, never a bundle.
|
|
60
|
+
6. **Record what you heard**, one status per decision, the same words as the pack intake:
|
|
61
|
+
- `answered`: the user gave the answer, or said "yes" to a recommendation. A fact found in a
|
|
62
|
+
file counts, with the file as its source.
|
|
63
|
+
- `defaulted`: the user delegated ("your call", "use your defaults") and your recommendation
|
|
64
|
+
stands. It is a proposal the user let stand, not a fact the user gave, and every deliverable
|
|
65
|
+
built on it says so.
|
|
66
|
+
- `unknown`: nobody knows yet. Keep the risk: what breaks if the plan goes ahead on the wrong
|
|
67
|
+
guess, and who or what could settle it.
|
|
68
|
+
7. **Loop.** Each answer can unlock questions, remove some or add new ones: update the tree, find
|
|
69
|
+
the new frontier, ask the next round. Stop when no choice is open.
|
|
70
|
+
8. **Soft cap of 5 rounds.** After round 5, stop asking. Summarise what is still open, what each
|
|
71
|
+
open item blocks, and let the user say "stop" or "continue". "Continue" buys more rounds, and
|
|
72
|
+
the summary comes back after each further round. The user can say "stop" at any time: every
|
|
73
|
+
open choice is then recorded `unknown` with its risk, and your recommendation is kept in the
|
|
74
|
+
notes, not adopted.
|
|
75
|
+
9. **Confirm the end.** Show the table of decisions and ask whether to close the session. Until
|
|
76
|
+
the user confirms, nothing is executed and nothing is written: no commands beyond reading,
|
|
77
|
+
no file created, no plan edited.
|
|
78
|
+
10. **Write and hand over.** Write `_bmad-output/<subject>/decisions.md` (layout below); a file
|
|
79
|
+
that already exists is updated row by row, never replaced. Then offer
|
|
80
|
+
to hand it to the agent the plan needs next: Atlas for a brief or a PRD, Forge for an
|
|
81
|
+
architecture or a refactor, Nexus for a sprint, a swarm or a parallel run.
|
|
82
|
+
|
|
83
|
+
## decisions.md
|
|
84
|
+
|
|
85
|
+
```markdown
|
|
86
|
+
# Decisions — <subject>
|
|
87
|
+
|
|
88
|
+
<One line: the plan, the date (YYYY-MM-DD) and the mode (interview or adversarial).>
|
|
89
|
+
|
|
90
|
+
## Decisions
|
|
91
|
+
|
|
92
|
+
| ID | Decision | Status | Answer | Source | Risk |
|
|
93
|
+
|----|----------|--------|--------|--------|------|
|
|
94
|
+
| d1 | Who signs in | answered | Staff only | user | |
|
|
95
|
+
| d2 | Session length | defaulted | 12 hours | recommendation | Staff are logged out mid-task if shifts run longer |
|
|
96
|
+
| d3 | Data retention | unknown | | | Deletion rules unknown: a legal review may force a rewrite |
|
|
97
|
+
|
|
98
|
+
## Open items
|
|
99
|
+
|
|
100
|
+
- d3: what is missing, who can settle it, what it blocks.
|
|
101
|
+
|
|
102
|
+
## Next
|
|
103
|
+
|
|
104
|
+
Hand over to Forge: why this agent, and what it should read first.
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
One table, one row per decision. `Source` is `user`, a file path, or `recommendation` for a
|
|
108
|
+
`defaulted` row. `Risk` stays empty on an `answered` row and is never empty on `defaulted` or
|
|
109
|
+
`unknown`. `Open items` lists every `unknown` row and anything the user left unanswered; write
|
|
110
|
+
`None.` when there is none.
|
|
111
|
+
|
|
112
|
+
## Adversarial mode
|
|
113
|
+
|
|
114
|
+
The user names a plan file ("challenge `docs/plan.md`"). Read it. Do not edit it.
|
|
115
|
+
|
|
116
|
+
1. List the assumptions the plan rests on, written or implied, as `a1`, `a2`… with one line each.
|
|
117
|
+
2. Rank them by how much breaks if the assumption is false and how little evidence supports it.
|
|
118
|
+
3. Attack the weakest first: give the failure scenario in one or two sentences, what the project
|
|
119
|
+
already shows for or against (with the path), and the question or the cheapest test that would
|
|
120
|
+
settle it.
|
|
121
|
+
4. Assumptions that depend on others wait, as in the decision tree. Rounds, recommendations,
|
|
122
|
+
the soft cap, the "stop" exit and the end-of-session confirmation work as in the protocol.
|
|
123
|
+
5. `decisions.md` keeps the same layout. Each row is an assumption, the answer is the verdict
|
|
124
|
+
(holds, fails, or what must change), and `Open items` carries the changes the plan needs.
|
|
125
|
+
|
|
126
|
+
## Called by another agent
|
|
127
|
+
|
|
128
|
+
An agent that is about to act on shaky inputs can open this skill. It states, before the first
|
|
129
|
+
round:
|
|
130
|
+
|
|
131
|
+
- **why** it calls (the plan is about to be frozen, an architecture starts, a run launches);
|
|
132
|
+
- **which decision is open**;
|
|
133
|
+
- **what it already knows**, each fact with its source.
|
|
134
|
+
|
|
135
|
+
What the caller knows is settled: record it with the source `caller: <agent>`, do not search for
|
|
136
|
+
it again and do not ask the user to confirm it. If a lookup you made anyway contradicts it, say so
|
|
137
|
+
once and let the user rule. Start with the open decision and its tree. When the caller names no
|
|
138
|
+
open decision, hand that back instead of opening a session.
|
|
139
|
+
|
|
140
|
+
The result is the same `decisions.md`, handed back to the caller. The caller resumes its own work
|
|
141
|
+
only after the user has confirmed the end of the session.
|
|
142
|
+
|
|
143
|
+
## What this skill is not
|
|
144
|
+
|
|
145
|
+
- Not the pack intake. When a pack declares its questions, `bmad-plus intake` asks them and keeps
|
|
146
|
+
the book; this skill discovers the questions a plan needs when nobody wrote them down.
|
|
147
|
+
- Not a code review or a test: it does not read the implementation to judge it.
|
|
148
|
+
- Not the plan itself. It settles the choices; Atlas, Forge or Nexus write and run the plan.
|
|
149
|
+
- Not a gate. The user decides, and "stop" always works.
|
|
@@ -38,10 +38,12 @@ nor marked unknown with its risk. Never invent an answer.
|
|
|
38
38
|
`_bmad-output/<pack>/intake.json`; the brief goes where the pack's first step reads it.
|
|
39
39
|
2. **Plan.** `bmad-plus intake plan --intake FILE --answers FILE --json`. Exit 0 means ready;
|
|
40
40
|
exit 2 means a must-have is open. `next` lists what to ask now, must-haves first, in the
|
|
41
|
-
file's order, never more than `max_per_message`.
|
|
41
|
+
file's order, never more than `max_per_message`. A question that waits for another
|
|
42
|
+
(`after`) is not in `next`; `blocked` names it and what it waits for.
|
|
42
43
|
3. **Ask in the user's language** (`language: user`) or in the tag the intake names. One
|
|
43
44
|
message, the questions of `next`, each with its choices or bounds when it has them, and
|
|
44
|
-
the default where one exists ("5 unless you say otherwise")
|
|
45
|
+
the default where one exists ("5 unless you say otherwise") or the question's `suggest` as
|
|
46
|
+
a recommendation, never as a recorded answer. Do not pad, do not rephrase
|
|
45
47
|
the question's intent, do not ask what is already recorded.
|
|
46
48
|
4. **Record what you heard.** `bmad-plus intake record --intake FILE --answers FILE --set
|
|
47
49
|
id=VALUE ... --json`. A value is checked against the question's kind and bounds and
|
|
@@ -49,6 +49,15 @@ sections:
|
|
|
49
49
|
- `must_have: true` requires `risk_if_unknown` and forbids `default`: the user answers it or
|
|
50
50
|
marks it unknown. A question that is not must-have may carry a `default`, valid for its kind.
|
|
51
51
|
- `feeds` names the artifact anchors the answer fills (`file#anchor`); informative.
|
|
52
|
+
- `after: [id, ...]` (optional) makes a question wait for other questions of the file, in any
|
|
53
|
+
section: `plan` keeps it out of `next` while any of them has no entry in the answers, and lists
|
|
54
|
+
it under `blocked` with the ids it waits for. Any entry settles a prerequisite, `unknown`
|
|
55
|
+
included. The list holds distinct ids of other questions and forms no cycle; `check` refuses
|
|
56
|
+
the rest. A file that declares no `after` has no `blocked` in its plan. A blocked must-have
|
|
57
|
+
still counts as missing.
|
|
58
|
+
- `suggest: text` (optional, at most 4000 characters) is a recommendation `plan` shows next to
|
|
59
|
+
the question, on a must-have too. It is not a default: it is never recorded for the user,
|
|
60
|
+
never counted and never written to the brief. The user still answers.
|
|
52
61
|
- Question ids are `snake_case` and unique across the whole file; section ids are slugs.
|
|
53
62
|
|
|
54
63
|
## 2. Answers (`.json`, written by `bmad-plus intake record`)
|
|
@@ -109,7 +109,7 @@ This skill is automatically invoked by the Autopilot when `{parallel_execution}`
|
|
|
109
109
|
## Swarms
|
|
110
110
|
|
|
111
111
|
Parallel stories share one goal and differ in content; a **swarm** repeats one kind of work
|
|
112
|
-
across many units.
|
|
112
|
+
across many units. Three kinds, one runtime (`bmad-plus swarm`), one moderator skill
|
|
113
113
|
(`bmad-plus-swarm`):
|
|
114
114
|
|
|
115
115
|
| Kind | Units | Substrate |
|
|
@@ -22,7 +22,7 @@ definition + profile|list|units ─► init ─► cards.json ─► briefs ─
|
|
|
22
22
|
|
|
23
23
|
Read `ref/definition.md` for the four file contracts with one example each.
|
|
24
24
|
|
|
25
|
-
## The
|
|
25
|
+
## The three kinds
|
|
26
26
|
|
|
27
27
|
| Kind | Units come from | Typical use | Tally |
|
|
28
28
|
|---|---|---|---|
|
|
@@ -72,7 +72,7 @@ const UPDATE_INSTRUCTIONS = [
|
|
|
72
72
|
'## Framework updates',
|
|
73
73
|
'',
|
|
74
74
|
'Once per session, check the installed framework before starting project work. If this is the BMAD+ source checkout, use `node tools/cli/bmad-plus-cli.js update-check --json`; otherwise use `npx --no-install bmad-plus update-check --json` from the project root.',
|
|
75
|
-
'If the command is unavailable or the result is off, unknown, offline or stale, continue the user task. Do not install a CLI just to perform this check or claim that an offline version is current.',
|
|
75
|
+
'If the command is unavailable (for example npx cannot find `bmad-plus` because the project has no local copy of the package), or the result is off, unknown, offline or stale, continue the user task without mentioning the check. Do not install a CLI just to perform this check or claim that an offline version is current.',
|
|
76
76
|
'When `updateAvailable` is true and `canAutoApply` is true, run the same CLI with `update --latest --auto`. This follows the project update policy; it does not grant permission to expand that policy.',
|
|
77
77
|
'When an update is available but automatic application is not eligible, explain the version and reason. An explicit request to update can be fulfilled with `update --latest --yes`; do not change the policy, overwrite customized files, or resolve conflicts without the user request covering that action.',
|
|
78
78
|
'After a successful update, reread the project spine and relevant installed skills, or start a fresh session if the client cannot reload them. Respect preserved local instructions. Check only once even when several adapters include this section.',
|
|
@@ -468,7 +468,7 @@ function userMarkerLines() {
|
|
|
468
468
|
return [
|
|
469
469
|
'<!-- ' + GENERATED_MARKER + ' — DO NOT EDIT. -->',
|
|
470
470
|
'<!-- ' + USER_CONFIG_MARKER + ' -->',
|
|
471
|
-
'<!-- Refresh installed adapters with: npx bmad-plus update -->',
|
|
471
|
+
'<!-- Refresh installed adapters with: npx bmad-plus@latest update -->',
|
|
472
472
|
];
|
|
473
473
|
}
|
|
474
474
|
|