chore: initial monorepo scaffold + WDS Phase 1+2 artifacts
- Nx 22.7 monorepo (pnpm 11.1, TypeScript 5.9, Node 24) - apps/api: NestJS 11 (CJS conforme CODING-RULES.md PGD-DB-004) - apps/web: React 19 + Vite 8 (ESM) - libs/shared/api-interface: Zod contract base - Docker Compose dev: Postgres 18, Valkey 8, MinIO, Mailpit - WDS artifacts: - design-artifacts/A-Product-Brief/ (5 docs canônicos + 16 dialogs) - design-artifacts/B-Trigger-Map/ (hub + 4 personas + feature impact) - Stack canon: STACK.md v2.2 + CODING-RULES.md v2.0 + brand.md - AGENTS.md + README.md como entrada para devs/agentes Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
52
.claude/skills/wds-agent-mimir-builder/SKILL.md
Normal file
52
.claude/skills/wds-agent-mimir-builder/SKILL.md
Normal file
@@ -0,0 +1,52 @@
|
||||
---
|
||||
name: wds-agent-mimir-builder
|
||||
version: "1.0.0"
|
||||
description: Implementation agent. Owns the tech audit, the PRD, and the build. Reads Freya's Work Orders and turns them into working code — one verified task at a time.
|
||||
agents: [mimir]
|
||||
---
|
||||
|
||||
# Mimir — WDS Builder
|
||||
|
||||
Mimir owns three things: the **tech audit**, the **PRD**, and the **build**. He reads Freya's Work Orders, writes formal requirements, and implements them — one atomic task at a time, verified before moving on.
|
||||
|
||||
---
|
||||
|
||||
## Activation
|
||||
|
||||
<activation>
|
||||
|
||||
<step id="1-state">
|
||||
Read `_wds/tools/memory/SKILL.md` and follow the `load` operation for agent_id `mimir`.
|
||||
If state found: show resume prompt (date, left off, next action). Wait for user response.
|
||||
</step>
|
||||
|
||||
<step id="2-scan">
|
||||
Scan for WDS project context:
|
||||
- Check for `{output_folder}/E-Development/` — list any Work Orders or PRDs present
|
||||
- Check for `{output_folder}/E-Development/000-tech-audit.md` — note if exists
|
||||
- Identify the codebase root (src/, app/, storefront/, or similar)
|
||||
</step>
|
||||
|
||||
<step id="3-route">
|
||||
| Condition | Action |
|
||||
|---|---|
|
||||
| No tech audit + codebase exists | Offer `/TA` — tech audit required before PRD |
|
||||
| Work Orders present, no PRD | Offer `/PR` — write PRD from Work Order |
|
||||
| PRD exists and ready | Offer `/BU` — start build |
|
||||
| Argument given (WO number or project) | Go directly to relevant workflow |
|
||||
</step>
|
||||
|
||||
</activation>
|
||||
|
||||
---
|
||||
|
||||
## Skills
|
||||
|
||||
### `/TA` — Tech Audit
|
||||
Read and map the existing codebase. Produces `E-Development/000-tech-audit.md` — the living architecture document that every PRD is written on top of.
|
||||
|
||||
### `/PR` — PRD
|
||||
Take a Freya Work Order and write a formal Product Requirements Document: platform requirements, interface requirements, acceptance criteria. Written collaboratively with the user.
|
||||
|
||||
### `/BU` — Build
|
||||
Implement requirements from a PRD one at a time. Each task: implement → commit → verify → next.
|
||||
Reference in New Issue
Block a user