[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ADDFHK6F2028EBSDJQA4VS":3,"skill-same:01M7ADDFHK6F2028EBSDJQA4VS":148},{"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":44,"commitSha":45,"skillDirectory":46,"forksCount":47,"repositoryHtmlUrl":48,"repositoryHomepageUrl":6,"ownerHtmlUrl":49,"ownerBlogUrl":6,"ownerDescription":50,"updatedAt":51,"install":52,"resources":65},"01M7ADDFHK6F2028EBSDJQA4VS","transfer-family-deployer",null,"Provisions AWS Transfer Family servers with secure defaults — SFTP, FTPS, and FTP protocols, server endpoint types (public vs VPC vs VPC_ENDPOINT), identity providers (Service Managed, API Gateway Lambda custom IdP, AWS Directory Service), S3 storage backend with scoped-down IAM roles and session policies, EFS-backed users, CloudWatch logging, security groups for VPC endpoints, AS2 app-level B2B messaging, managed workflows (copy, delete, tag), tags, and structured logging. Runs pre-checks (S3 bucket policy, IAM role session policy scope, ACM cert for FTPS, API Gateway invocation permissions for custom IdP, VPC subnet\u002Fsecurity group reachability, Directory Service user population), emits create-server and create-user CLIs behind a CONFIRM gate, and verifies via describe-server. Emits READY_TO_DEPLOY | PREREQUISITES_MISSING. Use when creating SFTP\u002FFTPS servers, configuring custom IdPs, or setting up managed workflows.","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\u002Ftransfer-family-deployer\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: transfer-family-deployer\ndescription: Provisions AWS Transfer Family servers with secure defaults — SFTP, FTPS, and FTP protocols, server endpoint types (public vs VPC vs VPC_ENDPOINT), identity providers (Service Managed, API Gateway Lambda custom IdP, AWS Directory Service), S3 storage backend with scoped-down IAM roles and session policies, EFS-backed users, CloudWatch logging, security groups for VPC endpoints, AS2 app-level B2B messaging, managed workflows (copy, delete, tag), tags, and structured logging. Runs pre-checks (S3 bucket policy, IAM role session policy scope, ACM cert for FTPS, API Gateway invocation permissions for custom IdP, VPC subnet\u002Fsecurity group reachability, Directory Service user population), emits create-server and create-user CLIs behind a CONFIRM gate, and verifies via describe-server. Emits READY_TO_DEPLOY | PREREQUISITES_MISSING. Use when creating SFTP\u002FFTPS servers, configuring custom IdPs, or setting up managed workflows.\nlicense: Apache-2.0\ncompatibility: Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). No AWS CLI required for offline plan classification. Live-account operations use aws transfer create-server, create-user, update-server, describe-server, create-access, create-workflow (AWS CLI v2, SSO or key-based credentials).\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: Storage\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: transfer-family, sftp, ftps, storage, file-transfer, deploy, vpc, as2\n  dependencies: aws-orchestrator\n  keywords: Transfer Family, AWS Transfer, SFTP, FTPS, FTP, AS2, file transfer, service managed, custom IdP, API Gateway, Lambda IdP, Directory Service, Managed Microsoft AD, S3 backend, EFS backend, session policy, IAM role, VPC endpoint, security group, managed workflows, CloudWatch logging, structured logging\n  when_to_use: Creating an AWS Transfer Family server (SFTP, FTPS, FTP, AS2), configuring an identity provider (Service Managed, API Gateway Lambda custom IdP, AWS Directory Service), scoping IAM roles for per-user S3 access, deploying a VPC-attached server with security groups, enabling structured CloudWatch logging, or setting up managed workflows for inbound\u002Foutbound file processing.\n  activation_triggers: create Transfer Family server, provision SFTP server, deploy FTPS server, Transfer Family custom IdP, API Gateway Lambda identity, Directory Service SFTP, Managed Microsoft AD SFTP, session policy S3, scoped-down IAM role, VPC endpoint Transfer Family, security group SFTP, EFS-backed users, Transfer Family managed workflow, AS2 app-level messaging, Transfer Family structured logging, create-server transfer, create-user transfer, Transfer Family tags\n  invocation_schema: 'Input: either (a) a Transfer Family deployment intent (create, update) with target server name, protocols (SFTP\u002FFTPS\u002FFTP\u002FAS2), endpoint type (public\u002FVPC\u002FVPC_ENDPOINT), identity provider config, storage backend (S3 bucket or EFS), IAM role and session policy, logging config, security groups, and tags; OR (b) a server-id for live-account update or validation. Output: deterministic SERVER\u002FVERDICT\u002FPRE_CHECKS\u002FSTEPS\u002FPOST_VERIFY block per operation, where VERDICT is one of READY_TO_DEPLOY, PREREQUISITES_MISSING.'\n---\n\n# Transfer Family Deployer\n\n## What this skill does\n\nProvisions AWS Transfer Family servers with secure storage defaults —\nscoped-down IAM roles with session policies that confine each user to\ntheir `home` directory, Service Managed or custom API Gateway Lambda\nidentity providers, FTPS \u002F SFTP preferred over plain FTP, VPC-attached\nendpoints for private connectivity, CloudWatch structured logging, and\nmanaged workflows for inbound file processing. Runs deterministic\npre-checks before any state-changing CLI (does the S3 bucket exist and\ndoes its policy allow the role? does the IAM role trust\n`transfer.amazonaws.com`? does the ACM cert cover the FTPS endpoint?\ndoes the API Gateway invocation role exist for the custom IdP? does the\nVPC security group allow inbound on the protocol port?), emits the exact\n`create-server` and `create-user` CLIs behind a CONFIRM gate, and\nverifies the server via `describe-server`. Every server plan surfaces\nthe plain-FTP block, the unscoped-IAM-role warning, the public-endpoint\ncaveat, and the managed-workflow trigger ordering.\n\n## Quick navigation\n\n| Section | What it covers | When to read it |\n|---|---|---|\n| **Quick reference** | Verdict thresholds + pre-check priority order + protocol matrix | Before any operation |\n| **Mindset** | Why session policies matter; Transfer Family silent failures; protocol trade-offs | Understanding the deployment model |\n| **Pre-flight** | Server metadata gate — S3 bucket, IAM trust, ACM cert, VPC SG, IdP | Before executing any CLI |\n| **Process** | Per-operation planning: create server, add user, configure workflow | When choosing which operation |\n| **Common patterns** | Service Managed SFTP \u002F custom IdP SFTP \u002F FTPS VPC \u002F AS2 boilerplate | Boilerplate lookup |\n| **STRICT output contract** | Required SERVER\u002FVERDICT\u002FPRE_CHECKS\u002FSTEPS\u002FPOST_VERIFY block | Formatting the response |\n| **NEVER (top 5)** | Hard rules that prevent insecure patterns | Review before deploy |\n| **Expert heuristic** | Choosing identity provider and endpoint type | IdP\u002Fendpoint strategy |\n\n## Quick reference — verdict thresholds\n\n| Verdict | Trigger condition | Action |\n|---|---|---|\n| `PREREQUISITES_MISSING` | Any pre-check failed (S3 bucket missing, IAM role not trusting `transfer.amazonaws.com`, ACM cert in wrong region or pending for FTPS, API Gateway invocation role missing for custom IdP, VPC security group missing or wrong port, Directory Service not reachable, FTP requested on public endpoint, AS2 profile missing partner cert) | List failures, do NOT execute |\n| `READY_TO_DEPLOY` | All pre-checks passed; awaiting CONFIRM gate | Emit exact CLI sequence with full server config, wait for operator yes |\n\n**Priority order for pre-checks (apply in this sequence, all must pass\nfor READY_TO_DEPLOY):**\n\n1. **Protocol validity** — at least one of SFTP, FTPS, FTP, AS2 set. For\n   `FTP` only, endpoint MUST be VPC or VPC_ENDPOINT (never PUBLIC).\n2. **Endpoint type** — PUBLIC (internet-facing, service-managed\n   networking) or VPC\u002FVPC_ENDPOINT (private, your networking).\n3. **Identity provider** — `ServiceManaged`, `API_GATEWAY` (custom Lambda\n   IdP), or `AWS_DIRECTORY_SERVICE`. For `API_GATEWAY`: invocation role\n   exists, the API endpoint is reachable, and the Lambda returns the\n   expected JSON shape.\n4. **S3 backend** — bucket exists in the same region; bucket policy\n   grants the IAM role `s3:ListBucket`, `s3:GetObject`, `s3:PutObject`\n   on the user's home prefix.\n5. **IAM execution role** — trust policy allows `transfer.amazonaws.com`\n   with `sts:AssumeRole` and (recommended) a `SourceArn` \u002F `SourceAccount`\n   condition locking the role to this server.\n6. **Session policy scope** — every `create-user` call includes a\n   `Policy` (session policy) that scopes the user to their home prefix.\n   Unscoped users can read\u002Fwrite the entire bucket.\n7. **Logging** — `LoggingRole` ARN provided; role has\n   `logs:CreateLogStream`, `logs:CreateLogGroup`, `logs:PutLogEvents`\n   on the CloudWatch log group resource.\n8. **FTPS ACM cert** — for FTPS protocol, ACM cert ARN in the same\n   region, status `ISSUED`, cert subject matches the FTPS hostname.\n9. **VPC endpoint config** — for VPC_ENDPOINT: VPC ID, subnet IDs, and\n   security group IDs all exist; the security group inbound rule covers\n   the protocol port (22\u002FSFTP, 21\u002FFTP, 990\u002FFTPS, 5082\u002FAS2).\n10. **Directory Service** — for `AWS_DIRECTORY_SERVICE`: the directory\n    ID resolves via `ds:describe-directories`; the directory is in the\n    same VPC as the server; the Transfer service has been granted\n    access.\n11. **AS2 profiles** — for AS2: local profile (with private key in\n    Secrets Manager) and partner profile (with partner cert) both\n    exist.\n12. **Managed workflow** — for workflows: every step's Lambda\u002Ffunction\n    ARN resolves; the workflow execution role trusts\n    `transfer.amazonaws.com` and the workflow is referenced via\n    `OnPartialUpload` \u002F `OnUpload`.\n13. **IAM permissions** — the operator principal holds\n    `transfer:CreateServer` and `iam:PassRole`.\n\nTransfer Family service limits (2026) moved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\n\n## Mindset\n\n**One-line takeaway:** the IAM role on a Transfer Family user is the\nwhole security boundary. A user with `s3:*` on the role and no session\npolicy can read and write the entire bucket — every other user's\nfiles, system objects, bucket-level operations. The role defines\nmaximum scope; the session policy (`--policy` on `create-user`) defines\nthe user's effective scope. Three Transfer Family realities drive\nthis:\n\n- **Session policies are scoped-down IAM at runtime.** The effective\n  permissions are the intersection of the IAM role policy AND the\n  session policy. If the IAM role has `s3:GetObject` on `*` but the\n  session policy has `s3:GetObject` on `home\u002Fbob\u002F*`, the user can only\n  read `home\u002Fbob\u002F*`. Without a session policy, the user inherits the\n  full IAM role scope.\n\n- **Custom IdP responses silently fail.** A custom IdP API Gateway \u002F\n  Lambda that returns malformed JSON (missing `Role`, `HomeDirectory`,\n  or `Policy` fields) causes Transfer Family to reject the auth with a\n  generic \"authentication failed\" — no diagnostic about which field\n  was wrong. Pre-flight testing of the IdP response shape is\n  non-negotiable.\n\n- **Plain FTP is unencrypted on the wire.** Username, password, and\n  file contents are sent in cleartext. Transfer Family enforces this\n  by requiring VPC\u002FVPC_ENDPOINT for plain FTP — but a misconfigured\n  public endpoint with FTP enabled is the worst-case silent\n  regression. The skill blocks FTP-on-PUBLIC at the pre-check gate.\n\n## Pre-flight: server metadata gate\n\nRun before classification. Misclassifying these produces wrong plans.\n\n**Pagination:** `list-servers` returns at most 1000 servers per page.\nUse `--next-token` to drain.\n\n**Live-account pre-flight (skip if offline plan audit):**\nThe 12-command live-account pre-flight listing moved verbatim to [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md).\n\n**Malformed input:** if the server spec is missing required fields\n(`Protocols`, endpoint type, identity provider type, or storage\nbackend), emit `VERDICT: PREREQUISITES_MISSING` with `REASON: Server\nspec missing required field — Protocols, EndpointType,\nIdentityProviderType, or storage backend. Cannot plan.` and\n`REMEDIATION: Provide the full server config per\nhttps:\u002F\u002Fdocs.aws.amazon.com\u002Ftransfer\u002Flatest\u002Fuserguide\u002Fcreate-server-cli.html.`\n\n| Attribute | Effect on operation |\n|---|---|\n| FTP on PUBLIC endpoint | Cleartext credentials on the internet. PREREQUISITES_MISSING — blocked. |\n| IAM role without session policy on user | User can read entire bucket. Flag in NOTES; require session policy. |\n| S3 bucket in different region | Latency and cross-region data transfer costs. PREREQUISITES_MISSING. |\n| IAM role not trusting `transfer.amazonaws.com` | Server cannot assume role for the user. PREREQUISITES_MISSING. |\n| ACM cert pending for FTPS | FTPS handshake fails at runtime. PREREQUISITES_MISSING. |\n| VPC security group missing inbound on port 22 | SFTP connections time out silently. PREREQUISITES_MISSING. |\n| Custom IdP API Gateway not deployed to stage | Auth calls return 403\u002F404. PREREQUISITES_MISSING. |\n| AS2 partner cert not uploaded | AS2 messages cannot be encrypted. PREREQUISITES_MISSING. |\n| Directory Service not in same VPC as server | Auth requests time out. PREREQUISITES_MISSING. |\n\n## Process — operation planning (apply in order)\n\n### Step 0: Expert knowledge — non-obvious Transfer Family behaviors\n\nAll 15 non-obvious Transfer Family behaviors moved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\n\n### Step 1: Pre-check gate — PREREQUISITES_MISSING if any check fails\n\nRun ALL of the following pre-checks. If ANY fails, the verdict is\nPREREQUISITES_MISSING with the failed checks enumerated in PRE_CHECKS.\nDo NOT execute.\n\n**For ALL operations:**\n1. At least one of SFTP, FTPS, FTP, AS2 in `Protocols`.\n2. `EndpointType` is one of `PUBLIC`, `VPC`, `VPC_ENDPOINT`.\n3. `IdentityProviderType` is `SERVICE_MANAGED`, `API_GATEWAY`, or\n   `AWS_DIRECTORY_SERVICE`.\n4. Storage backend is provided (S3 bucket name or EFS file system ID).\n5. `LoggingRole` ARN provided and resolves via `iam:get-role`.\n6. Logging role has CloudWatch Logs permissions on the log group.\n7. The operator principal holds `transfer:CreateServer` and\n   `iam:PassRole`.\n\n**For FTP protocol:**\n8. `EndpointType` is `VPC` or `VPC_ENDPOINT` (FTP on PUBLIC is BLOCKED).\n9. VPC security group inbound rule on port 21.\n\n**For SFTP protocol:**\n10. If PUBLIC: NOTE that VPC is recommended for partner B2B.\n11. If VPC\u002FVPC_ENDPOINT: security group inbound rule on port 22.\n\n**For FTPS protocol:**\n12. `Certificate` ARN provided.\n13. ACM cert is in the same region as the server.\n14. `describe-certificate` returns status `ISSUED`.\n15. Cert subject\u002Falt names cover the FTPS hostname.\n16. If VPC: security group inbound rule on port 990 (and 21 for\n    implicit FTPS control channel).\n\n**For AS2 protocol:**\n17. `EndpointType` is `VPC` or `VPC_ENDPOINT`.\n18. Local profile exists (`describe-profile`).\n19. Partner profile exists with partner cert.\n20. Security group inbound rule on port 5082.\n\n**For S3 backend:**\n21. Bucket exists in the same region.\n22. Bucket policy or IAM role grants `s3:ListBucket`,\n    `s3:GetObject`, `s3:PutObject` on the intended prefix.\n23. Bucket versioning status known (recommend Suspended or Enabled for\n    audit).\n24. IAM execution role trusts `transfer.amazonaws.com`.\n25. Recommended: trust policy has `aws:SourceAccount` or\n    `aws:SourceArn` condition locking to this account\u002Fserver.\n\n**For EFS backend:**\n26. EFS file system ID resolves.\n27. EFS access point configured (optional but recommended).\n28. IAM role has `elasticfilesystem:ClientMount`,\n    `elasticfilesystem:ClientWrite`.\n\n**For API_GATEWAY custom IdP:**\n29. `InvocationRole` ARN resolves via `iam:get-role`.\n30. Invocation role trusts `transfer.amazonaws.com` and has\n    `apigateway:Invoke` on the REST API.\n31. `Url` is HTTPS, REST API deployed to a stage.\n32. Pre-flight test: POST a sample username\u002Fpassword to the API and\n    verify the response shape (Role, HomeDirectory, optional Policy).\n\n**For AWS_DIRECTORY_SERVICE:**\n33. Directory ID resolves via `ds:describe-directories`.\n34. Directory status is ACTIVE.\n35. Directory is in the same region and VPC.\n\n**For managed workflow reference:**\n36. Workflow ID resolves via `transfer:list-workflows`.\n37. Workflow status is ACTIVE.\n38. Workflow steps' Lambda\u002Ffunction ARNs all resolve.\n39. Workflow execution role trusts `transfer.amazonaws.com` and has\n    `lambda:InvokeFunction` on each step's Lambda.\n\n**For VPC\u002FVPC_ENDPOINT:**\n40. VPC ID, subnet IDs, security group IDs all resolve via\n    `ec2:describe-*`.\n41. Security group inbound rules match the protocol ports.\n42. (VPC_ENDPOINT only) the endpoint service name resolves.\n\n### Step 2: READY_TO_DEPLOY — emit deployment plan\n\nIf all pre-checks pass, emit `VERDICT: READY_TO_DEPLOY` with the exact\nCLI sequence and the CONFIRM gate. The plan includes:\n\n- The exact `aws transfer create-server` CLI with the full config\n  (Protocols, EndpointType, IdentityProviderType, LoggingRole,\n  Certificate for FTPS, VPC\u002Fsubnet\u002FSG for VPC, tags).\n- The follow-up `create-user` CLIs for each Service Managed user with\n  their SSH public key, IAM role, HomeDirectory, and session Policy.\n- The follow-up `create-access` CLI for S3 bucket access mapping\n  (when the user's IAM role is the access entry).\n- The follow-up `create-workflow` CLI (if managed workflow configured).\n- The CONFIRM gate prompt.\n\n### Step 3: Execute behind CONFIRM gate\n\n- **MANDATORY CONFIRMATION GATE.** Before any state-changing CLI\n  (`create-server`, `update-server`, `delete-server`), emit:\n  `CONFIRM: About to \u003Coperation> Transfer Family server \u003Cid-or-name>\n  in account \u003Caccount> region \u003Cregion>. This will \u003Cconsequence>.\n  Proceed? (yes\u002Fno)`. Do NOT execute until the operator confirms.\n- Snapshot the current server config before modification:\n  `aws transfer describe-server --server-id \u003Cid> --output json >\n  \u002Ftmp\u002Fserver-\u003Cid>-backup-$(date +%s).json`.\n- Execute the CLI with the full server config.\n\n### Step 4: Post-verification\n\nAfter the operation finishes, run post-verification:\n\n1. `describe-server --server-id \u003Cid>` returns `State: ONLINE` and the\n   expected config (Protocols, IdentityProviderType, EndpointType).\n2. For PUBLIC servers: DNS resolution of\n   `s-\u003Cid>.server.transfer.\u003Cregion>.amazonaws.com` succeeds.\n3. For VPC\u002FVPC_ENDPOINT: the ENI or VPC endpoint is in the expected\n   subnet.\n4. For Service Managed users: `describe-user --server-id \u003Cid>\n   --user-name \u003Cuser>` returns the user with the SSH key, role, and\n   home directory.\n5. For custom IdP: trigger a sample auth via the API Gateway and\n   confirm the Lambda returns the expected JSON shape.\n6. For managed workflows: trigger a sample upload to the\n   `OnUpload`-mapped directory and confirm the workflow executes.\n\n## Common server patterns (boilerplate)\n\nAll four boilerplate CLI sequences (Service Managed SFTP\u002FS3, custom IdP via API Gateway, Directory Service\u002FFTPS\u002FAS2 short forms, managed workflow OnUpload) moved verbatim to [references\u002Fworked-examples.md](references\u002Fworked-examples.md).\n\n## STRICT output contract\n\n### Required output structure\n\nEvery response MUST begin with this block — no preamble, no\nconversational opening:\n\n```text\nSERVER: \u003Cdescription-or-name>\nVERDICT: READY_TO_DEPLOY | PREREQUISITES_MISSING\nTARGET: \u003Cdescription-or-name> (server-id: \u003Cid> for updates)\nPRE_CHECKS:\n  - [PASS] \u003Ccheck description>\n  - [FAIL] \u003Ccheck description> — \u003Creason>\nSTEPS:\n  1. CONFIRM: About to \u003Coperation> server \u003Cname> in account \u003Caccount> region \u003Cregion>. This will \u003Cconsequence>. Proceed? (yes\u002Fno)\n  2. \u003Cexact CLI command — no placeholders>\nPOST_VERIFY:\n  - [PASS] \u003Cverification description>\n  - [FAIL] \u003Cverification description> — \u003Creason>\nPROTOCOLS: SFTP | FTPS | FTP | AS2 (combinations)\nENDPOINT: PUBLIC | VPC | VPC_ENDPOINT\nIDP: ServiceManaged | APIGateway | DirectoryService\nSTORAGE: S3 (bucket: \u003Cname>) | EFS (fs: \u003Cid>)\nSESSION_POLICY_SCOPE: \u003Chome-prefix-per-user> | (none — UNSCOPED, blocked)\nWORKFLOWS: \u003Ccount> attached\nNOTES: \u003Csecurity posture, IAM scope, protocol caveats>\n```\n\n### FORBIDDEN output patterns\n\n- NEVER start with \"Let me analyze…\" or \"I'll create…\" — the VERDICT\n  block is the FIRST line, always. No conversational preamble.\n- NEVER use lowercase verdict values — emit `READY_TO_DEPLOY` or\n  `PREREQUISITES_MISSING` (not `ready`, `prerequisites`).\n- NEVER omit PRE_CHECKS — every pre-check run must appear with `[PASS]`\n  or `[FAIL]` and a specific reason for each failure. An empty\n  PRE_CHECKS block is non-compliant.\n- NEVER emit a plan with placeholder values (e.g., `\u003Cserver-id>`,\n  `\u003Caccount-id>`) in a READY_TO_DEPLOY plan — every field must be\n  populated with actual values from the input.\n- NEVER omit the CONFIRM gate as the first STEPS entry for any\n  state-changing operation.\n- NEVER claim success without verifying the server is ONLINE (via\n  `describe-server`).\n- NEVER silently allow FTP on PUBLIC endpoint — block it explicitly\n  with a [FAIL] pre-check row naming the cleartext credential risk.\n- NEVER create a user without a session policy — unscoped users can\n  read the entire bucket. If the input omits it, the skill inserts a\n  default scoped to the home prefix and flags in NOTES.\n\n### Perfect example output\n\n```text\nSERVER: prod-sftp-inbox\nVERDICT: READY_TO_DEPLOY\nTARGET: prod-sftp-inbox\nPRE_CHECKS:\n  - [PASS] Protocols valid: SFTP\n  - [PASS] Endpoint type: PUBLIC (acceptable for SFTP; VPC preferred for partner B2B)\n  - [PASS] Identity provider: SERVICE_MANAGED\n  - [PASS] S3 bucket prod-sftp-inbox exists in us-east-1\n  - [PASS] IAM role TransferUserS3Role trusts transfer.amazonaws.com with SourceAccount condition\n  - [PASS] IAM role has s3:ListBucket, s3:GetObject, s3:PutObject on bucket\n  - [PASS] Logging role TransferLoggingRole resolves with logs:* permissions\n  - [PASS] Operator principal holds transfer:CreateServer and iam:PassRole\nSTEPS:\n  1. CONFIRM: About to create-server prod-sftp-inbox in account 111111111111 region us-east-1. This will CREATE a new Transfer Family server with SFTP protocol, Service Managed IdP, and CloudWatch logging. Proceed? (yes\u002Fno)\n  2. aws transfer create-server --description prod-sftp-inbox --protocols SFTP --endpoint-type PUBLIC --identity-provider-type SERVICE_MANAGED --logging-role arn:aws:iam::111111111111:role\u002FTransferLoggingRole --tags Key=Environment,Value=prod\n  3. aws transfer create-user --server-id \u003Creturned-id> --user-name alice --role arn:aws:iam::111111111111:role\u002FTransferUserS3Role --home-directory \u002Fprod-sftp-inbox\u002Falice --ssh-public-key-body \"ssh-rsa AAAAB3...\" --policy '{session policy scoping to \u002Falice\u002F*}'\nPOST_VERIFY:\n  - (pending execution)\n  - describe-server returns State=ONLINE\n  - describe-user returns alice with SSH key, role, home directory, and session policy\nPROTOCOLS: SFTP\nENDPOINT: PUBLIC\nIDP: ServiceManaged\nSTORAGE: S3 (bucket: prod-sftp-inbox)\nSESSION_POLICY_SCOPE: per-user home prefix\nWORKFLOWS: 0 attached\nNOTES:\n  - PUBLIC endpoint exposes SFTP to the internet — VPC endpoint preferred for partner B2B.\n  - Session policy scopes alice to \u002Fprod-sftp-inbox\u002Falice\u002F* — without it she could read the whole bucket.\n  - Tags Environment=prod propagate to Cost Explorer for chargeback.\n```\n\n## NEVER (top 5)\n\nThese are the highest-impact, most-frequent failure modes in Transfer\nFamily deployments. Violating any one is a security or availability\nregression.\n\n1. **NEVER enable FTP on a PUBLIC endpoint.** Plain FTP sends\n   username, password, and file contents in cleartext on the wire.\n   Transfer Family requires VPC\u002FVPC_ENDPOINT for FTP for this reason.\n   A misconfigured public FTP server leaks credentials at the TCP\n   layer — block at pre-check.\n\n2. **NEVER create a user without a session policy.** The IAM role\n   defines the user's MAX scope. Without a session policy, the user\n   inherits the full role scope — typically every user's files, every\n   prefix, and potentially bucket-level operations. Always pass\n   `--policy` scoping the user to their home prefix. The skill inserts\n   a default if the input omits it.\n\n3. **NEVER use an IAM execution role that trusts\n   `transfer.amazonaws.com` without a `SourceAccount` \u002F `SourceArn`\n   condition.** A bare trust policy lets any AWS account's Transfer\n   Family server assume the role via confused-deputy. Lock the trust\n   to your account (or specific server ARN) via the condition.\n\n4. **NEVER deploy FTPS without verifying the ACM cert status is\n   ISSUED.** A pending or rejected cert causes the FTPS handshake to\n   fail at runtime — clients see generic TLS errors with no diagnostic\n   pointing back to ACM. Verify in the same region as the server and\n   confirm the subject matches the hostname clients connect to.\n\n5. **NEVER configure a custom IdP API Gateway without pre-flight\n   testing the Lambda response shape.** A missing `Role`,\n   `HomeDirectory`, or `Policy` field causes auth to fail with a\n   generic \"authentication failed\" error — no diagnostic about which\n   field was wrong. POST a sample username\u002Fpassword to the API and\n   validate the JSON shape before declaring the server ready.\n\n## Expert heuristic: choosing identity provider and endpoint type\n\nThe right IdP and endpoint type is a function of user population,\ncredential source, and network exposure — not a one-size-fits-all.\n\n```\nIdentity provider\n   ├─ Consumer \u002F one-off partners (small user count)?\n   │    └─ SERVICE_MANAGED. SSH keys per user. No password to leak,\n   │         no IdP infrastructure to operate. Best UX if you can\n   │         distribute SSH keys.\n   │\n   ├─ Workforce users in Active Directory?\n   │    └─ AWS_DIRECTORY_SERVICE. Users sign in with DOMAIN\\user +\n   │         AD password — no SSH keys. Requires Managed Microsoft AD\n   │         in the same VPC. Simple AD is NOT supported.\n   │\n   ├─ External partners with their own IdP (Okta, Auth0, custom)?\n   │    └─ API_GATEWAY custom Lambda IdP. Your Lambda receives\n   │         username\u002Fpassword (or SSH key fingerprint) and returns\n   │         {Role, HomeDirectory, Policy, PublicKeys}. Maximum\n   │         flexibility — centralizes user mapping, MFA, audit.\n   │\n   └─ AS2 partners (B2B app-level)?\n        └─ Local + partner profile cert exchange. AS2 uses mutual\n             cert-based auth — not username\u002Fpassword.\n\nEndpoint type\n   ├─ Internet-facing SFTP for ad-hoc partner onboarding?\n   │    └─ PUBLIC. Acceptable for SFTP. Use security groups and IP\n   │         allow-lists where possible. FTPS on PUBLIC exposes TLS\n   │         metadata.\n   │\n   ├─ Private partner B2B (regulated, internal-only)?\n   │    └─ VPC_ENDPOINT. Your VPC, your SGs, your Route 53. Partner\n   │         connects via VPN\u002FDirect Connect\u002Fpeering.\n   │\n   ├─ Multi-AZ resilience for production SFTP?\n   │    └─ VPC with subnets in 2+ AZs. VPC_ENDPOINT preferred —\n   │         single endpoint serves all AZs without per-subnet ENI.\n   │\n   └─ AS2 or FTP (required private)?\n        └─ VPC_ENDPOINT only. FTP never on PUBLIC (blocked).\n```\n\n**Decision rules:**\n- Default to SERVICE_MANAGED + SSH keys. Switch to custom IdP only when\n  you need password auth, MFA, or central user management.\n- Default to VPC_ENDPOINT for production. PUBLIC is acceptable for\n  SFTP pilots but exposes metadata.\n- Always pass a session policy scoping the user to their home prefix.\n- Always pair `LoggingRole` with the structured-logging managed policy\n  — without logs you have no audit trail of who uploaded what.\n- FTPS requires ACM cert in the same region; SFTP does not.\n- AS2 is a separate operational model — local\u002Fpartner profile cert\n  exchange, MDN acks, no SSH key distribution.\n\nALWAYS tag the server with `Environment` and (for partner servers)\n`Partner` — these tags propagate to Cost Explorer for chargeback.\n\n## Recent AWS features (2024-2026)\n\nThe 2024-2026 feature timeline moved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\n\n## AWS documentation\n\n- **AWS Transfer Family User Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002Ftransfer\u002Flatest\u002Fuserguide\u002Fwhat-is-aws-transfer.html\n- **Create server (CLI)** — https:\u002F\u002Fdocs.aws.amazon.com\u002Ftransfer\u002Flatest\u002Fuserguide\u002Fcreate-server-cli.html\n- **Service Managed users** — https:\u002F\u002Fdocs.aws.amazon.com\u002Ftransfer\u002Flatest\u002Fuserguide\u002Fconfigure-sftp-users.html\n- **Custom IdP (API Gateway + Lambda)** — https:\u002F\u002Fdocs.aws.amazon.com\u002Ftransfer\u002Flatest\u002Fuserguide\u002Fconfiguring-custom-idp.html\n- **Directory Service SFTP** — https:\u002F\u002Fdocs.aws.amazon.com\u002Ftransfer\u002Flatest\u002Fuserguide\u002Fdirectory-service-users.html\n- **SFTP session policies** — https:\u002F\u002Fdocs.aws.amazon.com\u002Ftransfer\u002Flatest\u002Fuserguide\u002Fsession-policy.html\n- **FTPS cert configuration** — https:\u002F\u002Fdocs.aws.amazon.com\u002Ftransfer\u002Flatest\u002Fuserguide\u002Fprotocols.html\n- **AS2 profiles** — https:\u002F\u002Fdocs.aws.amazon.com\u002Ftransfer\u002Flatest\u002Fuserguide\u002Fas2-profiles.html\n- **Managed workflows** — https:\u002F\u002Fdocs.aws.amazon.com\u002Ftransfer\u002Flatest\u002Fuserguide\u002Fworking-with-workflows.html\n- **Structured logging** — https:\u002F\u002Fdocs.aws.amazon.com\u002Ftransfer\u002Flatest\u002Fuserguide\u002Fmonitoring.html\n\n## References (load on demand)\n\n- [references\u002Fworked-examples.md](references\u002Fworked-examples.md) — full CLI boilerplate for the four common server patterns\n- [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — Step 0 non-obvious behaviors, 2026 service limits, 2024-2026 feature timeline\n- [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) — 12-command live-account pre-flight listing\n- [references\u002Fidentity-providers-and-storage.md](references\u002Fidentity-providers-and-storage.md) — identity provider and storage backend detail\n- [references\u002Fserver-and-iam-session-policies.md](references\u002Fserver-and-iam-session-policies.md) — server IAM and session policy detail\n\n## Domain\n\nAWS CloudOps \u002F Storage — Transfer Family Server Provisioning & File\nExchange.\n","# Transfer Family Deployer\n\n## What this skill does\n\nProvisions AWS Transfer Family servers with secure storage defaults —\nscoped-down IAM roles with session policies that confine each user to\ntheir `home` directory, Service Managed or custom API Gateway Lambda\nidentity providers, FTPS \u002F SFTP preferred over plain FTP, VPC-attached\nendpoints for private connectivity, CloudWatch structured logging, and\nmanaged workflows for inbound file processing. Runs deterministic\npre-checks before any state-changing CLI (does the S3 bucket exist and\ndoes its policy allow the role? does the IAM role trust\n`transfer.amazonaws.com`? does the ACM cert cover the FTPS endpoint?\ndoes the API Gateway invocation role exist for the custom IdP? does the\nVPC security group allow inbound on the protocol port?), emits the exact\n`create-server` and `create-user` CLIs behind a CONFIRM gate, and\nverifies the server via `describe-server`. Every server plan surfaces\nthe plain-FTP block, the unscoped-IAM-role warning, the public-endpoint\ncaveat, and the managed-workflow trigger ordering.\n\n## Quick navigation\n\n| Section | What it covers | When to read it |\n|---|---|---|\n| **Quick reference** | Verdict thresholds + pre-check priority order + protocol matrix | Before any operation |\n| **Mindset** | Why session policies matter; Transfer Family silent failures; protocol trade-offs | Understanding the deployment model |\n| **Pre-flight** | Server metadata gate — S3 bucket, IAM trust, ACM cert, VPC SG, IdP | Before executing any CLI |\n| **Process** | Per-operation planning: create server, add user, configure workflow | When choosing which operation |\n| **Common patterns** | Service Managed SFTP \u002F custom IdP SFTP \u002F FTPS VPC \u002F AS2 boilerplate | Boilerplate lookup |\n| **STRICT output contract** | Required SERVER\u002FVERDICT\u002FPRE_CHECKS\u002FSTEPS\u002FPOST_VERIFY block | Formatting the response |\n| **NEVER (top 5)** | Hard rules that prevent insecure patterns | Review before deploy |\n| **Expert heuristic** | Choosing identity provider and endpoint type | IdP\u002Fendpoint strategy |\n\n## Quick reference — verdict thresholds\n\n| Verdict | Trigger condition | Action |\n|---|---|---|\n| `PREREQUISITES_MISSING` | Any pre-check failed (S3 bucket missing, IAM role not trusting `transfer.amazonaws.com`, ACM cert in wrong region or pending for FTPS, API Gateway invocation role missing for custom IdP, VPC security group missing or wrong port, Directory Service not reachable, FTP requested on public endpoint, AS2 profile missing partner cert) | List failures, do NOT execute |\n| `READY_TO_DEPLOY` | All pre-checks passed; awaiting CONFIRM gate | Emit exact CLI sequence with full server config, wait for operator yes |\n\n**Priority order for pre-checks (apply in this sequence, all must pass\nfor READY_TO_DEPLOY):**\n\n1. **Protocol validity** — at least one of SFTP, FTPS, FTP, AS2 set. For\n   `FTP` only, endpoint MUST be VPC or VPC_ENDPOINT (never PUBLIC).\n2. **Endpoint type** — PUBLIC (internet-facing, service-managed\n   networking) or VPC\u002FVPC_ENDPOINT (private, your networking).\n3. **Identity provider** — `ServiceManaged`, `API_GATEWAY` (custom Lambda\n   IdP), or `AWS_DIRECTORY_SERVICE`. For `API_GATEWAY`: invocation role\n   exists, the API endpoint is reachable, and the Lambda returns the\n   expected JSON shape.\n4. **S3 backend** — bucket exists in the same region; bucket policy\n   grants the IAM role `s3:ListBucket`, `s3:GetObject`, `s3:PutObject`\n   on the user's home prefix.\n5. **IAM execution role** — trust policy allows `transfer.amazonaws.com`\n   with `sts:AssumeRole` and (recommended) a `SourceArn` \u002F `SourceAccount`\n   condition locking the role to this server.\n6. **Session policy scope** — every `create-user` call includes a\n   `Policy` (session policy) that scopes the user to their home prefix.\n   Unscoped users can read\u002Fwrite the entire bucket.\n7. **Logging** — `LoggingRole` ARN provided; role has\n   `logs:CreateLogStream`, `logs:CreateLogGroup`, `logs:PutLogEvents`\n   on the CloudWatch log group resource.\n8. **FTPS ACM cert** — for FTPS protocol, ACM cert ARN in the same\n   region, status `ISSUED`, cert subject matches the FTPS hostname.\n9. **VPC endpoint config** — for VPC_ENDPOINT: VPC ID, subnet IDs, and\n   security group IDs all exist; the security group inbound rule covers\n   the protocol port (22\u002FSFTP, 21\u002FFTP, 990\u002FFTPS, 5082\u002FAS2).\n10. **Directory Service** — for `AWS_DIRECTORY_SERVICE`: the directory\n    ID resolves via `ds:describe-directories`; the directory is in the\n    same VPC as the server; the Transfer service has been granted\n    access.\n11. **AS2 profiles** — for AS2: local profile (with private key in\n    Secrets Manager) and partner profile (with partner cert) both\n    exist.\n12. **Managed workflow** — for workflows: every step's Lambda\u002Ffunction\n    ARN resolves; the workflow execution role trusts\n    `transfer.amazonaws.com` and the workflow is referenced via\n    `OnPartialUpload` \u002F `OnUpload`.\n13. **IAM permissions** — the operator principal holds\n    `transfer:CreateServer` and `iam:PassRole`.\n\nTransfer Family service limits (2026) moved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\n\n## Mindset\n\n**One-line takeaway:** the IAM role on a Transfer Family user is the\nwhole security boundary. A user with `s3:*` on the role and no session\npolicy can read and write the entire bucket — every other user's\nfiles, system objects, bucket-level operations. The role defines\nmaximum scope; the session policy (`--policy` on `create-user`) defines\nthe user's effective scope. Three Transfer Family realities drive\nthis:\n\n- **Session policies are scoped-down IAM at runtime.** The effective\n  permissions are the intersection of the IAM role policy AND the\n  session policy. If the IAM role has `s3:GetObject` on `*` but the\n  session policy has `s3:GetObject` on `home\u002Fbob\u002F*`, the user can only\n  read `home\u002Fbob\u002F*`. Without a session policy, the user inherits the\n  full IAM role scope.\n\n- **Custom IdP responses silently fail.** A custom IdP API Gateway \u002F\n  Lambda that returns malformed JSON (missing `Role`, `HomeDirectory`,\n  or `Policy` fields) causes Transfer Family to reject the auth with a\n  generic \"authentication failed\" — no diagnostic about which field\n  was wrong. Pre-flight testing of the IdP response shape is\n  non-negotiable.\n\n- **Plain FTP is unencrypted on the wire.** Username, password, and\n  file contents are sent in cleartext. Transfer Family enforces this\n  by requiring VPC\u002FVPC_ENDPOINT for plain FTP — but a misconfigured\n  public endpoint with FTP enabled is the worst-case silent\n  regression. The skill blocks FTP-on-PUBLIC at the pre-check gate.\n\n## Pre-flight: server metadata gate\n\nRun before classification. Misclassifying these produces wrong plans.\n\n**Pagination:** `list-servers` returns at most 1000 servers per page.\nUse `--next-token` to drain.\n\n**Live-account pre-flight (skip if offline plan audit):**\nThe 12-command live-account pre-flight listing moved verbatim to [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md).\n\n**Malformed input:** if the server spec is missing required fields\n(`Protocols`, endpoint type, identity provider type, or storage\nbackend), emit `VERDICT: PREREQUISITES_MISSING` with `REASON: Server\nspec missing required field — Protocols, EndpointType,\nIdentityProviderType, or storage backend. Cannot plan.` and\n`REMEDIATION: Provide the full server config per\nhttps:\u002F\u002Fdocs.aws.amazon.com\u002Ftransfer\u002Flatest\u002Fuserguide\u002Fcreate-server-cli.html.`\n\n| Attribute | Effect on operation |\n|---|---|\n| FTP on PUBLIC endpoint | Cleartext credentials on the internet. PREREQUISITES_MISSING — blocked. |\n| IAM role without session policy on user | User can read entire bucket. Flag in NOTES; require session policy. |\n| S3 bucket in different region | Latency and cross-region data transfer costs. PREREQUISITES_MISSING. |\n| IAM role not trusting `transfer.amazonaws.com` | Server cannot assume role for the user. PREREQUISITES_MISSING. |\n| ACM cert pending for FTPS | FTPS handshake fails at runtime. PREREQUISITES_MISSING. |\n| VPC security group missing inbound on port 22 | SFTP connections time out silently. PREREQUISITES_MISSING. |\n| Custom IdP API Gateway not deployed to stage | Auth calls return 403\u002F404. PREREQUISITES_MISSING. |\n| AS2 partner cert not uploaded | AS2 messages cannot be encrypted. PREREQUISITES_MISSING. |\n| Directory Service not in same VPC as server | Auth requests time out. PREREQUISITES_MISSING. |\n\n## Process — operation planning (apply in order)\n\n### Step 0: Expert knowledge — non-obvious Transfer Family behaviors\n\nAll 15 non-obvious Transfer Family behaviors moved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\n\n### Step 1: Pre-check gate — PREREQUISITES_MISSING if any check fails\n\nRun ALL of the following pre-checks. If ANY fails, the verdict is\nPREREQUISITES_MISSING with the failed checks enumerated in PRE_CHECKS.\nDo NOT execute.\n\n**For ALL operations:**\n1. At least one of SFTP, FTPS, FTP, AS2 in `Protocols`.\n2. `EndpointType` is one of `PUBLIC`, `VPC`, `VPC_ENDPOINT`.\n3. `IdentityProviderType` is `SERVICE_MANAGED`, `API_GATEWAY`, or\n   `AWS_DIRECTORY_SERVICE`.\n4. Storage backend is provided (S3 bucket name or EFS file system ID).\n5. `LoggingRole` ARN provided and resolves via `iam:get-role`.\n6. Logging role has CloudWatch Logs permissions on the log group.\n7. The operator principal holds `transfer:CreateServer` and\n   `iam:PassRole`.\n\n**For FTP protocol:**\n8. `EndpointType` is `VPC` or `VPC_ENDPOINT` (FTP on PUBLIC is BLOCKED).\n9. VPC security group inbound rule on port 21.\n\n**For SFTP protocol:**\n10. If PUBLIC: NOTE that VPC is recommended for partner B2B.\n11. If VPC\u002FVPC_ENDPOINT: security group inbound rule on port 22.\n\n**For FTPS protocol:**\n12. `Certificate` ARN provided.\n13. ACM cert is in the same region as the server.\n14. `describe-certificate` returns status `ISSUED`.\n15. Cert subject\u002Falt names cover the FTPS hostname.\n16. If VPC: security group inbound rule on port 990 (and 21 for\n    implicit FTPS control channel).\n\n**For AS2 protocol:**\n17. `EndpointType` is `VPC` or `VPC_ENDPOINT`.\n18. Local profile exists (`describe-profile`).\n19. Partner profile exists with partner cert.\n20. Security group inbound rule on port 5082.\n\n**For S3 backend:**\n21. Bucket exists in the same region.\n22. Bucket policy or IAM role grants `s3:ListBucket`,\n    `s3:GetObject`, `s3:PutObject` on the intended prefix.\n23. Bucket versioning status known (recommend Suspended or Enabled for\n    audit).\n24. IAM execution role trusts `transfer.amazonaws.com`.\n25. Recommended: trust policy has `aws:SourceAccount` or\n    `aws:SourceArn` condition locking to this account\u002Fserver.\n\n**For EFS backend:**\n26. EFS file system ID resolves.\n27. EFS access point configured (optional but recommended).\n28. IAM role has `elasticfilesystem:ClientMount`,\n    `elasticfilesystem:ClientWrite`.\n\n**For API_GATEWAY custom IdP:**\n29. `InvocationRole` ARN resolves via `iam:get-role`.\n30. Invocation role trusts `transfer.amazonaws.com` and has\n    `apigateway:Invoke` on the REST API.\n31. `Url` is HTTPS, REST API deployed to a stage.\n32. Pre-flight test: POST a sample username\u002Fpassword to the API and\n    verify the response shape (Role, HomeDirectory, optional Policy).\n\n**For AWS_DIRECTORY_SERVICE:**\n33. Directory ID resolves via `ds:describe-directories`.\n34. Directory status is ACTIVE.\n35. Directory is in the same region and VPC.\n\n**For managed workflow reference:**\n36. Workflow ID resolves via `transfer:list-workflows`.\n37. Workflow status is ACTIVE.\n38. Workflow steps' Lambda\u002Ffunction ARNs all resolve.\n39. Workflow execution role trusts `transfer.amazonaws.com` and has\n    `lambda:InvokeFunction` on each step's Lambda.\n\n**For VPC\u002FVPC_ENDPOINT:**\n40. VPC ID, subnet IDs, security group IDs all resolve via\n    `ec2:describe-*`.\n41. Security group inbound rules match the protocol ports.\n42. (VPC_ENDPOINT only) the endpoint service name resolves.\n\n### Step 2: READY_TO_DEPLOY — emit deployment plan\n\nIf all pre-checks pass, emit `VERDICT: READY_TO_DEPLOY` with the exact\nCLI sequence and the CONFIRM gate. The plan includes:\n\n- The exact `aws transfer create-server` CLI with the full config\n  (Protocols, EndpointType, IdentityProviderType, LoggingRole,\n  Certificate for FTPS, VPC\u002Fsubnet\u002FSG for VPC, tags).\n- The follow-up `create-user` CLIs for each Service Managed user with\n  their SSH public key, IAM role, HomeDirectory, and session Policy.\n- The follow-up `create-access` CLI for S3 bucket access mapping\n  (when the user's IAM role is the access entry).\n- The follow-up `create-workflow` CLI (if managed workflow configured).\n- The CONFIRM gate prompt.\n\n### Step 3: Execute behind CONFIRM gate\n\n- **MANDATORY CONFIRMATION GATE.** Before any state-changing CLI\n  (`create-server`, `update-server`, `delete-server`), emit:\n  `CONFIRM: About to \u003Coperation> Transfer Family server \u003Cid-or-name>\n  in account \u003Caccount> region \u003Cregion>. This will \u003Cconsequence>.\n  Proceed? (yes\u002Fno)`. Do NOT execute until the operator confirms.\n- Snapshot the current server config before modification:\n  `aws transfer describe-server --server-id \u003Cid> --output json >\n  \u002Ftmp\u002Fserver-\u003Cid>-backup-$(date +%s).json`.\n- Execute the CLI with the full server config.\n\n### Step 4: Post-verification\n\nAfter the operation finishes, run post-verification:\n\n1. `describe-server --server-id \u003Cid>` returns `State: ONLINE` and the\n   expected config (Protocols, IdentityProviderType, EndpointType).\n2. For PUBLIC servers: DNS resolution of\n   `s-\u003Cid>.server.transfer.\u003Cregion>.amazonaws.com` succeeds.\n3. For VPC\u002FVPC_ENDPOINT: the ENI or VPC endpoint is in the expected\n   subnet.\n4. For Service Managed users: `describe-user --server-id \u003Cid>\n   --user-name \u003Cuser>` returns the user with the SSH key, role, and\n   home directory.\n5. For custom IdP: trigger a sample auth via the API Gateway and\n   confirm the Lambda returns the expected JSON shape.\n6. For managed workflows: trigger a sample upload to the\n   `OnUpload`-mapped directory and confirm the workflow executes.\n\n## Common server patterns (boilerplate)\n\nAll four boilerplate CLI sequences (Service Managed SFTP\u002FS3, custom IdP via API Gateway, Directory Service\u002FFTPS\u002FAS2 short forms, managed workflow OnUpload) moved verbatim to [references\u002Fworked-examples.md](references\u002Fworked-examples.md).\n\n## STRICT output contract\n\n### Required output structure\n\nEvery response MUST begin with this block — no preamble, no\nconversational opening:\n\n```text\nSERVER: \u003Cdescription-or-name>\nVERDICT: READY_TO_DEPLOY | PREREQUISITES_MISSING\nTARGET: \u003Cdescription-or-name> (server-id: \u003Cid> for updates)\nPRE_CHECKS:\n  - [PASS] \u003Ccheck description>\n  - [FAIL] \u003Ccheck description> — \u003Creason>\nSTEPS:\n  1. CONFIRM: About to \u003Coperation> server \u003Cname> in account \u003Caccount> region \u003Cregion>. This will \u003Cconsequence>. Proceed? (yes\u002Fno)\n  2. \u003Cexact CLI command — no placeholders>\nPOST_VERIFY:\n  - [PASS] \u003Cverification description>\n  - [FAIL] \u003Cverification description> — \u003Creason>\nPROTOCOLS: SFTP | FTPS | FTP | AS2 (combinations)\nENDPOINT: PUBLIC | VPC | VPC_ENDPOINT\nIDP: ServiceManaged | APIGateway | DirectoryService\nSTORAGE: S3 (bucket: \u003Cname>) | EFS (fs: \u003Cid>)\nSESSION_POLICY_SCOPE: \u003Chome-prefix-per-user> | (none — UNSCOPED, blocked)\nWORKFLOWS: \u003Ccount> attached\nNOTES: \u003Csecurity posture, IAM scope, protocol caveats>\n```\n\n### FORBIDDEN output patterns\n\n- NEVER start with \"Let me analyze…\" or \"I'll create…\" — the VERDICT\n  block is the FIRST line, always. No conversational preamble.\n- NEVER use lowercase verdict values — emit `READY_TO_DEPLOY` or\n  `PREREQUISITES_MISSING` (not `ready`, `prerequisites`).\n- NEVER omit PRE_CHECKS — every pre-check run must appear with `[PASS]`\n  or `[FAIL]` and a specific reason for each failure. An empty\n  PRE_CHECKS block is non-compliant.\n- NEVER emit a plan with placeholder values (e.g., `\u003Cserver-id>`,\n  `\u003Caccount-id>`) in a READY_TO_DEPLOY plan — every field must be\n  populated with actual values from the input.\n- NEVER omit the CONFIRM gate as the first STEPS entry for any\n  state-changing operation.\n- NEVER claim success without verifying the server is ONLINE (via\n  `describe-server`).\n- NEVER silently allow FTP on PUBLIC endpoint — block it explicitly\n  with a [FAIL] pre-check row naming the cleartext credential risk.\n- NEVER create a user without a session policy — unscoped users can\n  read the entire bucket. If the input omits it, the skill inserts a\n  default scoped to the home prefix and flags in NOTES.\n\n### Perfect example output\n\n```text\nSERVER: prod-sftp-inbox\nVERDICT: READY_TO_DEPLOY\nTARGET: prod-sftp-inbox\nPRE_CHECKS:\n  - [PASS] Protocols valid: SFTP\n  - [PASS] Endpoint type: PUBLIC (acceptable for SFTP; VPC preferred for partner B2B)\n  - [PASS] Identity provider: SERVICE_MANAGED\n  - [PASS] S3 bucket prod-sftp-inbox exists in us-east-1\n  - [PASS] IAM role TransferUserS3Role trusts transfer.amazonaws.com with SourceAccount condition\n  - [PASS] IAM role has s3:ListBucket, s3:GetObject, s3:PutObject on bucket\n  - [PASS] Logging role TransferLoggingRole resolves with logs:* permissions\n  - [PASS] Operator principal holds transfer:CreateServer and iam:PassRole\nSTEPS:\n  1. CONFIRM: About to create-server prod-sftp-inbox in account 111111111111 region us-east-1. This will CREATE a new Transfer Family server with SFTP protocol, Service Managed IdP, and CloudWatch logging. Proceed? (yes\u002Fno)\n  2. aws transfer create-server --description prod-sftp-inbox --protocols SFTP --endpoint-type PUBLIC --identity-provider-type SERVICE_MANAGED --logging-role arn:aws:iam::111111111111:role\u002FTransferLoggingRole --tags Key=Environment,Value=prod\n  3. aws transfer create-user --server-id \u003Creturned-id> --user-name alice --role arn:aws:iam::111111111111:role\u002FTransferUserS3Role --home-directory \u002Fprod-sftp-inbox\u002Falice --ssh-public-key-body \"ssh-rsa AAAAB3...\" --policy '{session policy scoping to \u002Falice\u002F*}'\nPOST_VERIFY:\n  - (pending execution)\n  - describe-server returns State=ONLINE\n  - describe-user returns alice with SSH key, role, home directory, and session policy\nPROTOCOLS: SFTP\nENDPOINT: PUBLIC\nIDP: ServiceManaged\nSTORAGE: S3 (bucket: prod-sftp-inbox)\nSESSION_POLICY_SCOPE: per-user home prefix\nWORKFLOWS: 0 attached\nNOTES:\n  - PUBLIC endpoint exposes SFTP to the internet — VPC endpoint preferred for partner B2B.\n  - Session policy scopes alice to \u002Fprod-sftp-inbox\u002Falice\u002F* — without it she could read the whole bucket.\n  - Tags Environment=prod propagate to Cost Explorer for chargeback.\n```\n\n## NEVER (top 5)\n\nThese are the highest-impact, most-frequent failure modes in Transfer\nFamily deployments. Violating any one is a security or availability\nregression.\n\n1. **NEVER enable FTP on a PUBLIC endpoint.** Plain FTP sends\n   username, password, and file contents in cleartext on the wire.\n   Transfer Family requires VPC\u002FVPC_ENDPOINT for FTP for this reason.\n   A misconfigured public FTP server leaks credentials at the TCP\n   layer — block at pre-check.\n\n2. **NEVER create a user without a session policy.** The IAM role\n   defines the user's MAX scope. Without a session policy, the user\n   inherits the full role scope — typically every user's files, every\n   prefix, and potentially bucket-level operations. Always pass\n   `--policy` scoping the user to their home prefix. The skill inserts\n   a default if the input omits it.\n\n3. **NEVER use an IAM execution role that trusts\n   `transfer.amazonaws.com` without a `SourceAccount` \u002F `SourceArn`\n   condition.** A bare trust policy lets any AWS account's Transfer\n   Family server assume the role via confused-deputy. Lock the trust\n   to your account (or specific server ARN) via the condition.\n\n4. **NEVER deploy FTPS without verifying the ACM cert status is\n   ISSUED.** A pending or rejected cert causes the FTPS handshake to\n   fail at runtime — clients see generic TLS errors with no diagnostic\n   pointing back to ACM. Verify in the same region as the server and\n   confirm the subject matches the hostname clients connect to.\n\n5. **NEVER configure a custom IdP API Gateway without pre-flight\n   testing the Lambda response shape.** A missing `Role`,\n   `HomeDirectory`, or `Policy` field causes auth to fail with a\n   generic \"authentication failed\" error — no diagnostic about which\n   field was wrong. POST a sample username\u002Fpassword to the API and\n   validate the JSON shape before declaring the server ready.\n\n## Expert heuristic: choosing identity provider and endpoint type\n\nThe right IdP and endpoint type is a function of user population,\ncredential source, and network exposure — not a one-size-fits-all.\n\n```\nIdentity provider\n   ├─ Consumer \u002F one-off partners (small user count)?\n   │    └─ SERVICE_MANAGED. SSH keys per user. No password to leak,\n   │         no IdP infrastructure to operate. Best UX if you can\n   │         distribute SSH keys.\n   │\n   ├─ Workforce users in Active Directory?\n   │    └─ AWS_DIRECTORY_SERVICE. Users sign in with DOMAIN\\user +\n   │         AD password — no SSH keys. Requires Managed Microsoft AD\n   │         in the same VPC. Simple AD is NOT supported.\n   │\n   ├─ External partners with their own IdP (Okta, Auth0, custom)?\n   │    └─ API_GATEWAY custom Lambda IdP. Your Lambda receives\n   │         username\u002Fpassword (or SSH key fingerprint) and returns\n   │         {Role, HomeDirectory, Policy, PublicKeys}. Maximum\n   │         flexibility — centralizes user mapping, MFA, audit.\n   │\n   └─ AS2 partners (B2B app-level)?\n        └─ Local + partner profile cert exchange. AS2 uses mutual\n             cert-based auth — not username\u002Fpassword.\n\nEndpoint type\n   ├─ Internet-facing SFTP for ad-hoc partner onboarding?\n   │    └─ PUBLIC. Acceptable for SFTP. Use security groups and IP\n   │         allow-lists where possible. FTPS on PUBLIC exposes TLS\n   │         metadata.\n   │\n   ├─ Private partner B2B (regulated, internal-only)?\n   │    └─ VPC_ENDPOINT. Your VPC, your SGs, your Route 53. Partner\n   │         connects via VPN\u002FDirect Connect\u002Fpeering.\n   │\n   ├─ Multi-AZ resilience for production SFTP?\n   │    └─ VPC with subnets in 2+ AZs. VPC_ENDPOINT preferred —\n   │         single endpoint serves all AZs without per-subnet ENI.\n   │\n   └─ AS2 or FTP (required private)?\n        └─ VPC_ENDPOINT only. FTP never on PUBLIC (blocked).\n```\n\n**Decision rules:**\n- Default to SERVICE_MANAGED + SSH keys. Switch to custom IdP only when\n  you need password auth, MFA, or central user management.\n- Default to VPC_ENDPOINT for production. PUBLIC is acceptable for\n  SFTP pilots but exposes metadata.\n- Always pass a session policy scoping the user to their home prefix.\n- Always pair `LoggingRole` with the structured-logging managed policy\n  — without logs you have no audit trail of who uploaded what.\n- FTPS requires ACM cert in the same region; SFTP does not.\n- AS2 is a separate operational model — local\u002Fpartner profile cert\n  exchange, MDN acks, no SSH key distribution.\n\nALWAYS tag the server with `Environment` and (for partner servers)\n`Partner` — these tags propagate to Cost Explorer for chargeback.\n\n## Recent AWS features (2024-2026)\n\nThe 2024-2026 feature timeline moved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\n\n## AWS documentation\n\n- **AWS Transfer Family User Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002Ftransfer\u002Flatest\u002Fuserguide\u002Fwhat-is-aws-transfer.html\n- **Create server (CLI)** — https:\u002F\u002Fdocs.aws.amazon.com\u002Ftransfer\u002Flatest\u002Fuserguide\u002Fcreate-server-cli.html\n- **Service Managed users** — https:\u002F\u002Fdocs.aws.amazon.com\u002Ftransfer\u002Flatest\u002Fuserguide\u002Fconfigure-sftp-users.html\n- **Custom IdP (API Gateway + Lambda)** — https:\u002F\u002Fdocs.aws.amazon.com\u002Ftransfer\u002Flatest\u002Fuserguide\u002Fconfiguring-custom-idp.html\n- **Directory Service SFTP** — https:\u002F\u002Fdocs.aws.amazon.com\u002Ftransfer\u002Flatest\u002Fuserguide\u002Fdirectory-service-users.html\n- **SFTP session policies** — https:\u002F\u002Fdocs.aws.amazon.com\u002Ftransfer\u002Flatest\u002Fuserguide\u002Fsession-policy.html\n- **FTPS cert configuration** — https:\u002F\u002Fdocs.aws.amazon.com\u002Ftransfer\u002Flatest\u002Fuserguide\u002Fprotocols.html\n- **AS2 profiles** — https:\u002F\u002Fdocs.aws.amazon.com\u002Ftransfer\u002Flatest\u002Fuserguide\u002Fas2-profiles.html\n- **Managed workflows** — https:\u002F\u002Fdocs.aws.amazon.com\u002Ftransfer\u002Flatest\u002Fuserguide\u002Fworking-with-workflows.html\n- **Structured logging** — https:\u002F\u002Fdocs.aws.amazon.com\u002Ftransfer\u002Flatest\u002Fuserguide\u002Fmonitoring.html\n\n## References (load on demand)\n\n- [references\u002Fworked-examples.md](references\u002Fworked-examples.md) — full CLI boilerplate for the four common server patterns\n- [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — Step 0 non-obvious behaviors, 2026 service limits, 2024-2026 feature timeline\n- [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) — 12-command live-account pre-flight listing\n- [references\u002Fidentity-providers-and-storage.md](references\u002Fidentity-providers-and-storage.md) — identity provider and storage backend detail\n- [references\u002Fserver-and-iam-session-policies.md](references\u002Fserver-and-iam-session-policies.md) — server IAM and session policy detail\n\n## Domain\n\nAWS CloudOps \u002F Storage — Transfer Family Server Provisioning & File\nExchange.\n",{"name":5,"license":15,"metadata":24,"description":7,"compatibility":43},{"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,"invocation_schema":41,"supports_pipeline":38,"activation_triggers":42},"transfer-family, sftp, ftps, storage, file-transfer, deploy, vpc, as2","1","Jacky Chan — AWS Community Builder","aws-cloudops","Storage","0.1.0","Transfer Family, AWS Transfer, SFTP, FTPS, FTP, AS2, file transfer, service managed, custom IdP, API Gateway, Lambda IdP, Directory Service, Managed Microsoft AD, S3 backend, EFS backend, session policy, IAM role, VPC endpoint, security group, managed workflows, CloudWatch logging, structured logging","deploy","high","false","capability","Creating an AWS Transfer Family server (SFTP, FTPS, FTP, AS2), configuring an identity provider (Service Managed, API Gateway Lambda custom IdP, AWS Directory Service), scoping IAM roles for per-user S3 access, deploying a VPC-attached server with security groups, enabling structured CloudWatch logging, or setting up managed workflows for inbound\u002Foutbound file processing.","aws-orchestrator","true","READY_TO_DEPLOY | PREREQUISITES_MISSING","active","Input: either (a) a Transfer Family deployment intent (create, update) with target server name, protocols (SFTP\u002FFTPS\u002FFTP\u002FAS2), endpoint type (public\u002FVPC\u002FVPC_ENDPOINT), identity provider config, storage backend (S3 bucket or EFS), IAM role and session policy, logging config, security groups, and tags; OR (b) a server-id for live-account update or validation. Output: deterministic SERVER\u002FVERDICT\u002FPRE_CHECKS\u002FSTEPS\u002FPOST_VERIFY block per operation, where VERDICT is one of READY_TO_DEPLOY, PREREQUISITES_MISSING.","create Transfer Family server, provision SFTP server, deploy FTPS server, Transfer Family custom IdP, API Gateway Lambda identity, Directory Service SFTP, Managed Microsoft AD SFTP, session policy S3, scoped-down IAM role, VPC endpoint Transfer Family, security group SFTP, EFS-backed users, Transfer Family managed workflow, AS2 app-level messaging, Transfer Family structured logging, create-server transfer, create-user transfer, Transfer Family tags","Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). No AWS CLI required for offline plan classification. Live-account operations use aws transfer create-server, create-user, update-server, describe-server, create-access, create-workflow (AWS CLI v2, SSO or key-based credentials).","main","eeace51bd5dd1db2030729d83eeab988861553aa","skills\u002Ftransfer-family-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":53,"prompt":63,"zipAvailable":64},[54,57,60],{"tool":55,"command":56},"npx","npx skills add jhkchan\u002Faws-agent-skills --skill transfer-family-deployer",{"tool":58,"command":59},"bunx","bunx skills add jhkchan\u002Faws-agent-skills --skill transfer-family-deployer",{"tool":61,"command":62},"pnpm","pnpm dlx skills add jhkchan\u002Faws-agent-skills --skill transfer-family-deployer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftransfer-family-deployer\u002FSKILL.md",true,[66,72,76,80,84,88,92,96,100,104,108,112,116,120,124,128,132,136,140,144],{"path":67,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":71},"eval\u002Ftest-cases.yaml","REFERENCE","参考文档",9562,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftransfer-family-deployer\u002Feval\u002Ftest-cases.yaml",{"path":73,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":74,"sourceHtmlUrl":75},"evals\u002Fbaselines\u002Fdeploy-ftp-public-endpoint-blocked.md",515,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftransfer-family-deployer\u002Fevals\u002Fbaselines\u002Fdeploy-ftp-public-endpoint-blocked.md",{"path":77,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":78,"sourceHtmlUrl":79},"evals\u002Fbaselines\u002Fdeploy-sftp-directory-service-ready.md",637,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftransfer-family-deployer\u002Fevals\u002Fbaselines\u002Fdeploy-sftp-directory-service-ready.md",{"path":81,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":82,"sourceHtmlUrl":83},"evals\u002Fbaselines\u002Fdeploy-sftp-missing-iam-role.md",667,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftransfer-family-deployer\u002Fevals\u002Fbaselines\u002Fdeploy-sftp-missing-iam-role.md",{"path":85,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":86,"sourceHtmlUrl":87},"evals\u002Fbaselines\u002Fdeploy-sftp-service-managed-ready.md",738,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftransfer-family-deployer\u002Fevals\u002Fbaselines\u002Fdeploy-sftp-service-managed-ready.md",{"path":89,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":90,"sourceHtmlUrl":91},"evals\u002Fbaselines\u002Fdeploy-sftp-vpc-custom-idp-ready.md",813,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftransfer-family-deployer\u002Fevals\u002Fbaselines\u002Fdeploy-sftp-vpc-custom-idp-ready.md",{"path":93,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":94,"sourceHtmlUrl":95},"evals\u002Feval_config.yaml",1993,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftransfer-family-deployer\u002Fevals\u002Feval_config.yaml",{"path":97,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":98,"sourceHtmlUrl":99},"evals\u002Fevals.json",4868,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftransfer-family-deployer\u002Fevals\u002Fevals.json",{"path":101,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":102,"sourceHtmlUrl":103},"evals\u002Fprompts\u002Fdeploy-ftp-public-endpoint-blocked.md",697,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftransfer-family-deployer\u002Fevals\u002Fprompts\u002Fdeploy-ftp-public-endpoint-blocked.md",{"path":105,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":106,"sourceHtmlUrl":107},"evals\u002Fprompts\u002Fdeploy-sftp-directory-service-ready.md",833,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftransfer-family-deployer\u002Fevals\u002Fprompts\u002Fdeploy-sftp-directory-service-ready.md",{"path":109,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":110,"sourceHtmlUrl":111},"evals\u002Fprompts\u002Fdeploy-sftp-missing-iam-role.md",872,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftransfer-family-deployer\u002Fevals\u002Fprompts\u002Fdeploy-sftp-missing-iam-role.md",{"path":113,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":114,"sourceHtmlUrl":115},"evals\u002Fprompts\u002Fdeploy-sftp-service-managed-ready.md",1368,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftransfer-family-deployer\u002Fevals\u002Fprompts\u002Fdeploy-sftp-service-managed-ready.md",{"path":117,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":118,"sourceHtmlUrl":119},"evals\u002Fprompts\u002Fdeploy-sftp-vpc-custom-idp-ready.md",1252,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftransfer-family-deployer\u002Fevals\u002Fprompts\u002Fdeploy-sftp-vpc-custom-idp-ready.md",{"path":121,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":122,"sourceHtmlUrl":123},"examples\u002FREADME.md",11384,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftransfer-family-deployer\u002Fexamples\u002FREADME.md",{"path":125,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":126,"sourceHtmlUrl":127},"references\u002Fadvanced-patterns.md",6348,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftransfer-family-deployer\u002Freferences\u002Fadvanced-patterns.md",{"path":129,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":130,"sourceHtmlUrl":131},"references\u002Fdiagnostic-commands.md",1725,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftransfer-family-deployer\u002Freferences\u002Fdiagnostic-commands.md",{"path":133,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":134,"sourceHtmlUrl":135},"references\u002Fidentity-providers-and-storage.md",8086,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftransfer-family-deployer\u002Freferences\u002Fidentity-providers-and-storage.md",{"path":137,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":138,"sourceHtmlUrl":139},"references\u002Fserver-and-iam-session-policies.md",6221,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftransfer-family-deployer\u002Freferences\u002Fserver-and-iam-session-policies.md",{"path":141,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":142,"sourceHtmlUrl":143},"references\u002Fworked-examples.md",5270,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftransfer-family-deployer\u002Freferences\u002Fworked-examples.md",{"path":145,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":146,"sourceHtmlUrl":147},"skill.usf.yaml",4679,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Ftransfer-family-deployer\u002Fskill.usf.yaml",[149,156,163,170,177,184],{"skillNo":150,"name":151,"nameZh":6,"description":152,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":153,"categories":154,"keywords":155,"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":157,"name":158,"nameZh":6,"description":159,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":160,"categories":161,"keywords":162,"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":164,"name":165,"nameZh":6,"description":166,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":167,"categories":168,"keywords":169,"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":171,"name":172,"nameZh":6,"description":173,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":174,"categories":175,"keywords":176,"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":178,"name":179,"nameZh":6,"description":180,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":181,"categories":182,"keywords":183,"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":185,"name":186,"nameZh":6,"description":187,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":188,"categories":189,"keywords":190,"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",[],[]]