[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AC6JE3W7FQCCAVYDGY94YG":3,"skill-same:01M7AC6JE3W7FQCCAVYDGY94YG":142},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":42,"commitSha":43,"skillDirectory":44,"forksCount":45,"repositoryHtmlUrl":46,"repositoryHomepageUrl":6,"ownerHtmlUrl":47,"ownerBlogUrl":6,"ownerDescription":48,"updatedAt":49,"install":50,"resources":63},"01M7AC6JE3W7FQCCAVYDGY94YG","sagemaker-pipeline-deployer",null,"Defines Amazon SageMaker Pipelines for ML workflows with production defaults: step collection (ProcessingStep with sklearn\u002FSpark container, TrainingStep with built-in or custom algorithm, TuningStep for hyperparameter optimization, CreateModelStep registering model artifacts, ConditionStep branching on metrics, TransformStep for batch inference, RegisterModelStep integrating with the Model Registry), StartPipelineExecution, parameter passing between steps via Properties, caching configuration (per-step cache key), parallelism configuration (ParallelismConfiguration), Pipeline as Code (SageMaker Python SDK vs JSON definition), and EventBridge-driven automated triggers. Emits a READY_TO_DEPLOY. Triggers: create sagemaker pipeline, sagemaker pipeline steps, sagemaker pipeline caching, sagemaker tuning step, sagemaker model register step, sagemaker condition step, sagemaker transform step, start pipeline execution, sagemaker pipeline parallelism, sagemaker pipeline eventbridge, sagemaker pipeline as code.","jhkchan\u002Faws-agent-skills","jhkchan","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1083902?v=4","01M7A2SVQYP9GQTPTDXP5JKYQ4","Jacky Chan","01M7A2SVS117YWCTZABB75HZR1",4,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsagemaker-pipeline-deployer\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: sagemaker-pipeline-deployer\ndescription: 'Defines Amazon SageMaker Pipelines for ML workflows with production defaults: step collection (ProcessingStep with sklearn\u002FSpark container, TrainingStep with built-in or custom algorithm, TuningStep for hyperparameter optimization, CreateModelStep registering model artifacts, ConditionStep branching on metrics, TransformStep for batch inference, RegisterModelStep integrating with the Model Registry), StartPipelineExecution, parameter passing between steps via Properties, caching configuration (per-step cache key), parallelism configuration (ParallelismConfiguration), Pipeline as Code (SageMaker Python SDK vs JSON definition), and EventBridge-driven automated triggers. Emits a READY_TO_DEPLOY. Triggers: create sagemaker pipeline, sagemaker pipeline steps, sagemaker pipeline caching, sagemaker tuning step, sagemaker model register step, sagemaker condition step, sagemaker transform step, start pipeline execution, sagemaker pipeline parallelism, sagemaker pipeline eventbridge, sagemaker pipeline as code.'\nlicense: Apache-2.0\ncompatibility: 'Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). For live deployment: AWS CLI v2 with sagemaker access and an IAM execution role that can be passed to underlying jobs. Works with SageMaker Python SDK (sagemaker.Pipeline \u002F sagemaker.workflow steps), Terraform aws_sagemaker_pipeline \u002F aws_sagemaker_pipeline_definition resources, and CloudFormation AWS::SageMaker::Pipeline templates.'\nmetadata:\n  domain: aws-cloudops\n  complexity: high\n  requires_llm: 'true'\n  phase: '1'\n  supports_pipeline: 'true'\n  entry_point: 'false'\n  family: AI\u002FML\n  task_type: deploy\n  skill_class: capability\n  lifecycle_status: active\n  verdict_shape: READY_TO_DEPLOY | PREREQUISITES_MISSING\n  version: 0.1.0\n  author: Jacky Chan — AWS Community Builder\n  tags: aws, sagemaker, sagemaker-pipeline, cloudops, deploy, ml, mlops, model-registry, eventbridge, caching, dag\n  dependencies: aws-orchestrator\n  keywords: aws, sagemaker, pipeline, dag, cloudops, deploy, ml, processing step, training step, tuning step, hyperparameter optimization, condition step, transform step, model register step, model registry, caching, parallelism, eventbridge\n  when_to_use: Invoke when the user wants to build or update an Amazon SageMaker Pipeline (the workflow orchestration service for ML), compose step collections (Processing, Training, Tuning, CreateModel, Condition, Transform, RegisterModel), wire parameters between steps via Properties, configure per-step caching or pipeline-wide parallelism, drive executions from EventBridge, or gate production deployment via the Model Registry approval workflow. Do NOT invoke for SageMaker Studio operations, single TrainingJob\u002FTransformJob without a pipeline (use sagemaker-training-job-operator), real-time Endpoint deployment (use sagemaker-endpoint-deployer), or non-SageMaker orchestrators (Step Functions, Airflow).\n---\n\n# SageMaker Pipeline Deployer\n\nAn AWS CloudOps agent skill that defines Amazon SageMaker Pipelines with\ncorrect defaults: the DAG model (steps as dependency-based execution),\nthe step collection (Processing, Training, Tuning, CreateModel,\nCondition, Transform, RegisterModel), parameter passing via Properties,\nper-step caching, parallelism configuration, Pipeline as Code, and\nEventBridge-driven triggers. Emits a READY_TO_DEPLOY checklist with\ncopy-pasteable verification commands.\n\n## Activation keywords\n\ncreate SageMaker Pipeline, SageMaker Pipeline steps, caching, Tuning\nStep, Model Register Step, Condition Step, Transform Step,\nStartPipelineExecution, Pipeline parallelism, Pipeline EventBridge,\nPipeline as Code.\n\n## STRICT output contract\n\nWhen this skill is invoked with a SageMaker Pipeline definition request\n(create a pipeline, add steps, configure caching, drive execution from\nEventBridge, branch on metrics, register a model version, or wire up a\npartial pipeline), the agent MUST respond with the READY_TO_DEPLOY\nchecklist defined in the \"Output format\" section using the literal\nall-caps labels `PIPELINE:`, `VERDICT:`, `CHECKLIST:`, and\n`VERIFICATION_COMMANDS:`. Do NOT preface with prose, headings, or\ndisclaimers — emit the block as the first lines of the response. This\ncontract is what assertion-based evals and downstream provisioning\npipelines rely on; deviating from the literal labels breaks automation\nsilently.\n\nIf any prerequisite is missing, the verdict is `PREREQUISITES_MISSING`\nwith a specific gap citation in the checklist (marked `[✗]`), and\n`READY_TO_DEPLOY` MUST NOT also appear.\n\n## Quick navigation\n\n| Section | When to read |\n|---|---|\n| Prerequisites | Always — verify before provisioning |\n| Steps 1-3 | Core: DAG model, Pipeline as Code, parameter\u002Fproperty passing |\n| Steps 4-10 | Step collection (Processing, Training, Tuning, CreateModel, Condition, Transform, RegisterModel) |\n| Steps 11-13 | Caching, ParallelismConfiguration, EventBridge triggers |\n| NEVER do these things | Review before signing off |\n| Output format | The literal checklist template |\n| references\u002Fpipeline-steps-and-dag.md | Step + DAG detail |\n| references\u002Fregistry-and-caching.md | Registry + caching detail |\n\n## Mindset\n\n**One-line takeaway:** A SageMaker Pipeline is a DAG of steps. Steps\ndepend on each other via property references. Caching skips steps whose\ninputs are unchanged, reducing cost. The Model Registry gates production\ndeployment via an approval workflow (`PendingManualApproval`).\n\nThree misconceptions dominate SageMaker Pipeline misdesign:\n\n- **\"Steps run sequentially in declaration order.\"** They do NOT. Steps\n  run as a DAG. Order is determined by dependencies declared via\n  `DependsOn` or implicit dependencies from property references\n  (`step.properties.\u003Coutput>`). Two unrelated steps run in parallel (up\n  to `ParallelismConfiguration`). A common bug is wiring a step that\n  looks sequential but fires before its dependency because no property\n  reference was declared.\n\n- **\"Caching means re-running the pipeline is free.\"** It does not.\n  Caching reuses step outputs ONLY when the cache key is unchanged. The\n  key is the step type plus arguments (input S3 URIs, instance\n  type\u002Fcount, algorithm image, hyperparameters). Cache misses re-run\n  the step and re-bill.\n\n- **\"RegisterModel deploys the model.\"** It does NOT. `RegisterModel`\n  creates a versioned entry in the Model Registry in\n  `PendingManualApproval` status. Deployment to an endpoint is a\n  SEPARATE action — a downstream CI\u002FCD job calls\n  `describe-model-package` on an Approved version, then `create-model`\n  + `create-endpoint-config` + `create-endpoint`. Skipping the approval\n  workflow loses the registry's safety guarantee.\n\n## Configuration dependency graph (novel heuristic)\nThe full dependency table (execution-role PassRole trap, parameter immutability, per-step hard dependencies, cross-dependency gotchas): [references\u002Fpipeline-steps-and-dag.md](references\u002Fpipeline-steps-and-dag.md).\nLoad on demand before wiring steps, parameters, or triggers.\n\n## Expert heuristic: steps are a DAG, not a sequence\nThe DAG execution-plan diagram and the key implication (the steps list is a node collection, not a script): [references\u002Fpipeline-steps-and-dag.md](references\u002Fpipeline-steps-and-dag.md).\nLoad on demand when steps fire in the wrong order.\n\n## Expert heuristic: caching reduces cost for unchanged steps\nThe cache-key formula (image digest vs tag, S3 input ETags) and invalidation gotchas: [references\u002Fregistry-and-caching.md](references\u002Fregistry-and-caching.md).\nLoad on demand when caching re-runs steps unexpectedly.\n\n## Expert heuristic: model registry gates production deployment\nThe registry-driven deployment flow (PendingManualApproval -> review -> Approved -> CI\u002FCD deploy): [references\u002Fregistry-and-caching.md](references\u002Fregistry-and-caching.md).\nLoad on demand when wiring approval gates.\n\n## Prerequisites (verify before provisioning)\n\nIf any are missing, the verdict is **PREREQUISITES_MISSING**.\n\n| Prerequisite | Why it matters | How to verify |\n|---|---|---|\n| Pipeline execution role exists | Underlying jobs need a role | `aws iam get-role --role-name \u003Crole>` |\n| Execution role trusts SageMaker | SageMaker must assume it | Trust policy includes `sagemaker.amazonaws.com` |\n| `iam:PassRole` on child-job roles | Pipeline passes roles to jobs it launches | Check policy attached to execution role |\n| S3 bucket for artifacts | Inputs\u002Foutputs need a home | `aws s3api head-bucket --bucket \u003Cbucket>` |\n| ECR image (if custom algorithm) | Custom training\u002Fprocessing image | `aws ecr describe-images --repository-name \u003Crepo>` |\n| Algorithm spec (if built-in) | Built-in algorithm URI | Confirm available in your region |\n| Model Package Group (if RegisterModel) | Versions live in a group | `aws sagemaker describe-model-package-group` |\n| EventBridge rule (if automated triggers) | Trigger needs a rule + target | `aws events describe-rule --name \u003Crule>` |\n| Account quotas for child jobs | Tuning\u002Fparallel steps spawn many jobs | `aws service-quotas get-service-quota --service-code sagemaker` |\n\nIf any prerequisite is missing, output `VERDICT: PREREQUISITES_MISSING`\nand cite the specific gap.\n\n## Step 1 — DAG model and step dependencies\n\nA pipeline is a DAG. Dependencies are declared two ways:\n\n1. **Implicit via property reference.** Downstream step reads\n   `upstream_step.properties.\u003Coutput>` → SageMaker adds an edge.\n2. **Explicit via `DependsOn=[upstream_step]`.** Use when no property\n   flows but execution order must be enforced.\n\n```python\nfrom sagemaker.workflow.pipeline import Pipeline\nfrom sagemaker.workflow.steps import ProcessingStep, TrainingStep\nfrom sagemaker.inputs import TrainingInput\n\npreprocess = ProcessingStep(name=\"Preprocess\", ...)\ntrain = TrainingStep(\n    name=\"Train\",\n    inputs=[TrainingInput(\n        s3_data=preprocess.properties.ProcessingOutputConfig.Outputs[\"train\"].S3Output.S3Uri\n    )],\n)\n# Edge: Train depends on Preprocess (implicit, via property ref)\npipeline = Pipeline(name=\"my-pipeline\", parameters=[...],\n                    steps=[preprocess, train])  # list order ≠ execution order\n```\n\nA cycle in the declared edges is rejected at `pipeline.upsert()` with a\n`ValidationException`.\n\n## Step 2 — Pipeline as Code (SageMaker Python SDK vs JSON definition)\n\n| Path | When to use | Tooling |\n|---|---|---|\n| SageMaker Python SDK (`sagemaker.workflow`) | Default; type-safe; integrates with estimators\u002Fprocessors | `sagemaker.Pipeline(...).upsert()` then `start()` |\n| JSON definition | Generated artifacts; Terraform; CI\u002FCD templates | `aws sagemaker update-pipeline --pipeline-definition \u003Cfile>` |\n\nThe Python SDK is the recommended authoring path. The JSON definition\nis the wire format the API accepts. The SDK compiles to JSON on\n`upsert()`:\n\n```python\npipeline = Pipeline(\n    name=\"training-pipeline\",\n    parameters=[processing_instance_type, training_instance_type, ...],\n    steps=[preprocess, train, evaluate, condition_step, register],\n    sagemaker_session=sess,\n)\npipeline.upsert()                # creates or updates; emits JSON\njson_def = pipeline.definition() # the JSON wire format\n```\n\n**Terraform** can manage the pipeline via `aws_sagemaker_pipeline`\n(with `pipeline_definition` inline) or\n`aws_sagemaker_pipeline_definition`. Terraform-managed pipelines must\nNOT also be upserted from the SDK — the two will fight over the\ndefinition.\n\n## Step 3 — Parameter and property passing between steps\n\n**Parameters** are pipeline-scoped inputs, declared once and overridable\nat `StartPipelineExecution`:\n\n```python\nfrom sagemaker.workflow.parameters import ParameterString, ParameterInteger, ParameterFloat\n\nprocessing_instance_type = ParameterString(name=\"ProcessingInstanceType\", default_value=\"ml.m5.xlarge\")\ntraining_instance_count  = ParameterInteger(name=\"TrainingInstanceCount\", default_value=1)\napproval_threshold       = ParameterFloat(name=\"ApprovalThreshold\", default_value=0.9)\n```\n\n**Properties** are step outputs downstream steps read:\n\n| Step type | Property | Example use |\n|---|---|---|\n| ProcessingStep | `ProcessingOutputConfig.Outputs['\u003Cname>'].S3Output.S3Uri` | Preprocessed data → Training |\n| TrainingStep | `ModelArtifacts.S3ModelArtifacts` | Model artifact → CreateModel\u002FRegisterModel |\n| TuningStep | `best_tuning_job_name`, `top_model_s3_uri()` | Best tuned model → CreateModel |\n| TransformStep | `TransformOutput.S3OutputPath` | Batch predictions → register\u002Fcondition |\n\n**JsonGet** extracts a scalar from a JSON property file produced by a\nprior step — the canonical way to read an evaluation metric for\nConditionStep:\n\n```python\nfrom sagemaker.workflow.functions import JsonGet\n\naccuracy = JsonGet(\n    step_name=evaluate_step.name,\n    property_file=evaluation_report,   # PropertyFile pointing to evaluation.json\n    json_path=\"metrics.accuracy.value\",\n)\n```\n\n## Step 4 — ProcessingStep (sklearn \u002F Spark container)\nFull ProcessingStep recipe (SKLearnProcessor inputs\u002Foutputs, Spark variant, EMRStep): [references\u002Fpipeline-steps-and-dag.md](references\u002Fpipeline-steps-and-dag.md).\nLoad on demand when authoring this step type.\n\n## Step 5 — TrainingStep (built-in or custom algorithm)\nFull TrainingStep recipe (Estimator with built-in xgboost image, channels from Processing properties, custom-ECR contract): [references\u002Fpipeline-steps-and-dag.md](references\u002Fpipeline-steps-and-dag.md).\nLoad on demand when authoring this step type.\n\n## Step 6 — TuningStep (hyperparameter optimization)\nFull TuningStep recipe (HyperparameterTuner ranges, objective, get_top_model_s3_uri, cost warning): [references\u002Fpipeline-steps-and-dag.md](references\u002Fpipeline-steps-and-dag.md).\nLoad on demand when authoring this step type.\n\n## Step 7 — CreateModelStep (model artifact)\nFull CreateModelStep recipe (Model object, ModelInputs, image-match note): [references\u002Fpipeline-steps-and-dag.md](references\u002Fpipeline-steps-and-dag.md).\nLoad on demand when authoring this step type.\n\n## Step 8 — ConditionStep (branching based on metrics)\nFull ConditionStep recipe (ConditionGreaterThanOrEqualTo on JsonGet, if_steps\u002Felse_steps with FailStep): [references\u002Fpipeline-steps-and-dag.md](references\u002Fpipeline-steps-and-dag.md).\nLoad on demand when authoring this step type.\n\n## Step 9 — TransformStep (batch inference)\nFull TransformStep recipe (Transformer wired to CreateModelStep property, batch gotcha): [references\u002Fpipeline-steps-and-dag.md](references\u002Fpipeline-steps-and-dag.md).\nLoad on demand when authoring this step type.\n\n## Step 10 — RegisterModelStep (Model Registry integration)\n\n```python\nfrom sagemaker.workflow.step_collections import RegisterModel\n\nregister = RegisterModel(\n    name=\"RegisterModel\", estimator=estimator,\n    model_data=train.properties.ModelArtifacts.S3ModelArtifacts,\n    content_types=[\"application\u002Fjson\"], response_types=[\"application\u002Fjson\"],\n    inference_instances=[\"ml.m5.large\", \"ml.t2.medium\"],\n    transform_instances=[\"ml.m5.large\"],\n    model_package_group_name=\"xgb-classifier-group\",\n    approval_status=\"PendingManualApproval\",   # the gate\n    model_metrics=model_metrics,\n)\n```\n\n**Approval workflow (separate from register):**\n\n```bash\n# Approve a version (manual or CI\u002FCD after review)\naws sagemaker update-model-package \\\n  --model-package-arn arn:aws:sagemaker:...:model-package\u002Fxgb-classifier-group\u002F12 \\\n  --model-approval-status Approved\n\n# CI\u002FCD discovers Approved versions and deploys\naws sagemaker list-model-packages \\\n  --model-package-group-name xgb-classifier-group --approval-status Approved \\\n  --sort-by CreationTime --sort-order Descending\n```\n\n## Step 11 — Caching configuration\n\n```python\npipeline = Pipeline(\n    name=\"training-pipeline\", parameters=[...], steps=[...],\n    enable_caching=True,\n    cache_execution_config={\"Enabled\": True, \"MaxCacheWindowSize\": \"P30D\"},\n)\n```\n\n**Cache invalidation:** changing any step argument invalidates the cache\nfor that step only. Upstream invalidations propagate downstream (an\nupstream re-run changes the S3 ETag of its output, which is part of the\ndownstream cache key). For iterative dev cycles, caching can cut cost\n5-10x by skipping unchanged preprocessing.\n\n## Step 12 — Parallelism configuration\n\n`ParallelismConfiguration` caps concurrent step executions per pipeline\nexecution. Default is 1 (sequential).\n\n```bash\naws sagemaker start-pipeline-execution \\\n  --pipeline-name training-pipeline \\\n  --parallelism-configuration MaxParallelExecutionSteps=5\n```\n\n**Quota gotcha:** account-level quotas (max concurrent TrainingJobs,\nTransformJobs) cap total concurrency across ALL pipeline executions. If\nthe quota is 10 and two pipelines each set parallelism=8, only 10 jobs\nrun at any instant — the rest queue. Check with `service-quotas`.\n\n## Step 13 — StartPipelineExecution + EventBridge triggers\n\n```bash\n# Manual start\naws sagemaker start-pipeline-execution \\\n  --pipeline-name training-pipeline \\\n  --pipeline-parameters Name=\"TrainingInstanceType\",Value=\"ml.m5.2xlarge\" \\\n  --parallelism-configuration MaxParallelExecutionSteps=3\n\n# EventBridge-driven start (S3 PUT on new training data)\naws events put-rule \\\n  --name sagemaker-pipeline-on-new-data \\\n  --event-pattern '{\n    \"source\": [\"aws.s3\"], \"detail-type\": [\"Object Created\"],\n    \"detail\": {\"bucket\": {\"name\": [\"my-ml-bucket\"]}, \"object\": {\"key\": [{\"prefix\": \"raw\u002F\"}]}}\n  }'\n\naws events put-targets \\\n  --rule sagemaker-pipeline-on-new-data \\\n  --targets '[{\"Id\":\"start-pipeline\",\"Arn\":\"arn:aws:sagemaker:us-east-1:123456789012:pipeline\u002Ftraining-pipeline\",\"RoleArn\":\"arn:aws:iam::123456789012:role\u002FEventBridgeSageMakerInvoke\"}]'\n```\n\n**Schedule trigger (cron):** `--schedule-expression \"cron(0 2 * * ? *)\"`.\n**CodeCommit trigger:** EventBridge on `codecommit` reference updates, or\nwire CodePipeline upstream. The invoke role must trust\n`events.amazonaws.com` and allow `sagemaker:StartPipelineExecution`.\n\n## Step 14 — Recent features\nRecent AWS features 2023-2026 (pipeline_definition_config, FailStep, EMRStep, richer ModelMetrics, cache-key ETag improvements, InfrastructureConfig): [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\nLoad on demand when choosing step types or VPC config.\n\n## NEVER do these things\n\n1. **NEVER assume the steps list order is the execution order.** Steps\n   run as a DAG. Wire dependencies via property references or\n   `DependsOn`. Two unrelated steps may run in parallel.\n\n2. **NEVER skip the execution-role `iam:PassRole` check.** The pipeline\n   role must pass child-job roles to TrainingJobs and ProcessingJobs.\n   Without it, execution fails on the first job launch.\n\n3. **NEVER assume caching means re-runs are free.** Caching is per-step,\n   keyed on arguments and S3 input ETags. Pin image references to\n   digests (not `:latest` tags) to avoid stale-step bugs.\n\n4. **NEVER assume RegisterModel deploys the model.** It creates a\n   registry version in `PendingManualApproval`. Deployment happens\n   after `UpdateModelPackage(ApprovalStatus=Approved)` via downstream\n   CI\u002FCD. Auto-approving defeats the gate.\n\n5. **NEVER reference a step property from a branch that didn't run.**\n   If CreateModelStep is in `if_steps`, TransformStep must be too.\n\n6. **NEVER set `ParallelismConfiguration` above account quotas.**\n   Account quotas cap total concurrent jobs across all pipelines.\n   Excess steps queue silently — verify quotas first.\n\n7. **NEVER mix Terraform-managed and SDK-upserted pipelines.** Pick\n   one — `terraform apply` and `pipeline.upsert()` fighting over the\n   definition produces drift and surprises.\n\n8. **NEVER use image tags like `:latest` for cache-sensitive steps.**\n   Use immutable tags (`:v1.4.2`) or digests (`@sha256:...`).\n\n9. **NEVER forget the JsonGet property file when branching on metrics.**\n   ConditionStep reads metrics via `JsonGet` from a `PropertyFile`\n   pointing to JSON the prior step wrote. Without it, the condition\n   errors.\n\n10. **NEVER rely on EventBridge triggers without an invoke role.** The\n    target needs `events.amazonaws.com` permission to call\n    `sagemaker:StartPipelineExecution` via a role. Missing role = silent\n    no-op trigger.\n\n## Output format\n\n```text\nPIPELINE: \u003Cpipeline-name> (\u003Cpipeline-arn if known>)\nVERDICT: READY_TO_DEPLOY | PREREQUISITES_MISSING\nCHECKLIST:\n  [✓|✗] Execution role: \u003Crole-arn> (trusts sagemaker.amazonaws.com, iam:PassRole for child roles)\n  [✓|✗] Pipeline parameters: \u003Cname=list>\n  [✓|✗] Steps DAG: \u003Cstep=list> (edges via property refs \u002F DependsOn)\n  [✓|✗] ProcessingStep: \u003Cname> (sklearn|spark|custom, instance=\u003Ctype>)\n  [✓|✗] TrainingStep: \u003Cname> (built-in|custom-ecr, instance=\u003Ctype>x\u003Ccount>)\n  [✓|✗] TuningStep: \u003Cname> (max_jobs=\u003Cn>, max_parallel=\u003Cn>) | Not used\n  [✓|✗] CreateModelStep: \u003Cname> (model_data via property ref)\n  [✓|✗] ConditionStep: \u003Cname> (branch on \u003Cmetric> \u003Cop> \u003Cthreshold>; if_steps\u002Felse_steps)\n  [✓|✗] TransformStep: \u003Cname> (batch input: s3:\u002F\u002F...) | Not used\n  [✓|✗] RegisterModelStep: \u003Cname> (group: \u003Cgroup-name>, PendingManualApproval|Approved)\n  [✓|✗] Caching: enabled (P30D) | disabled | ParallelismConfiguration: MaxParallelExecutionSteps=\u003Cn>\n  [✓|✗] Trigger: manual | EventBridge rule \u003Crule-name> (schedule|S3|CodeCommit)\n  [✓|✗] Model Registry gate: enforced (PendingManualApproval) | bypassed (auto-approve)\nVERIFICATION_COMMANDS:\n  aws sagemaker describe-pipeline --pipeline-name \u003Cpipeline-name>\n  aws sagemaker list-pipeline-executions --pipeline-name \u003Cpipeline-name>\n  aws sagemaker describe-model-package-group --model-package-group-name \u003Cgroup>\n  aws events describe-rule --name \u003Crule-name>\n```\n\n### Worked example — end-to-end pipeline with conditional register\n\n```text\nPIPELINE: xgb-training-pipeline\nVERDICT: READY_TO_DEPLOY\nCHECKLIST:\n  [✓] Execution role: arn:aws:iam::123456789012:role\u002FSageMakerPipelineExecutionRole (PassRole on SageMakerExecutionRole)\n  [✓] Pipeline parameters: ProcessingInstanceType, TrainingInstanceType, TrainingInstanceCount, ApprovalThreshold\n  [✓] Steps DAG: Preprocess → Train → Evaluate → CheckAUC → [CreateModel, Transform, RegisterModel] | else → FailStep\n  [✓] ProcessingStep: Preprocess (sklearn 1.2-1, ml.m5.xlarge)\n  [✓] TrainingStep: Train (built-in xgboost 1.7-1, ml.m5.2xlarge x2)\n  [✓] ConditionStep: CheckAUC (JsonGet metrics.accuracy.value ≥ 0.9)\n  [✓] TransformStep: BatchScore (input s3:\u002F\u002Fmy-ml-bucket\u002Fbatch-input)\n  [✓] RegisterModelStep: RegisterModel (group: xgb-classifier-group, PendingManualApproval)\n  [✓] Caching: enabled (window: P30D) | ParallelismConfiguration: MaxParallelExecutionSteps=3\n  [✓] Trigger: EventBridge rule sagemaker-pipeline-on-new-data (S3 PUT raw\u002F)\n  [✓] Model Registry gate: enforced (PendingManualApproval)\nVERIFICATION_COMMANDS:\n  aws sagemaker describe-pipeline --pipeline-name xgb-training-pipeline\n  aws sagemaker list-pipeline-executions --pipeline-name xgb-training-pipeline\n  aws sagemaker describe-model-package-group --model-package-group-name xgb-classifier-group\n  aws events describe-rule --name sagemaker-pipeline-on-new-data\n```\n\n## Error handling\nAll seven error deep dives (cycle detected, iam:PassRole on first job, JsonGet unresolved, cache re-runs, RegisterModel never deploys, EventBridge fires but pipeline does not execute, parallelism vs quotas): [references\u002Ferror-handling.md](references\u002Ferror-handling.md).\nLoad on demand on the first execution failure.\n\n## References (load on demand)\n\n- [Pipeline steps and DAG](references\u002Fpipeline-steps-and-dag.md) — configuration dependency graph, DAG-not-a-sequence heuristic, full step recipes for Processing\u002FTraining\u002FTuning\u002FCreateModel\u002FCondition\u002FTransform\n- [Registry and caching](references\u002Fregistry-and-caching.md) — caching cache-key heuristic and the model-registry approval-gate heuristic\n- [Advanced patterns](references\u002Fadvanced-patterns.md) — recent AWS features (2023-2026)\n- [Error handling](references\u002Ferror-handling.md) — deep dives: cycle detection, iam:PassRole, JsonGet resolution, cache misses, RegisterModel gate, EventBridge triggers, parallelism vs quotas\n\n## Domain\n\nAWS CloudOps \u002F Amazon SageMaker Pipeline Definition & ML Workflow Orchestration.\n\n## AWS documentation\n\n- **SageMaker Pipelines overview** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fsagemaker\u002Flatest\u002Fdg\u002Fpipelines.html\n- **Build and manage pipelines** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fsagemaker\u002Flatest\u002Fdg\u002Fpipelines-build.html\n- **Step types reference** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fsagemaker\u002Flatest\u002Fdg\u002Fbuild-and-manage-steps.html\n- **Caching** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fsagemaker\u002Flatest\u002Fdg\u002Fpipelines-caching.html\n- **Model Registry** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fsagemaker\u002Flatest\u002Fdg\u002Fmodel-registry.html\n- **StartPipelineExecution** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fsagemaker\u002Flatest\u002FAPIReference\u002FAPI_StartPipelineExecution.html\n- **ParallelismConfiguration** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fsagemaker\u002Flatest\u002Fdg\u002Frun-pipeline.html#run-pipeline-parallelism\n- **EventBridge triggers** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fsagemaker\u002Flatest\u002Fdg\u002Fpipelines-event-driven.html\n- **Python SDK** — https:\u002F\u002Fsagemaker.readthedocs.io\u002Fen\u002Fstable\u002Fworkflows\u002Fpipelines\u002Findex.html\n","# SageMaker Pipeline Deployer\n\nAn AWS CloudOps agent skill that defines Amazon SageMaker Pipelines with\ncorrect defaults: the DAG model (steps as dependency-based execution),\nthe step collection (Processing, Training, Tuning, CreateModel,\nCondition, Transform, RegisterModel), parameter passing via Properties,\nper-step caching, parallelism configuration, Pipeline as Code, and\nEventBridge-driven triggers. Emits a READY_TO_DEPLOY checklist with\ncopy-pasteable verification commands.\n\n## Activation keywords\n\ncreate SageMaker Pipeline, SageMaker Pipeline steps, caching, Tuning\nStep, Model Register Step, Condition Step, Transform Step,\nStartPipelineExecution, Pipeline parallelism, Pipeline EventBridge,\nPipeline as Code.\n\n## STRICT output contract\n\nWhen this skill is invoked with a SageMaker Pipeline definition request\n(create a pipeline, add steps, configure caching, drive execution from\nEventBridge, branch on metrics, register a model version, or wire up a\npartial pipeline), the agent MUST respond with the READY_TO_DEPLOY\nchecklist defined in the \"Output format\" section using the literal\nall-caps labels `PIPELINE:`, `VERDICT:`, `CHECKLIST:`, and\n`VERIFICATION_COMMANDS:`. Do NOT preface with prose, headings, or\ndisclaimers — emit the block as the first lines of the response. This\ncontract is what assertion-based evals and downstream provisioning\npipelines rely on; deviating from the literal labels breaks automation\nsilently.\n\nIf any prerequisite is missing, the verdict is `PREREQUISITES_MISSING`\nwith a specific gap citation in the checklist (marked `[✗]`), and\n`READY_TO_DEPLOY` MUST NOT also appear.\n\n## Quick navigation\n\n| Section | When to read |\n|---|---|\n| Prerequisites | Always — verify before provisioning |\n| Steps 1-3 | Core: DAG model, Pipeline as Code, parameter\u002Fproperty passing |\n| Steps 4-10 | Step collection (Processing, Training, Tuning, CreateModel, Condition, Transform, RegisterModel) |\n| Steps 11-13 | Caching, ParallelismConfiguration, EventBridge triggers |\n| NEVER do these things | Review before signing off |\n| Output format | The literal checklist template |\n| references\u002Fpipeline-steps-and-dag.md | Step + DAG detail |\n| references\u002Fregistry-and-caching.md | Registry + caching detail |\n\n## Mindset\n\n**One-line takeaway:** A SageMaker Pipeline is a DAG of steps. Steps\ndepend on each other via property references. Caching skips steps whose\ninputs are unchanged, reducing cost. The Model Registry gates production\ndeployment via an approval workflow (`PendingManualApproval`).\n\nThree misconceptions dominate SageMaker Pipeline misdesign:\n\n- **\"Steps run sequentially in declaration order.\"** They do NOT. Steps\n  run as a DAG. Order is determined by dependencies declared via\n  `DependsOn` or implicit dependencies from property references\n  (`step.properties.\u003Coutput>`). Two unrelated steps run in parallel (up\n  to `ParallelismConfiguration`). A common bug is wiring a step that\n  looks sequential but fires before its dependency because no property\n  reference was declared.\n\n- **\"Caching means re-running the pipeline is free.\"** It does not.\n  Caching reuses step outputs ONLY when the cache key is unchanged. The\n  key is the step type plus arguments (input S3 URIs, instance\n  type\u002Fcount, algorithm image, hyperparameters). Cache misses re-run\n  the step and re-bill.\n\n- **\"RegisterModel deploys the model.\"** It does NOT. `RegisterModel`\n  creates a versioned entry in the Model Registry in\n  `PendingManualApproval` status. Deployment to an endpoint is a\n  SEPARATE action — a downstream CI\u002FCD job calls\n  `describe-model-package` on an Approved version, then `create-model`\n  + `create-endpoint-config` + `create-endpoint`. Skipping the approval\n  workflow loses the registry's safety guarantee.\n\n## Configuration dependency graph (novel heuristic)\nThe full dependency table (execution-role PassRole trap, parameter immutability, per-step hard dependencies, cross-dependency gotchas): [references\u002Fpipeline-steps-and-dag.md](references\u002Fpipeline-steps-and-dag.md).\nLoad on demand before wiring steps, parameters, or triggers.\n\n## Expert heuristic: steps are a DAG, not a sequence\nThe DAG execution-plan diagram and the key implication (the steps list is a node collection, not a script): [references\u002Fpipeline-steps-and-dag.md](references\u002Fpipeline-steps-and-dag.md).\nLoad on demand when steps fire in the wrong order.\n\n## Expert heuristic: caching reduces cost for unchanged steps\nThe cache-key formula (image digest vs tag, S3 input ETags) and invalidation gotchas: [references\u002Fregistry-and-caching.md](references\u002Fregistry-and-caching.md).\nLoad on demand when caching re-runs steps unexpectedly.\n\n## Expert heuristic: model registry gates production deployment\nThe registry-driven deployment flow (PendingManualApproval -> review -> Approved -> CI\u002FCD deploy): [references\u002Fregistry-and-caching.md](references\u002Fregistry-and-caching.md).\nLoad on demand when wiring approval gates.\n\n## Prerequisites (verify before provisioning)\n\nIf any are missing, the verdict is **PREREQUISITES_MISSING**.\n\n| Prerequisite | Why it matters | How to verify |\n|---|---|---|\n| Pipeline execution role exists | Underlying jobs need a role | `aws iam get-role --role-name \u003Crole>` |\n| Execution role trusts SageMaker | SageMaker must assume it | Trust policy includes `sagemaker.amazonaws.com` |\n| `iam:PassRole` on child-job roles | Pipeline passes roles to jobs it launches | Check policy attached to execution role |\n| S3 bucket for artifacts | Inputs\u002Foutputs need a home | `aws s3api head-bucket --bucket \u003Cbucket>` |\n| ECR image (if custom algorithm) | Custom training\u002Fprocessing image | `aws ecr describe-images --repository-name \u003Crepo>` |\n| Algorithm spec (if built-in) | Built-in algorithm URI | Confirm available in your region |\n| Model Package Group (if RegisterModel) | Versions live in a group | `aws sagemaker describe-model-package-group` |\n| EventBridge rule (if automated triggers) | Trigger needs a rule + target | `aws events describe-rule --name \u003Crule>` |\n| Account quotas for child jobs | Tuning\u002Fparallel steps spawn many jobs | `aws service-quotas get-service-quota --service-code sagemaker` |\n\nIf any prerequisite is missing, output `VERDICT: PREREQUISITES_MISSING`\nand cite the specific gap.\n\n## Step 1 — DAG model and step dependencies\n\nA pipeline is a DAG. Dependencies are declared two ways:\n\n1. **Implicit via property reference.** Downstream step reads\n   `upstream_step.properties.\u003Coutput>` → SageMaker adds an edge.\n2. **Explicit via `DependsOn=[upstream_step]`.** Use when no property\n   flows but execution order must be enforced.\n\n```python\nfrom sagemaker.workflow.pipeline import Pipeline\nfrom sagemaker.workflow.steps import ProcessingStep, TrainingStep\nfrom sagemaker.inputs import TrainingInput\n\npreprocess = ProcessingStep(name=\"Preprocess\", ...)\ntrain = TrainingStep(\n    name=\"Train\",\n    inputs=[TrainingInput(\n        s3_data=preprocess.properties.ProcessingOutputConfig.Outputs[\"train\"].S3Output.S3Uri\n    )],\n)\n# Edge: Train depends on Preprocess (implicit, via property ref)\npipeline = Pipeline(name=\"my-pipeline\", parameters=[...],\n                    steps=[preprocess, train])  # list order ≠ execution order\n```\n\nA cycle in the declared edges is rejected at `pipeline.upsert()` with a\n`ValidationException`.\n\n## Step 2 — Pipeline as Code (SageMaker Python SDK vs JSON definition)\n\n| Path | When to use | Tooling |\n|---|---|---|\n| SageMaker Python SDK (`sagemaker.workflow`) | Default; type-safe; integrates with estimators\u002Fprocessors | `sagemaker.Pipeline(...).upsert()` then `start()` |\n| JSON definition | Generated artifacts; Terraform; CI\u002FCD templates | `aws sagemaker update-pipeline --pipeline-definition \u003Cfile>` |\n\nThe Python SDK is the recommended authoring path. The JSON definition\nis the wire format the API accepts. The SDK compiles to JSON on\n`upsert()`:\n\n```python\npipeline = Pipeline(\n    name=\"training-pipeline\",\n    parameters=[processing_instance_type, training_instance_type, ...],\n    steps=[preprocess, train, evaluate, condition_step, register],\n    sagemaker_session=sess,\n)\npipeline.upsert()                # creates or updates; emits JSON\njson_def = pipeline.definition() # the JSON wire format\n```\n\n**Terraform** can manage the pipeline via `aws_sagemaker_pipeline`\n(with `pipeline_definition` inline) or\n`aws_sagemaker_pipeline_definition`. Terraform-managed pipelines must\nNOT also be upserted from the SDK — the two will fight over the\ndefinition.\n\n## Step 3 — Parameter and property passing between steps\n\n**Parameters** are pipeline-scoped inputs, declared once and overridable\nat `StartPipelineExecution`:\n\n```python\nfrom sagemaker.workflow.parameters import ParameterString, ParameterInteger, ParameterFloat\n\nprocessing_instance_type = ParameterString(name=\"ProcessingInstanceType\", default_value=\"ml.m5.xlarge\")\ntraining_instance_count  = ParameterInteger(name=\"TrainingInstanceCount\", default_value=1)\napproval_threshold       = ParameterFloat(name=\"ApprovalThreshold\", default_value=0.9)\n```\n\n**Properties** are step outputs downstream steps read:\n\n| Step type | Property | Example use |\n|---|---|---|\n| ProcessingStep | `ProcessingOutputConfig.Outputs['\u003Cname>'].S3Output.S3Uri` | Preprocessed data → Training |\n| TrainingStep | `ModelArtifacts.S3ModelArtifacts` | Model artifact → CreateModel\u002FRegisterModel |\n| TuningStep | `best_tuning_job_name`, `top_model_s3_uri()` | Best tuned model → CreateModel |\n| TransformStep | `TransformOutput.S3OutputPath` | Batch predictions → register\u002Fcondition |\n\n**JsonGet** extracts a scalar from a JSON property file produced by a\nprior step — the canonical way to read an evaluation metric for\nConditionStep:\n\n```python\nfrom sagemaker.workflow.functions import JsonGet\n\naccuracy = JsonGet(\n    step_name=evaluate_step.name,\n    property_file=evaluation_report,   # PropertyFile pointing to evaluation.json\n    json_path=\"metrics.accuracy.value\",\n)\n```\n\n## Step 4 — ProcessingStep (sklearn \u002F Spark container)\nFull ProcessingStep recipe (SKLearnProcessor inputs\u002Foutputs, Spark variant, EMRStep): [references\u002Fpipeline-steps-and-dag.md](references\u002Fpipeline-steps-and-dag.md).\nLoad on demand when authoring this step type.\n\n## Step 5 — TrainingStep (built-in or custom algorithm)\nFull TrainingStep recipe (Estimator with built-in xgboost image, channels from Processing properties, custom-ECR contract): [references\u002Fpipeline-steps-and-dag.md](references\u002Fpipeline-steps-and-dag.md).\nLoad on demand when authoring this step type.\n\n## Step 6 — TuningStep (hyperparameter optimization)\nFull TuningStep recipe (HyperparameterTuner ranges, objective, get_top_model_s3_uri, cost warning): [references\u002Fpipeline-steps-and-dag.md](references\u002Fpipeline-steps-and-dag.md).\nLoad on demand when authoring this step type.\n\n## Step 7 — CreateModelStep (model artifact)\nFull CreateModelStep recipe (Model object, ModelInputs, image-match note): [references\u002Fpipeline-steps-and-dag.md](references\u002Fpipeline-steps-and-dag.md).\nLoad on demand when authoring this step type.\n\n## Step 8 — ConditionStep (branching based on metrics)\nFull ConditionStep recipe (ConditionGreaterThanOrEqualTo on JsonGet, if_steps\u002Felse_steps with FailStep): [references\u002Fpipeline-steps-and-dag.md](references\u002Fpipeline-steps-and-dag.md).\nLoad on demand when authoring this step type.\n\n## Step 9 — TransformStep (batch inference)\nFull TransformStep recipe (Transformer wired to CreateModelStep property, batch gotcha): [references\u002Fpipeline-steps-and-dag.md](references\u002Fpipeline-steps-and-dag.md).\nLoad on demand when authoring this step type.\n\n## Step 10 — RegisterModelStep (Model Registry integration)\n\n```python\nfrom sagemaker.workflow.step_collections import RegisterModel\n\nregister = RegisterModel(\n    name=\"RegisterModel\", estimator=estimator,\n    model_data=train.properties.ModelArtifacts.S3ModelArtifacts,\n    content_types=[\"application\u002Fjson\"], response_types=[\"application\u002Fjson\"],\n    inference_instances=[\"ml.m5.large\", \"ml.t2.medium\"],\n    transform_instances=[\"ml.m5.large\"],\n    model_package_group_name=\"xgb-classifier-group\",\n    approval_status=\"PendingManualApproval\",   # the gate\n    model_metrics=model_metrics,\n)\n```\n\n**Approval workflow (separate from register):**\n\n```bash\n# Approve a version (manual or CI\u002FCD after review)\naws sagemaker update-model-package \\\n  --model-package-arn arn:aws:sagemaker:...:model-package\u002Fxgb-classifier-group\u002F12 \\\n  --model-approval-status Approved\n\n# CI\u002FCD discovers Approved versions and deploys\naws sagemaker list-model-packages \\\n  --model-package-group-name xgb-classifier-group --approval-status Approved \\\n  --sort-by CreationTime --sort-order Descending\n```\n\n## Step 11 — Caching configuration\n\n```python\npipeline = Pipeline(\n    name=\"training-pipeline\", parameters=[...], steps=[...],\n    enable_caching=True,\n    cache_execution_config={\"Enabled\": True, \"MaxCacheWindowSize\": \"P30D\"},\n)\n```\n\n**Cache invalidation:** changing any step argument invalidates the cache\nfor that step only. Upstream invalidations propagate downstream (an\nupstream re-run changes the S3 ETag of its output, which is part of the\ndownstream cache key). For iterative dev cycles, caching can cut cost\n5-10x by skipping unchanged preprocessing.\n\n## Step 12 — Parallelism configuration\n\n`ParallelismConfiguration` caps concurrent step executions per pipeline\nexecution. Default is 1 (sequential).\n\n```bash\naws sagemaker start-pipeline-execution \\\n  --pipeline-name training-pipeline \\\n  --parallelism-configuration MaxParallelExecutionSteps=5\n```\n\n**Quota gotcha:** account-level quotas (max concurrent TrainingJobs,\nTransformJobs) cap total concurrency across ALL pipeline executions. If\nthe quota is 10 and two pipelines each set parallelism=8, only 10 jobs\nrun at any instant — the rest queue. Check with `service-quotas`.\n\n## Step 13 — StartPipelineExecution + EventBridge triggers\n\n```bash\n# Manual start\naws sagemaker start-pipeline-execution \\\n  --pipeline-name training-pipeline \\\n  --pipeline-parameters Name=\"TrainingInstanceType\",Value=\"ml.m5.2xlarge\" \\\n  --parallelism-configuration MaxParallelExecutionSteps=3\n\n# EventBridge-driven start (S3 PUT on new training data)\naws events put-rule \\\n  --name sagemaker-pipeline-on-new-data \\\n  --event-pattern '{\n    \"source\": [\"aws.s3\"], \"detail-type\": [\"Object Created\"],\n    \"detail\": {\"bucket\": {\"name\": [\"my-ml-bucket\"]}, \"object\": {\"key\": [{\"prefix\": \"raw\u002F\"}]}}\n  }'\n\naws events put-targets \\\n  --rule sagemaker-pipeline-on-new-data \\\n  --targets '[{\"Id\":\"start-pipeline\",\"Arn\":\"arn:aws:sagemaker:us-east-1:123456789012:pipeline\u002Ftraining-pipeline\",\"RoleArn\":\"arn:aws:iam::123456789012:role\u002FEventBridgeSageMakerInvoke\"}]'\n```\n\n**Schedule trigger (cron):** `--schedule-expression \"cron(0 2 * * ? *)\"`.\n**CodeCommit trigger:** EventBridge on `codecommit` reference updates, or\nwire CodePipeline upstream. The invoke role must trust\n`events.amazonaws.com` and allow `sagemaker:StartPipelineExecution`.\n\n## Step 14 — Recent features\nRecent AWS features 2023-2026 (pipeline_definition_config, FailStep, EMRStep, richer ModelMetrics, cache-key ETag improvements, InfrastructureConfig): [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\nLoad on demand when choosing step types or VPC config.\n\n## NEVER do these things\n\n1. **NEVER assume the steps list order is the execution order.** Steps\n   run as a DAG. Wire dependencies via property references or\n   `DependsOn`. Two unrelated steps may run in parallel.\n\n2. **NEVER skip the execution-role `iam:PassRole` check.** The pipeline\n   role must pass child-job roles to TrainingJobs and ProcessingJobs.\n   Without it, execution fails on the first job launch.\n\n3. **NEVER assume caching means re-runs are free.** Caching is per-step,\n   keyed on arguments and S3 input ETags. Pin image references to\n   digests (not `:latest` tags) to avoid stale-step bugs.\n\n4. **NEVER assume RegisterModel deploys the model.** It creates a\n   registry version in `PendingManualApproval`. Deployment happens\n   after `UpdateModelPackage(ApprovalStatus=Approved)` via downstream\n   CI\u002FCD. Auto-approving defeats the gate.\n\n5. **NEVER reference a step property from a branch that didn't run.**\n   If CreateModelStep is in `if_steps`, TransformStep must be too.\n\n6. **NEVER set `ParallelismConfiguration` above account quotas.**\n   Account quotas cap total concurrent jobs across all pipelines.\n   Excess steps queue silently — verify quotas first.\n\n7. **NEVER mix Terraform-managed and SDK-upserted pipelines.** Pick\n   one — `terraform apply` and `pipeline.upsert()` fighting over the\n   definition produces drift and surprises.\n\n8. **NEVER use image tags like `:latest` for cache-sensitive steps.**\n   Use immutable tags (`:v1.4.2`) or digests (`@sha256:...`).\n\n9. **NEVER forget the JsonGet property file when branching on metrics.**\n   ConditionStep reads metrics via `JsonGet` from a `PropertyFile`\n   pointing to JSON the prior step wrote. Without it, the condition\n   errors.\n\n10. **NEVER rely on EventBridge triggers without an invoke role.** The\n    target needs `events.amazonaws.com` permission to call\n    `sagemaker:StartPipelineExecution` via a role. Missing role = silent\n    no-op trigger.\n\n## Output format\n\n```text\nPIPELINE: \u003Cpipeline-name> (\u003Cpipeline-arn if known>)\nVERDICT: READY_TO_DEPLOY | PREREQUISITES_MISSING\nCHECKLIST:\n  [✓|✗] Execution role: \u003Crole-arn> (trusts sagemaker.amazonaws.com, iam:PassRole for child roles)\n  [✓|✗] Pipeline parameters: \u003Cname=list>\n  [✓|✗] Steps DAG: \u003Cstep=list> (edges via property refs \u002F DependsOn)\n  [✓|✗] ProcessingStep: \u003Cname> (sklearn|spark|custom, instance=\u003Ctype>)\n  [✓|✗] TrainingStep: \u003Cname> (built-in|custom-ecr, instance=\u003Ctype>x\u003Ccount>)\n  [✓|✗] TuningStep: \u003Cname> (max_jobs=\u003Cn>, max_parallel=\u003Cn>) | Not used\n  [✓|✗] CreateModelStep: \u003Cname> (model_data via property ref)\n  [✓|✗] ConditionStep: \u003Cname> (branch on \u003Cmetric> \u003Cop> \u003Cthreshold>; if_steps\u002Felse_steps)\n  [✓|✗] TransformStep: \u003Cname> (batch input: s3:\u002F\u002F...) | Not used\n  [✓|✗] RegisterModelStep: \u003Cname> (group: \u003Cgroup-name>, PendingManualApproval|Approved)\n  [✓|✗] Caching: enabled (P30D) | disabled | ParallelismConfiguration: MaxParallelExecutionSteps=\u003Cn>\n  [✓|✗] Trigger: manual | EventBridge rule \u003Crule-name> (schedule|S3|CodeCommit)\n  [✓|✗] Model Registry gate: enforced (PendingManualApproval) | bypassed (auto-approve)\nVERIFICATION_COMMANDS:\n  aws sagemaker describe-pipeline --pipeline-name \u003Cpipeline-name>\n  aws sagemaker list-pipeline-executions --pipeline-name \u003Cpipeline-name>\n  aws sagemaker describe-model-package-group --model-package-group-name \u003Cgroup>\n  aws events describe-rule --name \u003Crule-name>\n```\n\n### Worked example — end-to-end pipeline with conditional register\n\n```text\nPIPELINE: xgb-training-pipeline\nVERDICT: READY_TO_DEPLOY\nCHECKLIST:\n  [✓] Execution role: arn:aws:iam::123456789012:role\u002FSageMakerPipelineExecutionRole (PassRole on SageMakerExecutionRole)\n  [✓] Pipeline parameters: ProcessingInstanceType, TrainingInstanceType, TrainingInstanceCount, ApprovalThreshold\n  [✓] Steps DAG: Preprocess → Train → Evaluate → CheckAUC → [CreateModel, Transform, RegisterModel] | else → FailStep\n  [✓] ProcessingStep: Preprocess (sklearn 1.2-1, ml.m5.xlarge)\n  [✓] TrainingStep: Train (built-in xgboost 1.7-1, ml.m5.2xlarge x2)\n  [✓] ConditionStep: CheckAUC (JsonGet metrics.accuracy.value ≥ 0.9)\n  [✓] TransformStep: BatchScore (input s3:\u002F\u002Fmy-ml-bucket\u002Fbatch-input)\n  [✓] RegisterModelStep: RegisterModel (group: xgb-classifier-group, PendingManualApproval)\n  [✓] Caching: enabled (window: P30D) | ParallelismConfiguration: MaxParallelExecutionSteps=3\n  [✓] Trigger: EventBridge rule sagemaker-pipeline-on-new-data (S3 PUT raw\u002F)\n  [✓] Model Registry gate: enforced (PendingManualApproval)\nVERIFICATION_COMMANDS:\n  aws sagemaker describe-pipeline --pipeline-name xgb-training-pipeline\n  aws sagemaker list-pipeline-executions --pipeline-name xgb-training-pipeline\n  aws sagemaker describe-model-package-group --model-package-group-name xgb-classifier-group\n  aws events describe-rule --name sagemaker-pipeline-on-new-data\n```\n\n## Error handling\nAll seven error deep dives (cycle detected, iam:PassRole on first job, JsonGet unresolved, cache re-runs, RegisterModel never deploys, EventBridge fires but pipeline does not execute, parallelism vs quotas): [references\u002Ferror-handling.md](references\u002Ferror-handling.md).\nLoad on demand on the first execution failure.\n\n## References (load on demand)\n\n- [Pipeline steps and DAG](references\u002Fpipeline-steps-and-dag.md) — configuration dependency graph, DAG-not-a-sequence heuristic, full step recipes for Processing\u002FTraining\u002FTuning\u002FCreateModel\u002FCondition\u002FTransform\n- [Registry and caching](references\u002Fregistry-and-caching.md) — caching cache-key heuristic and the model-registry approval-gate heuristic\n- [Advanced patterns](references\u002Fadvanced-patterns.md) — recent AWS features (2023-2026)\n- [Error handling](references\u002Ferror-handling.md) — deep dives: cycle detection, iam:PassRole, JsonGet resolution, cache misses, RegisterModel gate, EventBridge triggers, parallelism vs quotas\n\n## Domain\n\nAWS CloudOps \u002F Amazon SageMaker Pipeline Definition & ML Workflow Orchestration.\n\n## AWS documentation\n\n- **SageMaker Pipelines overview** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fsagemaker\u002Flatest\u002Fdg\u002Fpipelines.html\n- **Build and manage pipelines** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fsagemaker\u002Flatest\u002Fdg\u002Fpipelines-build.html\n- **Step types reference** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fsagemaker\u002Flatest\u002Fdg\u002Fbuild-and-manage-steps.html\n- **Caching** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fsagemaker\u002Flatest\u002Fdg\u002Fpipelines-caching.html\n- **Model Registry** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fsagemaker\u002Flatest\u002Fdg\u002Fmodel-registry.html\n- **StartPipelineExecution** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fsagemaker\u002Flatest\u002FAPIReference\u002FAPI_StartPipelineExecution.html\n- **ParallelismConfiguration** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fsagemaker\u002Flatest\u002Fdg\u002Frun-pipeline.html#run-pipeline-parallelism\n- **EventBridge triggers** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fsagemaker\u002Flatest\u002Fdg\u002Fpipelines-event-driven.html\n- **Python SDK** — https:\u002F\u002Fsagemaker.readthedocs.io\u002Fen\u002Fstable\u002Fworkflows\u002Fpipelines\u002Findex.html\n",{"name":5,"license":15,"metadata":24,"description":7,"compatibility":41},{"tags":25,"phase":26,"author":27,"domain":28,"family":29,"version":30,"keywords":31,"task_type":32,"complexity":33,"entry_point":34,"skill_class":35,"when_to_use":36,"dependencies":37,"requires_llm":38,"verdict_shape":39,"lifecycle_status":40,"supports_pipeline":38},"aws, sagemaker, sagemaker-pipeline, cloudops, deploy, ml, mlops, model-registry, eventbridge, caching, dag","1","Jacky Chan — AWS Community Builder","aws-cloudops","AI\u002FML","0.1.0","aws, sagemaker, pipeline, dag, cloudops, deploy, ml, processing step, training step, tuning step, hyperparameter optimization, condition step, transform step, model register step, model registry, caching, parallelism, eventbridge","deploy","high","false","capability","Invoke when the user wants to build or update an Amazon SageMaker Pipeline (the workflow orchestration service for ML), compose step collections (Processing, Training, Tuning, CreateModel, Condition, Transform, RegisterModel), wire parameters between steps via Properties, configure per-step caching or pipeline-wide parallelism, drive executions from EventBridge, or gate production deployment via the Model Registry approval workflow. Do NOT invoke for SageMaker Studio operations, single TrainingJob\u002FTransformJob without a pipeline (use sagemaker-training-job-operator), real-time Endpoint deployment (use sagemaker-endpoint-deployer), or non-SageMaker orchestrators (Step Functions, Airflow).","aws-orchestrator","true","READY_TO_DEPLOY | PREREQUISITES_MISSING","active","Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). For live deployment: AWS CLI v2 with sagemaker access and an IAM execution role that can be passed to underlying jobs. Works with SageMaker Python SDK (sagemaker.Pipeline \u002F sagemaker.workflow steps), Terraform aws_sagemaker_pipeline \u002F aws_sagemaker_pipeline_definition resources, and CloudFormation AWS::SageMaker::Pipeline templates.","main","eeace51bd5dd1db2030729d83eeab988861553aa","skills\u002Fsagemaker-pipeline-deployer",0,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills","https:\u002F\u002Fgithub.com\u002Fjhkchan","CTO & Co-Founder @Beever-AI  & @votee. CAISP. AWS Community Builder. Organizer@GDGCloudHK. MongoDB Champion. Technopreneur + Infornographer.","2026-09-24 08:54:10",{"source":8,"skillName":5,"commands":51,"prompt":61,"zipAvailable":62},[52,55,58],{"tool":53,"command":54},"npx","npx skills add jhkchan\u002Faws-agent-skills --skill sagemaker-pipeline-deployer",{"tool":56,"command":57},"bunx","bunx skills add jhkchan\u002Faws-agent-skills --skill sagemaker-pipeline-deployer",{"tool":59,"command":60},"pnpm","pnpm dlx skills add jhkchan\u002Faws-agent-skills --skill sagemaker-pipeline-deployer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsagemaker-pipeline-deployer\u002FSKILL.md",true,[64,70,74,78,82,86,90,94,98,102,106,110,114,118,122,126,130,134,138],{"path":65,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":68,"sourceHtmlUrl":69},"eval\u002Ftest-cases.yaml","REFERENCE","参考文档",6779,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsagemaker-pipeline-deployer\u002Feval\u002Ftest-cases.yaml",{"path":71,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":72,"sourceHtmlUrl":73},"evals\u002Fbaselines\u002Fcaching-and-parallelism.md",755,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsagemaker-pipeline-deployer\u002Fevals\u002Fbaselines\u002Fcaching-and-parallelism.md",{"path":75,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":76,"sourceHtmlUrl":77},"evals\u002Fbaselines\u002Fconditional-branch-on-metric.md",669,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsagemaker-pipeline-deployer\u002Fevals\u002Fbaselines\u002Fconditional-branch-on-metric.md",{"path":79,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":80,"sourceHtmlUrl":81},"evals\u002Fbaselines\u002Fend-to-end-pipeline-with-registry.md",900,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsagemaker-pipeline-deployer\u002Fevals\u002Fbaselines\u002Fend-to-end-pipeline-with-registry.md",{"path":83,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":84,"sourceHtmlUrl":85},"evals\u002Fbaselines\u002Fmissing-execution-role.md",705,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsagemaker-pipeline-deployer\u002Fevals\u002Fbaselines\u002Fmissing-execution-role.md",{"path":87,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":88,"sourceHtmlUrl":89},"evals\u002Fbaselines\u002Ftuning-step-hpo.md",903,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsagemaker-pipeline-deployer\u002Fevals\u002Fbaselines\u002Ftuning-step-hpo.md",{"path":91,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":92,"sourceHtmlUrl":93},"evals\u002Feval_config.yaml",1790,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsagemaker-pipeline-deployer\u002Fevals\u002Feval_config.yaml",{"path":95,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":96,"sourceHtmlUrl":97},"evals\u002Fevals.json",10310,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsagemaker-pipeline-deployer\u002Fevals\u002Fevals.json",{"path":99,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":100,"sourceHtmlUrl":101},"evals\u002Fprompts\u002Fcaching-and-parallelism.md",551,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsagemaker-pipeline-deployer\u002Fevals\u002Fprompts\u002Fcaching-and-parallelism.md",{"path":103,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":104,"sourceHtmlUrl":105},"evals\u002Fprompts\u002Fconditional-branch-on-metric.md",637,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsagemaker-pipeline-deployer\u002Fevals\u002Fprompts\u002Fconditional-branch-on-metric.md",{"path":107,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":108,"sourceHtmlUrl":109},"evals\u002Fprompts\u002Fend-to-end-pipeline-with-registry.md",1032,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsagemaker-pipeline-deployer\u002Fevals\u002Fprompts\u002Fend-to-end-pipeline-with-registry.md",{"path":111,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":112,"sourceHtmlUrl":113},"evals\u002Fprompts\u002Fmissing-execution-role.md",455,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsagemaker-pipeline-deployer\u002Fevals\u002Fprompts\u002Fmissing-execution-role.md",{"path":115,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":116,"sourceHtmlUrl":117},"evals\u002Fprompts\u002Ftuning-step-hpo.md",671,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsagemaker-pipeline-deployer\u002Fevals\u002Fprompts\u002Ftuning-step-hpo.md",{"path":119,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":120,"sourceHtmlUrl":121},"examples\u002FREADME.md",6798,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsagemaker-pipeline-deployer\u002Fexamples\u002FREADME.md",{"path":123,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":124,"sourceHtmlUrl":125},"references\u002Fadvanced-patterns.md",1124,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsagemaker-pipeline-deployer\u002Freferences\u002Fadvanced-patterns.md",{"path":127,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":128,"sourceHtmlUrl":129},"references\u002Ferror-handling.md",1705,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsagemaker-pipeline-deployer\u002Freferences\u002Ferror-handling.md",{"path":131,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":132,"sourceHtmlUrl":133},"references\u002Fpipeline-steps-and-dag.md",23154,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsagemaker-pipeline-deployer\u002Freferences\u002Fpipeline-steps-and-dag.md",{"path":135,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":136,"sourceHtmlUrl":137},"references\u002Fregistry-and-caching.md",12927,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsagemaker-pipeline-deployer\u002Freferences\u002Fregistry-and-caching.md",{"path":139,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":140,"sourceHtmlUrl":141},"skill.usf.yaml",4519,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsagemaker-pipeline-deployer\u002Fskill.usf.yaml",[143,150,157,164,171,178],{"skillNo":144,"name":145,"nameZh":6,"description":146,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":147,"categories":148,"keywords":149,"publishedAt":19},"01M7ADVD60X4PCAPKSE58P9NDC","xray-tracing-deployer","Deploys AWS X-Ray distributed tracing with production-grade configuration: X-Ray daemon deployment (EC2 systemd, ECS sidecar, EKS DaemonSet, Lambda built-in), SDK instrumentation (Java, Python, Node.js, Go, .NET) with annotations and metadata, sampling rules (default reservoir + rate vs custom rules with URL \u002F method \u002F service-name predicates), service map generation, trace query and retrieval, groups and insights, CloudWatch ServiceLens integration, IAM permissions (PutTraceSegments, GetSamplingRules), and latest features (Lambda Powertools tracing, OpenTelemetry \u002F ADOT Collector support, W3C trace context). Emits a READY_TO_DEPLOY checklist with every configuration item verified. Use when enabling X-Ray on a new application, adding tracing to ECS \u002F EKS \u002F Lambda, validating a sampling configuration, or generating daemon deployment CLI and IaC templates. Triggers: X-Ray, distributed tracing, X-Ray daemon, sampling rules, service map, X-Ray SDK, OpenTelemetry, ADOT, Lambda Powertools, CloudWatch ServiceLens.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxray-tracing-deployer\u002FSKILL.md",[],[],{"skillNo":151,"name":152,"nameZh":6,"description":153,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":154,"categories":155,"keywords":156,"publishedAt":19},"01M7ADTVJ7DCBM9CB1FY51GH7J","wellarchitected-workload-auditor","Audits AWS Well-Architected Tool workloads for review staleness, per-pillar high-risk issue counts, milestone tracking gaps, and remediation plan completeness. Emits a deterministic verdict (STALE_REVIEW | HIGH_RISK | CONFIG_GAP | OK) per workload with per-pillar risk breakdown, milestone trend analysis, and specific remediation. Use when reviewing Well-Architected workloads, checking WA review freshness, auditing high-risk issues per pillar, validating milestone coverage, or tracking remediation plans.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwellarchitected-workload-auditor\u002FSKILL.md",[],[],{"skillNo":158,"name":159,"nameZh":6,"description":160,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":161,"categories":162,"keywords":163,"publishedAt":19},"01M7ADT59G6FTTNZYHT2QRPNNP","wellarchitected-review-operator","Operates AWS Well-Architected Tool reviews end-to-end — creates workloads, runs pillar reviews (operational excellence, security, reliability, performance, cost optimization, sustainability, Prosperity), answers questions with risk-tier rationale, generates reports and improvement plans, creates milestones, and integrates with Trusted Advisor and Well-Architected Labs. Runs deterministic pre-checks (workload existence, lens availability, pillar coverage), emits the exact update-answer \u002F get-consolidated-report CLI behind a CONFIRM gate, and verifies risk-tier transitions. Emits READY | BLOCKED | COMPLETED. Use when creating a workload, answering pillar questions, generating an improvement plan, creating a milestone, or integrating with Trusted Advisor. Triggers: well-architected tool, well architected review, workload review, pillar, operational excellence, security, reliability, performance, cost optimization, sustainability, prosperity, improvement plan, milestone, trusted advisor.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwellarchitected-review-operator\u002FSKILL.md",[],[],{"skillNo":165,"name":166,"nameZh":6,"description":167,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":168,"categories":169,"keywords":170,"publishedAt":19},"01M7ADSH5JA9QHNPPHQCD7EVA7","wafv2-web-acl-deployer","Provisions AWS WAFv2 Web ACLs with correct production defaults: scope selection (CLOUDFRONT vs REGIONAL), managed rule groups (AWSManagedRulesCommonRuleSet, SQLiRuleSet, LinuxRuleSet, WindowsRuleSet, IPReputationList, BotControlRuleSet, AmazonIpReputationList, ATP), custom rules (byte match, IP set, regex pattern, geo match, size constraint, rate-based), rule priority ordering, logging destinations (Kinesis Firehose, CloudWatch Logs, S3), resource association (ALB, API Gateway, CloudFront), rate-based rules with aggregate keys (IP, forwarded IP), Challenge and CAPTCHA actions, and account takeover prevention. Emits a READY_TO_DEPLOY checklist. Use when creating a Web ACL, attaching managed rules, configuring rate limiting, enabling WAF logging, associating a Web ACL with an ALB\u002FAPI Gateway\u002FCloudFront, or configuring CAPTCHA\u002FChallenge actions. Triggers: create WAF Web ACL, WAFv2, managed rule groups, WAF rate limiting, WAF logging, WAF CAPTCHA, WAF Challenge action, bot control, ATP managed rules.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwafv2-web-acl-deployer\u002FSKILL.md",[],[],{"skillNo":172,"name":173,"nameZh":6,"description":174,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":175,"categories":176,"keywords":177,"publishedAt":19},"01M7ADRYFAT8R73FBNCHRC573X","wafv2-web-acl-auditor","Audits AWS WAFv2 Web ACL configurations to determine whether the ACL provides effective protection: default-action posture (Allow vs Block), managed-rule-group coverage gaps, rule effectiveness (BLOCK vs COUNT, shadow\u002Fbypass rules, stale exclusions), rate-based rule correctness, logging and visibility configuration, and text-transformation bypass vectors. Emits a deterministic verdict per Web ACL. Use when reviewing a WAFv2 Web ACL for security posture, checking managed-rule coverage, validating rate-limit configuration, auditing WAF logging, or hardening a WAF before production deployment. Triggers: WAF, WAFv2, Web ACL, managed rule group, AWSManagedRules, rate-based rule, CAPTCHA, Challenge, OverrideAction, Count mode, forwarded IP, Bot Control, ATP, text transformation, WAF logging, WAF visibility, OWASP, SQLi, XSS, RFI.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwafv2-web-acl-auditor\u002FSKILL.md",[],[],{"skillNo":179,"name":180,"nameZh":6,"description":181,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":182,"categories":183,"keywords":184,"publishedAt":19},"01M7ADR8W7G72JX4KFGN03QK8Q","waf-rule-deployer","Provisions AWS WAFv2 rule sets with production defaults: Web ACL creation (CloudFront scope in us-east-1 vs Regional scope), rule groups (managed vs custom) with capacity planning in WCU (Web ACL Capacity Units, 1500 default per ACL), managed rule groups (AWSManagedRulesCommonRuleSet, AWSManagedRulesSQLiRuleSet, AWSManagedRulesAmazonIpReputationList, AWSManagedRulesLinuxRuleSet, AWSManagedRulesWindowsRuleSet, AWSManagedRulesUnixRuleSet), custom rules (byte-match, regex pattern set, geo-match, rate-based), IP set and regex pattern set resources, rule priority ordering (lowest number evaluated first), action types (allow, block, count, CAPTCHA, Challenge), bot control managed rule group, account takeover. Triggers: create WAF rule, WAF managed rule group, WAF custom rule, WAF byte match, WAF geo match, WAF rate based rule, WAF IP set, WAF regex pattern set, WAF WCU budget, WAF CloudFront ACL, WAF logging Kinesis Firehose, WAF bot control, WAF ATP, WAF label matching, WAF Challenge action, WAF CAPTCHA.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwaf-rule-deployer\u002FSKILL.md",[],[]]