agentleFS
Vimalk0703Vimalk0703/shipworthy/skills/operations/ci-cd-awareness/SKILL.md

ci-cd-awareness

Skill6 starsChanged 8 months agoMITView on GitHub

Pipeline design, environment configuration, secret management in CI, deployment rollback strategies, and feature flags for gradual rollout.

  • Reads credentials

The file

We split this skill into the rules it gives an agent

9 rules. About 0 are common, 9 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈9

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run linters and formatters

    line 14
  2. Distinctive:

    Verify the artifact is valid

    line 30
  3. Distinctive:

    Run smoke tests against staging

    line 34
  4. Distinctive:

    Use environment variables for all configuration

    line 40
  5. Distinctive:

    Use the CI platform's secret store (GitHub Secrets, etc.)

    line 46
  6. Distinctive:

    Never echo secrets in logs

    line 47
  7. Distinctive:

    Use minimal permissions (principle of least privilege)

    line 49
  8. Distinctive:

    Blue/green: run two environments, switch traffic

    line 53
  9. Distinctive:

    Every deployment must have a rollback strategy:

    line 60

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

CI/CD Awareness

Pipeline Structure

A well-designed pipeline follows this order:

1. Lint (fastest feedback)

  • Run linters and formatters
  • Fail fast on style violations
  • Takes seconds, catches obvious issues

2. Type Check

  • tsc --noEmit or equivalent
  • Catches type errors before tests run

3. Test

  • Unit tests first (fast)
  • Integration tests second (slower)
  • E2E tests last (slowest)
  • Fail the pipeline if any test fails

4. Build

  • Compile/bundle the application
  • Verify the artifact is valid

5. Deploy

  • Deploy to staging first
  • Run smoke tests against staging
  • Deploy to production with rollback capability

Environment Configuration

  • Never hardcode environment-specific values
  • Use environment variables for all configuration
  • Maintain separate configs: .env.development, .env.staging, .env.production
  • Validate all environment variables at startup (fail fast if missing)

Secrets in CI

  • Use the CI platform's secret store (GitHub Secrets, etc.)
  • Never echo secrets in logs
  • Rotate secrets regularly
  • Use minimal permissions (principle of least privilege)

Deployment Strategies

  • Blue/green: run two environments, switch traffic
  • Rolling: gradually replace old instances
  • Canary: route small % of traffic to new version first
  • Feature flags: deploy code behind flags, enable gradually

Rollback Plan

Every deployment must have a rollback strategy:

  1. How to detect a bad deployment (health checks, error rates)
  2. How to revert (previous container image, git revert, feature flag off)
  3. How long rollback takes
  4. Who is responsible for rollback decisions

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.