CJ_document-release

Automate document releases in a git repository with doc-spec.md contract compliance.

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/jcl2018/claude-skills-templates --skill cj-document-release
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: CJ_document-release
Source: https://github.com/jcl2018/claude-skills-templates/tree/main/skills/CJ_document-release
Command: npx skills add https://github.com/jcl2018/claude-skills-templates --skill cj-document-release

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires Bash, Read, Glob, Grep, Skill, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the document release process, ensuring that all documents are released in compliance with the specified contract and are consistent across the project.

Core Features & Use Cases

  • Doc-Spec.md Contract Enforcement: Ensures the doc-spec.md contract is followed, including self-bootstrapping a missing contract from the portable seed.
  • Doc Subset Filtering: Allows filtering of documents to be released based on a comma-separated list of document names.
  • Halt-on-Red Contract: Halts the release process if any errors are detected during the document audit.
  • Auto-Commit Doc-Only Changes: Automatically commits document changes after a successful release, ensuring that all changes are included in the next code commit.

Quick Start

Run the CJ_document-release skill to release all documents in the current repository.

Frequently Asked Questions about CJ_document-release

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

FAQPage Schema
How do I automate document release in a git repository?

Automating document release in a git repository involves validating files against a contract and committing changes. This skill reads the doc-spec.md contract, audits specified documents, halts on errors, and auto-commits document-only changes after a successful release.

How does doc-spec.md contract enforcement work for document audits?

Doc-spec.md contract enforcement works by reading the contract file to validate documents during release. If the contract is missing, the process self-heals by bootstrapping from a portable seed, ensuring compliance and consistency across the project before committing.

Can I release a specific subset of documents instead of the entire repository?

Yes, you can release a specific subset of documents by providing a comma-separated list of document names. The release process filters the documents based on this list, auditing and committing only the specified files if they pass the contract checks.

What happens if errors are detected during a document release audit?

If errors are detected during a document release audit, the process immediately halts. This halt-on-red mechanism prevents non-compliant documents from being committed, ensuring that only validated and consistent document changes are included in the repository.

Do I need Bash and Git tools to enforce document compliance?

Yes, you need Bash, Read, Glob, and Grep tools to enforce document compliance. The release process relies on these tools to read the doc-spec.md contract, search and filter files, and execute git commands to automatically commit document-only changes.