siesa-agents 2.1.89 → 2.1.91
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/claude/skills/sa-init-devops/SKILL.md +35 -36
- package/claude/skills/sa-wds-visual-proposals/SKILL.md +6 -0
- package/package.json +1 -1
- package/siesa-agents/bmm/workflows/3-solutioning/wds-visual-proposals/data/component-mapping.csv +47 -0
- package/siesa-agents/bmm/workflows/3-solutioning/wds-visual-proposals/steps/step-01-init.md +148 -0
- package/siesa-agents/bmm/workflows/3-solutioning/wds-visual-proposals/steps/step-01b-continue.md +79 -0
- package/siesa-agents/bmm/workflows/3-solutioning/wds-visual-proposals/steps/step-02-bridge.md +114 -0
- package/siesa-agents/bmm/workflows/3-solutioning/wds-visual-proposals/steps/step-02b-kit-warmup.md +96 -0
- package/siesa-agents/bmm/workflows/3-solutioning/wds-visual-proposals/steps/step-03-scenarios.md +102 -0
- package/siesa-agents/bmm/workflows/3-solutioning/wds-visual-proposals/steps/step-04-specs.md +97 -0
- package/siesa-agents/bmm/workflows/3-solutioning/wds-visual-proposals/steps/step-05-prototype.md +102 -0
- package/siesa-agents/bmm/workflows/3-solutioning/wds-visual-proposals/steps/step-06-handoff.md +96 -0
- package/siesa-agents/bmm/workflows/3-solutioning/wds-visual-proposals/templates/product-brief-bridge.md +68 -0
- package/siesa-agents/bmm/workflows/3-solutioning/wds-visual-proposals/templates/proposal-index.md +46 -0
- package/siesa-agents/bmm/workflows/3-solutioning/wds-visual-proposals/templates/trigger-map-bridge.md +54 -0
- package/siesa-agents/bmm/workflows/3-solutioning/wds-visual-proposals/workflow.md +82 -0
- package/siesa-agents/bmm/workflows/3-solutioning/wds-visual-proposals/workflow_ext.md +195 -0
- package/siesa-agents/sa/sa-init-devops/scripts/sa-init-devops.js +46 -50
- package/siesa-agents/wds/config.yaml +20 -0
- package/siesa-agents/wds/data/agent-contracts.md +72 -0
- package/siesa-agents/wds/data/agent-guides/freya/agentic-development.md +223 -0
- package/siesa-agents/wds/data/agent-guides/freya/content-creation.md +270 -0
- package/siesa-agents/wds/data/agent-guides/freya/design-system.md +333 -0
- package/siesa-agents/wds/data/agent-guides/freya/meta-content-guide.md +495 -0
- package/siesa-agents/wds/data/agent-guides/freya/specification-quality.md +262 -0
- package/siesa-agents/wds/data/agent-guides/freya/strategic-design.md +116 -0
- package/siesa-agents/wds/data/agent-guides/saga/content-structure-principles.md +190 -0
- package/siesa-agents/wds/data/agent-guides/saga/conversational-followups.md +372 -0
- package/siesa-agents/wds/data/agent-guides/saga/discovery-conversation.md +265 -0
- package/siesa-agents/wds/data/agent-guides/saga/dream-up-approach.md +1034 -0
- package/siesa-agents/wds/data/agent-guides/saga/inspiration-analysis.md +215 -0
- package/siesa-agents/wds/data/agent-guides/saga/resources/project-brief.template.md +187 -0
- package/siesa-agents/wds/data/agent-guides/saga/seo-strategy-guide.md +391 -0
- package/siesa-agents/wds/data/agent-guides/saga/strategic-documentation.md +454 -0
- package/siesa-agents/wds/data/agent-guides/saga/trigger-mapping.md +653 -0
- package/siesa-agents/wds/data/agent-guides/saga/working-with-existing-materials.md +172 -0
- package/siesa-agents/wds/data/design-system/component-boundaries.md +318 -0
- package/siesa-agents/wds/data/design-system/figma-component-structure.md +697 -0
- package/siesa-agents/wds/data/design-system/naming-conventions.md +200 -0
- package/siesa-agents/wds/data/design-system/state-management.md +93 -0
- package/siesa-agents/wds/data/design-system/token-architecture.md +474 -0
- package/siesa-agents/wds/data/design-system/validation-patterns.md +74 -0
- package/siesa-agents/wds/data/presentations/freya-how-i-help.md +63 -0
- package/siesa-agents/wds/data/presentations/freya-intro.md +269 -0
- package/siesa-agents/wds/data/presentations/freya-presentation.md +77 -0
- package/siesa-agents/wds/data/presentations/freya-workflows-guide.md +51 -0
- package/siesa-agents/wds/data/presentations/mimir-agents-overview.md +66 -0
- package/siesa-agents/wds/data/presentations/mimir-tone-setting.md +48 -0
- package/siesa-agents/wds/data/presentations/saga-how-i-help.md +62 -0
- package/siesa-agents/wds/data/presentations/saga-intro.md +285 -0
- package/siesa-agents/wds/data/presentations/saga-presentation.md +74 -0
- package/siesa-agents/wds/data/presentations/saga-workflows-guide.md +48 -0
- package/siesa-agents/wds/data/shared-activation.md +49 -0
- package/siesa-agents/wds/data/wds-glossary.md +98 -0
- package/siesa-agents/wds/module-help.csv +19 -0
- package/siesa-agents/wds/scripts/README.md +155 -0
- package/siesa-agents/wds/scripts/wds-add-object.js +207 -0
- package/siesa-agents/wds/scripts/wds-add-spacing.js +158 -0
- package/siesa-agents/wds/scripts/wds-init-page.js +234 -0
- package/siesa-agents/wds/scripts/wds-init-scenario.js +125 -0
- package/siesa-agents/wds/scripts/wds-nav.js +206 -0
- package/siesa-agents/wds/scripts/wds-validate.js +306 -0
- package/siesa-agents/wds/skills/freya.activation.md +204 -0
- package/siesa-agents/wds/skills/handoff.md +91 -0
- package/siesa-agents/wds/skills/saga.activation.md +169 -0
- package/siesa-agents/wds/skills/shared/git.md +55 -0
- package/siesa-agents/wds/skills/start.md +99 -0
- package/siesa-agents/wds/skills/wrap.md +198 -0
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: sa-init-devops
|
|
3
|
-
description: 'Bootstrap the DevOps workspace and
|
|
3
|
+
description: 'Bootstrap the DevOps workspace and commands in Siesa-Agents in one shot: clones business-shared-deploy into `_siesa-agents/devops/`, detects conflicts between local and upstream copies of the `flow-*`/`agent-*` DevOps slash commands and the deploy workflows (asks the user via AskUserQuestion which side to keep when there are diffs), then MOVES the chosen versions into `.claude/commands/` (and `claude/commands/`) so `/flow-aplicar`, `/flow-nuevo-servicio`, `/flow-auditar-servicio`, etc. become immediately invocable, MOVES the workflows into `.github/workflows/`, deletes the now-empty `.claude/` and `.github/` directories from the clone, then mirrors the cleaned tree to `siesa-agents/devops/`. Use whenever the user wants to set up the DevOps workspace for the first time, refresh it after upstream changes, mentions needing terraform/k8s/environments files, or when any `flow-*` deploy command is missing from Claude Code.'
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Init DevOps — clone the workspace + materialize the DevOps
|
|
6
|
+
# Init DevOps — clone the workspace + materialize the DevOps commands
|
|
7
7
|
|
|
8
|
-
**Goal:** In a single invocation, populate Siesa-Agents with everything an engineer needs to run the Finance DevOps
|
|
8
|
+
**Goal:** In a single invocation, populate Siesa-Agents with everything an engineer needs to run the Finance DevOps commands. After a successful run the layout is:
|
|
9
9
|
|
|
10
10
|
| Location | Contents |
|
|
11
11
|
|---|---|
|
|
12
|
-
| `_siesa-agents/devops/` | Git working tree cloned from `
|
|
12
|
+
| `_siesa-agents/devops/` | Git working tree cloned from `business-shared-deploy`. **Only** the deployment workspace: `terraform/`, `k8s/`, `environments/`, `scripts/`, `cicd-templates/`, `docs/`, `seed/`, `CLAUDE.md`, `README.md`, `.gitignore`. The `.claude/` and `.github/` directories from upstream are wiped from the clone after their contents are moved to Siesa-Agents level. |
|
|
13
13
|
| `siesa-agents/devops/` | Flat snapshot mirror of the cleaned clone (no `.git/`, no `.claude/`, no `.github/`). The npm-publishable copy. |
|
|
14
|
-
| `.claude/
|
|
15
|
-
| `claude/
|
|
16
|
-
| `.github/workflows/*.yml` | The
|
|
14
|
+
| `.claude/commands/*.md` | The DevOps slash commands moved out of the clone: `flow-aplicar`, `flow-auditar-servicio`, `flow-nueva-transversal`, `flow-nuevo-ambiente`, `flow-nuevo-servicio`, `flow-onboard-db`, `flow-registrar-permisos`, `agent-sre-sentinel`. |
|
|
15
|
+
| `claude/commands/*.md` | Same commands, in the npm mirror. |
|
|
16
|
+
| `.github/workflows/*.yml` | The deploy workflow files moved out of the clone (`infra-pipeline-dev.yml`, `infra-pipeline-qa.yml`, `infra-pipeline-shared.yml`). **These do not fire from Siesa-Agents** — gitignored, for visibility only. They fire from `business-shared-deploy` where they originally live. |
|
|
17
17
|
|
|
18
|
-
**Why this matters:** Without this skill, Siesa-Agents is missing every Finance DevOps capability. The DevOps
|
|
18
|
+
**Why this matters:** Without this skill, Siesa-Agents is missing every Finance DevOps capability. The DevOps commands cannot live statically in this repo because they evolve with the deploy workspace (`environments/`, `terraform/`, `k8s/`) — keeping them in sync would require a PR every time Finance bumps the workspace. Instead the upstream `business-shared-deploy` repo is the single source of truth, and this skill pulls everything down on demand.
|
|
19
19
|
|
|
20
20
|
## When to use this skill
|
|
21
21
|
|
|
22
22
|
Trigger immediately when the user:
|
|
23
23
|
|
|
24
|
-
- Says "init devops", "setup devops", "clone
|
|
25
|
-
- Tries to invoke any deploy
|
|
26
|
-
- Tries to invoke a deploy
|
|
27
|
-
- Mentions wanting to refresh / pull latest from `
|
|
28
|
-
- Has just cloned Siesa-Agents and is preparing to use the deploy
|
|
24
|
+
- Says "init devops", "setup devops", "clone business-shared-deploy", "trae el workspace de despliegue", or similar
|
|
25
|
+
- Tries to invoke any deploy command (`/flow-aplicar`, `/flow-nuevo-servicio`, etc.) and Claude Code reports the command is not available
|
|
26
|
+
- Tries to invoke a deploy command and it complains about missing paths (`environments/shared.yaml`, `terraform/environments/`, `k8s/overlays/`, etc.)
|
|
27
|
+
- Mentions wanting to refresh / pull latest from `business-shared-deploy`
|
|
28
|
+
- Has just cloned Siesa-Agents and is preparing to use the deploy commands
|
|
29
29
|
|
|
30
|
-
Do **not** trigger for: editing the deploy
|
|
30
|
+
Do **not** trigger for: editing the deploy commands themselves (those edits must go to `business-shared-deploy`), modifying terraform/k8s contents (those go to `business-shared-deploy` too), or anything unrelated to bootstrapping.
|
|
31
31
|
|
|
32
32
|
## Prerequisites
|
|
33
33
|
|
|
@@ -35,7 +35,7 @@ Do **not** trigger for: editing the deploy skills themselves (those edits must g
|
|
|
35
35
|
- The user has network access to GitHub.com.
|
|
36
36
|
- The helper script lives at `_siesa-agents/sa/sa-init-devops/scripts/sa-init-devops.js` (source of truth) and is mirrored to `siesa-agents/sa/sa-init-devops/scripts/sa-init-devops.js` (npm copy). Prefer the source-of-truth path when both exist.
|
|
37
37
|
|
|
38
|
-
If the script is missing or `git` is unavailable, stop and tell the user — do not improvise the work inline. The script handles all the edge cases (existing clone with wrong remote, partial state, conflicting local edits,
|
|
38
|
+
If the script is missing or `git` is unavailable, stop and tell the user — do not improvise the work inline. The script handles all the edge cases (existing clone with wrong remote, partial state, conflicting local edits, command/workflow copy overwrites) that an inline shell sequence would miss.
|
|
39
39
|
|
|
40
40
|
## Workflow
|
|
41
41
|
|
|
@@ -52,19 +52,19 @@ node _siesa-agents/sa/sa-init-devops/scripts/sa-init-devops.js
|
|
|
52
52
|
Default mode does:
|
|
53
53
|
|
|
54
54
|
1. **Clone or update.** `git clone` (if `_siesa-agents/devops/` does not exist) **or** `git checkout HEAD -- .claude .github && git fetch && git checkout main && git pull --ff-only` (if it does). The `git checkout HEAD -- .claude .github` step restores files that the previous run wiped so the pull doesn't fail on "uncommitted deletions".
|
|
55
|
-
2. **Dry-run conflict detection.** For each upstream `.claude/
|
|
56
|
-
3. **If any local file differs from upstream → abort.** Exit 4 with `status: "conflicts"` and lists `
|
|
55
|
+
2. **Dry-run conflict detection.** For each upstream `.claude/commands/*.md` and `.github/workflows/*.yml`, compare to the local copy in Siesa-Agents (`.claude/commands/`, `claude/commands/`, and `.github/workflows/`).
|
|
56
|
+
3. **If any local file differs from upstream → abort.** Exit 4 with `status: "conflicts"` and lists `command_conflicts` / `workflow_conflicts`. Nothing is mutated. The model proceeds to Step 2.
|
|
57
57
|
4. **If no conflicts → apply.** Copy the upstream files into Siesa-Agents (creating new files, leaving identical ones alone), then delete `.claude/` and `.github/` from the clone working tree, then mirror the cleaned tree to `siesa-agents/devops/`. Exit 0.
|
|
58
58
|
|
|
59
59
|
### Step 2 — Handle conflicts (only when `status: "conflicts"`)
|
|
60
60
|
|
|
61
|
-
When the JSON output has `status: "conflicts"`, **ask the user which side to keep** before any local file is changed. Use `AskUserQuestion` with the list of conflicting items from `
|
|
61
|
+
When the JSON output has `status: "conflicts"`, **ask the user which side to keep** before any local file is changed. Use `AskUserQuestion` with the list of conflicting items from `command_conflicts` and `workflow_conflicts`.
|
|
62
62
|
|
|
63
63
|
For most cases, one question with three options is enough:
|
|
64
64
|
|
|
65
65
|
```
|
|
66
|
-
question: "Estos N archivos locales difieren del upstream
|
|
67
|
-
<list with
|
|
66
|
+
question: "Estos N archivos locales difieren del upstream business-shared-deploy:
|
|
67
|
+
<list with command_conflicts + workflow_conflicts>
|
|
68
68
|
¿Cómo resuelvo?"
|
|
69
69
|
options:
|
|
70
70
|
- "Take all from upstream" (overwrite all conflicts with upstream version)
|
|
@@ -87,7 +87,7 @@ node _siesa-agents/sa/sa-init-devops/scripts/sa-init-devops.js --keep-local
|
|
|
87
87
|
If the user picks **"Resolve per file"**, ask one more question per conflicting item (with `AskUserQuestion`, max 4 items per call — chunk if needed) collecting which ones to keep local, then re-run with `--keep-local=<csv>`:
|
|
88
88
|
|
|
89
89
|
```bash
|
|
90
|
-
node _siesa-agents/sa/sa-init-devops/scripts/sa-init-devops.js --keep-local=
|
|
90
|
+
node _siesa-agents/sa/sa-init-devops/scripts/sa-init-devops.js --keep-local=flow-aplicar.md,infra-pipeline-qa.yml
|
|
91
91
|
```
|
|
92
92
|
|
|
93
93
|
The named items keep their local version; everything else takes upstream.
|
|
@@ -96,21 +96,21 @@ The named items keep their local version; everything else takes upstream.
|
|
|
96
96
|
|
|
97
97
|
After the (possibly second) successful invocation, read the `status` field:
|
|
98
98
|
|
|
99
|
-
- **`status: "cloned"`** — Fresh clone. Tell the user: "Cloned `
|
|
100
|
-
- **`status: "updated"`** — Existing clone pulled new commits. Report `before_sha..after_sha` and the per-category counts (`
|
|
99
|
+
- **`status: "cloned"`** — Fresh clone. Tell the user: "Cloned `business-shared-deploy`. Created `<N>` commands + `<M>` workflows in Siesa-Agents. The deploy commands (`/flow-aplicar`, `/flow-nuevo-servicio`, etc.) are now available in Claude Code."
|
|
100
|
+
- **`status: "updated"`** — Existing clone pulled new commits. Report `before_sha..after_sha` and the per-category counts (`commands_created`, `commands_overwritten`, `commands_kept_local`, `commands_unchanged`, same for workflows).
|
|
101
101
|
- **`status: "already-cloned"`** — Local clone was already at the latest HEAD; no upstream change. The counts reflect what happened in the apply step (likely all `unchanged` if everything matched).
|
|
102
102
|
- **`status: "conflicts"`** — Should only appear on the FIRST run when conflicts exist; never on a re-run with a policy flag. If you see this twice, surface it as a bug.
|
|
103
103
|
- **`status: "invalid-source"`** — `_siesa-agents/devops/` exists but is not a git working tree. Surface the message verbatim and stop. Do not try to delete the directory automatically.
|
|
104
104
|
- **`status: "wrong-remote"`** — Same directory is a clone of a different repo. Surface the message and stop.
|
|
105
105
|
- **`status: "clone-failed"` / `"fetch-failed"` / `"pull-failed"` / `"checkout-failed"`** — Git operation failed. Surface the underlying git error verbatim. Common causes: no network, branch diverged, local edits blocking ff-pull.
|
|
106
106
|
|
|
107
|
-
### Step 3 — Remind the user about cwd for the deploy
|
|
107
|
+
### Step 3 — Remind the user about cwd for the deploy commands
|
|
108
108
|
|
|
109
109
|
After a successful run (any of `cloned`, `updated`, `already-cloned`), remind the user once:
|
|
110
110
|
|
|
111
|
-
>
|
|
111
|
+
> Los comandos de despliegue (`/flow-aplicar`, `/flow-nuevo-servicio`, etc.) asumen que el cwd está dentro de `_siesa-agents/devops/`. Cambia de directorio (`cd _siesa-agents/devops/`) antes de invocarlos, para que las rutas relativas (`environments/`, `terraform/`, `k8s/`) se resuelvan correctamente.
|
|
112
112
|
|
|
113
|
-
If the user invokes one of those
|
|
113
|
+
If the user invokes one of those commands from elsewhere, the relative paths in their instructions won't resolve and they'll see confusing "file not found" errors.
|
|
114
114
|
|
|
115
115
|
## Optional flags
|
|
116
116
|
|
|
@@ -118,28 +118,27 @@ If the user invokes one of those skills from elsewhere, the relative paths in th
|
|
|
118
118
|
- `--mirror-only` — Skip the git + move steps; rebuild `siesa-agents/devops/` from the existing clone. Useful when only the mirror is out of sync.
|
|
119
119
|
- `--take-upstream` — Resolve all conflicts in favor of upstream (overwrite every conflicting local file). Use after the user confirms they want the upstream versions.
|
|
120
120
|
- `--keep-local` — Keep every local file as-is; only create files that are entirely new in upstream. Use when the user wants to preserve all local edits.
|
|
121
|
-
- `--keep-local=<csv>` — Keep these specific items local (comma-separated names matching `
|
|
121
|
+
- `--keep-local=<csv>` — Keep these specific items local (comma-separated names matching `command_conflicts` / `workflow_conflicts` entries); overwrite all other conflicts with upstream. Example: `--keep-local=flow-aplicar.md,infra-pipeline-qa.yml`.
|
|
122
122
|
|
|
123
123
|
The three policy flags are mutually exclusive; passing more than one returns exit code 1.
|
|
124
124
|
|
|
125
125
|
## Edge cases
|
|
126
126
|
|
|
127
|
-
- **
|
|
128
|
-
- **The
|
|
129
|
-
- **
|
|
130
|
-
- **Workflows in Siesa-Agents `.github/workflows/`** — moved for inspection but gitignored (see `.gitignore`), so engineers can read them locally but they never fire on Siesa-Agents PRs. The same workflows fire on PRs / pushes to `architecture-sa-devops`, which is where they live.
|
|
127
|
+
- **Command conflicts.** The default run aborts on any conflict (local file differs from upstream) and lists them in `command_conflicts` / `workflow_conflicts`. The model then asks the user with `AskUserQuestion` and re-runs with `--take-upstream`, `--keep-local`, or `--keep-local=<csv>`. Engineers who want their custom edits to survive automatic refresh should fork `business-shared-deploy` and update `REMOTE_URL` at the top of the helper script — that keeps their fork as the upstream source of truth.
|
|
128
|
+
- **The clone shows the moved files as "deleted" in `git status` after every run.** Expected. The script moves `.claude/commands/*.md` and `.github/workflows/*.yml` out of the clone and deletes those directories, but the files are still tracked in upstream HEAD. The next run restores them via `git checkout HEAD -- .claude .github` before pulling, then moves and deletes them again. Engineers should never `git add` or `git commit` those deletions inside `_siesa-agents/devops/` — they are intentional working-tree-only state.
|
|
129
|
+
- **Workflows in Siesa-Agents `.github/workflows/`** — moved for inspection but gitignored (see `.gitignore`), so engineers can read them locally but they never fire on Siesa-Agents PRs. The same workflows fire on PRs / pushes to `business-shared-deploy`, which is where they live.
|
|
131
130
|
- **`_siesa-agents/devops/` exists from a previous run with local edits to non-managed paths.** The restore step touches only `.claude` and `.github`; edits to `environments/`, `terraform/`, `k8s/`, etc. survive the restore step but `git pull --ff-only` will fail if they conflict with upstream. The script surfaces the git error verbatim. The user should commit, stash, or discard their local changes and re-run.
|
|
132
|
-
- **The directory exists but isn't a clone of `
|
|
133
|
-
- **The mirror or local
|
|
131
|
+
- **The directory exists but isn't a clone of `business-shared-deploy`.** The script reports `invalid-source` or `wrong-remote` and refuses to delete. The user must move it aside manually.
|
|
132
|
+
- **The mirror or local commands/workflows have manual edits.** The script overwrites them on every run — that is by design. If you need to preserve edits, make them in the upstream `business-shared-deploy` repo, not locally.
|
|
134
133
|
- **No `git` on PATH.** The first `tryGit` call fails; the script surfaces a `clone-failed` or `fetch-failed` status. Tell the user to install git or add it to PATH.
|
|
135
134
|
|
|
136
135
|
## Upstream URL
|
|
137
136
|
|
|
138
|
-
The script
|
|
137
|
+
The script points at `https://github.com/SiesaTeams/business-shared-deploy.git`. If Finance forks or relocates the deploy repo, update `REMOTE_URL` at the top of the helper script (both the source-of-truth and mirror copies) and ship the change.
|
|
139
138
|
|
|
140
139
|
## Reminders
|
|
141
140
|
|
|
142
|
-
- Step 1 is always safe to re-run. Idempotency is built into the script — on `already-cloned` it does nothing destructive other than refresh the mirror and re-copy the
|
|
141
|
+
- Step 1 is always safe to re-run. Idempotency is built into the script — on `already-cloned` it does nothing destructive other than refresh the mirror and re-copy the commands/workflows from upstream (which is the intended behavior — keeping local in sync with upstream).
|
|
143
142
|
- Never delete `_siesa-agents/devops/` from this skill. The user owns that directory once cloned; they may have in-progress edits.
|
|
144
|
-
- Do not modify the DevOps
|
|
143
|
+
- Do not modify the DevOps commands themselves from this skill. If a deploy command's behavior needs to change, that is a PR to `business-shared-deploy`, not a local edit (which would be wiped on the next run).
|
|
145
144
|
- The script's JSON output is the contract. If a future field appears (e.g. a new status), surface it to the user rather than guessing what it means.
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: sa-wds-visual-proposals
|
|
3
|
+
description: 'Toma los artefactos de planning ya hechos (PRD, épicas/historias, UX spec, arquitectura) como base y dirige el módulo WDS (Freya) para generar propuestas visuales — escenarios UX, page-specs y prototipos renderizados con siesa-ui-kit — ayudando a los diseñadores. Úsalo cuando el usuario diga "generar propuestas visuales", "wds visual proposals", "diseñar pantallas desde el planning" o quiera convertir el planning en mockups con siesa-ui-kit.'
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
IT IS CRITICAL THAT YOU FOLLOW THIS COMMAND: FIRST load the FULL @_siesa-agents/bmm/workflows/3-solutioning/wds-visual-proposals/workflow_ext.md and apply its mandatory Siesa rules. THEN load the FULL @_siesa-agents/bmm/workflows/3-solutioning/wds-visual-proposals/workflow.md, READ its entire contents and follow its directions exactly!
|
package/package.json
CHANGED
package/siesa-agents/bmm/workflows/3-solutioning/wds-visual-proposals/data/component-mapping.csv
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
ui_need,siesa_uikit_component,level,notes
|
|
2
|
+
Botón de acción / CTA,Button,atom,"variantes Default/Outline/Plain, soporta icono"
|
|
3
|
+
Grupo de botones tipo toggle,ButtonGroup,atom,selección estilo radio
|
|
4
|
+
Contenedor de contenido,Card,atom,"subcomponentes Header/Title/Content/Footer"
|
|
5
|
+
Etiqueta / estado / categoría,Badge,atom,variantes de color
|
|
6
|
+
Diálogo modal / confirmación,Alert Dialog,atom,alertas y diálogos del sistema
|
|
7
|
+
Imagen de perfil de usuario,Avatar,atom,
|
|
8
|
+
Casilla de verificación,Checkbox,atom,
|
|
9
|
+
Selección única en grupo,Radio,atom,"RadioGroup, RadioGroupItem"
|
|
10
|
+
Interruptor on/off,Switch,atom,
|
|
11
|
+
Campo de texto,Input,atom,
|
|
12
|
+
Campo numérico,InputNumber,atom,
|
|
13
|
+
Área de texto multilínea,Textarea,atom,
|
|
14
|
+
Selector desplegable,Select,atom,navegación por teclado
|
|
15
|
+
Menú de opciones,Dropdown,atom,"items, headings, dividers"
|
|
16
|
+
Navegación por pestañas,Tabs,atom,soporta icono/badge
|
|
17
|
+
Tabla de datos,Table,atom,"ordenamiento, variantes visuales"
|
|
18
|
+
Separador de contenido,Divider,atom,
|
|
19
|
+
Paginación,Pagination,atom,
|
|
20
|
+
Selección jerárquica con checkboxes,Tree,atom,cascada
|
|
21
|
+
Mensaje informativo / banner,Info,atom,
|
|
22
|
+
Notificación temporal,Toast,atom,sistema de notificaciones
|
|
23
|
+
Contador de alertas,Notification,atom,badge con contador
|
|
24
|
+
Navegación lateral,NavigationRail,navigation,"con NavigationRailGroup/Item/Panel"
|
|
25
|
+
Navegación inferior móvil,NavigationBar,navigation,3-5 destinos
|
|
26
|
+
Carga de archivos,FileUploader,file,"drag-and-drop, progreso, validación"
|
|
27
|
+
Galería de archivos,FileUploaderGallery,file,
|
|
28
|
+
Búsqueda de entidad relacionada,LookupField,form,relación entre entidades
|
|
29
|
+
Lista clave-valor,DescriptionList,form,
|
|
30
|
+
Guardar/restaurar filtros,FormCacheSelector,form,
|
|
31
|
+
Gestión CRUD de entidad,MasterCrud,enterprise,"listados+formularios+acciones; modos Modal/Sidebar/Page; consultar skill MasterCrud"
|
|
32
|
+
Contenedor de formulario CRUD,MasterPatternView,enterprise,
|
|
33
|
+
Gestión documental,MasterDocument,enterprise,"InstallmentsPanel, WithholdingsPanel, etc."
|
|
34
|
+
Auditoría (historial + detalle),AuditHistoryPanel,audit,"timeline + diff campo a campo"
|
|
35
|
+
Pantalla de login,LoginView,view,vista completa de inicio de sesión
|
|
36
|
+
Pantalla de registro,SignUpView,view,con aceptación de términos
|
|
37
|
+
Recuperar contraseña,RecoverPasswordView,view,
|
|
38
|
+
Layout comercial (rail + navbar),LayoutBase,view,
|
|
39
|
+
Contenedor principal con toolbar,LayoutContent,view,
|
|
40
|
+
Vista de lista genérica,ListView,view,
|
|
41
|
+
Tablero / dashboard,Dashboard,view,
|
|
42
|
+
Selección de productos POS,ProductsView,view,categorías/grid/carrito
|
|
43
|
+
Gestión de mesas POS,TableLayoutView,view,
|
|
44
|
+
Gestión de contactos,ContactManager,view,CRUD completo de contactos
|
|
45
|
+
Chat de soporte,ChatWidget,view,flotante
|
|
46
|
+
Edición de parámetros del sistema,ParameterEditor,config,Server-Driven UI
|
|
47
|
+
Administración de entidades dinámicas,Dynamic Entities/Admin,dynamic,no-code
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: 'step-01-init'
|
|
3
|
+
description: 'Inicializa el workflow: carga config, detecta continuación, descubre artefactos de planning y el catálogo siesa-ui-kit, y define el alcance de las propuestas visuales'
|
|
4
|
+
|
|
5
|
+
# Path Definitions
|
|
6
|
+
workflow_path: '{project-root}/_siesa-agents/bmm/workflows/3-solutioning/wds-visual-proposals'
|
|
7
|
+
|
|
8
|
+
# File References
|
|
9
|
+
thisStepFile: '{workflow_path}/steps/step-01-init.md'
|
|
10
|
+
continueStepFile: '{workflow_path}/steps/step-01b-continue.md'
|
|
11
|
+
nextStepFile: '{workflow_path}/steps/step-02-bridge.md'
|
|
12
|
+
workflowFile: '{workflow_path}/workflow.md'
|
|
13
|
+
|
|
14
|
+
# WDS module
|
|
15
|
+
wds_module_path: '{project-root}/_siesa-agents/wds'
|
|
16
|
+
wds_config: '{wds_module_path}/config.yaml'
|
|
17
|
+
wds_scripts_path: '{wds_module_path}/scripts'
|
|
18
|
+
|
|
19
|
+
# Catalog / standards
|
|
20
|
+
siesa_uikit_catalog_url: 'https://siesa-ui-kit.pages.dev/llms.txt'
|
|
21
|
+
company_standards_path: '{project-root}/_siesa-agents/bmm/workflows/3-solutioning/create-architecture/data/company-standards'
|
|
22
|
+
base_ux_spec: '{project-root}/_siesa-agents/resources/ux-ui/ux-design-specification.md'
|
|
23
|
+
|
|
24
|
+
# Data References
|
|
25
|
+
componentMappingData: '{workflow_path}/data/component-mapping.csv'
|
|
26
|
+
|
|
27
|
+
# Config
|
|
28
|
+
bmmConfig: '{project-root}/_bmad/bmm/config.yaml'
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
# Step 1: Inicialización y Descubrimiento
|
|
32
|
+
|
|
33
|
+
## STEP GOAL
|
|
34
|
+
|
|
35
|
+
Preparar todo el contexto para construir el puente planning → WDS: cargar configuración, detectar si es una re-ejecución, descubrir los artefactos de planning existentes, resolver el catálogo y el paquete de siesa-ui-kit, y acordar con el usuario el **alcance** (qué épicas/features se convierten en propuestas visuales).
|
|
36
|
+
|
|
37
|
+
## MANDATORY EXECUTION RULES (READ FIRST)
|
|
38
|
+
|
|
39
|
+
- 🛑 NEVER generate WDS artifacts in this step — solo descubrimiento y alcance
|
|
40
|
+
- 📖 CRITICAL: Read the complete step file before taking any action
|
|
41
|
+
- 📋 YOU ARE A FACILITATOR, not a content generator
|
|
42
|
+
- 🇪🇸 Texto de UI siempre en español; siesa-ui-kit primero
|
|
43
|
+
- ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
|
|
44
|
+
|
|
45
|
+
## INITIALIZATION SEQUENCE
|
|
46
|
+
|
|
47
|
+
### 1. Load Configuration
|
|
48
|
+
|
|
49
|
+
Load `{bmmConfig}` and resolve: `{project_name}`, `{communication_language}`, `{document_output_language}`, `{planning_artifacts}`, `{implementation_artifacts}`, `{project_knowledge}`, `{output_folder}`.
|
|
50
|
+
|
|
51
|
+
Load `{wds_config}` and resolve `{design_artifacts}` (WDS base output path) and `{wds_output_folder}`. **WDS config wins for WDS paths** (see workflow_ext.md §4).
|
|
52
|
+
|
|
53
|
+
### 2. Detect Continuation
|
|
54
|
+
|
|
55
|
+
Check whether a WDS project already exists for visual proposals:
|
|
56
|
+
|
|
57
|
+
- `{design_artifacts}/_progress/wds-project-outline.yaml`
|
|
58
|
+
- `{design_artifacts}/A-Product-Brief/product-brief.md`
|
|
59
|
+
- `{design_artifacts}/C-UX-Scenarios/` (any scenario folders)
|
|
60
|
+
|
|
61
|
+
**If any exist** → this is a re-run. Load `{continueStepFile}`, read it fully, and execute it. STOP here.
|
|
62
|
+
|
|
63
|
+
**If none exist** → fresh run. Continue to section 3.
|
|
64
|
+
|
|
65
|
+
### 3. Discover Planning Artifacts (the BASE)
|
|
66
|
+
|
|
67
|
+
Search the workspace for the SIESA planning artifacts that will feed the bridge. Look under `{planning_artifacts}/`, `{project_knowledge}/`, `{output_folder}/`, and the repo root:
|
|
68
|
+
|
|
69
|
+
| Artifact | Typical location / glob | Used for |
|
|
70
|
+
|---|---|---|
|
|
71
|
+
| PRD | `*PRD*.md`, `prd/*.md`, `prd/feature-*.md` | Vision, goals, target users, scope → Product Brief |
|
|
72
|
+
| Épicas/historias | `epics*.md`, `epics/epic-*.md`, `stories/*.md` | Flows + acceptance criteria → Scenarios & pages |
|
|
73
|
+
| UX design spec | `*ux-design-specification*.md` | Design tokens, component strategy → render fidelity |
|
|
74
|
+
| Arquitectura | `*architecture*.md`, `solution-architecture*.md` | Technical constraints on what can be proposed |
|
|
75
|
+
|
|
76
|
+
Build an in-memory inventory: `{ prd: [...], epics: [...], ux_spec: path|null, architecture: [...] }`.
|
|
77
|
+
|
|
78
|
+
**If NO planning artifacts are found**, inform the user and offer:
|
|
79
|
+
- `[B]` Buscar en otra ruta (pídela)
|
|
80
|
+
- `[X]` Cancelar — este workflow requiere planning previo (usa `/create-prd`, `/create-epics-and-stories`, `/create-ux-design` primero)
|
|
81
|
+
|
|
82
|
+
HALT and wait. Do not fabricate planning content.
|
|
83
|
+
|
|
84
|
+
### 3b. Detect & Render the Reference Design (if the user provided one)
|
|
85
|
+
|
|
86
|
+
🔴 **Aplica workflow_ext §3C.** Busca un **diseño de referencia** aportado por el usuario que la propuesta deba replicar: un mockup/`*.html` (incluidos HTML autocontenidos/bundled), imágenes (`*.png/*.jpg`), un PDF de pantallas, o un enlace de Figma — en el prompt del usuario, en la raíz del repo, o junto a los planning artifacts.
|
|
87
|
+
|
|
88
|
+
**Si existe un diseño de referencia:**
|
|
89
|
+
1. **Renderízalo a screenshots AHORA** (no diseñes contra una descripción textual): imagen → úsala tal cual; HTML autocontenido → Chrome headless (`--screenshot`, con `--virtual-time-budget` amplio); HTML interactivo/multi-pantalla → condúcelo con `puppeteer-core` haciendo clic hacia cada estado (lista/crear/editar/diálogos) y captura uno por pantalla; Figma → exporta frames a PNG. Guárdalos en `{design_artifacts}/_design-ref/`.
|
|
90
|
+
2. Si el diseño define tokens CSS (`:root { --… }`), **extrae ese bloque** para copiarlo luego al harness en step-02b/05 (evita que los componentes custom salgan sin estilo).
|
|
91
|
+
3. Registra `reference_design: [rutas de los screenshots]` para el outline y anótalo para que step-05 verifique **lado a lado** contra estas imágenes.
|
|
92
|
+
|
|
93
|
+
**Si NO hay diseño de referencia:** continúa normal (la fidelidad se guía por `{base_ux_spec}` + tokens de marca).
|
|
94
|
+
|
|
95
|
+
### 4. Resolve siesa-ui-kit Catalog & Package
|
|
96
|
+
|
|
97
|
+
1. Fetch `{siesa_uikit_catalog_url}` and keep the component catalog in memory (atoms + view-level components like `LoginView`, `Dashboard`, `MasterCrud`, `LayoutBase`).
|
|
98
|
+
- If unreachable, warn: "⚠️ No se pudo acceder al catálogo de siesa-ui-kit; usaré la semilla local `{componentMappingData}` y los tokens de `{base_ux_spec}`."
|
|
99
|
+
2. El paquete siesa-ui-kit lo **fija el repo base BaseFrontend** (`siesa-ui-kit@^1.0.109` en su `package.json`) que step-02b clona como harness (workflow_ext §3A) — no hay que resolver el nombre a mano ni requiere una app consumidora previa.
|
|
100
|
+
3. Load `{componentMappingData}` (seed mapping) and `{company_standards_path}/frontend-standards.md`.
|
|
101
|
+
|
|
102
|
+
### 5. Define Scope (AUTO — todas las épicas con frontend, sin preguntar)
|
|
103
|
+
|
|
104
|
+
🚫 **NO preguntes al usuario.** Selecciona automáticamente **TODAS las épicas que requieren frontend** — es decir, las que contienen al menos una historia con UI de cara al usuario. **Excluye** épicas/historias puramente backend o de infraestructura (p. ej. init de proyecto, configuración de base de datos, endpoints API sin pantalla) porque no tienen UI que proponer.
|
|
105
|
+
|
|
106
|
+
Reporta la selección (sin HALT) y continúa:
|
|
107
|
+
|
|
108
|
+
```
|
|
109
|
+
📋 Inventario de planning: PRD {n} · épicas {n} · UX spec {sí/no} · arquitectura {n}
|
|
110
|
+
🧩 Catálogo siesa-ui-kit: {cargado / fallback local} · paquete: {nombre}
|
|
111
|
+
🎯 Alcance (automático): todas las épicas con frontend → {lista de épicas seleccionadas}
|
|
112
|
+
Excluidas por ser backend/infra: {lista o "ninguna"}
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
Store `scope` (todas las épicas con frontend) en memoria y **procede directamente** a la sección 6 — sin menú, sin esperar.
|
|
116
|
+
|
|
117
|
+
### 6. Confirm and Proceed
|
|
118
|
+
|
|
119
|
+
Confirm:
|
|
120
|
+
```
|
|
121
|
+
✅ Configuración lista.
|
|
122
|
+
- Alcance: {scope}
|
|
123
|
+
- Salida WDS: {design_artifacts}
|
|
124
|
+
Continuando a construir el puente estratégico (Product Brief + Trigger Map)...
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
Load, read entire file, then execute `{nextStepFile}` immediately (no further menu).
|
|
128
|
+
|
|
129
|
+
## CRITICAL STEP COMPLETION NOTE
|
|
130
|
+
|
|
131
|
+
Two exit paths: continuation (`{continueStepFile}`) OR fresh → `{nextStepFile}`. Never both.
|
|
132
|
+
|
|
133
|
+
---
|
|
134
|
+
|
|
135
|
+
## 🚨 SUCCESS / FAILURE METRICS
|
|
136
|
+
|
|
137
|
+
### ✅ SUCCESS
|
|
138
|
+
- Both configs loaded; WDS `design_artifacts` resolved
|
|
139
|
+
- Continuation correctly detected
|
|
140
|
+
- Planning inventory built from real files (not invented)
|
|
141
|
+
- siesa-ui-kit catalog fetched + render mode + package resolved
|
|
142
|
+
- Scope = todas las épicas con frontend, auto-seleccionadas (sin preguntar)
|
|
143
|
+
|
|
144
|
+
### ❌ FAILURE
|
|
145
|
+
- Inventing planning content when none found
|
|
146
|
+
- Hardcoding output paths instead of reading `{wds_config}`
|
|
147
|
+
- Assuming the npm package name instead of reading `package.json`
|
|
148
|
+
- Preguntar el alcance al usuario en vez de auto-seleccionar todas las épicas con frontend
|
package/siesa-agents/bmm/workflows/3-solutioning/wds-visual-proposals/steps/step-01b-continue.md
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: 'step-01b-continue'
|
|
3
|
+
description: 'Reanuda una ejecución previa del workflow de propuestas visuales a partir del estado WDS guardado'
|
|
4
|
+
|
|
5
|
+
workflow_path: '{project-root}/_siesa-agents/bmm/workflows/3-solutioning/wds-visual-proposals'
|
|
6
|
+
thisStepFile: '{workflow_path}/steps/step-01b-continue.md'
|
|
7
|
+
bridgeStep: '{workflow_path}/steps/step-02-bridge.md'
|
|
8
|
+
warmupStep: '{workflow_path}/steps/step-02b-kit-warmup.md'
|
|
9
|
+
scenariosStep: '{workflow_path}/steps/step-03-scenarios.md'
|
|
10
|
+
specsStep: '{workflow_path}/steps/step-04-specs.md'
|
|
11
|
+
prototypeStep: '{workflow_path}/steps/step-05-prototype.md'
|
|
12
|
+
handoffStep: '{workflow_path}/steps/step-06-handoff.md'
|
|
13
|
+
wds_validate: '{project-root}/_siesa-agents/wds/scripts/wds-validate.js'
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
# Step 1b: Reanudación
|
|
17
|
+
|
|
18
|
+
## STEP GOAL
|
|
19
|
+
|
|
20
|
+
Detectar dónde quedó la generación previa de propuestas visuales y reanudar en el paso correcto, sin rehacer trabajo ya hecho.
|
|
21
|
+
|
|
22
|
+
## MANDATORY EXECUTION RULES
|
|
23
|
+
|
|
24
|
+
- 📖 Read the complete step file before acting
|
|
25
|
+
- 🚫 NEVER overwrite existing WDS artifacts — append/continue only
|
|
26
|
+
- ✅ Speak in `{communication_language}`
|
|
27
|
+
|
|
28
|
+
## RESUME SEQUENCE
|
|
29
|
+
|
|
30
|
+
### 1. Read the WDS State
|
|
31
|
+
|
|
32
|
+
Read `{design_artifacts}/_progress/wds-project-outline.yaml` and `{design_artifacts}/_progress/00-design-log.md` (if present). Extract phase status and the "Current" task.
|
|
33
|
+
|
|
34
|
+
### 2. Assess What Exists
|
|
35
|
+
|
|
36
|
+
Check, under `{design_artifacts}`:
|
|
37
|
+
|
|
38
|
+
| Evidence | Means stage complete |
|
|
39
|
+
|---|---|
|
|
40
|
+
| `A-Product-Brief/product-brief.md` + `B-Trigger-Map/trigger-map.md` | Bridge (step-02) done |
|
|
41
|
+
| `_kit-playground/` (clon BaseFrontend) + `_kit-playground/kit-grounding.md` | Kit Warm-up (step-02b) done |
|
|
42
|
+
| `C-UX-Scenarios/<scenario>/README.md` + page folders | Scenarios (step-03) done |
|
|
43
|
+
| Page specs pass `node {wds_validate} --all --output {design_artifacts}` | Specs (step-04) done |
|
|
44
|
+
| Módulos del dominio en `_kit-playground/src/modules/` + screenshots `-real.png` | Prototype (step-05) done |
|
|
45
|
+
| `proposal-index.md` present | Handoff (step-06) done |
|
|
46
|
+
|
|
47
|
+
### 3. Present Resume Menu (HALT)
|
|
48
|
+
|
|
49
|
+
```
|
|
50
|
+
🔁 Encontré una ejecución previa de propuestas visuales.
|
|
51
|
+
Estado: {resumen del outline}
|
|
52
|
+
|
|
53
|
+
¿Cómo continúo?
|
|
54
|
+
[R] Reanudar donde quedó ({siguiente paso detectado})
|
|
55
|
+
[E] Ir a un paso específico (bridge / kit-warmup / scenarios / specs / prototype / handoff)
|
|
56
|
+
[N] Empezar de cero (conservará los archivos existentes; pediré confirmación antes de sobrescribir)
|
|
57
|
+
[X] Cancelar
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
HALT and wait.
|
|
61
|
+
|
|
62
|
+
### 4. Route
|
|
63
|
+
|
|
64
|
+
Load and execute the chosen step file:
|
|
65
|
+
- bridge → `{bridgeStep}`
|
|
66
|
+
- kit-warmup → `{warmupStep}`
|
|
67
|
+
- scenarios → `{scenariosStep}`
|
|
68
|
+
- specs → `{specsStep}`
|
|
69
|
+
- prototype → `{prototypeStep}`
|
|
70
|
+
- handoff → `{handoffStep}`
|
|
71
|
+
|
|
72
|
+
Read the chosen file fully before executing.
|
|
73
|
+
|
|
74
|
+
---
|
|
75
|
+
|
|
76
|
+
## 🚨 SUCCESS / FAILURE
|
|
77
|
+
|
|
78
|
+
✅ Correct stage detected and resumed without redoing finished work.
|
|
79
|
+
❌ Re-running the bridge over existing artifacts, or overwriting specs without confirmation.
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: 'step-02-bridge'
|
|
3
|
+
description: 'Traduce los artefactos de planning de SIESA a la fundación estratégica que WDS/Freya exige: Product Brief, Trigger Map, personas, tokens y project outline'
|
|
4
|
+
|
|
5
|
+
workflow_path: '{project-root}/_siesa-agents/bmm/workflows/3-solutioning/wds-visual-proposals'
|
|
6
|
+
thisStepFile: '{workflow_path}/steps/step-02-bridge.md'
|
|
7
|
+
nextStepFile: '{workflow_path}/steps/step-02b-kit-warmup.md'
|
|
8
|
+
|
|
9
|
+
productBriefTemplate: '{workflow_path}/templates/product-brief-bridge.md'
|
|
10
|
+
triggerMapTemplate: '{workflow_path}/templates/trigger-map-bridge.md'
|
|
11
|
+
base_ux_spec: '{project-root}/_siesa-agents/resources/ux-ui/ux-design-specification.md'
|
|
12
|
+
|
|
13
|
+
# WDS guides to honor while writing the foundation
|
|
14
|
+
freya_strategic_guide: '{project-root}/_siesa-agents/wds/data/agent-guides/freya/strategic-design.md'
|
|
15
|
+
saga_existing_materials: '{project-root}/_siesa-agents/wds/data/agent-guides/saga/working-with-existing-materials.md'
|
|
16
|
+
wds_glossary: '{project-root}/_siesa-agents/wds/data/wds-glossary.md'
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
# Step 2: Puente Estratégico (Planning → WDS)
|
|
20
|
+
|
|
21
|
+
## STEP GOAL
|
|
22
|
+
|
|
23
|
+
Producir, a partir de los artefactos de planning ya hechos, los prerequisitos EXACTOS que Freya valida antes de diseñar:
|
|
24
|
+
|
|
25
|
+
1. `{design_artifacts}/A-Product-Brief/product-brief.md`
|
|
26
|
+
2. `{design_artifacts}/B-Trigger-Map/trigger-map.md` (+ personas + feature-impact)
|
|
27
|
+
3. Semilla de tokens/decisiones visuales desde la UX spec (para fidelidad de marca)
|
|
28
|
+
4. `{design_artifacts}/_progress/wds-project-outline.yaml` y `_progress/00-design-log.md`
|
|
29
|
+
|
|
30
|
+
## MANDATORY EXECUTION RULES
|
|
31
|
+
|
|
32
|
+
- 📖 Read this entire file first
|
|
33
|
+
- 🧭 Load `{saga_existing_materials}` — usa el patrón "import existing materials": referenciar → validar vigencia → llenar huecos → sintetizar. NO inventes; deriva todo del planning.
|
|
34
|
+
- 🧠 Load `{freya_strategic_guide}` — el Product Brief y el Trigger Map deben quedar en términos que Freya pueda usar (golden circle WHY→HOW→WHAT, driving forces, awareness stages).
|
|
35
|
+
- 📚 Load `{wds_glossary}` para respetar nombres/estructura de artefactos WDS.
|
|
36
|
+
- 🇪🇸 Comunicación en `{communication_language}`; el contenido de documentos sigue `{document_output_language}`, PERO el texto de UI de ejemplo siempre en español.
|
|
37
|
+
|
|
38
|
+
## EXECUTION SEQUENCE
|
|
39
|
+
|
|
40
|
+
### 1. Map PRD → Product Brief
|
|
41
|
+
|
|
42
|
+
Read the PRD artifacts from the step-01 inventory. Using `{productBriefTemplate}`, populate:
|
|
43
|
+
|
|
44
|
+
| WDS Product Brief field | Source in SIESA planning |
|
|
45
|
+
|---|---|
|
|
46
|
+
| Vision / WHY | PRD problem statement, goals, value proposition |
|
|
47
|
+
| Target users | PRD user segments / personas section |
|
|
48
|
+
| Business goals & KPIs | PRD objectives / success metrics |
|
|
49
|
+
| Scope & constraints | PRD scope + architecture constraints |
|
|
50
|
+
| Content language / tone | UX spec voice (default: español, tono corporativo Siesa) |
|
|
51
|
+
| Visual direction | UX spec tokens (color primario `#0e79fd`, tipografía Inter, etc.) |
|
|
52
|
+
|
|
53
|
+
Write to `{design_artifacts}/A-Product-Brief/product-brief.md`. Add a provenance footer listing the source files. Where the PRD is silent, mark `⚠️ [Asunción — confirmar]` and ask the user before finalizing.
|
|
54
|
+
|
|
55
|
+
### 2. Map PRD + Epics → Trigger Map & Personas
|
|
56
|
+
|
|
57
|
+
Using `{triggerMapTemplate}`:
|
|
58
|
+
|
|
59
|
+
- **Personas:** derive from PRD user segments. Use alliterative names per WDS convention (e.g. "Carla la Cajera"). One file each: `{design_artifacts}/B-Trigger-Map/NN-persona-<nombre>-<arquetipo>.md`.
|
|
60
|
+
- **Driving forces:** map each persona's positive forces (wishes, aspirations) and negative forces (fears, frustrations) from the PRD pains/gains and epic goals.
|
|
61
|
+
- **Awareness stage** per persona (Unaware → … → Most Aware) inferred from the product context.
|
|
62
|
+
- **Feature impact:** build `{design_artifacts}/B-Trigger-Map/feature-impact.md` cross-referencing each in-scope epic/feature × persona × driving force.
|
|
63
|
+
|
|
64
|
+
Write the main `{design_artifacts}/B-Trigger-Map/trigger-map.md`.
|
|
65
|
+
|
|
66
|
+
### 3. Seed Visual Foundation from UX Spec
|
|
67
|
+
|
|
68
|
+
Read `{base_ux_spec}` and the project-specific `ux-design-specification.md` (if found in step-01). Extract into a short note `{design_artifacts}/A-Product-Brief/visual-direction.md`:
|
|
69
|
+
- Color tokens (primary/secondary/tertiary scales)
|
|
70
|
+
- Typography (Inter), spacing scale, dark mode availability
|
|
71
|
+
- Component strategy summary (siesa-ui-kit first)
|
|
72
|
+
|
|
73
|
+
This note is what step-05 uses to keep prototypes brand-faithful.
|
|
74
|
+
|
|
75
|
+
### 4. Write the WDS Project Outline & Design Log
|
|
76
|
+
|
|
77
|
+
Create `{design_artifacts}/_progress/wds-project-outline.yaml` so Freya's activation recognizes the project:
|
|
78
|
+
|
|
79
|
+
```yaml
|
|
80
|
+
project_name: {project_name}
|
|
81
|
+
methodology_version: wds-v6
|
|
82
|
+
source: siesa-planning-bridge
|
|
83
|
+
phases:
|
|
84
|
+
"1-product-brief": complete
|
|
85
|
+
"2-trigger-map": complete
|
|
86
|
+
"3-ux-scenarios": pending
|
|
87
|
+
"4-ux-design": pending
|
|
88
|
+
scope: {scope from step-01}
|
|
89
|
+
siesa_uikit_package: {resolved package name}
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
Initialize `{design_artifacts}/_progress/00-design-log.md` with a "Current" table pointing to "Phase 3 — generar escenarios".
|
|
93
|
+
|
|
94
|
+
### 5. Review Gate (HALT)
|
|
95
|
+
|
|
96
|
+
Present a concise summary of the generated foundation (personas, driving forces, visual direction) and ask:
|
|
97
|
+
|
|
98
|
+
```
|
|
99
|
+
He construido la base estratégica WDS desde tu planning:
|
|
100
|
+
- Product Brief ✅ - Trigger Map + {n} personas ✅ - Dirección visual ✅
|
|
101
|
+
|
|
102
|
+
[C] Continuar al Kit Warm-up (grounding del UI kit real) y luego a escenarios
|
|
103
|
+
[E] Editar algo de la base antes de continuar
|
|
104
|
+
[X] Detener aquí (la base queda lista para usar /freya manualmente)
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
HALT. On `C`, update the design log and load+execute `{nextStepFile}` (Kit Warm-up — step-02b).
|
|
108
|
+
|
|
109
|
+
---
|
|
110
|
+
|
|
111
|
+
## 🚨 SUCCESS / FAILURE
|
|
112
|
+
|
|
113
|
+
✅ product-brief.md, trigger-map.md, personas, visual-direction.md y wds-project-outline.yaml creados, todos trazables al planning.
|
|
114
|
+
❌ Inventar personas/objetivos sin fuente; omitir el outline (Freya no reconocería el proyecto); escribir UI de ejemplo en inglés.
|