RS

rsyslog-build

Standardizes environment setup and high-performance incremental building for the rsyslog project.

Install

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

Installs to .claude/skills/rsyslog-build

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.

Handles environment setup and high-performance incremental building for rsyslog.
80 charsno explicit “when” trigger
Intermediate

Key capabilities

  • Execute setup script for CI-standard dependencies
  • Run incremental compilation using make -j
  • Trigger autogen.sh for Makefile regeneration
  • Manage environment variables for module flags

How it works

It wraps specific shell scripts and Makefile execution targets to bypass full test suite overhead during iteration.

Inputs & outputs

You give it
Build flags or command arguments
You get back
Compiled binary or Makefile artifact

When to use rsyslog-build

  • Setup rsyslog build environment
  • Run incremental rsyslog builds
  • Execute autogen.sh for configuration
  • Debug build issues in rsyslog

About this skill

rsyslog_build

This skill standardizes the environment setup and build process for the rsyslog project. It ensures that agents use the most efficient build commands and handle bootstrap logic correctly.

Quick Start

  1. Setup Environment: Run .agent/skills/rsyslog_build/scripts/setup.sh to install dependencies.
  2. Efficient Build: Use make -j$(nproc) check TESTS="" for incremental builds.
  3. Bootstrap: Use ./autogen.sh --enable-debug [options] if Makefile is missing or build configuration changes.

Detailed Instructions

1. Environment Setup

The project requires a set of development libraries (C toolchain, libcurl, libfastjson, etc.).

  • Use the provided script: bash .agent/skills/rsyslog_build/scripts/setup.sh
  • This script wraps devtools/codex-setup.sh and ensures all CI-standard tools are present.

2. Bootstrapping (autogen.sh)

You MUST run ./autogen.sh in the following cases:

  • After a fresh checkout (no Makefile exists).
  • If you modify configure.ac, any Makefile.am, or files under m4/.
  • If you need to enable/disable specific modules (e.g., --enable-imkafka).

Example:

./autogen.sh --enable-debug --enable-testbench --enable-imdiag --enable-omstdout

3. High-Performance Build

Always prefer the incremental build-only command. It builds the core and all test dependencies without the overhead of running the full test suite.

Command:

make -j$(nproc) check TESTS=""

4. Runtime & Library Considerations

When modifying runtime/ or exported symbols:

  • Ensure the library version script (if touched) is consistent.
  • Incremental builds handle -M../runtime/.libs correctly for dynamic loading.

Related Skills

  • rsyslog_test: For running validations after a successful build.
  • rsyslog_module: For module-specific build flags.

When not to use it

  • General C++ library dependency resolution
  • Non-rsyslog related builds

Prerequisites

C toolchainlibcurllibfastjson

Limitations

  • Requires Linux environment
  • Must be run from project root

How it compares

It automates the specific dependency and bootstrap sequence required by the rsyslog build system rather than generic make commands.

Compared to similar skills

rsyslog-build side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
rsyslog-build (this skill)26moReviewIntermediate
applescript288moReviewAdvanced
bazel-build-optimization142moNo flagsAdvanced
home-assistant-manager98moReviewAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry