j-pster/psters_ai_workflow/deploy-lambda
Claude Code and agent skill by j-pster/psters_ai_workflow
- community
Checking that the SKILL.md file is still in the repository.
Deploy AWS Lambdas using the guaranteed deploy scripts only. Never deploy via IAC (CDK). Requires AWS SSO login first. Use when deploying any AWS Lambda repo.
Install
npx vskill@latest install j-pster/psters_ai_workflow/deploy-lambdaSKILL.md
The same SKILL.md was published earlier as sideminddev/sm-skills/deploy-lambda.
AWS Lambda Deploy
Lambdas are deployed only via the project's deploy scripts, using AWS CLI. No CDK deploy, no IAC apply.
Step 1: Detect guaranteed scripts before deploy
From the Lambda repo root, inspect ./scripts/ for guaranteed deploy scripts.
Preferred script names:
- Single function:
deploy-lambda-guaranteed.sh - All functions:
deploy-all-lambdas-guaranteed.sh
Accept equivalent variants only if they are clearly the same guaranteed flow.
Rule: Use the guaranteed deploy scripts
Each Lambda repo that has deploy scripts must use them:
- Single function:
./scripts/deploy-lambda-guaranteed.sh <lambda-name> [--profile PROFILE] [--region REGION] - All functions in repo:
./scripts/deploy-all-lambdas-guaranteed.sh [--profile PROFILE] [--region REGION]
Script names may vary by repo (e.g. deploy-lambda-guaranteed.sh, deploy-all-lambdas-guaranteed.sh). Look in that repo's scripts/ folder.
Step 2: Mandatory fallback when scripts do not exist
If no guaranteed deploy script exists, do not deploy manually.
Instead, pause and ask the user before creating defaults. Use this message pattern:
No guaranteed deploy script was found in ./scripts. I suggest creating standard deploy scripts now (single Lambda and deploy-all), based on the plugin defaults. Should I create them for this repo?
If the user approves, create these files in the target Lambda repo:
./scripts/deploy-lambda-guaranteed.sh./scripts/deploy-all-lambdas-guaranteed.sh
Template source (inside plugin):
assets/lambda-deploy/deploy-lambda-guaranteed.template.shassets/lambda-deploy/deploy-all-lambdas-guaranteed.template.sh
After creation:
- Make scripts executable (
chmod +x). - Review placeholders/TODO values with the user.
- Run deploy through the guaranteed script only.
Prerequisite: AWS SSO login
Before any AWS CLI command (including deploy):
Replace <aws-profile> with the project's AWS profile. If you skip this, deploy will fail with credential/session errors.
Where to run
- From the Lambda repo root (e.g.
notification-processor,reply-suggestions-lambda):
./scripts/deploy-lambda-guaranteed.sh <name> --profile <aws-profile> --region <region>
- Default profile and region vary by project; pass explicitly if the script supports it.
Lambda name
The first argument is the Lambda package/name (e.g. notification-processor, appsync-publisher). Run the script with --help to see available names for that repo.
After deploy
- Scripts typically build, package, and call
aws lambda update-function-code(or create if missing). Idempotent and safe to re-run. - If deploy fails, check: (1) SSO logged in, (2) correct repo and script path, (3) correct lambda name for that repo.
Do not
- Run
cdk deployor any IAC to deploy Lambda code. - Manually zip and upload unless the repo has no script and you are adding the script as part of the work.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/psters-ai-workflow/skills/deploy-lambda/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/j-pster/psters_ai_workflow/deploy-lambda)