rfxn/rdf/r-util-ci-gen

Claude Code and agent skill by rfxn/rdf

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Generate a GitHub Actions CI workflow from the project's test

Install

npx vskill@latest install rfxn/rdf/r-util-ci-gen

SKILL.md

The same SKILL.md was published earlier as rfxn/rdf/r-util-ci-gen.

Generate a GitHub Actions CI workflow from the project's test infrastructure. Creates workflow files for user review — does NOT commit.

Arguments

  • $ARGUMENTS — optional: --update to update existing workflow

Setup

Read .rdf/governance/index.md to identify:

  • Project name and root directory
  • Test infrastructure details (from governance/verification.md)
  • Target OS matrix (from governance/reference/ if available)

Procedure

1. Detect test infrastructure

Scan the project for:

Test framework:

  • Check for test submodule (e.g., tests/infra/)
  • Read version file if present
  • Identify test runner (BATS, pytest, jest, etc.)

Build/run targets:

  • Read tests/Makefile or equivalent
  • Extract available targets and their OS mappings
  • Identify Docker image names and Dockerfile paths

Dockerfile variants:

  • Scan tests/ for Dockerfile* files
  • Map each to its OS target
  • Extract base images and required packages

Test files:

  • Count test files and estimate test count
2. Generate workflow

Create .github/workflows/ci.yml with:

  • Lint job (syntax check + linter appropriate to language)
  • Primary test job (default OS target)
  • Secondary test jobs (additional OS targets from infrastructure)
  • Conditional matrix job for full OS coverage (manual dispatch)

Use actions/checkout@v4 with submodules: recursive if submodules detected. Pin action versions to specific tags. Include proper permissions block (principle of least privilege).

3. Handle --update flag

If --update is specified:

  • Read existing .github/workflows/ci.yml
  • Compare detected infrastructure against existing workflow
  • Show diff of proposed changes
  • Update with new targets while preserving custom additions
4. Report

Display the results using structured formatting:

### CI Setup — {project}
#### Detected Infrastructure
| Component | Value |
|-----------|-------|
| **Test framework** | `{name}` v`{version}` |
| **Build targets** | `{target1}`, `{target2}`, ... |
| **Dockerfiles** | {N} ({OS list}) |
| **Test files** | {N} |
| **Estimated tests** | {N} |
#### Generated
Workflow written to `.github/workflows/ci.yml`

Show workflow jobs as a table:

| Job | OS Target | Trigger |
|-----|-----------|---------|
| `lint` | — | push, PR |
| `test-debian12` | Debian 12 | push, PR |
| `test-rocky9` | Rocky 9 | push, PR |
| `test-matrix` | all targets | `workflow_dispatch` |

If --update was used, show the diff summary in a blockquote:

> **Update Summary**
> - Added: `{new targets}`
> - Removed: `{removed targets}`
> - Preserved: {N} custom additions

End with a task list for next steps:

#### Next Steps
- [ ] Review the generated workflow
- [ ] Test locally if possible
- [ ] Commit when satisfied

Rules

  • Does NOT commit — generates files for user review only
  • Does NOT push — leave that to the user
  • Create .github/workflows/ directory if it doesn't exist
  • If workflow already exists and --update not specified, warn and ask

before overwriting

  • Pin action versions to specific tags, not @main or @latest
  • Include proper permissions block (principle of least privilege)

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/rfxn/rdf/r-util-ci-gen/badge)](https://verified-skill.com/skills/rfxn/rdf/r-util-ci-gen)

Something wrong with this skill or its page? Tell us.