Skip to content
Back to skills

Sync Md Json

ASecurity

Use on \"sync index\", \"sync md-json\", \"sync to md\", \"sync to json\", or when index.json and index.md must match. Syncs a .json source of truth to its .md view (or back) with safe overwrite, keeping non-data markdown sections and ISO dates; JSON always wins, never merged.

  • 7 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 29, 2026
ai-agentsgo

Security analysis

A100/100

Scanned November 9, 2026

npx -y skills add Tekkiiiii/the-agency --skill sync-md-json --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Sync Md Json?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Sync Md Json
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tekkiiiii-sync-md-json/badge)](https://www.skillsdirectory.com/skills/tekkiiiii-sync-md-json)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: sync-md-json
description: "Use on \"sync index\", \"sync md-json\", \"sync to md\", \"sync to json\", or when index.json and index.md must match. Syncs a .json source of truth to its .md view (or back) with safe overwrite, keeping non-data markdown sections and ISO dates; JSON always wins, never merged."
---

# Sync MD-JSON

Syncs data between `.json` (source of truth) and `.md` (human-readable) files.
JSON is primary. On command, the target format overwrites with data from source.

## When Invoked

- User says "sync index" / "sync md-json" / "sync to md" / "sync to json"
- On-demand project status requested (sync status to JSON for compact storage)
- Any time you need to ensure both formats are in sync

## Sync Direction

**JSON → MD (default, most common):**
1. Read the `.json` file
2. Generate a readable Markdown table from it
3. Overwrite the `.md` file with the new content
4. Preserve any non-data sections (e.g., section headers, footnotes)

**MD → JSON (use when JSON is stale):**
1. Parse the Markdown table into structured data
2. Overwrite the `.json` file with the new data
3. Preserve schema fields not present in the Markdown

## Index File Conventions

Source of truth: `{project-root}/projects/index.json`
Derived: `{project-root}/projects/index.md`

Schema:
```json
{
  "version": 1,
  "updated": "YYYY-MM-DD",
  "pdInboxRoot": "path/to/inboxes/{team}/{pd-name}.json",
  "projects": [
    {
      "name": "string",
      "pd": "string|null",
      "path": "string|null",
      "stack": ["string"],
      "purpose": "string",
      "aliases": ["string"]
    }
  ]
}
```

## Markdown Output Format

Always use a table with these columns:
```
| Project | PD | Path | Stack | Purpose |
```

Archived entries go under `### Archived` section, not in the table.

## Key Rules

- JSON is the **authoritative source** — always prefer JSON for reads
- Only overwrite the target file, never merge and keep both
- Preserve `version` and `updated` fields on every JSON write
- Use ISO date format (YYYY-MM-DD) for all dates

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.