maintain-ci
Skill73 starsChanged 59 days agoApache-2.0View on GitHub
Maintain and review NeMo Fabric GitHub Actions workflows with minimum permissions, pinned action SHAs, deterministic caching, lockfile-backed tools, and local validation
2 other projects use a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- IndrajeetPatil/ggstatsplottheir own version, first seen Oct 17, 2026
- NVIDIA/NeMo-Relayedited, first seen Sep 8, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 1
- NVIDIA/NeMo-Relay★ 23856% same
Wrote their own version · 1
- IndrajeetPatil/ggstatsplot★ 2.2ksame 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 repository25 other files it gives its agents.
- AGENTS.mdAGENTS.md
- check-release-deploymentsSkill
- contribute-adapterSkill
- contribute-apiSkill
- contribute-docsSkill
- create-beta-tagSkill
- create-rc-tagSkill
- create-release-tagSkill
- draft-release-notesSkill
- karpathy-guidelinesSkill
- maintain-packagingSkill
- prepare-code-freezeSkill
- prepare-prSkill
- python-testsSkill
- qualify-harborSkill
- review-doc-styleSkill
- small-fixSkill
- update-project-versionSkill
- validate-changeSkill
- code-reviewSkill
- swebench-debuggingSkill
- nemo-fabric-build-adapterSkill
- nemo-fabric-integrateSkill
- alternateSkill
- defaultSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
18 rules. About 0 are common, 9 are distinctive, and 9 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 13
Use karpathy-guidelines alongside this skill for implementation or review work.
- Very specific: line 17
Use this skill when a change touches .github/workflows/*.yml or .github/workflows/*.yaml, or when reviewing CI behavior for security, …
- Very specific: line 23
Put permissions: on each job that needs token access.
- Distinctive: line 24
Avoid workflow-level permissions unless the repository intentionally centralizes them and the inheritance tradeoff is documented.
- Distinctive: line 26
Keep third-party actions pinned to full commit SHAs and preserve the readable version comment after the SHA.
- Very specific: line 28
Prefer action-native or ecosystem-native caching over generic actions/cache.
- Distinctive: line 30
Use lockfiles or dependency manifests to drive cache invalidation.
- Distinctive: line 31
Keep deploy and publish permissions isolated to the jobs that need them.
- Very specific: line 36
Read both caller and callee when a workflow uses workflow_call.
- Distinctive: line 37
Keep documentation publish and preview credentials isolated to the Fern docs workflow.
- Very specific: line 39
Keep local commands aligned with the corresponding justfile recipes when they provide equivalent behavior.
- Very specific: line 41
Keep tag filters, prerelease normalization, and publication behavior aligned with RELEASING.md.
- Very specific: line 59
Prefer astral-sh/setup-uv cache support with cache-dependency-glob anchored to uv.lock.
- Very specific: line 61
Prefer Swatinem/rust-cache with explicit shared-key and workspaces instead of ad hoc target-directory caching.
- Distinctive: line 63
Avoid caching generated outputs that can hide stale behavior unless the repo already relies on them deliberately.
- Distinctive: line 80
Start with the narrowest useful checks:
- Distinctive: line 86
Use ripgrep to inspect the workflow graph before editing:
- Distinctive: line 92
If local lint passes but the question is whether GitHub will authorize the run, inspect GitHub's permission model and the upstream action …
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Maintain GitHub Actions CI
Companion Guidance
Use karpathy-guidelines alongside this skill for implementation or review
work. Keep changes scoped, surface assumptions, and define focused validation
before editing.
Use this skill when a change touches .github/workflows/*.yml or
.github/workflows/*.yaml, or when reviewing CI behavior for security,
reliability, or reproducibility.
Standards
- Put
permissions:on each job that needs token access. - Avoid workflow-level permissions unless the repository intentionally centralizes them and the inheritance tradeoff is documented.
- Keep third-party actions pinned to full commit SHAs and preserve the readable version comment after the SHA.
- Prefer action-native or ecosystem-native caching over generic
actions/cache. - Use lockfiles or dependency manifests to drive cache invalidation.
- Keep deploy and publish permissions isolated to the jobs that need them.
- Publish the TypeScript contract from the dedicated
publish_typescript.ymlworkflow through the protectednpmjsenvironment. Grantid-token: writefor npm trusted publishing, and do not provide an npm write token that could mask an OIDC configuration failure. - Read both caller and callee when a workflow uses
workflow_call. - Keep documentation publish and preview credentials isolated to the Fern docs workflow.
- Keep local commands aligned with the corresponding
justfilerecipes when they provide equivalent behavior. - Keep tag filters, prerelease normalization, and publication behavior aligned
with
RELEASING.md.
Permission Model
contents: readis the default minimum for checkout-based build, test, docs, and packaging jobs.pull-requests: readis required for PR metadata lookup jobs.pages: writeshould be limited to Pages deployment jobs and any caller that invokes them through a reusable workflow.id-token: writeshould be limited to jobs that exchange a GitHub OIDC token with a protected deployment target, including Pages deployment and the protected npm publication job.- For reusable workflows, the caller must grant every permission the called jobs require. The callee cannot elevate beyond what the caller provides.
Caching
- Prefer
astral-sh/setup-uvcache support withcache-dependency-globanchored touv.lock. - Prefer
Swatinem/rust-cachewith explicitshared-keyandworkspacesinstead of ad hoc target-directory caching. - Avoid caching generated outputs that can hide stale behavior unless the repo already relies on them deliberately.
Review Checklist
- Each job has the minimum permissions it needs
- Reusable workflow callers grant only the scopes their callees require
- Every external action is pinned to a full SHA
- Cache settings are tied to lockfiles, manifests, or explicit tool versions
- Secrets are only passed to the jobs that consume them
- Python, Rust, and documentation jobs remain aligned with their lockfiles
and
justfilerecipes - Concurrency, branch filters, and documentation publish guards still reflect repository intent
Validation
Start with the narrowest useful checks:
just --fmt --checkUse ripgrep to inspect the workflow graph before editing:
rg -n "uses:|permissions:|secrets:|concurrency:|cache|just " .github/workflowsIf local lint passes but the question is whether GitHub will authorize the run, inspect GitHub's permission model and the upstream action or reusable workflow source instead of assuming local success proves remote success.
Canonical References
.github/workflows/ci_python.yml.github/workflows/ci_rust.yml.github/workflows/fern-docs.yml.github/workflows/nightly-alpha-tag.yml.github/workflows/publish_rust.yml.github/workflows/publish_typescript.ymlscripts/ci/publish_typescript_package.py.gitlab-ci.ymlRELEASING.mdCargo.lockuv.lockdocs/package-lock.jsonjustfilemaintain-packagingvalidate-change
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.

