feat(ms-ai-architect): add plugin to open marketplace (v1.5.0 baseline)
Initial addition of ms-ai-architect plugin to the open-source marketplace. Private content excluded: orchestrator/ (Linear tooling), docs/utredning/ (client investigation), generated test reports and PDF export script. skill-gen tooling moved from orchestrator/ to scripts/skill-gen/. Security scan: WARNING (risk 20/100) — no secrets, no injection found. False positive fixed: added gitleaks:allow to Python variable reference in output-validation-grounding-verification.md line 109. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
a8d79e4484
commit
6a7632146e
490 changed files with 213249 additions and 2 deletions
55
plugins/ms-ai-architect/commands/export.md
Normal file
55
plugins/ms-ai-architect/commands/export.md
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
---
|
||||
name: architect:export
|
||||
description: Eksporter et arkitekturdokument til PDF
|
||||
argument-hint: "[filsti til markdown-dokument]"
|
||||
allowed-tools: Read, Glob, Bash, Write
|
||||
model: opus
|
||||
---
|
||||
|
||||
# /architect:export — Eksporter til PDF
|
||||
|
||||
Eksporter et markdown-dokument til profesjonell PDF med A4-layout, tabellformatering og fargekodet scoring.
|
||||
|
||||
## Språk og encoding
|
||||
|
||||
**VIKTIG:** Bruk norske tegn (æ, ø, å) korrekt i all output.
|
||||
|
||||
## Forutsetninger
|
||||
|
||||
Python 3.8+ med følgende pakker:
|
||||
```bash
|
||||
pip install markdown weasyprint
|
||||
```
|
||||
|
||||
## Prosess
|
||||
|
||||
### 1. Identifiser dokumentet
|
||||
|
||||
Hvis brukeren har angitt en filsti, bruk den direkte.
|
||||
|
||||
Hvis ikke, sjekk for nylig genererte dokumenter:
|
||||
- `docs/utredning/*.md` — Utredninger
|
||||
- `docs/dpia/*.md` — DPIA-rapporter
|
||||
- `docs/summary/*.md` — Sammendrag og beslutningsnotater
|
||||
|
||||
List tilgjengelige filer og la brukeren velge.
|
||||
|
||||
### 2. Eksporter til PDF
|
||||
|
||||
Kjør export-scriptet:
|
||||
|
||||
```bash
|
||||
python scripts/export-pdf.py <input.md> [output.pdf]
|
||||
```
|
||||
|
||||
Hvis output ikke er angitt, brukes samme filnavn med `.pdf`-endelse.
|
||||
|
||||
### 3. Bekreft
|
||||
|
||||
Vis filstørrelse og sti til generert PDF.
|
||||
|
||||
## Feilhåndtering
|
||||
|
||||
- Hvis `markdown` eller `weasyprint` ikke er installert, vis installasjonsinstruksjoner
|
||||
- Hvis inputfil ikke finnes, vis tilgjengelige dokumenter
|
||||
- Hvis PDF-generering feiler, vis feilmelding og foreslå feilsøking
|
||||
Loading…
Add table
Add a link
Reference in a new issue