# `techne:ci-audit`

Audit the latest GitHub Actions workflow runs on the current branch or PR for warnings, errors, failures, and deprecation notices. Fix what's fixable in-repo; hand commit and push back to you.

Part of [techne](<https://ajbarea.github.io/techne/plugins/techne/index.md>): `/plugin install techne@techne`, then `/techne:setup`.

## When to use

- After CI finishes and before merge.
- "Why did CI fail?" / "Check the workflow logs." / "Clean up the green-with-warnings run."
- A specific check is failing (Codecov, GitGuardian, Renovate) and you want to know why.
- Deprecation notices in action steps worth cleaning up before they become blocking.

## Usage

Invoke by name in Claude Code:

```text
/techne:ci-audit
```

The skill pulls the most recent run per workflow on the current head SHA via the PR's `statusCheckRollup` (falling back to `gh run list` when there is no PR), reads each run with `gh run view`, lists external PR checks such as Codecov and GitGuardian, classifies every finding, applies in-repo fixes (workflow YAML, config, source), and outputs a verdict: `N fixed, M proposed, K deferred.` A finding with a repo-side fix that needs a choice between paths is `[PROPOSE]`: on a solo repo the skill takes the option the evidence supports and applies it, naming the others; on a team repo it lists the options for you to pick. See [Solo and team repos](<https://ajbarea.github.io/techne/conventions/#solo-and-team-repos>).

The skill does not commit, push, or merge. Run `/techne:auto-commit` to group and commit the fixes.

## See also

- [`techne:audit`](<https://ajbarea.github.io/techne/skills/audit/index.md>): audit local `make` targets instead of GitHub Actions.
- [`techne:auto-commit`](<https://ajbarea.github.io/techne/skills/auto-commit/index.md>): group and commit the fixes the audit produced.
- [Conventions](<https://ajbarea.github.io/techne/conventions/#section-reference>): `.claude/skill-context.md` `## ci_audit` section for repo-specific config.

## Full instructions

[`SKILL.md` on GitHub](<https://github.com/ajbarea/techne/blob/main/plugins/techne/skills/ci-audit/SKILL.md>) holds the full instructions Claude follows for this skill.
