github-actions-testing

github-actions-testing is a cursor rule for Cursor from pr-pm/prpm. It costs 2,605 tokens per session, scanned A, original, MIT.

Guidance for checking GitHub Actions, the service that runs automated jobs such as tests and builds in a repository. It helps validate workflows before they are deployed.

In plain words
What is it for?
It is for checking and debugging workflows, including monorepos (repositories containing multiple related projects), caches, Docker-based service containers, and local workflow simulations.
Why use it?
It finds configuration mistakes that may only appear in GitHub, such as invalid paths, cache settings, dependency order, or service setup.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit It is for checking and debugging workflows, including monorepos (repositories containing multiple related projects), caches, Docker-based service containers, and local workflow simulations.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/pr-pm/prpm/github-actions-testing
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/pr-pm/prpm

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 github-actions-testing

README.md
[![agentmods](https://agentmods.dev/badge/rules/pr-pm/prpm/github-actions-testing/github.svg)](https://agentmods.dev/rules/pr-pm/prpm/github-actions-testing)
Your own site
<a href="https://agentmods.dev/rules/pr-pm/prpm/github-actions-testing"><img src="https://agentmods.dev/badge/rules/pr-pm/prpm/github-actions-testing/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 github-actions-testing

Your own site · 80×15
<a href="https://agentmods.dev/rules/pr-pm/prpm/github-actions-testing"><img src="https://agentmods.dev/badge/rules/pr-pm/prpm/github-actions-testing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,605 This file is loaded in full into every session.
When invoked 2,605 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. ✓ AI security review Sonnet 5 · 6 Sept 2026 📄 Read the review
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.02605 $0.02605
Opus 5.5 $0.01042 $0.01042
Sonnet 5.5 $0.00521 $0.00521
Haiku 4.5 $0.00261 $0.00261

Measured 3mo ago against content hash 324ee420055d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

github-actions-testing 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 3mo 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.

.cursor/rules/github-actions-testing.mdc · 369 lines

How it starts

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

Description

Interactive expert for testing and validating GitHub Actions workflows before deployment. Prevents common CI failures by catching cache configuration errors, path issues, monorepo dependency problems, and service container configuration mistakes.

Capabilities

This skill provides:

  1. Pre-Push Validation: Complete workflow validation before pushing to GitHub
  2. Cache Configuration: Ensure cache-dependency-path is correctly specified
  3. Monorepo Build Order: Validate workspace dependency build sequences
  4. Service Container Setup: Guide proper service container configuration
  5. Path Validation: Verify all paths exist and are accessible
  6. Local Testing: Run workflows locally with act (Docker-based simulation)
  7. Static Analysis: Lint workflows with actionlint and yamllint

When to Use This Skill

Invoke this skill when:

  • Creating or modifying GitHub Actions workflows
  • Debugging workflow failures in CI
  • Setting up new repositories with CI/CD
  • Migrating to monorepo architecture
  • Adding service containers to workflows
  • Experiencing cache-related failures
  • Getting "module not found" errors in CI but not locally

Usage

Quick Validation

"Validate my GitHub Actions workflows before I push"

I'll:

  1. Run actionlint on all workflow files
  2. Check for missing cache-dependency-path configurations
  3. Validate all working-directory paths exist
  4. Verify monorepo build order is correct
  5. Check service container configurations
  6. Provide a pre-push checklist

Debugging Workflow Failures

"My GitHub Actions workflow is failing with [error message]"

I'll:

  1. Analyze the error message
  2. Identify the root cause
  3. Explain why local testing didn't catch it
  4. Provide the correct configuration
  5. Show how to test the fix locally

Setup New Repository

"Set up GitHub Actions testing for my new project"

I'll:

  1. Install required tools (act, actionlint, yamllint)
  2. Create validation scripts
  3. Set up pre-push hooks
  4. Configure recommended workflows
  5. Provide testing procedures

Read the full file on GitHub · 369 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. 3mo ago First seen · 369 lines · 2,605 tokens per session scan F 324ee420055d

Subscribe to this mod's changes

github-actions-testing is a cursor rule published in the GitHub repository pr-pm/prpm (125 stars, last pushed 1mo ago), licensed MIT. It adds 2,605 tokens to every session, about $0.0104 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-08-30.

Related

github-actions-testing compared with cursor rules from other repositories

github-actions-testing next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
github-actions-testingpr-pm/prpmCursor rule1251mo agoMITA2,605Cursor
next-type-llmPatrickJS/awesome-cursorrulesCursor rule41k6mo agoCC0-1.0A624Cursor
python-projects-guide-cursorrules-prompt-filePatrickJS/awesome-cursorrulesCursor rule41k6mo agoCC0-1.0A211Cursor
llm-integration-rulesholtwood/awesome-cursorrules-zhCursor rule2441mo agoMITA0Cursor
vercel-ai-sdknedcodes-ok/cursorrules-collectionCursor rule389mo agoMITA654Cursor
langchainnedcodes-ok/cursorrules-collectionCursor rule389mo agoMITA511Cursor
turboreponedcodes-ok/cursorrules-collectionCursor rule389mo agoMITA634Cursor