mirror of
https://github.com/rsyslog/rsyslog.git
synced 2026-06-19 15:12:56 +02:00
Modernize the rsyslog contribution workflow for AI agents to improve policy compliance and reduce instruction verbosity. Impact: Repository-wide reduction in AGENTS.md bloat. Before: Fragmented and redundant procedural instructions in AGENTS.md. After: Modular skills in .agent/skills/ with streamlined subtree guides. This change encapsulates build, test, documentation, module authoring, and commit policies into reusable skills. It introduces: - A specialized AI memory lifecycle auditor. - A boilerplate snippets library. - The 'rsyslog_doc_dist' skill for doc/Makefile.am synchronization. - YAML frontmatter 'triggers' for automatic skill activation. The workflow is further optimized to skip redundant builds after stylistc code formatting, ensuring faster iteration for AI-led development. AI-Agent: Antigravity 2026-01
21 lines
886 B
Markdown
21 lines
886 B
Markdown
# AGENTS.md – Contrib modules subtree
|
||
|
||
These instructions apply to everything under `contrib/`.
|
||
|
||
## Workflow & Skills
|
||
|
||
AI agents working in `contrib/` MUST follow the standardized skills in `.agent/skills/`:
|
||
|
||
- **Build**: Use [`rsyslog_build`](../.agent/skills/rsyslog_build/SKILL.md) for incremental parallel builds.
|
||
- **Test**: Use [`rsyslog_test`](../.agent/skills/rsyslog_test/SKILL.md) for `diag.sh` based validation.
|
||
- **Doc**: Use [`rsyslog_doc`](../.agent/skills/rsyslog_doc/SKILL.md) for metadata and documentation.
|
||
- **Module**: Use [`rsyslog_module`](../.agent/skills/rsyslog_module/SKILL.md) for `MODULE_METADATA.yaml` requirements.
|
||
|
||
## Contrib Expectations
|
||
|
||
- Changes SHOULD preserve backward compatibility.
|
||
- Use `MODULE_METADATA.yaml` to document third-party dependencies and manual setup.
|
||
|
||
---
|
||
*For human-facing guidelines, see [CONTRIBUTING.md](../CONTRIBUTING.md).*
|