Skip to content

K-Dense-AI/scientific-agent-skills / skills/pptx-posters

pptx-posters

Verified

Creates and audits editable scientific posters in macro-free PowerPoint (.pptx) from author-approved local content and assets. Used when the requested deliverable is a PowerPoint research/conference poster and exact physical, printer, accessibility, provenance, and package-security checks are required.

scripts/validate_manifest.py

View on GitHub
#!/usr/bin/env python3
"""Validate a fail-closed, author-approved local poster manifest."""

from __future__ import annotations

import argparse
import sys

from _common import CliError, emit_json
from _manifest import load_and_validate_manifest


def build_parser() -> argparse.ArgumentParser:
    parser = argparse.ArgumentParser(
        description=(
            "Validate strict poster JSON, exact source IDs, local asset hashes, "
            "layout bounds, output requirements, and approval binding. No network "
            "is used."
        )
    )
    parser.add_argument("manifest", help="local poster manifest JSON")
    parser.add_argument(
        "--structure-only",
        action="store_true",
        help="validate asset paths syntactically without reading or hashing assets",
    )
    parser.add_argument(
        "--print-content-hash",
        action="store_true",
        help=(
            "allow draft approval and report the hash an author must approve; "
            "all other validation still runs"
        ),
    )
    parser.add_argument("--output", help="optional new JSON report path")
    return parser


def main(argv: list[str] | None = None) -> int:
    parser = build_parser()
    try:
        args = parser.parse_args(argv)
        _, _, report = load_and_validate_manifest(
            args.manifest,
            verify_assets=not args.structure_only,
            require_approval=not args.print_content_hash,
        )
        emit_json(report, output=args.output)
        return 0
    except CliError as exc:
        parser.exit(2, f"error: {exc}\n")


if __name__ == "__main__":
    sys.exit(main())
rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 194kUpdated Claude CodeCodexVerifiedInstall