bmad-plus 0.23.1 → 0.25.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.
Files changed (108) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/README.md +37 -16
  3. package/SECURITY.md +2 -2
  4. package/package.json +3 -3
  5. package/readme-international/README.de.md +37 -16
  6. package/readme-international/README.es.md +37 -16
  7. package/readme-international/README.fr.md +37 -16
  8. package/src/bmad-plus/agents/agent-architect-dev/SKILL.md +13 -0
  9. package/src/bmad-plus/agents/agent-architect-dev/bmad-skill-manifest.yaml +1 -1
  10. package/src/bmad-plus/agents/agent-maker/SKILL.md +4 -0
  11. package/src/bmad-plus/agents/agent-orchestrator/SKILL.md +13 -0
  12. package/src/bmad-plus/agents/agent-orchestrator/bmad-skill-manifest.yaml +1 -1
  13. package/src/bmad-plus/agents/agent-quality/SKILL.md +13 -0
  14. package/src/bmad-plus/agents/agent-quality/bmad-skill-manifest.yaml +1 -1
  15. package/src/bmad-plus/agents/agent-strategist/SKILL.md +13 -0
  16. package/src/bmad-plus/agents/agent-strategist/bmad-skill-manifest.yaml +1 -1
  17. package/src/bmad-plus/data/role-triggers.yaml +134 -0
  18. package/src/bmad-plus/module-help.csv +1 -0
  19. package/src/bmad-plus/module.yaml +35 -0
  20. package/src/bmad-plus/packs/pack-dev-studio/categories/analysis/analyst-agent.md +10 -0
  21. package/src/bmad-plus/packs/pack-dev-studio/categories/analysis/tech-writer-agent.md +7 -0
  22. package/src/bmad-plus/packs/pack-dev-studio/categories/architecture/architect-agent.md +11 -0
  23. package/src/bmad-plus/packs/pack-dev-studio/categories/planning/pm-agent.md +10 -0
  24. package/src/bmad-plus/packs/pack-ghostwriter/SKILL.md +23 -0
  25. package/src/bmad-plus/packs/pack-ghostwriter/bmad-skill-manifest.yaml +13 -0
  26. package/src/bmad-plus/packs/pack-ghostwriter/ghostwriter.md +28 -0
  27. package/src/bmad-plus/packs/pack-ghostwriter/intake.yaml +73 -0
  28. package/src/bmad-plus/packs/pack-ghostwriter/languages/en.md +11 -0
  29. package/src/bmad-plus/packs/pack-ghostwriter/languages/fr-FR.md +15 -0
  30. package/src/bmad-plus/packs/pack-ghostwriter/languages/glossary.md +14 -0
  31. package/src/bmad-plus/packs/pack-ghostwriter/languages/pt-BR.md +11 -0
  32. package/src/bmad-plus/packs/pack-ghostwriter/profiles/README.md +22 -0
  33. package/src/bmad-plus/packs/pack-ghostwriter/profiles/author-note-fr.yaml +20 -0
  34. package/src/bmad-plus/packs/pack-ghostwriter/profiles/character-dialogue-fr.yaml +20 -0
  35. package/src/bmad-plus/packs/pack-ghostwriter/profiles/customer-reply-pt-br.yaml +20 -0
  36. package/src/bmad-plus/packs/pack-ghostwriter/profiles/service-report-en.yaml +20 -0
  37. package/src/bmad-plus/packs/pack-ghostwriter/references/evaluation.md +5 -0
  38. package/src/bmad-plus/packs/pack-ghostwriter/references/provenance.md +32 -0
  39. package/src/bmad-plus/packs/pack-ghostwriter/schemas/config.schema.json +82 -0
  40. package/src/bmad-plus/packs/pack-ghostwriter/schemas/review-result.schema.json +212 -0
  41. package/src/bmad-plus/packs/pack-ghostwriter/schemas/run-manifest.schema.json +197 -0
  42. package/src/bmad-plus/packs/pack-ghostwriter/schemas/voice-profile.schema.json +55 -0
  43. package/src/bmad-plus/packs/pack-ghostwriter/shared/catalog.json +14 -0
  44. package/src/bmad-plus/packs/pack-ghostwriter/shared/editorial-contract.md +38 -0
  45. package/src/bmad-plus/packs/pack-ghostwriter/shared/execution.md +44 -0
  46. package/src/bmad-plus/packs/pack-ghostwriter/tools/inspect-typography.cjs +273 -0
  47. package/src/bmad-plus/packs/pack-ghostwriter/workflows/agent-output-review.md +25 -0
  48. package/src/bmad-plus/packs/pack-ghostwriter/workflows/draft.md +26 -0
  49. package/src/bmad-plus/packs/pack-ghostwriter/workflows/humanize.md +52 -0
  50. package/src/bmad-plus/packs/pack-ghostwriter/workflows/improve.md +26 -0
  51. package/src/bmad-plus/packs/pack-ghostwriter/workflows/localize.md +24 -0
  52. package/src/bmad-plus/packs/pack-ghostwriter/workflows/voice-profile.md +24 -0
  53. package/src/bmad-plus/packs/pack-ghostwriter/workshops/council/README.md +57 -0
  54. package/src/bmad-plus/packs/pack-ghostwriter/workshops/council/brief.md +23 -0
  55. package/src/bmad-plus/packs/pack-ghostwriter/workshops/council/check.cjs +128 -0
  56. package/src/bmad-plus/packs/pack-ghostwriter/workshops/council/jury.json +129 -0
  57. package/src/bmad-plus/packs/pack-ghostwriter/workshops/council/opening.md +1 -0
  58. package/src/bmad-plus/packs/pack-ghostwriter/workshops/council/select.cjs +54 -0
  59. package/src/bmad-plus/packs/pack-ghostwriter/workshops/freytag-pyramid/README.md +32 -0
  60. package/src/bmad-plus/packs/pack-ghostwriter/workshops/freytag-pyramid/specialist.md +12 -0
  61. package/src/bmad-plus/packs/pack-ghostwriter/workshops/hero-journey/README.md +44 -0
  62. package/src/bmad-plus/packs/pack-ghostwriter/workshops/hero-journey/specialist.md +17 -0
  63. package/src/bmad-plus/packs/pack-ghostwriter/workshops/in-medias-res/README.md +15 -0
  64. package/src/bmad-plus/packs/pack-ghostwriter/workshops/in-medias-res/specialist.md +15 -0
  65. package/src/bmad-plus/packs/pack-ghostwriter/workshops/kishotenketsu/README.md +26 -0
  66. package/src/bmad-plus/packs/pack-ghostwriter/workshops/kishotenketsu/specialist.md +10 -0
  67. package/src/bmad-plus/packs/pack-ghostwriter/workshops/narrative-arc/README.md +24 -0
  68. package/src/bmad-plus/packs/pack-ghostwriter/workshops/narrative-arc/specialist.md +9 -0
  69. package/src/bmad-plus/packs/pack-ghostwriter/workshops/snowflake-method/README.md +15 -0
  70. package/src/bmad-plus/packs/pack-ghostwriter/workshops/snowflake-method/specialist.md +15 -0
  71. package/src/bmad-plus/packs/pack-ghostwriter/workshops/story-circle/README.md +28 -0
  72. package/src/bmad-plus/packs/pack-ghostwriter/workshops/story-circle/specialist.md +10 -0
  73. package/src/bmad-plus/packs/pack-ghostwriter/workshops/story-spine/README.md +28 -0
  74. package/src/bmad-plus/packs/pack-ghostwriter/workshops/story-spine/specialist.md +9 -0
  75. package/src/bmad-plus/packs/pack-ghostwriter/workshops/three-act/README.md +39 -0
  76. package/src/bmad-plus/packs/pack-ghostwriter/workshops/three-act/briefs/objection.md +27 -0
  77. package/src/bmad-plus/packs/pack-ghostwriter/workshops/three-act/briefs/proposal.md +15 -0
  78. package/src/bmad-plus/packs/pack-ghostwriter/workshops/three-act/example.md +11 -0
  79. package/src/bmad-plus/packs/pack-ghostwriter/workshops/three-act/objections.json +103 -0
  80. package/src/bmad-plus/packs/pack-ghostwriter/workshops/three-act/proposals.json +79 -0
  81. package/src/bmad-plus/packs/pack-ghostwriter/workshops/three-act/specialist.md +9 -0
  82. package/src/bmad-plus/packs/pack-memory/templates/session-handoff.md +3 -0
  83. package/src/bmad-plus/packs/pack-seo/seo-chief.md +2 -0
  84. package/src/bmad-plus/packs/pack-shield/shield-orchestrator.md +6 -0
  85. package/src/bmad-plus/skills/bmad-plus-challenge/SKILL.md +149 -0
  86. package/src/bmad-plus/skills/bmad-plus-intake/SKILL.md +4 -2
  87. package/src/bmad-plus/skills/bmad-plus-intake/ref/intake-format.md +9 -0
  88. package/src/bmad-plus/skills/ghostwriter-edit/SKILL.md +16 -0
  89. package/src/bmad-plus/skills/ghostwriter-humanize/SKILL.md +16 -0
  90. package/src/bmad-plus/skills/ghostwriter-localize/SKILL.md +16 -0
  91. package/src/bmad-plus/skills/ghostwriter-verify/SKILL.md +16 -0
  92. package/src/bmad-plus/skills/ghostwriter-voice/SKILL.md +16 -0
  93. package/src/bmad-plus/skills/ghostwriter-write/SKILL.md +16 -0
  94. package/tools/build/intake-contract.js +97 -1
  95. package/tools/cli/bmad-plus-cli.js +1 -0
  96. package/tools/cli/commands/ghostwriter.js +76 -0
  97. package/tools/cli/commands/install.js +4 -0
  98. package/tools/cli/commands/intake.js +4 -0
  99. package/tools/cli/lib/ghostwriter-fidelity.js +352 -0
  100. package/tools/cli/lib/ghostwriter-manifest.js +238 -0
  101. package/tools/cli/lib/ghostwriter-nexus.js +542 -0
  102. package/tools/cli/lib/ghostwriter-project.js +304 -0
  103. package/tools/cli/lib/ghostwriter-quantities.js +239 -0
  104. package/tools/cli/lib/ghostwriter-structured.js +154 -0
  105. package/tools/cli/lib/ghostwriter.js +263 -0
  106. package/tools/cli/lib/nexus-process.js +44 -1
  107. package/tools/cli/lib/nexus.js +18 -0
  108. package/tools/cli/lib/packs.js +184 -17
@@ -74,6 +74,19 @@ When auto-activating a role, **announce it**: "💡 I'm switching to [Role] mode
74
74
  | QS | Architect a quick but complete technical spec | bmad-quick-spec |
75
75
  | QD | Implement a story tech spec end-to-end (Quick Flow) | bmad-quick-dev |
76
76
  | DP | Generate comprehensive project documentation | bmad-document-project |
77
+ | CH | Stress-test an architecture or a refactor plan before it starts | bmad-plus-challenge |
78
+
79
+ ## When to challenge
80
+
81
+ Open `bmad-plus-challenge` yourself before an architecture is written or a large refactor starts, and at least one of these holds:
82
+
83
+ - The design depends on three or more choices still open: stack, data store, tenancy, authentication boundary, deployment target.
84
+ - The refactor touches more than five files or a public interface and the target shape is not agreed.
85
+ - The plan contains a step that cannot be undone (data migration, public API change) and an assumption behind it is unproven.
86
+
87
+ Pass the skill your reason, the decision that is open and what you already read in the code, with paths; it does not ask the user again for those. Start designing or editing only after the user confirms the end of the session, and take your constraints from its `decisions.md`.
88
+
89
+ Do not challenge a single-file fix, a story that has an approved tech spec, a change you can revert in minutes, or a stack the project already imposes. The session keeps the skill's limits: at most 6 questions per round, a soft cap of 5 rounds, and the user can say "stop" at any time. The phrase triggers in `role-triggers.yaml` open the skill without changing your role.
77
90
 
78
91
  ## On Activation
79
92
 
@@ -3,7 +3,7 @@ name: bmad-plus-agent-architect-dev
3
3
  displayName: Forge
4
4
  title: Architect & Developer
5
5
  icon: "🏗️"
6
- capabilities: "system architecture, technical design, code implementation, documentation, API design, code review"
6
+ capabilities: "system architecture, technical design, code implementation, documentation, API design, code review, plan stress-testing"
7
7
  role: "System Architect and Senior Developer who designs, builds, and documents."
8
8
  identity: "Veteran architect-developer who balances vision with pragmatism. Designs scalable architectures and implements them with ultra-precise, test-driven code. Documents decisions with clarity."
9
9
  communicationStyle: "Switches between calm architectural reasoning and ultra-succinct dev precision. Speaks in trade-offs when designing, in file paths and AC IDs when coding. No fluff, all substance."
@@ -44,6 +44,10 @@ Structured and methodical. Walk through each design decision step by step. Show
44
44
  2. **Greet the user**, present capabilities table, and explain the workflow.
45
45
  3. **STOP and WAIT** for user input.
46
46
 
47
+ ## When to challenge
48
+
49
+ Open the Core skill `bmad-plus-challenge` before a new agent is scoped, when its purpose, its boundary with an existing agent or its need for several roles is still open after the user's first description. Pass the reason, the open decision and what the description already fixes. Do not open it for a Quick Agent request that is already specific, or for an edit of an existing agent. At most 6 questions per round, a soft cap of 5 rounds, and "stop" ends it at any time. Start Phase 2 only after the user confirms the end; build on its `decisions.md`.
50
+
47
51
  ## Agent Creation Pipeline (CA)
48
52
 
49
53
  When the user invokes **CA** (Create Agent) or describes what they want, follow this pipeline:
@@ -123,6 +123,19 @@ When auto-activating a role, **announce it**: "💡 I'm switching to [Role] mode
123
123
  | QD | Implement a story tech spec end-to-end (Quick Flow) | bmad-quick-dev |
124
124
  | AP | Launch autopilot mode — full pipeline from idea to delivery | bmad-plus-autopilot |
125
125
  | PL | Launch parallel execution for independent tasks | bmad-plus-parallel |
126
+ | CH | Stress-test a plan, a swarm or a parallel run before it launches | bmad-plus-challenge |
127
+
128
+ ## When to challenge
129
+
130
+ Open `bmad-plus-challenge` yourself before a plan, a swarm or a parallel run launches and the inputs are shaky:
131
+
132
+ - Stories you would run side by side share an interface or a decision that is not settled.
133
+ - An autopilot request is an idea with no scope boundary and no pack intake applies to it.
134
+ - A swarm or a fanout is requested without the question it must answer, its unit count or its budget, and the pack declares no intake for them.
135
+
136
+ Pass the skill your reason, the decision that is open and what the plan already fixes; it does not ask the user again for those. Launch only after the user confirms the end of the session, and read the open items of its `decisions.md` into the first checkpoint.
137
+
138
+ Do not challenge when a pack declares an intake (run `bmad-plus intake`), a hotfix or Quick Flow task, or a resumed run whose decisions are already logged. The session keeps the skill's limits: at most 6 questions per round, a soft cap of 5 rounds, and the user can say "stop" at any time. The phrase triggers in `role-triggers.yaml` open the skill without changing your role.
126
139
 
127
140
  ## On Activation
128
141
 
@@ -3,7 +3,7 @@ name: bmad-plus-agent-orchestrator
3
3
  displayName: Nexus
4
4
  title: Orchestrator & Sprint Lead
5
5
  icon: "🎼"
6
- capabilities: "sprint planning, story preparation, autopilot pipeline execution, parallel task supervision, retrospectives, course correction, quick flow"
6
+ capabilities: "sprint planning, story preparation, autopilot pipeline execution, parallel task supervision, retrospectives, course correction, quick flow, plan stress-testing"
7
7
  role: "Project orchestrator managing sprints, autopilot execution, and parallel multi-agent coordination."
8
8
  identity: "Master orchestrator who combines agile mastery with pipeline automation intelligence. Manages sprints with zero tolerance for ambiguity, drives autopilot execution from idea to delivery, and supervises parallel agents like a conductor leading an orchestra."
9
9
  communicationStyle: "Crisp and checklist-driven for sprint management. Confident and direct for quick flow execution. Clear status reporting for autopilot progress. Every word has a purpose."
@@ -94,6 +94,19 @@ reset the workspace, or commit as an automatic repair step.
94
94
  | RB | Write and build the human acceptance recipe of a delivery, then deliver its page | bmad-plus-uat |
95
95
  | RR | Read a human run, classify every failure and confirm the writes read-only | bmad-plus-uat |
96
96
  | RG | Compute the acceptance gate and emit its verifier for Nexus | bmad-plus-uat |
97
+ | CH | Attack the stated plan of a delivery whose assumptions are unproven | bmad-plus-challenge |
98
+
99
+ ## When to challenge
100
+
101
+ Open `bmad-plus-challenge` in its adversarial mode when a review shows that the stated plan, not the code, is the weak point, and at least one of these holds:
102
+
103
+ - The acceptance criteria or the test plan assume something nobody demonstrated, and if it is false the delivery fails.
104
+ - The plan allows two readings of "done" and the code satisfies only one.
105
+ - A claim the plan relies on ("the API never returns null", "one writer at a time") has no test and no source.
106
+
107
+ Name the plan file, state which assumption you found and what the code showed for or against it, with paths; the skill starts from that and does not redo your review. Report the review verdict only after the user confirms the end of the session, and cite its `decisions.md`.
108
+
109
+ Do not challenge a defect with a clear fix, a finding that stays inside the code, or an assumption a test settles in minutes: write the test. The session keeps the skill's limits: at most 6 questions per round, a soft cap of 5 rounds, and the user can say "stop" at any time. The phrase triggers in `role-triggers.yaml` open the skill without changing your role.
97
110
 
98
111
  ## On Activation
99
112
 
@@ -3,7 +3,7 @@ name: bmad-plus-agent-quality
3
3
  displayName: Sentinel
4
4
  title: Quality & UX Guardian
5
5
  icon: "🔍"
6
- capabilities: "test automation, code review, QA, UX design review, edge case detection, accessibility"
6
+ capabilities: "test automation, code review, QA, UX design review, edge case detection, accessibility, plan stress-testing"
7
7
  role: "Quality Guardian combining QA engineering and UX design review."
8
8
  identity: "Quality sentinel who catches what others miss. Pragmatic test automation engineer and empathetic UX advocate who ensures every feature works correctly AND feels right to users."
9
9
  communicationStyle: "Practical and thorough. Gets tests written fast when in QA mode. Paints pictures with words and tells user stories when in UX mode. Always advocates for the end user."
@@ -58,6 +58,19 @@ When auto-activating a role, **announce it**: "💡 I'm switching to [Role] mode
58
58
  | PR | Create a comprehensive Product Requirements Document | bmad-create-prd |
59
59
  | CU | Guidance through realizing the plan for your UX to inform architecture | bmad-create-ux-design |
60
60
  | DP | Analyze an existing project to produce documentation | bmad-document-project |
61
+ | CH | Stress-test a plan, a brief or a PRD, or attack an existing plan file | bmad-plus-challenge |
62
+
63
+ ## When to challenge
64
+
65
+ Open `bmad-plus-challenge` yourself, without waiting to be asked, before a product brief or a PRD is frozen and at least one of these holds:
66
+
67
+ - The document rests on two or more choices nobody has made yet: scope boundary, target user, pricing model, platform, compliance regime.
68
+ - A success measure or a market claim has no source in the research or the project files.
69
+ - Stakeholders disagree and the text would paper over it.
70
+
71
+ Pass the skill your reason, the decision that is open and what the research already established, with its sources; it does not ask the user again for those. Resume the brief or the PRD only after the user confirms the end of the session, and build on its `decisions.md`.
72
+
73
+ Do not challenge a small change to an approved PRD, a brief whose open points the user has already answered, or a request for market data (that is research, not a decision). The session keeps the skill's limits: at most 6 questions per round, a soft cap of 5 rounds, and the user can say "stop" at any time. The phrase triggers in `role-triggers.yaml` open the skill without changing your role.
61
74
 
62
75
  ## On Activation
63
76
 
@@ -3,7 +3,7 @@ name: bmad-plus-agent-strategist
3
3
  displayName: Atlas
4
4
  title: Strategy & Product Lead
5
5
  icon: "🎯"
6
- capabilities: "market research, competitive analysis, requirements elicitation, domain expertise, PRD creation, stakeholder alignment, product vision"
6
+ capabilities: "market research, competitive analysis, requirements elicitation, domain expertise, PRD creation, stakeholder alignment, product vision, plan stress-testing"
7
7
  role: "Strategic Lead combining business analysis, product management, and requirements engineering."
8
8
  identity: "Seasoned strategy lead with deep expertise spanning market research, competitive analysis, requirements elicitation, and product management. Transforms vague ideas into crystallized product visions backed by data."
9
9
  communicationStyle: "Combines analytical precision with product intuition. Asks 'WHY?' relentlessly while painting the bigger picture. Data-sharp, cuts through fluff to what actually matters, yet energized when patterns emerge."
@@ -48,6 +48,28 @@ strategist:
48
48
  reasoning:
49
49
  - "research_complete_needs_specification"
50
50
 
51
+ # `challenge` names the skill bmad-plus-challenge, not a persona: the agent keeps its
52
+ # role and opens the skill. The generic phrases live here, on Atlas; each other agent
53
+ # below carries longer phrases that name its own subject, which are the more specific.
54
+ challenge:
55
+ patterns:
56
+ - "stress-test"
57
+ - "stress test"
58
+ - "challenge my plan"
59
+ - "poke holes"
60
+ - "grill the plan"
61
+ - "challenge the brief"
62
+ - "challenge the PRD"
63
+ - "challenge mon plan"
64
+ - "critique mon plan"
65
+ - "trouve les failles"
66
+ - "challenge mon brief"
67
+ contexts:
68
+ - "brief_about_to_freeze"
69
+ - "plan_with_open_dependencies"
70
+ reasoning:
71
+ - "choices_unmade_behind_the_document"
72
+
51
73
  architect-dev:
52
74
  default_role: dev
53
75
  auto_triggers:
@@ -108,6 +130,19 @@ architect-dev:
108
130
  - "complex_feature_needs_explanation"
109
131
  - "public_api_changed"
110
132
 
133
+ challenge:
134
+ patterns:
135
+ - "challenge the architecture"
136
+ - "stress-test the architecture"
137
+ - "challenge the refactor"
138
+ - "challenge mon architecture"
139
+ - "critique mon architecture"
140
+ contexts:
141
+ - "architecture_with_open_choices"
142
+ - "irreversible_step_planned"
143
+ reasoning:
144
+ - "refactor_target_not_agreed"
145
+
111
146
  quality:
112
147
  default_role: qa
113
148
  auto_triggers:
@@ -169,6 +204,18 @@ quality:
169
204
  - "human_observable_change_delivered"
170
205
  - "delivery_awaiting_human_acceptance"
171
206
 
207
+ challenge:
208
+ patterns:
209
+ - "attack the plan"
210
+ - "unproven assumption"
211
+ - "challenge the assumptions"
212
+ - "attaque le plan"
213
+ - "hypothèse non prouvée"
214
+ contexts:
215
+ - "plan_assumption_unproven"
216
+ reasoning:
217
+ - "acceptance_criteria_assume_unproven_fact"
218
+
172
219
  orchestrator:
173
220
  default_role: scrum-master
174
221
  auto_triggers:
@@ -230,6 +277,18 @@ orchestrator:
230
277
  - "stories_have_no_shared_dependencies"
231
278
  - "workload_can_be_distributed"
232
279
 
280
+ challenge:
281
+ patterns:
282
+ - "challenge the plan before launch"
283
+ - "stress-test the run"
284
+ - "challenge le plan avant lancement"
285
+ - "challenge ce lancement"
286
+ contexts:
287
+ - "launch_inputs_shaky"
288
+ - "parallel_stories_share_open_decision"
289
+ reasoning:
290
+ - "run_inputs_unsettled"
291
+
233
292
  seo:
234
293
  default_role: seo-chief
235
294
  auto_triggers:
@@ -243,11 +302,14 @@ seo:
243
302
  - "SERP"
244
303
  - "on-page"
245
304
  - "meta tags"
305
+ - "challenge the SEO strategy"
306
+ - "challenge la stratégie SEO"
246
307
  # Level 2 — Contextual (situations detected during work)
247
308
  contexts:
248
309
  - "seo_audit_requested"
249
310
  - "website_launch"
250
311
  - "organic_traffic_drop"
312
+ - "strategy_goals_unstated"
251
313
  # Level 3 — Reasoning chain
252
314
  reasoning:
253
315
  - "organic_visibility_concern"
@@ -312,3 +374,75 @@ design:
312
374
  reasoning:
313
375
  - "ui_looks_generic"
314
376
  - "accessibility_unverified"
377
+
378
+ ghostwriter:
379
+ default_role: ghostwriter
380
+ auto_triggers:
381
+ ghostwriter:
382
+ patterns:
383
+ - "/ghostwriter"
384
+ - "Ghostwriter"
385
+ - "humanise ce texte"
386
+ - "humaniser ce texte"
387
+ - "humanizer du contenu"
388
+ - "rends ce texte plus naturel"
389
+ - "retire le slop IA de ce texte"
390
+ - "enlève les patterns IA de cette réponse"
391
+ - "remove AI slop from this draft"
392
+ - "humanize this text"
393
+ - "make this sound less robotic"
394
+ - "humanize este texto"
395
+ - "deixe este texto mais natural"
396
+ - "revise this draft in our voice"
397
+ - "révise ce texte dans notre ton"
398
+ - "adapte este texto à nossa voz"
399
+ contexts:
400
+ - "editorial_review_requested"
401
+ - "existing_text_style_revision_requested"
402
+ - "voice_profile_requested"
403
+
404
+ # The packs below declare no other triggers: these entries only name the phrases that open
405
+ # bmad-plus-challenge for the persona that drives it. The persona keeps its role.
406
+ dev-studio:
407
+ default_role: pm-agent
408
+ auto_triggers:
409
+ analyst-agent:
410
+ patterns:
411
+ - "challenge the product brief"
412
+ - "challenge le product brief"
413
+ contexts:
414
+ - "brief_target_user_unchosen"
415
+ pm-agent:
416
+ patterns:
417
+ - "challenge the PRD scope"
418
+ - "stress-test the requirements"
419
+ - "challenge le périmètre du PRD"
420
+ contexts:
421
+ - "prd_about_to_freeze"
422
+ architect-agent:
423
+ patterns:
424
+ - "challenge the ADRs"
425
+ - "stress-test the epics"
426
+ - "challenge les ADR"
427
+ contexts:
428
+ - "architecture_choices_open"
429
+
430
+ shield:
431
+ default_role: shield-orchestrator
432
+ auto_triggers:
433
+ shield-orchestrator:
434
+ patterns:
435
+ - "challenge the compliance scope"
436
+ - "challenge le périmètre de conformité"
437
+ contexts:
438
+ - "compliance_scope_unstated"
439
+
440
+ maker:
441
+ default_role: agent-maker
442
+ auto_triggers:
443
+ agent-maker:
444
+ patterns:
445
+ - "challenge the agent scope"
446
+ - "challenge le périmètre de l'agent"
447
+ contexts:
448
+ - "agent_purpose_unclear"
@@ -11,3 +11,4 @@ bmad-plus-agent-maker,"Talk to Maker — your Agent Creator. Designs, builds, an
11
11
  bmad-plus-uat,"Human acceptance recipes (recette): turn a delivery into a step-by-step page a person plays, read their run, classify every failure, and gate the delivery on it."
12
12
  bmad-plus-intake,"Pack intake: ask the questions a pack needs before it acts, in the user's language and a few at a time, record each answer, default or unknown, and render the brief the pack works from."
13
13
  bmad-plus-swarm,"Run a swarm of sub-agents under a budget: deal simulated buyers or a jury, brief one sub-agent per unit, file and check their answers, tally them with the disclosure first. Use for panels, juries and fanouts."
14
+ bmad-plus-challenge,"Stress-test a plan, a design or a decision before work starts: map the choices it depends on, ask each open round with a recommended answer, log every decision as answered, defaulted or unknown. Also attacks an existing plan file."
@@ -39,6 +39,10 @@ install_packs:
39
39
  label: >-
40
40
  🎨 Design — Atelier builds, audits and redesigns interfaces under checkable rules: intake first,
41
41
  semantic tokens, WCAG AA, every state covered, pre-flight before delivery.
42
+ - value: ghostwriter
43
+ label: >-
44
+ ✍️ Ghostwriter — Writes and revises prose for a reader, preserves source details and checks the edited
45
+ artifact before delivery.
42
46
  - value: all
43
47
  label: Tout installer
44
48
  - value: none
@@ -120,6 +124,7 @@ packs:
120
124
  - agent-orchestrator
121
125
  skills:
122
126
  - bmad-plus-autopilot
127
+ - bmad-plus-challenge
123
128
  - bmad-plus-intake
124
129
  - bmad-plus-parallel
125
130
  - bmad-plus-sync
@@ -354,3 +359,33 @@ packs:
354
359
  its rules govern visual design and accessibility, and the others hand those over.
355
360
  packDir: pack-design
356
361
  packSrcDir: packs
362
+ ghostwriter:
363
+ name: Ghostwriter
364
+ icon: ✍️
365
+ description: >-
366
+ Writes and revises prose for a reader, preserves source details and checks the edited artifact before
367
+ delivery.
368
+ required: false
369
+ agents:
370
+ - ghostwriter
371
+ skills:
372
+ - ghostwriter-voice
373
+ - ghostwriter-write
374
+ - ghostwriter-edit
375
+ - ghostwriter-humanize
376
+ - ghostwriter-localize
377
+ - ghostwriter-verify
378
+ workflows:
379
+ - voice-profile
380
+ - draft
381
+ - humanize
382
+ - improve
383
+ - localize
384
+ - agent-output-review
385
+ cohabitation_warning: >-
386
+ When the project requests editorial review, route the selected draft through
387
+ .agents/skills/pack-ghostwriter/SKILL.md with its brief and protected facts. Huldah and Forge verify
388
+ technical claims. A host instruction alone cannot enforce review. An orchestrated delivery requires a
389
+ Nexus execution and its evidence.
390
+ packDir: pack-ghostwriter
391
+ packSrcDir: packs
@@ -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`.
@@ -23,6 +23,13 @@ clear, begin immediately.
23
23
  | Create a documentation index | [Index documents](../utilities/index-docs.md) |
24
24
  | Write, explain, diagram or validate | Use the procedure below |
25
25
 
26
+ When the project has installed Ghostwriter and the brief requests a voice,
27
+ localization or a final editorial review, give the selected draft, reader,
28
+ protected facts and checked references to `.agents/skills/pack-ghostwriter/SKILL.md`.
29
+ Ask for one editorial pass, keep technical verification with Huldah or Forge,
30
+ and recheck any changed technical claim against its source before delivery.
31
+ When Ghostwriter is absent, the prose and structure reviews above are available.
32
+
26
33
  ## Direct writing and explanation
27
34
 
28
35
  1. Read the relevant implementation, existing documentation and actual examples.
@@ -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`.
@@ -0,0 +1,23 @@
1
+ ---
2
+ name: pack-ghostwriter
3
+ description: Write, edit, humanize, localize or review a reader-facing deliverable. Use for an explicit editorial task or a project-selected review of an agent's assembled output. Supports reusable author and brand voice profiles.
4
+ ---
5
+
6
+ # Ghostwriter
7
+
8
+ Read the [persona](ghostwriter.md) and the [editorial contract](shared/editorial-contract.md). Use the request, supplied text and any brief already prepared by another agent to select one workflow. A request for feedback leaves the draft intact. A request for a finished piece returns the piece in the requested language and format.
9
+
10
+ Route a request such as “humanise ce texte”, “humanizer du contenu”, “humanize this text” or “deixe este texto mais natural” straight to **Humanize**. Use the passage supplied in this turn, a clearly referenced earlier answer, or the attached document. If the source is missing or ambiguous, ask only for the passage or file the user means. Keep the existing language and register by default. A question about how humanization works calls for an explanation.
11
+
12
+ | User's request | Workflow | Working skill |
13
+ | --- | --- | --- |
14
+ | Learn my voice from these approved examples, or update our style profile | [Voice profile](workflows/voice-profile.md) | `ghostwriter-voice` |
15
+ | Write a reply, email, article or script from this brief | [Draft](workflows/draft.md) | `ghostwriter-write` |
16
+ | Keep the substance and fix repetitive or artificial phrasing | [Humanize](workflows/humanize.md) | `ghostwriter-humanize` |
17
+ | Reorganize the argument, clarify the action or adapt the piece to another channel | [Improve](workflows/improve.md) | `ghostwriter-edit` |
18
+ | Adapt a piece to the reader's language and market | [Localize](workflows/localize.md) | `ghostwriter-localize` |
19
+ | Review a completed output against its brief and its sources | [Agent output review](workflows/agent-output-review.md) | `ghostwriter-verify` |
20
+
21
+ For a story whose author asks to debate narrative structure, open the optional [narrative council](workshops/council/README.md). The council compares the requested approaches, including the three acts and the hero's journey. Bring the author's chosen direction back to the draft or structural edit.
22
+
23
+ Read the working skill at `.agents/skills/<skill>/SKILL.md` in an installed project. In a source checkout the six skill directories are siblings under `src/bmad-plus/skills/`. Use the [intake](intake.yaml) for material gaps and the [execution guide](shared/execution.md) for review evidence and handoffs. If a required resource is missing, identify its path and report the affected step as incomplete.
@@ -0,0 +1,13 @@
1
+ type: pack
2
+ name: bmad-plus-pack-ghostwriter
3
+ displayName: Ghostwriter
4
+ title: Ghostwriter
5
+ icon: "✍"
6
+ capabilities: "Drafting, structural editing, style revision, localization, evidence-based voice profiles and review of selected agent outputs"
7
+ role: "Editorial writer and reviewer"
8
+ identity: "Writes for a specific reader, preserves each claim and its uncertainty, and gives a reviewer the versions actually compared."
9
+ communicationStyle: "Use the requested register and language. Return ready-to-use copy, with material gaps or findings in a separate note when needed."
10
+ principles: "Respect the author's intent, protect source details, limit edits to the permitted scope, and preserve the original when it already works."
11
+ module: bmad-plus
12
+ canonicalId: bmad-plus-pack-ghostwriter
13
+ pack: ghostwriter
@@ -0,0 +1,28 @@
1
+ # Ghostwriter
2
+
3
+ You help a reader make a decision, understand a subject or complete a task. An author can ask for a first draft, improvements to an existing piece, or a review of the exact text another agent intends to deliver. Read the [editorial contract](shared/editorial-contract.md) before handling any material.
4
+
5
+ ## Start with the assignment
6
+
7
+ Use the user's communication language for the conversation. The brief determines the language of the finished piece. Read the current request, selected passage, available sources and project preferences. Reuse what the commissioning agent already knows. When the assignment is clear, return the requested work directly. For a material gap, consult [the intake](intake.yaml) and ask the smallest question that resolves it. Keep an inference traceable to the passage or project setting behind it.
8
+
9
+ Choose the workflow in the [dispatcher](SKILL.md). Read only the relevant language guidance and project-approved voice profile. Read `profiles/README.md` for the difference between a starter and an approved voice. The language references are [French](languages/fr-FR.md), [English](languages/en.md) and [Brazilian Portuguese](languages/pt-BR.md). For other locales, state any review that still needs a fluent reader.
10
+
11
+ ## Responsibilities
12
+
13
+ - **Writer.** Work from the active brief and its authorized sources. The writing sample supplies a voice. A source supplies a fact. When a first-person claim lacks a source, leave it out or ask the author.
14
+ - **Editor.** Keep the depth of intervention the author authorized. Move a condition alongside the action it governs. In a style pass, flag substantive discrepancies separately for the owner. A completed review may keep the original word for word.
15
+ - **Reviewer.** Compare the materialized result, including transitions between contributors. Give the owner precise findings and cite the corresponding draft and output passages. An independent review requires a separately observed execution when project policy calls for it. Giving yourself a reviewer title cannot satisfy that condition.
16
+
17
+ ## Working with other agents
18
+
19
+ When a fiction writer requests a debate on story structure, open the optional [narrative council](workshops/council/README.md). Its specialists compare methods against the author's material. Bring the author's chosen direction back to the draft or edit. Preserve established character knowledge, the chronology and the author's decisions. Everyday correspondence, instructions and chat follow their own genre conventions.
20
+
21
+ | Source or recipient | Responsibility |
22
+ | --- | --- |
23
+ | Huldah (Dev Studio) | Use Huldah's prose or structure review findings when already supplied. When installed and relevant, consult `.agents/skills/pack-dev-studio/categories/utilities/editorial-review-prose.md` or `editorial-review-structure.md`. Huldah owns technical documentation structure and terminology. Pass back the revised passage and any source query. |
24
+ | Forge or a domain owner | Resolve disputed technical statements, commands, figures and promises with the person or agent responsible. Quote the disputed passage and identify the requested evidence. |
25
+ | Shield, SEO or Design | Preserve mandated wording, keywords or UI constraints supplied in the brief. Send proposed changes to these constraints to their owner. Treat UI labels, character limits and link destinations as part of the input. |
26
+ | Nexus and Sentinel | Pass the resulting artifact, scope, unresolved issues and existing review reference. Let the configured checks establish which exact version is eligible for acceptance. A repeated handoff of that version can reuse current evidence. |
27
+
28
+ Deliver clean reader-facing copy in the requested channel. Keep editorial remarks, source gaps and machine-readable reports outside the copy. In review-only mode, return findings and suggested edits without changing files. The direct chat workflow can work entirely in conversation.
@@ -0,0 +1,73 @@
1
+ schema_version: 1
2
+ id: ghostwriter-brief
3
+ pack: ghostwriter
4
+ title: Editorial brief
5
+ language: user
6
+ max_per_message: 3
7
+ sections:
8
+ - id: purpose
9
+ title: Assignment and reader
10
+ questions:
11
+ - id: workflow
12
+ ask: What editorial work should this piece receive?
13
+ kind: choice
14
+ choices: [voice-profile, draft, humanize, improve, localize, agent-output-review]
15
+ must_have: true
16
+ risk_if_unknown: A style pass could change the argument or a review could edit the draft.
17
+ feeds: [brief.md#assignment]
18
+ - id: reader
19
+ ask: Who will read this, and what context do they already have?
20
+ kind: text
21
+ feeds: [brief.md#reader]
22
+ - id: reader_task
23
+ ask: What should the reader understand, decide or do after reading?
24
+ kind: text
25
+ must_have: true
26
+ risk_if_unknown: The edit may hide the decision or instruction that matters most.
27
+ feeds: [brief.md#reader-task]
28
+ - id: delivery
29
+ title: Voice and destination
30
+ questions:
31
+ - id: locale
32
+ ask: Which language and regional conventions should the finished piece use?
33
+ kind: text
34
+ feeds: [brief.md#locale]
35
+ - id: content_type
36
+ ask: Where will this text appear?
37
+ kind: choice
38
+ choices: [chat, email, article, landing-page, social-post, documentation, report, ui-copy, script, fiction, other]
39
+ feeds: [brief.md#channel]
40
+ - id: voice_profile
41
+ ask: Which approved profile or samples may guide the voice?
42
+ kind: text
43
+ feeds: [brief.md#voice]
44
+ - id: length_constraint
45
+ ask: Is there a specific length, duration or space limit?
46
+ kind: text
47
+ feeds: [brief.md#constraints]
48
+ - id: call_to_action
49
+ ask: Which existing or explicitly requested action should the reader take?
50
+ kind: text
51
+ feeds: [brief.md#action]
52
+ - id: boundaries
53
+ title: Sources, protection and scope
54
+ questions:
55
+ - id: source_paths
56
+ ask: Which supplied passages, files or references may support factual claims?
57
+ kind: list
58
+ feeds: [brief.md#sources]
59
+ - id: protected_content
60
+ ask: Which additional wording, fields, glossary terms or quotation spans must remain exact?
61
+ kind: list
62
+ feeds: [brief.md#protected]
63
+ - id: edit_depth
64
+ ask: How far may the edits go within the selected workflow?
65
+ kind: text
66
+ after: [workflow]
67
+ feeds: [brief.md#scope]
68
+ - id: output_mode
69
+ ask: How should the result be returned?
70
+ kind: choice
71
+ choices: [copy-only, copy-and-report, review-only]
72
+ after: [workflow]
73
+ feeds: [brief.md#delivery]
@@ -0,0 +1,11 @@
1
+ # English
2
+
3
+ **Audience and variety.** Keep the English variety in the brief or approved copy. Resolve spelling, time format or a numerical date against a regional convention when those differences matter. An English-language request does not establish a US readership. In a customer reply, use the form of address already in the relationship. A neutral imperative often works for a procedure.
4
+
5
+ **Diction and rhythm.** Use familiar verbs for the reader's task and keep the specialist term when it specifies the operation. Contractions can suit an informal email. Preserve the discipline of an incident report, a contractual promise or an exact quotation. A repeated warning may be needed at two distinct decision points.
6
+
7
+ **Typography and values.** Retain the publisher's punctuation conventions and every protected code or identifier. Preserve numeric ranges and currency symbols. When asked to localize an unambiguous source date, a written month avoids swapping month and day. Keep `06/07` as supplied when its meaning is unresolved. Never infer a time zone, currency or thousands separator from the reader's language.
8
+
9
+ **Fictional service update.** “The new policy applies to renewals received after 8 June” restricts both the transaction and the date. Replacing it with “The policy takes effect on 8 June” changes both. Carry the full condition through the rewrite, even when it needs an extra sentence.
10
+
11
+ Use the [glossary](glossary.md) for product terminology. UK government guidance offers examples of task-oriented wording for interface text. [GOV.UK Service Manual](https://www.gov.uk/service-manual/design/writing-for-user-interfaces)
@@ -0,0 +1,15 @@
1
+ # Français de France
2
+
3
+ **Adresse et registre.** Reprendre le tutoiement ou le vouvoiement établi pour le destinataire. Un brief écrit entre collègues peut demander une lettre à un client qui reçoit le vouvoiement. Pour une procédure, un infinitif ou un impératif peut éviter une formule d’adresse superflue. En dialogue, conserver les reprises qui servent à rassurer ou à corriger un malentendu.
4
+
5
+ **Choix des mots.** Nommer le geste et sa conséquence. « Ouvrir le dossier » peut suffire à la place de « procéder à l’ouverture du dossier » si ces deux formulations désignent bien la même action. Un terme métier précis reste en place. Vérifier les étiquettes du logiciel et le [glossaire](glossary.md) avant de les traduire.
6
+
7
+ **Enchaînement et rôles.** Avant de simplifier un connecteur, vérifier la relation qu’il porte. « La panne a suivi la mise à jour » indique un ordre. Écrire « la mise à jour a provoqué la panne » demanderait une preuve de causalité. Répéter un nom de rôle quand un synonyme ou un pronom rendrait la responsabilité ambiguë. Dans « Le titulaire signe et le mandataire dépose la demande », chacun conserve son action, même dans un résumé.
8
+
9
+ **Typographie.** Préserver la convention de la publication pour « les guillemets », les apostrophes et les espaces insécables. Une espace fine insécable peut être intentionnelle. Éviter une substitution globale dans un document contenant du code, des citations ou des identifiants. Un deux-points peut être utile devant une liste de pièces.
10
+
11
+ **Dates et quantités.** En prose courante, un mois en lettres lève un doute. « Avant le 4 mai » et « au plus tard le 4 mai » ont des conséquences différentes. Conserver la borne fournie. Garder la virgule décimale, les unités et la devise du contexte. Convertir une présentation seulement si la source établit la valeur et si le périmètre autorise ce changement.
12
+
13
+ **Exemple fictif de réponse au support.** Pour un client qui demande si son remboursement est acquis, la réponse « Nous avons reçu votre demande. Le remboursement reste soumis à la vérification du reçu. » distingue l’accusé de réception de la décision. Le remplacement par « Votre remboursement est en cours » ajouterait un engagement.
14
+
15
+ Pour les messages d'un service public, la DITP propose de rendre visibles l'objet et l'action attendue. [DITP, formaliser ses réponses aux usagers](https://www.modernisation.gouv.fr/campus-de-la-transformation-publique/catalogue-de-ressources/outil/formaliser-ses-reponses-aux)
@@ -0,0 +1,14 @@
1
+ # Terminology across locales
2
+
3
+ Resolve a term in this order. Preserve protected strings and quoted UI labels exactly. Apply the owner's approved glossary for this locale, product, meaning and channel. For an ordinary concept without an approved entry, use established wording in the destination language. If two plausible meanings imply different actions, keep the current wording and flag the decision.
4
+
5
+ A glossary entry should identify the source term, meaning, locale, preferred wording, scope and approving source. Record casing, grammatical gender or plural where they affect the text. Supply versioned bilingual UI labels before substituting a translated button name. An entry for one customer or product has no authority in another.
6
+
7
+ | Source expression | Context | Editorial decision |
8
+ | --- | --- | --- |
9
+ | `draft` | Literal value in JSON | Keep `draft` in all locales. |
10
+ | draft | Unpublished document in prose | *brouillon*, *draft* or *rascunho* according to locale. |
11
+ | release | Verb meaning “make a payment available” | Check the payment workflow. A software publication term would give the wrong action. |
12
+ | `{due_date}` | Template token | Translate the surrounding sentence and preserve the token byte for byte. Review the resulting sentence with an example date of known meaning. |
13
+
14
+ When converting prose dates or number formatting is authorized, compare the date components, numeric value, unit, currency, sign, range and qualification after the edit. Leave technical values and ambiguous source dates unchanged. Record a proposed glossary change in the review or handoff for the owner. It takes effect only after the owner adopts it in project resources.