complete-cicd-pipeline-deployment-for-serverless-from-scratch

complete-cicd-pipeline-deployment-for-serverless-from-scratch is a skill for Claude Code from selvarajmurugesan90/ops-engineering-skills. It costs 151 tokens per session (3,840 once invoked), scanned A, original, Apache-2.0.

A guide for building an automated delivery pipeline for a serverless function, such as an AWS Lambda function. It covers packaging code as a ZIP file or reusable layers, security checks, uploading the package, deployment, and gradual traffic shifting between function versions.

In plain words
What is it for?
Use it to create a pipeline for a new serverless service or automate an existing one, including static security checks, dependency checks, and canary releases using weighted aliases.
Why use it?
It replaces a manual package-and-console-upload process with a source-to-deployment workflow that includes security gates and a controlled rollout.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code; mentions Codex; mentions Gemini CLI.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is cd package && zip -r ../function.zip . -x '*.pyc'.

Part of the cicd-tooling-skills plugin — 13 skills shipped together

Good fit Use it to create a pipeline for a new serverless service or automate an existing one, including static security checks, dependency checks, and canary releases using weighted aliases.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/selvarajmurugesan90/ops-engineering-skills
agentmods
npx agentmods add skills/selvarajmurugesan90/ops-engineering-skills/complete-cicd-pipeline-deployment-for-serverless-from-scratch

Made for: Claude Code.

Or install cicd-tooling-skills, the plugin that ships this one along with the rest of its 13 skills.

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 complete-cicd-pipeline-deployment-for-serverless-from-scratch

README.md
[![agentmods](https://agentmods.dev/badge/skills/selvarajmurugesan90/ops-engineering-skills/complete-cicd-pipeline-deployment-for-serverless-from-scratch/github.svg)](https://agentmods.dev/skills/selvarajmurugesan90/ops-engineering-skills/complete-cicd-pipeline-deployment-for-serverless-from-scratch)
Your own site
<a href="https://agentmods.dev/skills/selvarajmurugesan90/ops-engineering-skills/complete-cicd-pipeline-deployment-for-serverless-from-scratch"><img src="https://agentmods.dev/badge/skills/selvarajmurugesan90/ops-engineering-skills/complete-cicd-pipeline-deployment-for-serverless-from-scratch/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 complete-cicd-pipeline-deployment-for-serverless-from-scratch

Your own site · 80×15
<a href="https://agentmods.dev/skills/selvarajmurugesan90/ops-engineering-skills/complete-cicd-pipeline-deployment-for-serverless-from-scratch"><img src="https://agentmods.dev/badge/skills/selvarajmurugesan90/ops-engineering-skills/complete-cicd-pipeline-deployment-for-serverless-from-scratch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 151 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,840 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 20 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Tool Misuse · line 155
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
  • high Tool Misuse · line 317
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
  • medium Agent Snooping · line 60
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 332
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 67
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 106
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 160
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 237
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 328
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 72
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 330
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 74
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 260
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 330
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 81
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 331
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Data Exfiltration · line 140
    Data is uploaded to cloud storage (S3 / GCS / Azure Blob). This may be a legitimate backup or exfiltration to an external bucket. Manual review is recommended.
    Fix: Verify the destination bucket is trusted and owned by you. Never upload credentials, secrets, or workspace contents to external or unverified cloud storage.
  • medium Excessive Agency · line 155
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • medium Excessive Agency · line 317
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • medium Agent Snooping · line 215
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
How audits are shown
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.00151 $0.03840
Opus 5 $0.00076 $0.01920
Sonnet 5 $0.00030 $0.00768
Haiku 4.5 $0.00015 $0.00384

Measured 12d ago against content hash 0f6ec82914df, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

complete-cicd-pipeline-deployment-for-serverless-from-scratch 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 12d 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.

plugins/cicd-tooling/skills/complete-cicd-pipeline-deployment-for-serverless-from-scratch/SKILL.md · 334 lines

How it starts

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

Complete CI/CD Pipeline Deployment for Serverless, From Scratch

Purpose

A serverless pipeline's build artifact and deploy mechanics are both fundamentally different from the Kubernetes and VM variants of this skill: the build step produces a zip archive or a set of Lambda layers, not a container image or a machine image, and the deploy step is the pipeline's final action — there is no separate in-cluster operator to hand off to. Traffic shifting during rollout is done via a weighted alias pointing at two published function versions, not a Kubernetes Service selector flip or a percentage-weighted Rollout/Canary CR. This skill sequences source → zip/layer packaging → SAST/SCA → package upload → an alias-based canary deploy into one coherent walkthrough; the individual packaging and IAM mechanics are covered in depth elsewhere and only sequenced here.

When to use

  • A new Lambda-based (or equivalent FaaS) service has no pipeline yet, and the team wants source-to-deployed-with-canary wired up in one pass.
  • An existing serverless deploy is a manual zip + console upload, and the user wants it automated end-to-end with security gates and a safe traffic-shift rollout.
  • The user wants to understand exactly how a serverless pipeline's packaging and rollout mechanics differ from a container/Kubernetes pipeline (the point most often gotten wrong when someone tries to reuse a Kubernetes pipeline template for a Lambda function).
  • Standing up the SAST/SCA gate sequence specifically for a zip/layer build (function dependencies bundled directly into the package, not a separately-scanned base image).

Prerequisites & environment

  • A Git host and CI platform already available — examples below use GitHub Actions; the same shape applies to azure-pipelines-yaml-and-multi-stage or any equivalent platform.
  • AWS credentials for CI scoped to deploy this one function (or function group) only — least-privilege, per cloud-iam-hardening — never a broad account-wide deploy role.
  • A deploy framework chosen: AWS SAM, Serverless Framework, or CDK all wrap the underlying CreateFunction/UpdateFunctionCode/alias API calls; examples below use SAM (sam build/sam deploy) since it's the most directly AWS-native, with a Serverless Framework note where the shape differs.
  • aws-lambda-packaging-and-configuration already read for the packaging/IAM-role mechanics this pipeline automates — this skill sequences that packaging into CI, it does not re-explain zip-vs-container-image tradeoffs or memory/timeout tuning.
  • SAST/SCA tooling chosen per sast-integration and software-composition-analysis-sca.

Read the full file on GitHub · 334 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. 12d ago First seen · 334 lines · 151 tokens per session scan A 0f6ec82914df

Subscribe to this mod's changes

complete-cicd-pipeline-deployment-for-serverless-from-scratch is a skill published in the GitHub repository selvarajmurugesan90/ops-engineering-skills (39 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 151 tokens to every session and 3,840 once invoked, about $0.0008 per session on Opus 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.