Skip to main content

SUMD - Structured Unified Markdown Descriptor for AI-aware project documentation

Project description

SUMD

AI Cost Tracking

AI Cost AI Model

This project uses AI-generated code. Total cost: $1.2000 with 8 AI commits.

Generated on 2026-04-18 using openrouter/qwen/qwen3-coder-next


SUMD is a semantic project descriptor format in Markdown that defines intent, structure, execution entry points, and mental model of a system for both humans and LLMs.

What is SUMD?

SUMD (Structured Unified Markdown Descriptor) is a lightweight structured markdown format for AI-aware project descriptions. It serves as a single source of truth for project documentation, optimized for both human readability and LLM context injection.

Purpose

  • Project descriptor: Defines API, CLI, workflows, endpoints, and system architecture
  • AI-optimized: Structured for LLM consumption and automation tools
  • Lightweight manifest: Bridges the gap between README, spec, and configuration files
  • Context injection: Provides structured context for AI agents and tools

Use Cases

  • Project documentation and specification
  • Input for LLM context injection
  • CI/CD workflow descriptions
  • API and CLI mapping
  • Structural project manifest

Installation

pip install sumd

Usage

CLI Commands

# Validate a SUMD document
sumd validate SUMD.md

# Display information about a SUMD document
sumd info SUMD.md

# Export SUMD to different formats
sumd export SUMD.md --format json --output sumd.json
sumd export SUMD.md --format yaml --output sumd.yaml
sumd export SUMD.md --format toml --output sumd.toml
sumd export SUMD.md --format markdown --output sumd.md

# Generate SUMD from structured format
sumd generate sumd.json --format json --output SUMD.md
sumd generate sumd.yaml --format yaml --output SUMD.md
sumd generate sumd.toml --format toml --output SUMD.md

# Extract specific section
sumd extract SUMD.md --section intent

Python API

from sumd import parse, parse_file, validate

# Parse SUMD from string
document = parse(content)

# Parse SUMD from file
document = parse_file("SUMD.md")

# Validate SUMD document
errors = validate(document)
if errors:
    print("Validation errors:", errors)
else:
    print("SUMD document is valid")

Ecosystem Architecture

SUMD is part of a three-layer system:

┌─────────────────────────────────────────────────────────────┐
│                     SUMD (opis)                              │
│              Structured Unified Markdown Descriptor          │
│         Project description, intent, architecture            │
└─────────────────────────────────────────────────────────────┘
                              ↓
┌─────────────────────────────────────────────────────────────┐
│                    DOQL (wykonanie)                          │
│              Declarative Object Query Language               │
│              Data manipulation and execution                 │
└─────────────────────────────────────────────────────────────┘
                              ↓
┌─────────────────────────────────────────────────────────────┐
│                  Taskfile (runtime)                          │
│              Task runner and workflow execution              │
│              Automation and orchestration                   │
└─────────────────────────────────────────────────────────────┘
  • SUMD → opis (description): Defines what the system is and how it should work
  • DOQL → wykonanie (execution): Provides the language to manipulate and execute operations
  • Taskfile → runtime: Manages the actual execution of workflows and tasks

License

Licensed under Apache-2.0.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sumd-0.1.13.tar.gz (24.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sumd-0.1.13-py3-none-any.whl (23.4 kB view details)

Uploaded Python 3

File details

Details for the file sumd-0.1.13.tar.gz.

File metadata

  • Download URL: sumd-0.1.13.tar.gz
  • Upload date:
  • Size: 24.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for sumd-0.1.13.tar.gz
Algorithm Hash digest
SHA256 9abe8919a12ceb8337d31909776846ab5f8d5a5c3f370c76d5bfeae4a06f2d30
MD5 a892241158f8e28365e78a6c57843f04
BLAKE2b-256 5fab25ce2d22ac5007876f427f541ff239a2633d7a7f8e0a82b7eea35315d5f8

See more details on using hashes here.

File details

Details for the file sumd-0.1.13-py3-none-any.whl.

File metadata

  • Download URL: sumd-0.1.13-py3-none-any.whl
  • Upload date:
  • Size: 23.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for sumd-0.1.13-py3-none-any.whl
Algorithm Hash digest
SHA256 f0d28c6996762b18f9fa20ca3e05f412a327fa871b17d08d3e73e7dfe943201a
MD5 4ac580482e195152c9dbc73ee8fc7386
BLAKE2b-256 e1c58cbf6a0fc8f5410ba3cda4f7344fe262d3d3e28ef8031301b18a51b85744

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page