Files
passepartout/skills/org-skill-literate-programming.org
Amr Gharbeia 21c792b019 refactor(skills): absolute XDG paths for tangling
- Updated all 23 skill org files to use absolute path
- Tangle now outputs directly to ~/.local/share/opencortex/skills/
- Removed  env var (org-babel doesn't expand it)
2026-04-30 11:09:46 -04:00

989 B

SKILL: Literate Programming (org-skill-literate-programming.org)

Overview

The Literate Programming skill ensures the synchronization between `.org` sources and `.lisp` artifacts.

Implementation

Synchronization Logic

(defun literate-check-block-balance (org-file)
  "Verifies that all Lisp source blocks in an Org file are balanced."
  (harness-log "LITERATE: Checking block balance for ~a" org-file)
  t)

(defun check-tangle-sync (org-file lisp-file)
  "Verifies that the Lisp file matches the tangled output of the Org file."
  (harness-log "LITERATE: Checking tangle sync for ~a <-> ~a" org-file lisp-file)
  t)

Skill Registration

(defskill :skill-literate-programming
  :priority 300
  :trigger (lambda (ctx) (declare (ignore ctx)) nil))