kindlings-doc-maintenance

Test executable code snippets in Kindlings user guide markdown files.

68|7|Updated Nov 24, 2025
One-click install
npx skills add https://github.com/kubuszok/kindlings --skill kindlings-doc-maintenance
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kindlings-doc-maintenance
Source: https://github.com/kubuszok/kindlings/tree/main/docs/contributing/kindlings-doc-maintenance
Command: npx skills add https://github.com/kubuszok/kindlings --skill kindlings-doc-maintenance

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Writing and testing executable code snippets in the Kindlings user guide to keep documentation accurate and verifiable.

Core Features & Use Cases

  • Snippet testing with scala-cli-md-spec: CI validates docs/user-guide/**/*.md and runs the snippet tests defined in scripts/test-snippets.scala.
  • Output verification and template variables: deterministic outputs are checked with // expected output annotations, ensuring reliable documentation previews.
  • Local and CI workflow integration: provides guidance to run all snippet tests locally or as part of a CI pipeline.

Quick Start

Run the documentation snippet tests in docs/user-guide to verify deterministic outputs.

Frequently Asked Questions about kindlings-doc-maintenance

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I test executable code snippets in markdown documentation?

To test executable code snippets in markdown documentation, you can automate validation using scala-cli-md-spec to run snippet tests defined in scripts/test-snippets.scala, ensuring deterministic execution across CI and local runs.

How do I verify deterministic output for documentation code snippets?

Verifying deterministic output for documentation code snippets requires adding // expected output annotations inside your markdown files. This directive checks the actual snippet execution against the expected preview to ensure reliable documentation.

Can I run documentation snippet tests locally and in a CI pipeline?

Yes, you can run documentation snippet tests locally and in a CI pipeline. The testing workflow is designed to validate markdown files in docs/user-guide consistently across both environments using a reproducible test pipeline.

What is the best way to maintain executable code snippets in a user guide?

The best way to maintain executable code snippets in a user guide is to formalize the writing and testing process by applying automated verification directives and template variable handling, keeping documentation accurate and verifiable across updates.

Do I need scala-cli-md-spec to automate markdown snippet testing?

Yes, scala-cli-md-spec is required to automate markdown snippet testing. It provides the underlying testing workflow that validates files matching docs/user-guide/**/*.md and executes the snippet tests defined in your test scripts.

Why are my documentation code snippets failing in CI but passing locally?

Documentation code snippets failing in CI but passing locally often indicates a lack of output verification directives or unhandled template variables. Integrating deterministic output checks with // expected output annotations ensures reproducible test pipeline results.