bmad-plus 0.24.0 → 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.
- package/CHANGELOG.md +9 -0
- package/README.md +26 -15
- package/SECURITY.md +2 -2
- package/package.json +2 -2
- package/readme-international/README.de.md +26 -15
- package/readme-international/README.es.md +26 -15
- package/readme-international/README.fr.md +26 -15
- package/src/bmad-plus/data/role-triggers.yaml +26 -0
- package/src/bmad-plus/module.yaml +34 -0
- package/src/bmad-plus/packs/pack-dev-studio/categories/analysis/tech-writer-agent.md +7 -0
- package/src/bmad-plus/packs/pack-ghostwriter/SKILL.md +23 -0
- package/src/bmad-plus/packs/pack-ghostwriter/bmad-skill-manifest.yaml +13 -0
- package/src/bmad-plus/packs/pack-ghostwriter/ghostwriter.md +28 -0
- package/src/bmad-plus/packs/pack-ghostwriter/intake.yaml +73 -0
- package/src/bmad-plus/packs/pack-ghostwriter/languages/en.md +11 -0
- package/src/bmad-plus/packs/pack-ghostwriter/languages/fr-FR.md +15 -0
- package/src/bmad-plus/packs/pack-ghostwriter/languages/glossary.md +14 -0
- package/src/bmad-plus/packs/pack-ghostwriter/languages/pt-BR.md +11 -0
- package/src/bmad-plus/packs/pack-ghostwriter/profiles/README.md +22 -0
- package/src/bmad-plus/packs/pack-ghostwriter/profiles/author-note-fr.yaml +20 -0
- package/src/bmad-plus/packs/pack-ghostwriter/profiles/character-dialogue-fr.yaml +20 -0
- package/src/bmad-plus/packs/pack-ghostwriter/profiles/customer-reply-pt-br.yaml +20 -0
- package/src/bmad-plus/packs/pack-ghostwriter/profiles/service-report-en.yaml +20 -0
- package/src/bmad-plus/packs/pack-ghostwriter/references/evaluation.md +5 -0
- package/src/bmad-plus/packs/pack-ghostwriter/references/provenance.md +32 -0
- package/src/bmad-plus/packs/pack-ghostwriter/schemas/config.schema.json +82 -0
- package/src/bmad-plus/packs/pack-ghostwriter/schemas/review-result.schema.json +212 -0
- package/src/bmad-plus/packs/pack-ghostwriter/schemas/run-manifest.schema.json +197 -0
- package/src/bmad-plus/packs/pack-ghostwriter/schemas/voice-profile.schema.json +55 -0
- package/src/bmad-plus/packs/pack-ghostwriter/shared/catalog.json +14 -0
- package/src/bmad-plus/packs/pack-ghostwriter/shared/editorial-contract.md +38 -0
- package/src/bmad-plus/packs/pack-ghostwriter/shared/execution.md +44 -0
- package/src/bmad-plus/packs/pack-ghostwriter/tools/inspect-typography.cjs +273 -0
- package/src/bmad-plus/packs/pack-ghostwriter/workflows/agent-output-review.md +25 -0
- package/src/bmad-plus/packs/pack-ghostwriter/workflows/draft.md +26 -0
- package/src/bmad-plus/packs/pack-ghostwriter/workflows/humanize.md +52 -0
- package/src/bmad-plus/packs/pack-ghostwriter/workflows/improve.md +26 -0
- package/src/bmad-plus/packs/pack-ghostwriter/workflows/localize.md +24 -0
- package/src/bmad-plus/packs/pack-ghostwriter/workflows/voice-profile.md +24 -0
- package/src/bmad-plus/packs/pack-ghostwriter/workshops/council/README.md +57 -0
- package/src/bmad-plus/packs/pack-ghostwriter/workshops/council/brief.md +23 -0
- package/src/bmad-plus/packs/pack-ghostwriter/workshops/council/check.cjs +128 -0
- package/src/bmad-plus/packs/pack-ghostwriter/workshops/council/jury.json +129 -0
- package/src/bmad-plus/packs/pack-ghostwriter/workshops/council/opening.md +1 -0
- package/src/bmad-plus/packs/pack-ghostwriter/workshops/council/select.cjs +54 -0
- package/src/bmad-plus/packs/pack-ghostwriter/workshops/freytag-pyramid/README.md +32 -0
- package/src/bmad-plus/packs/pack-ghostwriter/workshops/freytag-pyramid/specialist.md +12 -0
- package/src/bmad-plus/packs/pack-ghostwriter/workshops/hero-journey/README.md +44 -0
- package/src/bmad-plus/packs/pack-ghostwriter/workshops/hero-journey/specialist.md +17 -0
- package/src/bmad-plus/packs/pack-ghostwriter/workshops/in-medias-res/README.md +15 -0
- package/src/bmad-plus/packs/pack-ghostwriter/workshops/in-medias-res/specialist.md +15 -0
- package/src/bmad-plus/packs/pack-ghostwriter/workshops/kishotenketsu/README.md +26 -0
- package/src/bmad-plus/packs/pack-ghostwriter/workshops/kishotenketsu/specialist.md +10 -0
- package/src/bmad-plus/packs/pack-ghostwriter/workshops/narrative-arc/README.md +24 -0
- package/src/bmad-plus/packs/pack-ghostwriter/workshops/narrative-arc/specialist.md +9 -0
- package/src/bmad-plus/packs/pack-ghostwriter/workshops/snowflake-method/README.md +15 -0
- package/src/bmad-plus/packs/pack-ghostwriter/workshops/snowflake-method/specialist.md +15 -0
- package/src/bmad-plus/packs/pack-ghostwriter/workshops/story-circle/README.md +28 -0
- package/src/bmad-plus/packs/pack-ghostwriter/workshops/story-circle/specialist.md +10 -0
- package/src/bmad-plus/packs/pack-ghostwriter/workshops/story-spine/README.md +28 -0
- package/src/bmad-plus/packs/pack-ghostwriter/workshops/story-spine/specialist.md +9 -0
- package/src/bmad-plus/packs/pack-ghostwriter/workshops/three-act/README.md +39 -0
- package/src/bmad-plus/packs/pack-ghostwriter/workshops/three-act/briefs/objection.md +27 -0
- package/src/bmad-plus/packs/pack-ghostwriter/workshops/three-act/briefs/proposal.md +15 -0
- package/src/bmad-plus/packs/pack-ghostwriter/workshops/three-act/example.md +11 -0
- package/src/bmad-plus/packs/pack-ghostwriter/workshops/three-act/objections.json +103 -0
- package/src/bmad-plus/packs/pack-ghostwriter/workshops/three-act/proposals.json +79 -0
- package/src/bmad-plus/packs/pack-ghostwriter/workshops/three-act/specialist.md +9 -0
- package/src/bmad-plus/skills/ghostwriter-edit/SKILL.md +16 -0
- package/src/bmad-plus/skills/ghostwriter-humanize/SKILL.md +16 -0
- package/src/bmad-plus/skills/ghostwriter-localize/SKILL.md +16 -0
- package/src/bmad-plus/skills/ghostwriter-verify/SKILL.md +16 -0
- package/src/bmad-plus/skills/ghostwriter-voice/SKILL.md +16 -0
- package/src/bmad-plus/skills/ghostwriter-write/SKILL.md +16 -0
- package/tools/cli/bmad-plus-cli.js +1 -0
- package/tools/cli/commands/ghostwriter.js +76 -0
- package/tools/cli/commands/install.js +4 -0
- package/tools/cli/lib/ghostwriter-fidelity.js +352 -0
- package/tools/cli/lib/ghostwriter-manifest.js +238 -0
- package/tools/cli/lib/ghostwriter-nexus.js +542 -0
- package/tools/cli/lib/ghostwriter-project.js +304 -0
- package/tools/cli/lib/ghostwriter-quantities.js +239 -0
- package/tools/cli/lib/ghostwriter-structured.js +154 -0
- package/tools/cli/lib/ghostwriter.js +263 -0
- package/tools/cli/lib/nexus-process.js +44 -1
- package/tools/cli/lib/nexus.js +18 -0
- package/tools/cli/lib/packs.js +141 -6
|
@@ -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.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Português do Brasil
|
|
2
|
+
|
|
3
|
+
**Tratamento e registro.** Siga o tratamento do canal e da região. “Você” funciona em muitos serviços brasileiros. Preserve “tu”, “senhora” ou a forma impessoal quando o público, os exemplos aprovados ou a relação entre as pessoas pedirem isso. Mantenha a concordância e evite misturar formas na mesma mensagem. Num aviso técnico, identifique o serviço e o que ocorreu antes de oferecer ajuda.
|
|
4
|
+
|
|
5
|
+
**Vocabulário.** Prefira o termo que o leitor usa para executar a tarefa. “Arquivo” costuma caber num produto brasileiro. Se o botão se chama “Documentos”, mantenha o rótulo observado na versão em uso. Recorra ao [glossário](glossary.md) para resolver termos de negócio. Evite a tradução literal de uma expressão quando ela mudar o sentido de uma instrução.
|
|
6
|
+
|
|
7
|
+
**Datas, valores e sinais.** Uma data como “4 de maio de 2027” explicita o mês. Use a vírgula decimal e o padrão monetário do documento quando a localização de valores estiver autorizada. O idioma de destino não autoriza converter euros em reais. Preserve espaços relevantes, hífens de códigos, identificadores, aspas de citações e marcadores de modelo. Observe a diferença entre “até sexta-feira”, “antes de sexta-feira” e “a partir de sexta-feira”.
|
|
8
|
+
|
|
9
|
+
**Exemplo fictício de atendimento.** Para quem pergunta se já pode retirar um pedido, “A separação terminou. Espere o aviso de retirada antes de ir à loja.” mantém a condição. “Seu pedido está disponível para retirada” daria uma autorização que a primeira mensagem não contém.
|
|
10
|
+
|
|
11
|
+
O guia de edição do gov.br orienta a escrever os serviços a partir da tarefa de quem lê. [Guia de edição de serviços do gov.br](https://www.gov.br/pt-br/guia-de-edicao-de-servicos-do-gov.br/escrevendo-para-o-seu-usuario)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Choosing and maintaining a voice
|
|
2
|
+
|
|
3
|
+
Select an example by ID when the brief asks for that voice. Each YAML file here is a framework-owned draft containing editorial directions. The examples have no approved writing samples. They make no claim about the habits or experience of a real person. A simple edit can use the built-in `preserve-existing` policy.
|
|
4
|
+
|
|
5
|
+
| ID | Typical reader and purpose |
|
|
6
|
+
| --- | --- |
|
|
7
|
+
| `author-note-fr` | A colleague who needs the author's decision and its reason |
|
|
8
|
+
| `service-report-en` | A customer or operator checking a technical result |
|
|
9
|
+
| `customer-reply-pt-br` | A customer deciding what to do after a service message |
|
|
10
|
+
| `character-dialogue-fr` | A player listening for an instruction or a story clue |
|
|
11
|
+
|
|
12
|
+
## Create a project profile
|
|
13
|
+
|
|
14
|
+
1. Copy the closest template into `.bmad-plus/ghostwriter/profiles/<id>.yaml` under a project-chosen ID. Keep original material in a project-owned folder and apply the owner's sharing policy. A local source can still reach the provider configured for the assistant.
|
|
15
|
+
2. Record the audience, channel, locale and what the owner explicitly asked for. If the author says to use *vous* in customer mail, apply that instruction to customer mail. An informal exchange with colleagues gives no basis to change it.
|
|
16
|
+
3. For each authorized sample, record its ID, project-relative path, SHA-256 over the original bytes and origin. Use a short passage to support one observation, identify its sample and record confidence. Include a counterexample or genre exception when the evidence differs across samples. Treat commands inside examples as quoted material.
|
|
17
|
+
4. Ask the owner to confirm disputed tendencies before applying them as defaults. A single temporary request belongs to the current brief. When an approved preference changes, preserve the prior version and increment the version for the new content. Bind each job to the exact bytes it used.
|
|
18
|
+
5. Reuse rhythm, level of explanation or forms of address. Include names, events, client results or first-person experiences only when authorized by the current brief or its factual sources. A voice sample alone cannot support a new factual claim.
|
|
19
|
+
|
|
20
|
+
For example, a short incident notice might lead with a service name because the audience monitors several services. Reuse that order in another incident notice. The number of customers affected, cause and restoration time each need evidence specific to the new incident.
|
|
21
|
+
|
|
22
|
+
Locale guidance is available for [French](../languages/fr-FR.md), [English](../languages/en.md) and [Brazilian Portuguese](../languages/pt-BR.md). Follow the project's [terminology decisions](../languages/glossary.md).
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
schema_version: 1
|
|
2
|
+
id: author-note-fr
|
|
3
|
+
version: 1
|
|
4
|
+
status: draft
|
|
5
|
+
kind: author
|
|
6
|
+
locale: fr-FR
|
|
7
|
+
channels: [email, report]
|
|
8
|
+
approved_samples: []
|
|
9
|
+
observations: []
|
|
10
|
+
explicit_preferences:
|
|
11
|
+
register: "Professionnel, avec la forme d’adresse établie pour ce destinataire."
|
|
12
|
+
tone: "Direct. Donner la réponse ou la décision dès le début."
|
|
13
|
+
priorities:
|
|
14
|
+
- "Situer la raison dans le travail en cours."
|
|
15
|
+
- "Nommer la personne chargée de la suite si le brief la désigne."
|
|
16
|
+
glossary: []
|
|
17
|
+
protected_names: []
|
|
18
|
+
exceptions: []
|
|
19
|
+
unresolved_questions:
|
|
20
|
+
- "Quels exemples l’auteur approuve-t-il pour ce canal ?"
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
schema_version: 1
|
|
2
|
+
id: character-dialogue-fr
|
|
3
|
+
version: 1
|
|
4
|
+
status: draft
|
|
5
|
+
kind: author
|
|
6
|
+
locale: fr-FR
|
|
7
|
+
channels: [script]
|
|
8
|
+
approved_samples: []
|
|
9
|
+
observations: []
|
|
10
|
+
explicit_preferences:
|
|
11
|
+
register: "Suivre la relation établie entre les personnages."
|
|
12
|
+
tone: "Écrire des répliques qui se comprennent à voix haute."
|
|
13
|
+
priorities:
|
|
14
|
+
- "Respecter ce que le personnage peut savoir à cet instant du récit."
|
|
15
|
+
- "Conserver les indices, balises de jeu et contraintes de la scène."
|
|
16
|
+
glossary: []
|
|
17
|
+
protected_names: []
|
|
18
|
+
exceptions: []
|
|
19
|
+
unresolved_questions:
|
|
20
|
+
- "Quelles répliques appartiennent au canon approuvé ?"
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
schema_version: 1
|
|
2
|
+
id: customer-reply-pt-br
|
|
3
|
+
version: 1
|
|
4
|
+
status: draft
|
|
5
|
+
kind: brand
|
|
6
|
+
locale: pt-BR
|
|
7
|
+
channels: [email, ui-copy]
|
|
8
|
+
approved_samples: []
|
|
9
|
+
observations: []
|
|
10
|
+
explicit_preferences:
|
|
11
|
+
register: "Cordial e profissional. Usar o tratamento adotado no canal."
|
|
12
|
+
tone: "Responder à dúvida do cliente na primeira frase."
|
|
13
|
+
priorities:
|
|
14
|
+
- "Explicar quem pode agir e o que a pessoa precisa ter em mãos."
|
|
15
|
+
- "Manter as condições de cada prazo e de cada promessa."
|
|
16
|
+
glossary: []
|
|
17
|
+
protected_names: []
|
|
18
|
+
exceptions: []
|
|
19
|
+
unresolved_questions:
|
|
20
|
+
- "Que termos a equipe usa no produto e no atendimento?"
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
schema_version: 1
|
|
2
|
+
id: service-report-en
|
|
3
|
+
version: 1
|
|
4
|
+
status: draft
|
|
5
|
+
kind: brand
|
|
6
|
+
locale: en
|
|
7
|
+
channels: [documentation, report, email]
|
|
8
|
+
approved_samples: []
|
|
9
|
+
observations: []
|
|
10
|
+
explicit_preferences:
|
|
11
|
+
register: "Professional. Use the reader's established technical vocabulary."
|
|
12
|
+
tone: "Measured. Lead with what was observed."
|
|
13
|
+
priorities:
|
|
14
|
+
- "Keep the scope of each measurement alongside the result."
|
|
15
|
+
- "Identify expected behaviour and outstanding checks when relevant."
|
|
16
|
+
glossary: []
|
|
17
|
+
protected_names: []
|
|
18
|
+
exceptions: []
|
|
19
|
+
unresolved_questions:
|
|
20
|
+
- "Which spelling convention does the organisation use?"
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
# Editorial evaluation
|
|
2
|
+
|
|
3
|
+
The November 2026 pilot covered 36 short, fictional assignments in French, English and Brazilian Portuguese. A separate host-model reader for each language judged anonymized variants. Against a brief-only writer, the readers preferred Ghostwriter in 17 cases, tied in 8 and preferred the baseline in 11. English reached the preregistered pilot threshold with seven wins in twelve cases. French and Brazilian Portuguese each had five wins. In six comparisons with the pinned upstream Humanizer skill, Ghostwriter had two wins, one tie and three losses.
|
|
4
|
+
|
|
5
|
+
One English Ghostwriter output omitted an unspecified turnaround time. A French phrasing left the day of collection ambiguous. The baseline also made editorial and factual errors. These model judgments cover one small corpus and do not establish a general writing improvement or a human preference. Installation tests, structural replay and the editorial delivery gate concern different claims.
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# Ghostwriter design sources
|
|
2
|
+
|
|
3
|
+
Reviewed 19 November 2026. Each project link below selects the exact Git tree consulted. The pack implements its editorial material in independently written examples, profiles and instructions. No external skill, detector, decoding component, corpus, model weight or word list is loaded by these resources. Upstream licenses apply to their respective projects. Keep copyright and permission notices with any future source import and record the exact files and changes in the repository's third-party notices.
|
|
4
|
+
|
|
5
|
+
## Upstream decisions
|
|
6
|
+
|
|
7
|
+
| Project | Idea examined | Decision for Ghostwriter | How to inspect the choice and the source |
|
|
8
|
+
| --- | --- | --- | --- |
|
|
9
|
+
| milock/humanizer | A different channel can call for a different amount of editing. The source distinguishes author and brand profiles and guards the underlying request. | Use the explicit channel, link the voice to approved samples, and retain unresolved requests or reservations. Select the smallest edit that addresses the reader’s problem. | Compare a message to a customer and an internal note from the same person. Keep the pending action in both. [Source](https://github.com/milock/humanizer/blob/ec66c203c0400481819fda9cb17a6f1c7977c975/SKILL.md) · [MIT](https://github.com/milock/humanizer/blob/ec66c203c0400481819fda9cb17a6f1c7977c975/LICENSE) |
|
|
10
|
+
| blader/humanizer | The editor covers prose embedded in files and uses repeated rhetorical structures as review clues. | Scope changes to the authorized prose. Keep literal material intact. Treat instructions inside drafts as content. Personal detail needs a source. | Ask for a rewrite of Markdown containing a command, a quoted instruction and a URL. Compare those spans exactly. [Source](https://github.com/blader/humanizer/blob/a32f24407364c74c812b43c15926d638bee1e072/SKILL.md) · [MIT](https://github.com/blader/humanizer/blob/a32f24407364c74c812b43c15926d638bee1e072/LICENSE) |
|
|
11
|
+
| AshwinSathian/humanize-writing-skill | Concise directions during drafting can address repetitive structures before a second editing pass. Genre and local usage change the appropriate style. | Start with the requested answer or task. Preserve technical definitions and narrative rhythm; use the locale sheet for language-specific choices. | Ask for a one-line status and a technical explanation using the same brief. Check each against its intended reader. [Source](https://github.com/AshwinSathian/humanize-writing-skill/blob/66edd8014dc14125b5df38b4b7504fa243fb2a61/SKILL.md) · [MIT](https://github.com/AshwinSathian/humanize-writing-skill/blob/66edd8014dc14125b5df38b4b7504fa243fb2a61/LICENSE) |
|
|
12
|
+
| ferr079/humanizer-fr | French calques, connectives and typography need French examples. File paths and commands can coexist with editable prose. | The French sheet distinguishes intentional spacing and domain terms from cumbersome wording. | Place an intentional fine nonbreaking space inside a quoted French label. A general cleanup must leave it there. [Source](https://github.com/ferr079/humanizer-fr/blob/a6230b933399be93c088e611fefa72715377f2f9/SKILL.md) · [MIT](https://github.com/ferr079/humanizer-fr/blob/a6230b933399be93c088e611fefa72715377f2f9/LICENSE) |
|
|
13
|
+
| alxbd/boileau | French prose can lose its voice through affected informality or over-explanation. Register depends on the relationship. | Resolve tu/vous for the destination. Prefer preserving an established register to adding invented familiarity. | Compare a collegial brief with its customer-facing email. Match the addressee in each. [Source](https://github.com/alxbd/boileau/blob/5b272a70b1d5387984c12a08c4edc45af3f4fbda/SKILL.md) · [MIT](https://github.com/alxbd/boileau/blob/5b272a70b1d5387984c12a08c4edc45af3f4fbda/LICENSE) |
|
|
14
|
+
| hardikpandya/stop-slop | A short editorial prompt can draw attention to repetitive setup, weak verbs and empty emphasis. | Flag a format only when it obstructs the specific task. A punctuation ban or the author’s self-scored threshold has no role in acceptance. | Leave a useful list of procedure steps or an intentional rhetorical device in place. [Source](https://github.com/hardikpandya/stop-slop/blob/8da1f030185bdfe8471220585162991eaeb970e9/SKILL.md) · [MIT](https://github.com/hardikpandya/stop-slop/blob/8da1f030185bdfe8471220585162991eaeb970e9/LICENSE) |
|
|
15
|
+
| conorbronsdon/avoid-ai-writing | The source distinguishes review from rewriting and discusses English calibration, false positives and density. | A diagnosis may leave the original unchanged. Repetition suggests a location for review; it supplies no authorship or watermark evidence. | Use an already-clear first draft and check whether an unchanged result is accepted under the editorial policy. [Source](https://github.com/conorbronsdon/avoid-ai-writing/blob/a5d6bae7c0d762dbcff74ca86c17a7ac9fee4151/SKILL.md) · [MIT](https://github.com/conorbronsdon/avoid-ai-writing/blob/a5d6bae7c0d762dbcff74ca86c17a7ac9fee4151/LICENSE) |
|
|
16
|
+
| sam-paech/antislop-sampler | The sampler suppresses chosen strings during inference and needs control of token probabilities. | Out of runtime scope. Its measurement of repeated phrases can inform a corpus study. A blacklist or its model-specific weights cannot serve as an editorial gate. | Check the inference boundary before making any claim about model-time control. [Source](https://github.com/sam-paech/antislop-sampler/blob/0ae330e98fbe6f09351f2d1063a51956378a44b2/README.md) · [Apache-2.0](https://github.com/sam-paech/antislop-sampler/blob/0ae330e98fbe6f09351f2d1063a51956378a44b2/LICENSE) |
|
|
17
|
+
| cyzanfar/text-watermark-remover | The tool distinguishes character inspection from detector-specific statistical experiments. | Out of runtime scope. Preserve meaningful typography and provenance. Zero-width characters and missing detector hits do not establish authorship. | Check the French sheet and a mixed-script sample for unintended normalization. [Source](https://github.com/cyzanfar/text-watermark-remover/blob/fd620a93b9d96c7a4730d80be2d7aa90d5017575/README.md) · [MIT (repository), separate terms for included Unicode data](https://github.com/cyzanfar/text-watermark-remover/blob/fd620a93b9d96c7a4730d80be2d7aa90d5017575/LICENSE) |
|
|
18
|
+
|
|
19
|
+
The French projects acknowledge material from Siqi Chen's original Humanizer. Similar observations in these projects share a lineage. Their licenses credit Stéphane Ferreira and alxbd respectively for French work. Humanizer contributors and Ashwin Sathian are credited in the corresponding source licenses. An upstream project's own score describes its own measurement conditions.
|
|
20
|
+
|
|
21
|
+
## Evidence guiding the choices
|
|
22
|
+
|
|
23
|
+
- Named entities, quantities and quoted passages can change during a rewrite. The October 2026 comparison of commercial services motivates tracking them across a pair of texts. A difference identifies a review point. Reusing a number in another claim can keep the digits intact while changing the meaning. [Wang, Zhu and Chen](https://arxiv.org/abs/2611.00359)
|
|
24
|
+
- Lists, links, emphasis and response length influence preference judgements. Judge each response against its task and compare content separately from format. [Zhang et al., ACL](https://aclanthology.org/2025.acl-long.1308/)
|
|
25
|
+
- Personal-style imitation varies by person and genre. Use owner-approved examples from the relevant channel. Report sample coverage and unresolved traits. [Findings of EMNLP](https://aclanthology.org/2025.findings-emnlp.532/)
|
|
26
|
+
- Repeated openings, length, constructions and paragraph rhythm can be counted separately across samples. Weighting them can change a model ranking. The outcome of interest here is whether a reader can use the answer and whether its information survived the edit. [SlopBench](https://arxiv.org/abs/2609.33905)
|
|
27
|
+
- Compar:IA provides French chat requests and reader preferences for exploring realistic tasks. Its competing responses come from models. A vote alone cannot identify the quality that motivated it. Check the dataset's terms before incorporating any examples. [Ministry of Culture dataset](https://comparia.beta.gouv.fr/datasets)
|
|
28
|
+
- Official service-writing guides inform the original examples for [French](../languages/fr-FR.md), [English](../languages/en.md) and [Brazilian Portuguese](../languages/pt-BR.md). The preferences of a particular publication, locale and reader take precedence over those genre examples.
|
|
29
|
+
|
|
30
|
+
## Upstream maintenance
|
|
31
|
+
|
|
32
|
+
Compare a proposed new revision with the pinned source. Record the upstream author, license and ancestry, then identify which Ghostwriter contract or example would change. Test the proposed change against the intended genre and locale, including unchanged good prose. Update the source link and the local resource version together after review. Keep a project's approved profiles and revision history in project-owned storage.
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "bmad-plus/ghostwriter/config/1",
|
|
4
|
+
"title": "Ghostwriter project settings",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": ["schema_version"],
|
|
7
|
+
"properties": {
|
|
8
|
+
"schema_version": { "const": 1 },
|
|
9
|
+
"enabled": { "type": "boolean" },
|
|
10
|
+
"mode": { "enum": ["manual", "host_policy", "orchestrated"] },
|
|
11
|
+
"default_locale": { "type": "string", "minLength": 1 },
|
|
12
|
+
"voice_profile": { "type": "string", "pattern": "^([a-z][a-z0-9-]{0,62}|profiles/[a-z][a-z0-9-]{0,62}\\.yaml)$" },
|
|
13
|
+
"content_types": {
|
|
14
|
+
"type": "array",
|
|
15
|
+
"uniqueItems": true,
|
|
16
|
+
"maxItems": 128,
|
|
17
|
+
"items": { "type": "string", "pattern": "\\S" }
|
|
18
|
+
},
|
|
19
|
+
"scope": {
|
|
20
|
+
"type": "object",
|
|
21
|
+
"properties": {
|
|
22
|
+
"include_paths": {
|
|
23
|
+
"type": "array",
|
|
24
|
+
"uniqueItems": true,
|
|
25
|
+
"maxItems": 128,
|
|
26
|
+
"items": { "type": "string", "pattern": "\\S" }
|
|
27
|
+
},
|
|
28
|
+
"exclude_paths": {
|
|
29
|
+
"type": "array",
|
|
30
|
+
"uniqueItems": true,
|
|
31
|
+
"maxItems": 128,
|
|
32
|
+
"items": { "type": "string", "pattern": "\\S" }
|
|
33
|
+
},
|
|
34
|
+
"editable_fields": {
|
|
35
|
+
"type": "array",
|
|
36
|
+
"uniqueItems": true,
|
|
37
|
+
"maxItems": 128,
|
|
38
|
+
"items": { "type": "string", "pattern": "\\S" }
|
|
39
|
+
},
|
|
40
|
+
"protected_terms": {
|
|
41
|
+
"type": "array",
|
|
42
|
+
"uniqueItems": true,
|
|
43
|
+
"maxItems": 128,
|
|
44
|
+
"items": { "type": "string", "pattern": "\\S" }
|
|
45
|
+
},
|
|
46
|
+
"protected_spans": {
|
|
47
|
+
"type": "array",
|
|
48
|
+
"uniqueItems": true,
|
|
49
|
+
"maxItems": 128,
|
|
50
|
+
"items": { "type": "string", "pattern": "\\S" }
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"additionalProperties": false
|
|
54
|
+
},
|
|
55
|
+
"verification": {
|
|
56
|
+
"type": "object",
|
|
57
|
+
"properties": {
|
|
58
|
+
"facts": { "enum": ["not_run", "provided-sources"] },
|
|
59
|
+
"reviewer_context": { "const": "separate" },
|
|
60
|
+
"semantic_review": { "const": "required" },
|
|
61
|
+
"fidelity": { "const": "required" }
|
|
62
|
+
},
|
|
63
|
+
"additionalProperties": false
|
|
64
|
+
},
|
|
65
|
+
"limits": {
|
|
66
|
+
"type": "object",
|
|
67
|
+
"properties": {
|
|
68
|
+
"max_revision_attempts": { "type": "integer", "minimum": 1, "maximum": 5 },
|
|
69
|
+
"timeout_ms": { "type": "integer", "minimum": 1000, "maximum": 600000 },
|
|
70
|
+
"max_output_bytes": { "type": "integer", "minimum": 1024, "maximum": 524288 }
|
|
71
|
+
},
|
|
72
|
+
"additionalProperties": false
|
|
73
|
+
},
|
|
74
|
+
"review_policy": { "const": "required_for_selected_deliverables" },
|
|
75
|
+
"output": {
|
|
76
|
+
"type": "object",
|
|
77
|
+
"properties": { "text": { "const": "final-only" }, "report": { "const": "separate" } },
|
|
78
|
+
"additionalProperties": false
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"additionalProperties": false
|
|
82
|
+
}
|