RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

Configs/Cursor rules/TechNickAI/ai-coding-config

Cursor rule

.cursor/rules/fixing-github-actions-builds.mdc

When the Github Actions build is broken

Cursor rules

Quality

81/100

Scores the file, not the repository.

Length

388 words

13 headings · 4 code blocks

Repository

24

— · pushed 41 days ago

Last changed

3 days ago

First indexed 3 days ago.
TechNickAI/ai-coding-config/.cursor/rules/fixing-github-actions-builds.mdcRawGitHub
1---
2description: When the Github Actions build is broken
3alwaysApply: false
4version: 1.0.0
5---
6 
7# Fixing Broken GitHub Actions Builds
8 
9## Purpose
10 
11This guide documents the process for diagnosing and fixing broken GitHub Actions builds
12using the `gh` CLI.
13 
14## Prerequisites
15 
16### Check if gh is installed
17 
18First, verify the GitHub CLI is installed:
19 
20```bash
21gh --version
22```
23 
24### If gh is not installed
25 
26Politely stop and guide the developer:
27 
28> The GitHub CLI (`gh`) is not installed. Let's get that set up first!
29>
30> Installation (macOS):
31>
32> ```bash
33> brew install gh
34> gh auth login
35> ```
36>
37> Follow the prompts to authenticate with GitHub. Once complete, we can proceed with
38> debugging the build!
39 
40## Diagnostic Workflow
41 
42### Step 1: List Recent Workflow Runs
43 
44```bash
45gh run list --limit 5
46```
47 
48Identify the failed run (marked with `X` or `failure` status). Note the run ID.
49 
50### Step 2: Get Failed Logs
51 
52```bash
53gh run view <run-id> --log-failed | cat
54```
55 
56This shows ONLY the logs from failed steps. Analyze these logs to identify the root
57cause.
58 
59### Step 3: Reproduce Locally
60 
61Based on the error in the logs, reproduce the failure locally to verify the fix.
62 
63### Step 4: Make the Fix
64 
65Edit the relevant files to fix the issue identified in the logs.
66 
67### Step 5: Verify Locally
68 
69Test the fix thoroughly to ensure it resolves the issue.
70 
71### Step 6: Report to Developer
72 
73DO NOT commit or push changes!
74 
75Report to the developer:
76 
77> Build issue fixed!
78>
79> Changes made:
80>
81> - `path/to/file`: Description of change
82>
83> Next steps:
84>
85> 1. Review the changes with `git status` and `git diff`
86> 2. Test locally if desired
87> 3. Commit and push when ready
88> 4. Monitor the new build with `gh run watch`
89 
90## Integration with Cursor
91 
92When a developer says "the build is broken" or "fix the GitHub Actions build":
93 
941. Run `gh --version` to verify installation (stop if not installed)
952. Run `gh run list --limit 5` to see recent runs
963. Identify the failed run ID
974. Run `gh run view <run-id> --log-failed | cat` to get error details
985. Analyze the logs and identify root cause
996. Fix the issue locally
1007. Verify the fix works
1018. Report back to developer with changes and next steps
102 
103Remember: We diagnose and fix, the developer commits and pushes!
104 

Commands it names

  • gh --version
  • gh auth login
  • gh run list --limit 5
  • gh run view <run-id> --log-failed | cat
  • git status
  • git diff
  • gh run watch

Sections

  • Fixing Broken GitHub Actions Builds
  • Purpose
  • Prerequisites
  • Check if gh is installed
  • If gh is not installed
  • Diagnostic Workflow
  • Step 1: List Recent Workflow Runs
  • Step 2: Get Failed Logs
  • Step 3: Reproduce Locally
  • Step 4: Make the Fix
  • Step 5: Verify Locally
  • Step 6: Report to Developer
  • Integration with Cursor

What it covers

setupbuilddo-notagent-behaviour

Stack — with the evidence

python

(0.80)

github-actions

(0.60)

Format

Cursor rules

The most expressive format here. Many small .mdc files, each with frontmatter declaring when it should load, so a rule about migrations only enters context when a migration is open. Costs the most to maintain and only one editor reads it.

What the corpus says about it

Repository

Owner
TechNickAI
Language
—
License
—
Archived
no

All configs in this repo

Also in TechNickAI/ai-coding-config

Diff this repo’s formats

One repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?

The other instruction files in this repository
RepositoryFormatStackCoversScoreChanged
TechNickAI/ai-coding-config.cursor/rules/git-commit-message.mdc · 24Cursor rulespythongithub-actionsarchgitdeployment58/1003 days ago
TechNickAI/ai-coding-config.cursor/rules/git-interaction.mdc · 24Cursor rulespythongithub-actionstestlint-formatstylearch+488/1003 days ago
TechNickAI/ai-coding-config.cursor/rules/heart-centered-ai-philosophy.mdc · 24Cursor rulespythongithub-actionsno sections30/1003 days ago
TechNickAI/ai-coding-config.cursor/rules/ruff-linting.mdc · 24Cursor rulespythongithub-actionslint-format43/1003 days ago
TechNickAI/ai-coding-configAGENTS.md · 24AGENTS.mdpythongithub-actionsstylearchgitdo-not+178/1003 days ago
TechNickAI/ai-coding-config.cursor/rules/external-apis.mdc · 24Cursor rulespythongithub-actionstesttesting-strategyapi54/1003 days ago
TechNickAI/ai-coding-config.claude-plugin/CLAUDE.md · 24CLAUDE.mdpythongithub-actionsdeployment25/1003 days ago
TechNickAI/ai-coding-config.claude/AGENTS.md · 24AGENTS.mdpythongithub-actionsarchagent-behaviour54/1003 days ago
TechNickAI/ai-coding-config.claude/CLAUDE.md · 24CLAUDE.mdpythongithub-actionslint-formatstyletypestesting-strategy+162/1003 days ago
TechNickAI/ai-coding-config.cursor/AGENTS.md · 24AGENTS.mdpythongithub-actionsarchdo-notagent-behaviour56/1003 days ago
TechNickAI/ai-coding-config.cursor/rules/autonomous-development-workflow.mdc · 24Cursor rulespythongithub-actionstestlint-formatgitagent-behaviour77/1003 days ago
TechNickAI/ai-coding-config.cursor/rules/code-review-standards.mdc · 24Cursor rulespythongithub-actionstesttypestesting-strategygit+259/1003 days ago
TechNickAI/ai-coding-config.cursor/rules/code-style-and-zen-of-python.mdc · 24Cursor rulespythongithub-actionslint-formatstyledocs62/1003 days ago
TechNickAI/ai-coding-config.cursor/rules/git-worktree-task.mdc · 24Cursor rulespythongithub-actions+1lint-formatgitagent-behaviour38/1003 days ago
TechNickAI/ai-coding-config.cursor/rules/naming-stuff.mdc · 24Cursor rulespythongithub-actionsstyle48/1003 days ago
TechNickAI/ai-coding-config.cursor/rules/prompt-engineering.mdc · 24Cursor rulespythongithub-actionssetuptestlint-formatstyle+657/1003 days ago
TechNickAI/ai-coding-config.cursor/rules/trust-and-decision-making.mdc · 24Cursor rulespythongithub-actionsno sections48/1003 days ago
TechNickAI/ai-coding-config.cursor/rules/user-facing-language.mdc · 24Cursor rulespythongithub-actionslint-formatstylearch66/1003 days ago
TechNickAI/ai-coding-configplugins/core/agents/CLAUDE.md · 24CLAUDE.mdpythongithub-actionstestlint-formatarchgit+166/1003 days ago
TechNickAI/ai-coding-configplugins/core/skills/CLAUDE.md · 24CLAUDE.mdpythongithub-actionslint-formatagent-behaviour58/1003 days ago
Diff against .cursor/rules/git-commit-message.mdc Diff against .cursor/rules/git-interaction.mdc Diff against .cursor/rules/heart-centered-ai-philosophy.mdc Diff against .cursor/rules/ruff-linting.mdc Diff against AGENTS.md Diff against .cursor/rules/external-apis.mdc Diff against .claude-plugin/CLAUDE.md Diff against .claude/AGENTS.md Diff against .claude/CLAUDE.md Diff against .cursor/AGENTS.md Diff against .cursor/rules/autonomous-development-workflow.mdc Diff against .cursor/rules/code-review-standards.mdc Diff against .cursor/rules/code-style-and-zen-of-python.mdc Diff against .cursor/rules/git-worktree-task.mdc Diff against .cursor/rules/naming-stuff.mdc Diff against .cursor/rules/prompt-engineering.mdc Diff against .cursor/rules/trust-and-decision-making.mdc Diff against .cursor/rules/user-facing-language.mdc Diff against plugins/core/agents/CLAUDE.md Diff against plugins/core/skills/CLAUDE.md

Similar configs

Same format, overlapping stack, ranked by quality.

Same format, overlapping stack, ranked by quality
RepositoryFormatStackCoversScoreChanged
TechSquidTV/Hermes.cursor/rules/10-hermes-api.mdc · 45Cursor rulestypescriptpytest+15testlint-formatstylearch+5100/1003 days ago
hiromaily/go-crypto-wallet.cursor/rules/typescript.mdc · 126Cursor rulesgobun+5setupbuildtestlint-format+6100/1003 days ago
langflow-ai/langflow.cursor/rules/docs_development.mdc · 153kCursor rulespythonnode+16setupbuildtestlint-format+797/1003 days ago
TechSquidTV/Hermes.cursor/rules/20-hermes-api-tests.mdc · 45Cursor rulestypescriptpytest+15teststyletesting-strategysecurity+397/1003 days ago
skillrecordings/egghead-next.cursor/rules/project-update-user-rules.mdc · 1.4kCursor rulestypescriptnode+14buildtestlint-formatstyle+796/1003 days ago
skillrecordings/egghead-next.cursor/rules/project-update-rules.mdc · 1.4kCursor rulestypescriptnode+14buildtestlint-formatstyle+796/1003 days ago
nerds-odd-e/doughnut.cursor/rules/cli.mdc · 49Cursor rulestypescriptcypress+14setupbuildteststyle+496/1003 days ago
hiromaily/go-crypto-wallet.cursor/rules/proto.mdc · 126Cursor rulesgobiome+4buildlint-formatstylearch+396/1003 days ago
RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack