askill
jd-docs

jd-docsSafety 90Repository

Scaffold, validate, and maintain Johnny.Decimal documentation structure for software projects. Use when user mentions "Johnny Decimal", "J.D docs", "docs structure", "organize docs", "documentation layout", "scaffold docs", "docs migration", "generate index", "docs index", editing files in numbered directories (00-*, 10-*, 20-*), or discussing documentation organization.

9 stars
1.2k downloads
Updated 3/23/2026

Package Files

Loading files...
SKILL.md

Johnny.Decimal Documentation

Scaffold, validate, and maintain Johnny.Decimal documentation structure with sensible defaults and per-project customization.

Quick Start

# Scaffold a new structure
uv run scripts/jd_init.py --dry-run   # Preview first
uv run scripts/jd_init.py             # Create docs/ with defaults

# Validate existing structure
uv run scripts/jd_validate.py --dir docs

# Regenerate README index
uv run scripts/jd_index.py --dir docs

See WORKFLOW.md for the full six-phase methodology.

Capabilities

  • Scaffolding (jd_init.py) — Create J.D directory tree with README templates; supports --product for monorepo sub-trees and --init-config to generate .jd-config.json
  • Validation (jd_validate.py) — Check NN-kebab-case naming, detect orphan files, verify README presence per area; --strict for CI enforcement
  • Index generation (jd_index.py) — Generate/update root README with table or tree index; preserves custom content via <!-- JD:INDEX:START/END --> markers
  • Migration (Claude-driven) — Classify flat docs into J.D areas using naming heuristics, present a move plan, execute interactively

Default Area Scheme

PrefixNamePurpose
00-getting-startedOnboarding, setup, quick start, MVP
10-productSpecs, features, roadmap, design, branding
20-architectureTech decisions, system design, integration
30-researchSpikes, investigations, reference material
90-archiveHistorical/deprecated docs

Gap at 40-80 reserved for per-project customization (e.g., 40-operations).

Config File (.jd-config.json)

Optional per-project override at project root:

{
  "version": 1,
  "root": "docs",
  "areas": { "00": "getting-started", "10": "product", "20": "architecture", "30": "research", "90": "archive" },
  "products": [],
  "ignore": ["adr", "*.pdf"],
  "readme_format": "table"
}

Create with uv run scripts/jd_init.py --init-config. All fields have sensible defaults.

Common Issues

IssueFix
uv not foundcurl -LsSf https://astral.sh/uv/install.sh | sh or run with python3 scripts/jd_init.py
Orphan files in validationMove to area dir, or add to "ignore" in .jd-config.json
Index appended at wrong positionMove <!-- JD:INDEX:START/END --> markers to desired location after first run

See TROUBLESHOOTING.md for all 10 error scenarios.

References

  • WORKFLOW.md — Six-phase methodology (discovery, config, scaffold, validate, index, migrate)
  • EXAMPLES.md — Real-world examples for all six operations
  • TROUBLESHOOTING.md — Error handling and debugging tips

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

80/100Analyzed 3/1/2026

Well-structured skill for Johnny.Decimal documentation management with clear triggers, executable commands, and comprehensive coverage of scaffolding, validation, indexing, and migration. Contains practical troubleshooting and references to detailed workflow docs. Slightly reduced reusability due to dependency on repo-specific Python scripts and documentation files, but the core methodology is generally applicable. Good balance of actionability and completeness."

90
85
55
85
85

Metadata

Licenseunknown
Version-
Updated3/23/2026
Publisherjoaquimscosta

Tags

ci-cdgithub-actionsllm