Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsBlogPro
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges
  • Chrome Extension
  • Skill Manager

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Ci Workflow

ASecurity

Push accountability, CI monitoring after push, background agent CI verification, verification command sequencing.

5 stars
0 votes
0 copies
2 views
Added 10/4/2026
ai-agentsgobashnodedebugginggitdatabase

Works with

cli

Security Analysis

A96/100
mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned 10/4/2026

$npx -y skills add juan294/cc-rpi --skill ci-workflow --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ci Workflow?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Ci Workflow
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/juan294-ci-workflow/badge)](https://www.skillsdirectory.com/skills/juan294-ci-workflow)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
Files
SKILL.md
---
name: "ci-workflow"
description: "Push accountability, CI monitoring after push, background agent CI verification, verification command sequencing."
---

# CI Workflow

## Push Accountability

Keep working branches and worktrees local. Finish applicable tests, coverage,
typechecks, lint, build and deployment preflight locally, resolve failures,
and integrate completed work locally into the documented integration branch.
Inspect workflow and deployment triggers before the single authorized push of
that completed branch. Never create Vercel Preview deployments or publish
working branches/PRs for experimentation. If an integration push would create a
Preview, stop before pushing and use only a documented, non-destructive bypass.
Production publication remains separately and explicitly authorized. Read-only
inspection of existing runs and deployments is allowed.

After an authorized integration push, match every expected workflow to its
pushed commit, rather than assuming the latest branch run belongs to this push:

```bash
gh run list --branch <integration-branch> --commit <pushed-sha> \
  --json databaseId,headSha,name,status,conclusion
gh run view <failed-run-id> --log-failed
```

Failure diagnosis and repair happen locally. Do not rerun remote workflows or
re-push fixes as a debugging loop; report the result and complete local gates
before any separately authorized follow-up publication.

## Buffer Output from execSync/spawnSync

Wrong -- `.trim()` fails because these return a Buffer by default:

```js
const sha = execSync('git rev-parse HEAD').trim();  // TypeError
```

Right -- pass encoding explicitly:

```js
const sha = execSync('git rev-parse HEAD', { encoding: 'utf-8' }).trim();
```

## Running ESM CLI Tools

A shebang or executable bit does not change Node's module interpretation.
Use `.mjs` for ESM, `.cjs` for CommonJS, or a `.js` file governed by its nearest
package.json `"type"` field. Respect the project's supported Node version and
package metadata; invoking via `npx` does not repair invalid module metadata.

```bash
node ./bin/cli.mjs
# Or: node ./bin/cli.js with nearest package.json declaring "type": "module"
```

## Missing Dependencies

Wrong -- run commands in a worktree, fresh clone, or CI with no node_modules:

```bash
pnpm run build  # Cannot find module ...
```

Right -- install first:

```bash
pnpm install && pnpm run build
```

## Scaffolding Requires an Empty Directory

Wrong -- add config files before scaffolding, so the tool aborts:

```bash
echo "# Project" > CLAUDE.md
npx create-next-app@latest .   # aborts: directory not empty
```

Right -- scaffold first, add config files after:

```bash
npx create-next-app@latest .
echo "# Project" > CLAUDE.md
```

## Verification Command Sequencing

Wrong -- run typecheck, lint, test as parallel tool calls:

```bash
# Parallel call 1: pnpm run typecheck
# Parallel call 2: pnpm run lint
# Parallel call 3: pnpm run test
# If one fails, all parallel calls are killed (Error #1)
```

Right -- chain sequentially with `&&` so early failures cannot be hidden:

```bash
pnpm run typecheck 2>&1 && pnpm run lint 2>&1 && pnpm run test 2>&1
```

## Pre-Commit Verification

Wrong -- commit first, discover failures from pre-commit hook:

```bash
git commit -m "feat: add feature"
# Pre-commit hook fails: lint errors, type errors
```

Right -- run checks before committing:

```bash
pnpm run typecheck 2>&1 && pnpm run lint 2>&1 &&
git add <files> && git commit -m "feat: add feature"
```

## Config Change Blast Radius

Wrong -- change tsconfig and continue coding:

```bash
# Edit tsconfig.json
# Continue implementing next feature
# Discover 200 type errors at commit time
```

Right -- run full test suite immediately after config changes:

```bash
# Edit tsconfig.json
pnpm run typecheck 2>&1 && pnpm run lint 2>&1 && pnpm run test 2>&1
# Fix any breakage before proceeding
```

Attribution

juan294juan294
View sourceSee grades on GitHubMore from juan294 →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Caveman

Terse caveman voice: answer first, fluff gone, every technical fact kept. Use for /caveman, "caveman mode", "talk like caveman", "be brief", "less tokens". Stays on until "stop caveman" or "normal mode".

1100021 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

698621 votes

Writing Skills

Create and manage Claude Code skills in HASH repository following Anthropic best practices. Use when creating new skills, modifying skill-rules.json, understanding trigger patterns, working with hooks, debugging skill activation, or implementing progressive disclosure. Covers skill structure, YAML frontmatter, trigger types (keywords, intent patterns), UserPromptSubmit hook, and the 500-line rule. Includes validation and debugging with SKILL_DEBUG. Examples include rust-error-stack, cargo-dep...

3931 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3421 votes

catchup

Recovers the conversation and failed tool calls of a previous Codex, Amp, Claude Code, Antigravity, Cline, Copilot CLI, Cursor, DeepSeek Harness, Grok Build, Kimi, OpenCode, Pi Agent, or ZCode session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", asks to recover/summarize a previous session before continuing, or asks to diagnose or report a catchup failure. Do NOT use for the current conversation, git history, or any non-agent log.

741 votes
View all in ai-agents →