RS

rsyslog-doc-dist

Synchronizes documentation source files with the build system to ensure correct distribution.

Install

mkdir -p .claude/skills/rsyslog-doc-dist && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/3787" && unzip -o skill.zip -d .claude/skills/rsyslog-doc-dist && rm skill.zip

Installs to .claude/skills/rsyslog-doc-dist

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Ensures doc/Makefile.am stays in sync with changes to documentation files.
74 charsno explicit “when” trigger
Intermediate

Key capabilities

  • Synchronizes Makefile.am extra dist entries
  • Automates distribution integrity checks
  • Validates package-ability of new docs
  • Verifies doc build environment

How it works

It triggers a script to execute build-system verification, unpacking a temporary tarball to validate that doc files are included and buildable.

Inputs & outputs

You give it
File addition or move operation
You get back
Updated Makefile.am and distribution verification log

When to use rsyslog-doc-dist

  • Adding documentation files
  • Updating build system for docs
  • Running distribution checks

About this skill

rsyslog_doc_dist

This skill ensures that all documentation files are correctly registered for distribution in the build system.

Quick Start

  1. Add File: If you add a *.rst file in doc/source/, add it to EXTRA_DIST in doc/Makefile.am.
  2. Move/Rename: If you move or rename a file, update the corresponding path in doc/Makefile.am.
  3. Remove: If you delete a file, remove its entry from doc/Makefile.am.

Detailed Instructions

1. The EXTRA_DIST Guard

The rsyslog distribution tarball is created using make dist. For documentation to be included, every source file must be listed in the EXTRA_DIST variable within doc/Makefile.am.

2. Synchronization Rule

Whenever you perform a filesystem operation on documentation:

  • Addition: Insert the new path (relative to doc/) into the EXTRA_DIST list. Try to maintain the existing logical grouping (e.g., source/configuration/modules/).
  • Renaming/Moving: Locate the old path in doc/Makefile.am and replace it with the new one.
  • Deletion: Locate and remove the entry to avoid build failures during make dist.

3. Extended Verification (Automated)

For changes involving file additions, moves, or deletions, you MUST run the extended distribution check. This ensures that the documentation is correctly packaged in the source tarball and can be built from it.

Command:

bash .agent/skills/rsyslog_doc_dist/scripts/check-doc-dist.sh

This script will:

  1. Parse the project version.
  2. Run make dist.
  3. Unpack the distribution in a temporary directory.
  4. Run autoreconf -fvi && ./configure.sh (special case).
  5. Verify make html in the distribution.
  6. Clean up temporary files.

Related Skills

  • rsyslog_doc: For documentation content and metadata standards.
  • rsyslog_build: For verifying that the build system (including Makefile.am) is still functional after changes.

When not to use it

  • Content-only documentation updates
  • Non-Makefile based projects

Prerequisites

Make utilityRsyslog repository structure

Limitations

  • Requires shell access for verification
  • Specific to rsyslog build structure

How it compares

It ensures the build-time distribution of files, preventing missing-doc errors during compilation.

Compared to similar skills

rsyslog-doc-dist side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
rsyslog-doc-dist (this skill)16moReviewIntermediate
codex-cli-bridge99moReviewIntermediate
bazel-build-optimization142moNo flagsAdvanced
skill-forge119moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry