ci-pipeline
Skill0 starsChanged 6 months agoMITView on GitHub
Scaffolds a GitHub Actions CI pipeline tailored to the project's stack. Use when the user says "add CI", "set up GitHub Actions", "add a pipeline", "automate tests on push", or wants lint/test/build to run on every PR. Produces a cached, matrix-aware workflow.
4 other projects use a version of this.
Adopted by
Most recently taken up by
- viknesh20-20/claude-code-tool-kittheir own version, first seen May 2, 2026
- noah-sheldon/ai-dev-kittheir own version, first seen Apr 13, 2026
- zeon-kun/claude-skillstheir own version, first seen Apr 7, 2026
- vndee/engineering-skillstheir own version, first seen Mar 22, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- noah-sheldon/ai-dev-kit★ 13same name
- viknesh20-20/claude-code-tool-kit★ 7same name
- zeon-kun/claude-skills★ 6same name
- vndee/engineering-skills★ 3same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository5 other files it gives its agents.
- dockerizeSkill
- pr-readySkill
- tdd-loopSkill
- vertical-sliceSkill
- rust-cli-scaffoldSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 28
Add concurrency: to cancel superseded runs on the same ref.
- Distinctive: line 29
Use a matrix only when it earns its keep (multiple language/OS versions the project actually supports).
“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CI Pipeline
Generate a GitHub Actions workflow that runs the right checks on every push and PR, with dependency caching so it stays fast. A green check on the PR should mean "safe to merge."
Step 1 — Detect stack and existing tooling
Determine the language, package manager, and the actual lint/test/build commands the repo already uses (read package.json scripts, Makefile, justfile, Cargo.toml, pyproject.toml, go.mod). Reuse existing commands — don't invent new ones.
Step 2 — Write .github/workflows/ci.yml
Structure every pipeline as ordered jobs that fail fast:
- lint — formatter + linter in check mode (
prettier --check,eslint,ruff,cargo fmt --check+cargo clippy -- -D warnings,gofmt/golangci-lint). - test — the project's test command, with the suite required to pass.
- build — compile / bundle to prove the artifact is producible.
Apply these rules:
- Trigger on
pushto the default branch and onpull_request. - Cache dependencies with the official cache (e.g.
actions/setup-nodewithcache:,Swatinem/rust-cache,actions/setup-gocache, pip cache). - Pin action versions to a major tag (
actions/checkout@v4), never a floating branch. - Set
permissions:to least privilege (contents: readby default). - Add
concurrency:to cancel superseded runs on the same ref. - Use a matrix only when it earns its keep (multiple language/OS versions the project actually supports).
Reference shape (Rust)
name: CI
on:
push: { branches: [main] }
pull_request:
permissions:
contents: read
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with: { components: rustfmt, clippy }
- uses: Swatinem/rust-cache@v2
- run: cargo fmt --all -- --check
- run: cargo clippy --all-targets -- -D warnings
- run: cargo test --all
- run: cargo build --releaseTranslate the same lint → test → build spine to whatever stack you detected.
Step 3 — Offer extras (don't force)
Mention, but only add if the user wants them: a release workflow that builds cross-platform binaries on tag, dependency caching tuning, code coverage upload, and Dependabot config. Keep the core ci.yml lean.
Step 4 — Verify
Show the final workflow and explain what each job gates. Note any secret or permission the user must add in repo settings (e.g. for release uploads). Do not commit or push unless asked.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

