ci_cd

ci_cd is a cursor rule for Cursor from neuromechanist/research-skills. It costs 8 tokens per session (978 once invoked), scanned A, original, BSD-3-Clause.

A set of GitHub Actions rules for automatically checking, building, documenting, and releasing a project. GitHub Actions is GitHub's system for running scripted jobs when code changes or releases are created.

In plain words
What is it for?
It is for setting up CI/CD pipelines: automated checks on pushes and pull requests, documentation deployment, and release jobs triggered by tags or manual actions.
Why use it?
It catches lint errors, test failures, and build problems before they reach users. It also makes documentation publishing and package releases repeatable.

Cursor rule for Cursor

Written for Cursor: a Cursor rule (.mdc).

Good fit It is for setting up CI/CD pipelines: automated checks on pushes and pull requests, documentation deployment, and release jobs triggered by tags or manual actions.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/neuromechanist/research-skills/ci_cd
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/neuromechanist/research-skills

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ci_cd

README.md
[![agentmods](https://agentmods.dev/badge/rules/neuromechanist/research-skills/ci_cd/github.svg)](https://agentmods.dev/rules/neuromechanist/research-skills/ci_cd)
Your own site
<a href="https://agentmods.dev/rules/neuromechanist/research-skills/ci_cd"><img src="https://agentmods.dev/badge/rules/neuromechanist/research-skills/ci_cd/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ci_cd

Your own site · 80×15
<a href="https://agentmods.dev/rules/neuromechanist/research-skills/ci_cd"><img src="https://agentmods.dev/badge/rules/neuromechanist/research-skills/ci_cd.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 8 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 978 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00008 $0.00978
Opus 5.5 $0.00003 $0.00391
Sonnet 5.5 $0.00002 $0.00196
Haiku 4.5 $0.00001 $0.00098

Measured 11d ago against content hash 8429480fdf02, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ci_cd scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/project/templates/cursor/core_rules/ci_cd.mdc · 94 lines

How it starts

The opening of the file, as written. The whole thing — 94 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CI/CD Workflow Standards

Purpose: Automated Quality Gates

Why CI/CD? Catch issues before users do. Think: Every pipeline failure is a production bug prevented. Goal: Fast feedback, high confidence, zero surprises.

Triggers and Scope (avoid wasted runs)

  • Trigger: pull_request (any base) plus push to main/develop only. Never on: [push, pull_request] (double runs on every PR push).
  • Concurrency: cancel superseded PR runs (group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}).
  • Scope: paths-ignore docs and notes for code workflows; paths for docs and deploy workflows.
  • Required checks: a skipped workflow leaves a required check pending; use an unfiltered workflow with a gate job (see the ci-scaffolding skill).
  • [skip ci]: in the subject of commits that touch only files no CI job reads (see git rules).
  • Timeouts: every job sets timeout-minutes (default 20); a hung job otherwise runs 6 hours.
  • No live services in required checks; one workflow per concern.
  • Bot bump and sync commits: prefer bumping inside the PR or at release. A post-merge bot commit carries [skip ci], alone in its push, only on the integration branch; the same workflow then deploys once from the bumped SHA (deploy job needs: bump). If that branch later heads a release PR, the marker silences the PR's required checks; skip inside a gate job instead.

Essential Workflows

1. Testing (test.yml)

Triggers: pull_request and push to main branches, docs paths ignored
Jobs (in order):

  • Lint: ruff check / eslint (fails fast)
  • Test: Real tests only, matrix for versions
  • Build: Verify compilation if applicable
  • Coverage: Optional reporting to Codecov

2. Documentation (docs.yml)

Triggers: push to main with paths: [docs/**, mkdocs.yml]
Jobs: Build with MkDocs → Deploy to GitHub Pages

3. Release (release.yml)

Triggers: Tag creation or manual
Jobs: Build → Create release → Publish packages

Read the full file on GitHub · 94 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago Changed · +20 lines 8429480fdf02
  2. 1mo ago First seen · 74 lines · 8 tokens per session scan A 4af6aa79c0db

Subscribe to this mod's changes

ci_cd is a cursor rule published in the GitHub repository neuromechanist/research-skills (50 stars, last pushed yesterday), licensed BSD-3-Clause. It adds 8 tokens to every session and 978 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.