AI Decision System
Replayable, offline-verifiable records for AI-assisted go/no-go decisions: experiment promotions, typed model answers and human-approved actions.
翻译准备中
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证正在加载完整 README。 以下为已保存的摘录。
Slide Writing is a self-built, zero-dependency PowerPoint engine for automated
consulting-deck creation. It reads .pptx templates as Office Open XML
packages, extracts their design model, and writes new slides that reuse the
original masters, layouts, theme colors, fonts, and placeholders.
The goal is simple: turn structured content into editable, CI-consistent
PowerPoint slides without python-pptx, without pip install, and without
opening PowerPoint.查看完整 README ↗Slide Writing is a self-built, zero-dependency PowerPoint engine for automated
consulting-deck creation. It reads .pptx templates as Office Open XML
packages, extracts their design model, and writes new slides that reuse the
original masters, layouts, theme colors, fonts, and placeholders.
The goal is simple: turn structured content into editable, CI-consistent
PowerPoint slides without python-pptx, without pip install, and without
opening PowerPoint.
The browser tool (docs/index.html) accepts PDF uploads in addition to
.pptx. Each PDF page is analysed client-side with a vendored copy of
pdf.js (docs/vendor/, no server, no API)
and rebuilt into native, editable PowerPoint slides — then shown in the same
preview and exported as .pptx exactly like an uploaded deck:
prstGeom rectangles, custGeom freeform paths).a:tbl), reconstructed from the page's
ruling lines and cell text.c:barChart / c:lineChart) with a
reconstructed category/value data table (bar height ↔ axis-tick scale).The PDF is synthesised into the same in-memory OOXML package an uploaded .pptx
produces, so analysis, SVG preview, and .pptx export all reuse the existing
pipeline.
This is a V1 engineering baseline:
slidewriting/ contains the PPTX parser, model, builder, writer, component
library, JSON spec renderer, and CLI.tests/ contains unit and end-to-end tests using unittest.examples/consulting_deck.json is a ready-to-run consulting demo spec.docs/ZIELBILD.md describes the product vision in German.ARCHITECTURE.md documents the internal module contracts and OOXML rules.Run the package directly from the repository root:
python3 -m slidewriting bootstrap --out out/template.pptx
python3 -m slidewriting inspect out/template.pptx
python3 -m slidewriting validate examples/consulting_deck.json
python3 -m slidewriting demo --out out/showcase.pptx
python3 -m slidewriting generate --spec examples/consulting_deck.json --out out/demo.pptx
After installation, use the branded CLI command:
slide-writing generate --spec examples/consulting_deck.json --out out/demo.pptx
Use an existing corporate PowerPoint master as the design source:
python3 -m slidewriting generate \
--template path/to/company-master.pptx \
--spec examples/consulting_deck.json \
--out out/company-demo.pptx
from slidewriting import Deck, build_from_spec
deck = Deck.create(accent="206EFB")
slide = deck.add_slide("obj")
slide.title("Market analysis 2026")
slide.placeholder("body").bullets([
"Demand is shifting toward automated delivery.",
{"text": "Template fidelity remains non-negotiable.", "level": 1},
])
deck.save("out/manual-api-demo.pptx")
spec_deck = build_from_spec({
"title": "Generated strategy deck",
"slides": [
{"type": "title", "title": "Strategy 2026"},
{"type": "agenda", "items": ["Context", "Options", "Roadmap"]},
],
})
spec_deck.save("out/spec-demo.pptx")
The consulting components are also available as an explicit module API:
from slidewriting.components import add_agenda, add_kpi_row, add_waterfall
Slide Writing currently supports:
titlesectionbulletsagendakpitablewaterfallbarstimelinecomparisonblankUnknown JSON keys are ignored for forward compatibility. Invalid required
fields are reported with slide indexes by slide-writing validate.
python3 -m unittest discover -s tests -v