Red Hat packages Testing Farm onboarding as a Claude Code skill
The workflow generates TMT metadata and CI definitions for GitHub or GitLab, while keeping linting and human review as explicit gates.
Red Hat has published a Claude Code skill for onboarding repositories to Testing Farm, turning a set of repetitive CI tasks into an interactive workflow. The skill inspects an existing repository, collects the missing deployment choices and generates Test Management Tool metadata plus a GitHub Actions or GitLab CI definition.
The result is a useful example of where a coding agent can remove scaffolding without becoming the final authority on a pipeline. The generated files are meant to be linted and reviewed before they are committed.
What the agent generates
The workflow supports repositories on public GitHub, GitLab and Red Hat’s internal GitLab. It guides the developer through Testing Farm API access, target operating-system composes, test triggers and TMT/Flexible Metadata Format configuration.
In Red Hat’s example, the agent examines an existing Python repository with tox tests, asks for the Git host, trigger events and Fedora target, then creates .fmf test and plan metadata and a GitHub Actions workflow. It can also detect pytest or custom shell-based tests and prompt when credentials or repository details are missing.
The implementation is distributed through the sclorg/ai-agents repository. Developers can link the skill into a project or user-level Claude Code skills directory, then run the testing-farm-onboarding workflow interactively or invoke it through a direct prompt.
The review boundary matters
The procedure does not ask teams to trust generated CI configuration blindly. Red Hat’s guide ends with tmt lint checks for both plans and individual tests, followed by inspection of the generated files before a commit. That boundary is especially important because the workflow collects an API token and writes automation that can run on pull requests, pushes or manual dispatch.
Teams adopting the pattern should preserve the same separation: let the agent infer test metadata and produce boilerplate, but keep secrets outside generated files, inspect event permissions and runner behavior, and require native tooling to validate the result.
A reusable platform-engineering pattern
The broader lesson is that agent skills can encode a paved road without hiding the underlying platform. The Testing Farm skill narrows a multi-step onboarding process into a conversation, but leaves behind ordinary TMT files and CI YAML that maintainers can read, diff and operate without the agent.
That makes the approach more portable than a closed orchestration layer. Platform teams can use the same structure for other onboarding jobs: detect the repository’s current state, ask only for decisions that cannot be inferred, generate standard artifacts, and finish with deterministic validation plus human review.
sources
- Onboard your repository to Testing Farm with Claude Codedevelopers.redhat.com
- sclorg/ai-agentsgithub.com
comments · 0