<< All versions
Skill v1.0.1
currentAutomated scan100/100attilaszasz/sdd-pilot/markdown-compression
+3 new
──Details
PublishedJune 28, 2026 at 10:42 AM
Content Hashsha256:fe55564141d50236...
Git SHA695603d188e2
Bump Typepatch
──Files
Files (1 file, 1.9 KB)
SKILL.md1.9 KBactive
SKILL.md · 55 lines · 1.9 KB
version: "1.0.1" name: markdown-compression description: "Safely compresses narrative Markdown using deterministic compaction plus validator checks. Only for allowlisted non-parser-sensitive artifacts."
Markdown Compression
Use this only for safe narrative Markdown. This is not a general rewrite tool.
Safe Targets
README.mddocs/**/*.mdspecs/<feature>/research.mdspecs/<feature>/analysis-report.mdspecs/<feature>/manual-test.md
Blocked Targets
project-instructions.md,AGENTS.md,CLAUDE.md- all workflow, agent, instruction, and wrapper Markdown under
.github/,.agents/,.claude/,.windsurf/,.opencode/,.codex/ specs/prd.md,specs/sad.md,specs/dod.md,specs/project-plan.md,specs/adrs/*.md,specs/plan/*.md- feature-workspace parser-sensitive artifacts:
spec.md,plan.md,tasks.md,qc-report.md,checklists/*.md,autopilot-log.md
Process
- Run
node scripts/compress-markdown.mjs --check <path>to confirm the path is allowlisted and validator-safe. - For preview only, run
node scripts/compress-markdown.mjs --stdout <path>. - To write the compressed file, run
node scripts/compress-markdown.mjs <path>. - The script creates
<name>.original.mdonce, then preserves it on later runs. - If validation fails, stop. Do not write partial output.
Validation Guarantees
The validator preserves these elements exactly:
- headings
- fenced code blocks
- inline code
- bare URLs and Markdown links
- requirement and task identifiers
- table rows
- checkbox lines
Compression Rules
- Trim filler and redundant phrasing only.
- Keep commands, paths, and structural lines exact.
- Prefer concise normal prose, not stylized shorthand, for persisted files.
Fallback
- If Node is unavailable, do not auto-compress.
- If the target is blocked, leave it unchanged and tighten the source workflow instructions instead.