AWS Transform
AWS LabsOfficialPublished by AWS Labs
- Skill
- Workflow
- Software development
- Apache-2.0
- Medium risk
- Has scripts
AutoGineer summary
Written by AutoGineer from the skill’s own files, not by the author
AWS Transform provides a structured approach to modernizing legacy applications and migrating them to AWS. It supports complex transformations such as .NET Framework to .NET 8/10, mainframe COBOL to Java, and database migrations to Aurora. The skill orchestrates the entire lifecycle from discovery and assessment to planning and execution, utilizing both MCP-based agents and the AWS Transform CLI for continuous modernization analysis.
What it does
- Analyzes repositories for tech debt, security vulnerabilities, and modernization opportunities.
- Transforms legacy codebases including .NET Framework, COBOL, and various database engines.
- Upgrades language versions and AWS SDKs to modern standards.
- Orchestrates migration workflows through discovery, assessment, and execution phases.
- Provides continuous modernization analysis via the AWS Transform CLI.
- Supports remote execution modes including AWS-managed, EC2, and Batch.
When to use it
- When migrating legacy applications like .NET or mainframe systems to AWS.
- When you need to assess a codebase for security vulnerabilities or technical debt.
- When upgrading outdated language versions or AWS SDKs.
- When converting database platforms like SQL Server to Amazon Aurora.
- When you require a continuous, automated approach to monitoring modernization readiness.
Advantages
- Provides a standardized, repeatable workflow for complex migrations.
- Reduces manual effort in identifying and remediating technical debt.
- Supports diverse migration paths from legacy infrastructure to modern AWS services.
- Offers flexible execution modes including fully managed options with no infrastructure overhead.
- Integrates deep analysis capabilities directly into the development lifecycle.
Usage examples
- “Migrate my .NET Framework application to .NET 8.”
- The agent will initiate the discovery and assessment phase to scope the migration and generate a modernization plan.
- “Analyze my repository for security vulnerabilities and tech debt.”
- The agent will route to the continuous modernization analysis tool to scan the codebase and report findings.
- “Convert my SQL Server database to Aurora.”
- The agent will guide you through the database migration workflow, starting with an assessment of your current schema.
- “Modernize my mainframe COBOL code to Java.”
- The agent will begin the discovery process to evaluate the mainframe workload and prepare for transformation.
Install
Download the skill as a ZIP:
https://mp-staging.autogineer.com/agent-skills/awslabs/aws-transform/downloadUnzip it into the cross-client skills folder of your project:
mkdir -p .agents/skills && unzip aws-transform.zip -d .agents/skills
Documentation by AWS Labs
AWS Transform
CRITICAL: Route Before Anything Else
STOP. Before reading files, analyzing code, or starting any workflow, identify the workload first, then route.
Step A: Identify the workload
Look for an explicit workload signal in the user's request — a named technology (.NET, VMware, SQL Server/Aurora/Oracle/MySQL, mainframe/COBOL), workload-specific terminology (Hyper-V, EC2 rehost, stored procs, CICS, JCL), or file/project signals already in the conversation. If no signal is present, treat the request as workload-unspecified.
Step B: Apply workload-specific routing
Workload-specific rules ALWAYS win over the keyword list in Step C. Do not let "analysis" or "tech debt" phrasing override these.
| Workload | Route |
|---|---|
| .NET | Ask the user via AskUserQuestion: "For your .NET work, are you looking to modernize to .NET 8/10 (port the code, change targets), run an assessment for modernization (scope the work, identify blockers, plan the port), or analyze your repos for tech debt, security vulnerabilities, or CVEs?" → "Modernize" or "Assessment for modernization" → proceed to the Overview section (the .NET workload handles both). → "Analyze for tech debt / security / CVEs" → route to continuous modernization (see Step D). |
| VMware | Proceed to the Overview section. NEVER route VMware requests to continuous modernization — even if the user uses words like "analyze", "assess", "find issues". VMware assessment is handled by the VMware workload agent, see vmware. |
| SQL / Database | Proceed to the Overview section. NEVER route SQL/database requests to continuous modernization — SQL Server, Oracle, MySQL, and Aurora migrations are handled by the SQL workload agent, see sql. |
| Mainframe / COBOL | Proceed to the Overview section. NEVER route mainframe requests to continuous modernization — COBOL/CICS/JCL transformations are handled by the mainframe workload agent, see mainframe. |
| Workload-unspecified | Continue to Step C. |
Step C: Keyword-based routing (workload-unspecified only)
This list applies only when the user has not named a workload. If any of the workload rules in Step B matched, you have already routed — do not re-evaluate against this list.
If the user's workload-unspecified request matches any of these intents, route to continuous modernization — do NOT scan files yourself:
"analysis", "analyze", "find issues", "what's wrong", "tech debt", "security vulnerabilities", "CVEs"
"what should I fix", "where do I start"
"report", "dashboard", "compare", "trend"
"remediate findings", "remediation", "fix what you found"
"custom transform"
"continuous modernization", "AWS Transform - continuous modernization"
Step D: For continuous modernization requests
First-response telemetry notice (once per session). The first time a request routes here in this session, ALWAYS prepend this line exactly to your reply to the user before doing anything else:
Note: this skill and the continuous modernization CLI, (
atx ct), collect usage telemetry by default during transformation execution. The telemetry consists of different data points, such as, the IDE name (for example, VS Code or Kiro), the AI agent name (for example, Claude Code or OpenAI Codex), and the execution mode (local or remote). This data is used by AWS Transform to prioritize compatibility testing, as well as latency and reliability. To opt out, see here.Show it exactly once per session. Do NOT repeat it on subsequent continuous modernization requests in the same session.
Telemetry opt-out. If the user explicitly asks to disable telemetry during the chat session:
Omit
--telemetryfor the rest of the session (see each sub-skill's Telemetry section for the flag format).Prepend
ATX_DISABLE_TELEMETRY=trueinline on everyatx ctcommand for the rest of the session — not onlyanalysis/remediation, but also setup and diagnostic commands likeatx ct status,atx ct source ..., andatx ct setup .... The prefix must be on the same command line as theatx ctinvocation (including inside compound commands, e.g.which atx && ATX_DISABLE_TELEMETRY=true atx ct ...), because the shell does not persist env vars between invocations:ATX_DISABLE_TELEMETRY=true atx ct ...
When invoking AWS Transform - continuous modernization (continuous modernization) commands, use
atx ct(with a space).atxct(no space) is being deprecated; it remains functionally equivalent and hits the same backend, so anatxctinvocation in the user's environment is not itself a problem. Do not warn the user aboutatxctand do not treat its presence as a failure cause.Verify local CLI dispatch before checking versions or AWS configuration. Run this without redirecting stderr:
atx ct --versionClassify failures before continuing:
If the shell reports
atx: command not found, install the AWS Transform CLI:curl -fsSL https://transform-cli.awsstatic.com/install.sh | bash, then restart the shell or source its profile.If an
atxprocess runs but reportsunknown command 'ct', do NOT reinstall blindly or investigate AWS credentials/region. Follow the command-resolution troubleshooting first.If the command succeeds, continue with the version comparison.
Check whether the working CLI is up to date:
INSTALLED=$(atx ct --version | head -1); LATEST=$(curl -fsSL "https://transform-cli.awsstatic.com/index.json" 2>/dev/null | grep -o '"latest"[[:space:]]*:[[:space:]]*"[^"]*"' | sed 's/.*"latest"[[:space:]]*:[[:space:]]*"\([^"]*\)".*/\1/'); echo "Installed: ${INSTALLED:-not found}, Latest: ${LATEST:-unknown}"If
LATESTis known and newer thanINSTALLED, update withcurl -fsSL https://transform-cli.awsstatic.com/install.sh | bash, then restart the shell or source its profile.Credential preflight. Validate AWS credentials before starting any analysis or remediation — at minimum on the first continuous modernization request of the session (new or returning users), and again before any later run in a long session, since credentials can lapse mid-session:
aws sts get-caller-identityIf it fails or the credentials are expired, refresh them before continuing. Do NOT start any long-running work on expired or soon-to-expire credentials — an analysis started on credentials about to expire can strand the run mid-flight. Run the preflight silently; surface it to the user only if the credentials need refreshing.
If local
atx ctdispatch succeeded but a later command fails, then check runtime configuration:AWS_PROFILEpoints at a valid account with refreshed credentialsAWS_REGIONis set to a supported regionATX_CUSTOM_ENDPOINTis set in the environment (only if you use a custom endpoint)
An
unknown command 'ct'failure is a local command-resolution problem, not an AWS configuration problem; return to Step 3 instead.Ensure a supported region has been selected (see continuous-modernization-setup.md "Choose your region") and prefixed inline (
AWS_REGION=$ATX_REGION) on everyatx ctcommand.Then use the appropriate continuous modernization skill — see continuous-modernization. Recurring/scheduled intent ("weekly scan", "every Monday", "on a schedule", "cron") routes to continuous-modernization-schedule: scheduling is a real, shipped capability (
atx ct schedule create/list/get/enable/disable/delete) that runs remotely ONLY — either an EventBridge schedule on the customer's EC2/Batch stack, or an AWS-managed server-side schedule (--mode aws-managed, no customer infrastructure). For recurring intent with no infrastructure ("no infra", "don't want to manage/provision anything"), the answer isatx ct schedule create --mode aws-managed --execution-role <arn>(server-side, nothing to provision) — offer this; do NOT tell the user that recurring analyses require deploying infrastructure. Never claim it doesn't exist, and never offer a local cron/systemd/launchd entry as a substitute or fallback.Remote analysis has THREE compute modes (
atx ct remote analysis --mode <ec2|batch|aws-managed>).aws-managedruns on the AWS-managed fleet with NO customer infrastructure — no VPC, no CloudFormation, no EC2/Batch stack, no provisioning or permission-consent step. When the user asks to run remotely/on AWS but says "no infrastructure", "don't want to set up / manage / provision anything", "no EC2", "no Batch stack", "fully managed", or "just run it for me", the answer is--mode aws-managed— route to continuous-modernization-aws-managed-execution and read that file before answering.--mode aws-managedis real and shipped; NEVER tell the user it doesn't exist or that "all remote options require infrastructure", and do NOT probe--helpto decide — the reference file documents it.ec2/batchare the customer-owned options (they DO deploy a stack); Batch/Fargate is not the no-infrastructure option.
When in doubt for a workload-unspecified request → continuous modernization. This default applies ONLY after Step B has cleared — VMware, SQL, and mainframe never fall through to continuous modernization regardless of how the question is phrased; .NET only routes to continuous modernization after the user picks "analyze for tech debt / security / CVEs" in Step B's intent question (both "modernize" and "assessment for modernization" stay in the .NET workload). Once routed, do NOT manually read source files to find issues — that's what atx ct analysis run does.
CRITICAL: Never Show Pricing or Timing Estimates
Do NOT quote specific dollar amounts, hourly rates, or time estimates for AWS resources or analyses. This includes:
❌ "
$0.20/hr", "$5/day", "$X per analysis"❌ "takes ~30 min", "completes in 2-5 hours", "~30s startup"
❌ "ETA: 30 min – 2 hours"
Instead:
For pricing: redirect to https://aws.amazon.com/ec2/pricing/, https://aws.amazon.com/transform/pricing/, etc.
If asked directly: "I can't give specific cost or time estimates — pricing depends on your usage and AWS quotas. Check the AWS pricing pages for current rates."
This applies to all responses, all skills, and all situations.
Overview
Domain expertise for migrating and modernizing workloads using AWS Transform. Covers .NET Framework to .NET 8/10, mainframe COBOL to Java, VMware to EC2, SQL Server to Aurora PostgreSQL, and custom code transformations (Java, Python, Node.js version upgrades, SDK migrations). Orchestrates assessment, planning, and execution through Managed Agents and AWS Transform CLI with human-in-the-loop checkpoints.
Prerequisites
This skill requires the AWS Transform MCP server (aws-transform-mcp). Configure it in your agent's MCP settings:
{
"mcpServers": {
"aws-transform-mcp": {
"command": "uvx",
"args": [
"awslabs.aws-transform-mcp-server@latest"
]
}
}
}The AWS Transform CLI is also required for custom transformations. Install via:
curl -fsSL https://transform-cli.awsstatic.com/install.sh | bashMandatory workflow
Follow these phases in order. Do NOT skip ahead. Authentication is handled just-in-time — only when a chosen action actually needs it. Do NOT probe auth before the user has declared an intent.
Resume → Check .atx/context.json
Intent → Ask user what they want to do
Discovery → Scan workspace + query available agents
Scope → User selects what to modernize (GATE 1)
Assessment → Run workload assessment (NOT optional)
Requirements → Draft from assessment report
Approval → User approves requirements (GATE 2)
Tasks → Generate tasks.md
Execute → Run transforms, monitor, review diffsDiscovery finds opportunities. Assessment produces detailed findings. Requirements come from the assessment — NOT from discovery.
You MUST NOT create requirements without an assessment report. You MUST NOT start execution without requirements.md and tasks.md.
Resuming a prior session
Check for .atx/context.json (workspace-relative). NEVER read ~/.aws/atx/kiro-power-context.json.
This check is an internal bookkeeping operation. The user must never see it happen. Do not announce the check, do not narrate what you are doing. No phrases like "checking for prior sessions", "let me check", "check for a prior session", "context file". On a fresh install, the first visible output must be the intent question — no preamble of any kind.
No context found: Proceed directly to intent. Produce no user-visible output for this step.
Context found: If the context has an active job (
assessment.jobIdor entries inexecution.activeJobIds), try to refresh live state from the service, but do so invisibly:Check auth first (no-auth-required). If sign-in is NOT configured, skip the refresh entirely — do not attempt service calls. Use local context only.
If sign-in is configured, fetch each resource your resume message depends on — at minimum the job itself and all pending user tasks. Surface every pending task to the user; do not cherry-pick one and omit the others.
BLOCKINGHITL tasks hold up progress even when the job status is active;NON_BLOCKINGtasks still need attention but don't stall the job. Name every pending task; flag blocking ones. Don't infer one resource from another.If any call fails for any reason, silently fall back to local context. Do NOT reveal your reasoning about the refresh to the user — no "sign-in isn't configured so I'll skip", no "the service isn't reachable". The user should see only the resume message. Do NOT demand auth or block the flow.
Then tell the user about their prior session. Frame the offer explicitly as a continuation of that same session — not a new one. The message should make clear:
This is the specific session they previously worked on. Mention the phase reached, workspace/job identifiers if relevant.
Refresh succeeded → speak in present tense about live state ("your assessment job is running", "I need your input on X to continue"). If there is a pending HITL task, surface it — don't bury it under "your job is running."
Refresh failed or was skipped → use prior-session framing: "last time", "when you paused", "previously", "your last session had finished assessment." Do NOT present-tense claims about job state — local context may be stale. Offer sign-in as the path to current status ("sign in to see the latest status"), not as a gate.
Resume = continue where you left off, reusing the existing assessment report, workspace, and prior progress.
Start fresh = discard the prior session (local artifacts deleted) and begin a brand-new migration.
Use language like "continue where you left off" or "pick up from where you stopped" — not ambiguous phrasing like "start a similar session." If user chooses start fresh, delete
.atx/context.json,.atx/discovery.json,.atx/assessment-report/, and.atx/specs/, then proceed to intent. Otherwise follow the resume logic in workflow reference.
Determining user intent
If Step A/B routed the request to continuous modernization, skip this entire section. continuous modernization has its own self-contained onboarding flow — hand off directly to continuous-modernization-guide. Its own first prompt (Mode selection: Local vs. AWS Infrastructure) is the user's first visible question. Do NOT show the generic intent menu first, and do NOT mix in non-continuous modernization options like "Browse My Jobs" or "Start a Specific Transform" — those are AWS Transform top-level capabilities, not continuous modernization features.
For every other route — VMware, SQL, Mainframe, and .NET (modernize or assessment-for-modernization) — use the generic intent menu below. The menu's options (Discover Workspace, Browse Jobs, Start Specific Transform, Analyze for findings) are how those workloads enter the standard MANDATORY workflow's Discovery → Scope → Assessment phases.
Generic intent menu
Ask the user: "What would you like to focus on?" The first user-visible action in this phase is the question — no auth-probing tool calls precede it, no auth lecture precedes it.
With projects: [Discover This Workspace] [Browse My Jobs] [Start a Specific Transform] [Analyze for findings] No projects: [Browse My Jobs] [Open a Project Folder] [Start from Scratch] [Analyze for findings]
Custom vs continuous modernization routing. When the user's intent is clear, route to the correct skill set using the decision table in continuous-modernization reference. Key rule: named transformation AND no prior continuous modernization findings → Custom. Analysis/reporting/remediation of existing findings → continuous modernization. When in doubt → continuous modernization.
Just-in-time auth. Once the user picks an intent, the next tool that action needs may require auth. If so, prompt for auth then, framed around the action the user just chose ("to browse your jobs, sign in to AWS Transform"). Which auth each MCP tool needs is reported by the MCP server — read it from the tool's description, get_status, or the error the tool returns. CLI transforms use AWS credentials only — do NOT prompt for sign-in for CLI-only intents, even when sign-in is unconfigured. If the user picks something that needs no service call (e.g., "Open a Project Folder"), do not probe auth.
See auth reference for the MCP-vs-CLI auth split and how to present sign-in options.
Discovery
Fast scan (~10 sec). Three things happen in parallel:
Scan the workspace — detect languages, frameworks, file types, and dependencies present in the project.
Query available agents — call
list_resourceswithresource: "agents"(MCP). Skip if sign-in is not configured or the user's intent is CLI-only. This is a paginated API — fetch all pages to get the complete set. The results contain two levels:Orchestrator agents — top-level agents you create jobs with. Each orchestrator may have sub-agents that provide deeper workload-specific capabilities.
Sub-agents — invoked through their orchestrator, not directly. They represent specialized skills within a workload type.
Some agents may not belong to a known orchestrator — treat these as standalone capabilities.
List available transformation definitions — call
atx custom def list(CLI) to get the current set and what they transform. Skip if CLI is not available or the user's intent is MCP-only.
For the "Discover This Workspace" intent, Discovery is where sign-in is first required (other intents like "Browse My Jobs" need sign-in even earlier, per the just-in-time rule — handle those there). If list_resources returns NOT_CONFIGURED, prompt the user to sign in for the auth system needed — do not demand both.
Then match workspace signals against orchestrator capabilities and available transformation definitions. Before selecting an orchestratorAgent for any workload, read the matched workload's reference file — it may specify the exact agent to use. Save the matched results to .atx/discovery.json — include the orchestrator → sub-agent hierarchy so later steps know what deeper capabilities are available.
See workflow reference for the workspace scanning framework.
Discovery is NOT assessment. Discovery identifies opportunities and matches them to available agents. Assessment produces the detailed findings.
Scoping (GATE 1)
For each matched workload type, read ALL reference files with its prefix (e.g., dotnet). These contain the workload's capabilities, workflow, agent details, example requirements, and known limitations. The file prefix comes from the agent match in Discovery — not from a hardcoded list.
Show migration table, then let the user select with multiSelect:
| Risk | Why | Component | Current | Target | AWS Target | Recommended Approach |Always explain risk in plain language in the "Why" column — use the user-facing phrases from the Risk Classification table in workflow reference. Never show a bare HIGH/MED/LOW label without explanation.
User selects what to modernize.
Assessment
This is NOT optional. Run the workload's assessment BEFORE creating requirements.
Tell the user: "I'll assess your workload. The assessment report drives the migration plan."
How assessment runs depends on the workload's reference files. Each workload type defines its own assessment approach — the agent to use, the objective format, and how to collect results. Consult the matched workload's reference files for specifics.
General pattern for agent-based assessment:
Confirm the plan — tell the user what you will do (create workspace, create job with which agent, what the objective is). WAIT for approval before calling any tools.
Create/select workspace
Create job with a clear objective — the workload's reference files define what a good objective looks like
Start the job (already started by
create_job; usecontrol_jobto restart if stopped)Send a detailed follow-up message with project specifics
Ask before uploading — ask how the user wants to share source code. WAIT. Then upload with
categoryType: "CUSTOMER_INPUT".Handle agent requests (checkpoints, decisions) — always present to user, WAIT for user response
When assessment completes, download the report:
get_resource resource="artifact"Save report to
.atx/assessment-report/
Rule: NEVER batch workspace creation, job creation, and uploads into a single turn without user confirmation at each decision point.
Use the orchestrator agent or transformation definition identified during Discovery. The match comes from list_resources (with resource: "agents") and atx custom def list, not a hardcoded mapping. When creating a job, specify the orchestrator — sub-agents are invoked by the orchestrator as needed.
Update .atx/context.json with phase: "assessed", workspace ID, job ID.
Requirements (from assessment report)
Now create .atx/specs/requirements.md using the assessment report — NOT discovery findings.
Read
.atx/assessment-report/for detailed findingsLoad workload reference files for context
Draft requirements grounded in the assessment (specific blockers, LOC, complexity, migration paths)
Each requirement says WHO handles it: AWS Transform CLI / Managed Agents / IDE
Multi-module: group by module with Module Overview table
See workflow reference for format
Do NOT create tasks.md yet.
Show requirements summary and let the user choose: [Looks Good] [Edit] [Add Component]
Approval (GATE 2)
Ask the user: "Requirements finalized. Ready to create the execution plan?" [Create Plan] [Edit More]
Task generation
Generate tasks.md from approved requirements:
Module Status table + per-module sections
Sized: max 100 files/task
Parallel groups verified
Review-diffs after every code change
See workflow reference for format
Present options: [Start Execution] [Review Tasks] [Modify]
Execution
See workflow reference for full details.
How execution runs depends on the workload's reference files. Each workload type defines its own execution tooling — which agent or CLI command to use, how to parallelize, and how to collect results. Consult the matched workload's reference files.
General pattern for agent-based execution:
When creating new jobs, always:
Clear objective in
create_job— what to transform, from what, to whatDetailed follow-up message via
send_message— project specifics, discovery findings, blockersUpload artifacts if agent needs code — ask user first,
categoryType: "CUSTOMER_INPUT"
Every agent request → user decides (NEVER auto-handle)
When the AWS Transform agent asks for input, needs files, or hits a checkpoint:
Read the task/message
Present to user
WAIT for user response
Relay user's decision back to agent
Uploading artifacts to agents
Always use categoryType: "CUSTOMER_INPUT" when uploading files to an agent:
upload_artifact(
workspaceId="...", jobId="...",
content="/path/to/source.zip",
fileType="ZIP",
categoryType="CUSTOMER_INPUT"
)| categoryType | When to Use |
|---|---|
CUSTOMER_INPUT | Uploading files TO the agent (source code, configs, data) |
CUSTOMER_OUTPUT | Downloading files FROM the agent (reports, migrated code) |
HITL_FROM_USER | User responses to agent HITL tasks |
See workflow reference for agent request handling patterns.
Progress
Review diffs after every code change. User must approve.
Update tasks.md checkboxes + .atx/context.json after every step.
Context persistence (.atx/context.json)
Save .atx/context.json IMMEDIATELY after completing each phase — before presenting results to the user. Every phase transition must have a context save between them. Top-level keys: phase, discovery, assessment, spec, workStyle, execution, updatedAt. See workflow reference for the full schema.
Resume: read phase, pick up from that phase.
Constraints
MUST use product, capability, and step names exactly as defined in this document. Never paraphrase or invent terminology. When describing this skill's capabilities, use: "Migrate, modernize, and upgrade codebases — .NET, mainframe COBOL, VMware, databases, and language/SDK upgrades — using AWS Transform CLI and Managed Agents, directly from your IDE."
MUST present user choices as an explicit selectable list — never bury options in prose or proceed on an inferred answer
MUST run CLI commands in background — never block the conversation
MUST discover agents dynamically via
list_resourceswithresource: "agents"(paginated) — do not hardcode agent namesMUST create jobs with orchestrator agents — sub-agents are invoked by the orchestrator, not directly
MUST refer to resources by name, not ID. When referencing a workspace, job, agent, or artifact in user-facing messages, use its human-readable name. Never surface raw UUIDs in prose. If a resource has no name, use a descriptive phrase ("your .NET modernization job") rather than the ID.
MUST NOT expose internal mechanics to the user — do not name tools (get_status, list_resources), do not cite step numbers, do not reference files you are reading, and do not narrate what you are about to do. Just do it silently and present the outcome in user terms.
MUST NOT mix workflow descriptions with actual questions in the same numbered list, and never use count language like "two questions" when some items are informational steps rather than questions. Keep what-I-will-do separate from what-I-need-from-you.
MUST NOT frame HITL checkpoints, agent questions, or pending decisions as coming from "the web app", "the webapp", "the web UI", or a third-party "the agent is asking / the agent needs / the agent wants". The user is working with you in the IDE — you own the interaction. Present every checkpoint as your own first-person request, not a relayed message from elsewhere. Wrong: "The web app is asking how you want to deploy the landing zone." / "The agent is now asking about the replication subnet configuration." Right: "The next step is to choose how to deploy the landing zone." / "I need the replication subnet configuration to continue."
MUST NOT explain what this skill does
MUST NOT create requirements from discovery — wait for assessment
MUST NOT skip from discovery to execution
MUST NOT modify code, upgrade dependencies, or run analysis manually — always use AWS Transform tooling
MUST NOT probe
--helpto figure out a CLI invocation that the reference files already document. The capability-specific reference files inreferences/(e.g.continuous-modernization-source.md,continuous-modernization-analysis.md,continuous-modernization-remediation.md,custom-cli-reference.md) contain the canonicalatx ct …andatx custom …commands with every required flag and example invocations — read the matching file and lift the command verbatim. The orchestrating files (continuous-modernization-guide.md,continuous-modernization-setup.md) explicitly point at them ("Use the/sourceskill for the exact commands").--helpis a fallback used ONLY when (a) no reference file covers the capability, or (b) a documented command demonstrably fails because the installed CLI version diverges from the reference. Treat--helpprobes the user can see as a signal that the agent didn't read its own skill — that is the failure mode this rule prevents.MUST NOT make decisions on behalf of the user
MUST NOT editorialize or use subjective language — no "interesting", "fascinating", "notably", "impressive", "remarkable". State findings as facts.
MUST NOT prompt for authentication before the user has declared an intent. Auth prompts come from the tool a chosen action needs, framed around that action.
MUST NOT overclaim freshness. If you did NOT fetch a resource this turn, lead with "last I checked" (past tense throughout) and offer to refresh. Never promise proactive surfacing ("I'll let you know when…") unless actively polling — make the reactive model explicit.
MUST NOT infer one resource's state from another — each MCP resource (job, tasks, artifacts) is its own source of truth. A job in an active state does NOT imply no pending user tasks. Fetch each resource directly when relevant. See workflow reference.
MUST NOT mix unrelated transformation goals in the same chat without warning. On every shift to a different goal, suggest the user start a new chat session (they start it themselves). Keep re-offers terse. If the user declines, proceed to answer their question about the other job — do not refuse or redirect back to the original goal. Just avoid mixing cached state (e.g., don't apply VMware findings to the .NET question).
MUST store state in
.atx/context.json
Reference
Core
| Topic | File |
|---|---|
| Authentication (sign-in, AWS credentials, CLI credentials, errors) | references/auth.md |
| Tools (MCP tools, CLI commands, connectors, HITL, troubleshooting) | references/tools.md |
| Workflow (discovery, transforms, execution, planning, context, display) | references/workflow.md |
Workload Types
| Workload | Files |
|---|---|
| .NET | references/dotnet*.md |
| SQL/Database | references/sql*.md |
| Mainframe | references/mainframe*.md |
| VMware | references/vmware*.md |
| continuous modernization | references/continuous-modernization*.md |
Each workload type has a root reference file with its capabilities, workflow, and agent details. Additional files with the same prefix provide deeper guidance (e.g., continuous-modernization-setup.md, continuous-modernization-discovery.md).
Files
- ATTRIBUTION.mdAdded by AutoGineer911 B
- LICENSELicence file added by AutoGineer9.9 KiB
- NOTICELicence file added by AutoGineer89 B
- SKILL.md35.4 KiB
- references/AWSTransformInfrastructureExecutorAccessEC2.json5.7 KiB
- references/AWSTransformSecurityAgentExecutorAccess.json1.8 KiB
- references/auth.md4.0 KiB
- references/continuous-modernization-analysis.md20.9 KiB
- references/continuous-modernization-aws-managed-execution.md9.8 KiB
- references/continuous-modernization-batch-execution.md11.1 KiB
- references/continuous-modernization-discovery.md2.6 KiB
- references/continuous-modernization-ec2-execution.md13.1 KiB
- references/continuous-modernization-findings.md7.7 KiB
- references/continuous-modernization-guide.md16.4 KiB
- references/continuous-modernization-remediation.md14.8 KiB
- references/continuous-modernization-reporting.md17.8 KiB
- references/continuous-modernization-schedule.md21.6 KiB
- references/continuous-modernization-security-agent.md8.5 KiB
- references/continuous-modernization-setup.md4.9 KiB
- references/continuous-modernization-source.md12.5 KiB
- references/continuous-modernization-status.md2.0 KiB
- references/continuous-modernization-troubleshooting.md10.3 KiB
- references/continuous-modernization.md15.3 KiB
- references/custom-cli-reference.md9.4 KiB
- references/custom-multi-transformation.md10.3 KiB
- references/custom-remote-execution.md23.4 KiB
- references/custom-repo-analysis.md7.3 KiB
- references/custom-results-synthesis.md1.6 KiB
- references/custom-single-transformation.md15.3 KiB
- references/custom-troubleshooting.md9.2 KiB
- references/custom.md37.1 KiB
- references/dotnet-bulk.md17.1 KiB
- references/dotnet.md37.7 KiB
- references/mainframe-reimagine-analysis.md22.7 KiB
- references/mainframe-reimagine-ddd.md13.2 KiB
- references/mainframe-reimagine-modern-traceability.md19.4 KiB
- references/mainframe-reimagine-specgen.md21.4 KiB
- references/mainframe-reimagine-verify.md9.7 KiB
- references/mainframe-reimagine.md12.8 KiB
- references/mainframe.md11.2 KiB
- references/sql.md49.3 KiB
- references/tools.md10.8 KiB
- references/vmware-containerization.md6.9 KiB
- references/vmware-landing-zone.md8.1 KiB
- references/vmware-network.md31.5 KiB
- references/vmware-server.md8.9 KiB
- references/vmware.md14.5 KiB
- references/workflow.md26.5 KiB
- scripts/verify-traceability.pyScript26.0 KiB
references/sql.md
SQL Database Migration
Last Updated: 2026-04-13
Capabilities
This domain handles SQL database migration via the IDE using the AWS Transform MCP server. It supports two workflows:
From-Scratch Workflow — Start a new AWS Transform conversion job entirely from the IDE: authenticate, create a workspace/job, upload source SQL, monitor the conversion, review assessment results, and retrieve converted artifacts.
Handoff Workflow — Pick up where an AWS Transform conversion job left off: download converted artifacts and the validation report, then interactively fix all critical and high-severity issues the AWS Transform agent could not fully resolve.
Both workflows converge at the fix-application phase once converted artifacts and a validation report are available.
From-Scratch Workflow Handoff Workflow
┌──────────────────────────┐ ┌──────────────────────────┐
│ 1. Authenticate │ │ 1. Collect job IDs │
│ 2. Create workspace/job │ │ 2. Download artifacts │
│ 3. Upload source SQL │ └───────────┬──────────────┘
│ 4. Monitor conversion │ │
│ 5. Read assessment │ │
│ 6. Trigger schema conv. │ │
│ 7. Retrieve artifacts │ │
└───────────┬──────────────┘ │
│ ┌─────────────────────────────┘
▼ ▼
┌──────────────────────────────────────────────────┐
│ Common: Parse report → Fix critical/high issues │
│ → Validate → Upload → Deploy │
└──────────────────────────────────────────────────┘⚠️ Agent Behavior Rules (READ FIRST)
These rules are MANDATORY. Violating any of them is a failure.
Cross-platform note. Commands below are given in two variants where they differ: macOS/Linux/Git Bash (POSIX shell:
cp,sed,perl, etc.) and Windows (PowerShell). Detect the OS and pick one variant — do not mix. In all PowerShell examples, paths are written with forward slashes (/) for readability; PowerShell accepts/and\interchangeably, so real Windows paths likeC:\Users\alice\workcan be used verbatim without re-quoting.
Three-file workflow. Keep the original source MSSQL file, the converted PG file (untouched), and a working copy of the converted PG file. ALL edits go to the working copy. NEVER modify the original source or the converted PG file.
Navigate before AND after every fix. Skipping navigation is a rule violation.
Detect the IDE from the environment: Kiro →
kiro --goto, VS Code →code --goto, DBeaver → manual navigation.Before showing a fix, open the file at the exact line that will change:
code --goto <working_copy>:<line_number>After applying a fix, navigate back to the changed line so the user sees the result:
code --goto <working_copy>:<line_number>
For every fix, follow this exact sequence: a. Navigate to the line (rule 2 above). Do NOT skip this. b. Validate the proposed fix — Before showing the fix to the user, execute a syntax check (e.g.,
EXPLAINor parse-only) on the proposed SQL block. If invalid, revise and re-validate. Do NOT propose an invalid fix. c. Show in chat: object name, line number, problem (from report), proposed before/after fix, and syntax validation result (✅ Passed). d. AskApprove this fix? [Yes / No / Modify]and STOP. Do NOT proceed until the user responds. e. After user approves, apply the fix usingexecute_bash(NOTfs_write). Usesed -i ''orperl -i -pe 's/old/new/g'on macOS/Linux (Perl works cross-platform when available). On Windows without Git Bash, use PowerShell's literal-string.Replace()method (NOT-replace, which is a regex operator and will silently mis-match SQL tokens containing regex metacharacters like[ ] . ( ) $ ^). Write with[System.IO.File]::WriteAllLinesand an explicit no-BOM UTF-8 encoding —Set-Content -Encoding UTF8on Windows PowerShell 5.1 prepends a UTF-8 BOM (0xEF 0xBB 0xBF) that Rule 10's ASCII verification step will flag. Wrap the-Commandargument in single quotes so bash/Git Bash does not expand$c/$falsebefore PowerShell parses them, and prepend$ErrorActionPreference='Stop'so intermediate failures surface instead of silently producing an empty working copy:powershell -Command '$ErrorActionPreference="Stop"; $c = (Get-Content "<working_copy>" -Encoding UTF8).Replace("old","new"); [System.IO.File]::WriteAllLines("<working_copy>", $c, [System.Text.UTF8Encoding]::new($false))'If regex matching is actually required, use
-replace [regex]::Escape("old"),"new". Note:-replace's replacement string interprets$1,$2,$$,$&, etc. as regex substitution tokens, so if the replacement text contains literal$characters (common in PostgreSQL dollar-quoting like$$,$BODY$), double them:-replace [regex]::Escape("old"), "new".Replace("$","$$"). f. Navigate back to the changed line (rule 2 above). Do NOT skip this.Diff after every cluster. After completing all fixes in a cluster, show a three-way diff comparing the original source MSSQL, the converted PG file, and the working copy.
Empty-diff guard (used by every IDE branch below): Before showing the second diff (converted PG vs working copy), check whether the two files are identical. If they are, skip the second diff and tell the user: "No fixes have been applied yet — the converted PG file and working copy are still identical."
macOS/Linux/Git Bash:
diff --brief <converted_pg> <working_copy>(exit 0 = identical)Windows (PowerShell):
powershell -Command "if ((Get-FileHash '<converted_pg>').Hash -eq (Get-FileHash '<working_copy>').Hash) { exit 0 } else { exit 1 }"(exit 0 = identical)VS Code: Open two diffs side by side:
code --diff <source_mssql> <converted_pg>Only if the converted PG file and working copy differ (empty-diff guard above):code --diff <converted_pg> <working_copy>Kiro: Open two diffs side by side:
kiro --diff <source_mssql> <converted_pg>Only if the converted PG file and working copy differ (empty-diff guard above):kiro --diff <converted_pg> <working_copy>DBeaver: Use the SQL Compare feature or an external diff tool
Fallback: If the IDE diff commands do not produce visible results, generate text-based diffs in chat.
macOS/Linux/Git Bash:
diff -u <source_mssql> <converted_pg>Only if the converted PG file and working copy differ (empty-diff guard above):diff -u <converted_pg> <working_copy>Windows (PowerShell): use
Compare-Object:powershell -Command "Compare-Object (Get-Content '<source_mssql>' -Encoding UTF8) (Get-Content '<converted_pg>' -Encoding UTF8)"Only if the converted PG file and working copy differ (empty-diff guard above):powershell -Command "Compare-Object (Get-Content '<converted_pg>' -Encoding UTF8) (Get-Content '<working_copy>' -Encoding UTF8)"Note:Compare-Objectoutput is a side-indicator list (<=for left-only,=>for right-only) rather than unified-diff format. Show the output to the user as-is — it conveys the same information in a different layout. If two diffs were shown, tell the user:
"Two diff views have been opened: one comparing the source MSSQL with the converted PG file (showing what the conversion changed), and one comparing the converted PG file with the working copy (showing what fixes have been applied). You may need to arrange the diff tabs side by side." Then ask the user: "Cluster fixes applied. Would you like to upload the working copy to AWS Transform for re-validation before proceeding to the next cluster? [Yes / No]"
If Yes: Prepare a ZIP artifact for re-validation:
Create the staging directory:
macOS/Linux/Git Bash:
execute_bash: mkdir -p <working_directory>/zip_stagingWindows (PowerShell):
execute_bash: powershell -Command "New-Item -ItemType Directory -Force -Path '<working_directory>/zip_staging'"
Copy the working copy as
postgres-completed-deployment.sql:macOS/Linux/Git Bash:
execute_bash: cp <working_copy> <working_directory>/zip_staging/postgres-completed-deployment.sqlWindows (PowerShell):
execute_bash: powershell -Command "Copy-Item '<working_copy>' '<working_directory>/zip_staging/postgres-completed-deployment.sql'"
Copy the custom rules file(s) from the working directory:
macOS/Linux/Git Bash:
execute_bash: cp <working_directory>/<rule_file> <working_directory>/zip_staging/<rule_file>Windows (PowerShell):
execute_bash: powershell -Command "Copy-Item '<working_directory>/<rule_file>' '<working_directory>/zip_staging/<rule_file>'"
Create
manifest.jsoninzip_staging/with database name, execution order (file: "postgres-completed-deployment.sql",type: "all",object_count: <count of CREATE statements>), and"custom_rules"listing the custom rules filenamesCreate ZIP:
macOS/Linux:
execute_bash: cd <working_directory>/zip_staging && rm -f ../IDE_CONVERTED_DB_ARTIFACT.zip && zip ../IDE_CONVERTED_DB_ARTIFACT.zip *Windows:
execute_bash: powershell -Command "Compress-Archive -Path '<working_directory>/zip_staging/*' -DestinationPath '<working_directory>/IDE_CONVERTED_DB_ARTIFACT.zip' -Force"
Clean up:
macOS/Linux/Git Bash:
execute_bash: rm -rf <working_directory>/zip_stagingWindows (PowerShell):
execute_bash: powershell -Command "Remove-Item -Recurse -Force '<working_directory>/zip_staging'"
Upload via
upload_artifactwithcontent="<working_directory>/IDE_CONVERTED_DB_ARTIFACT.zip",fileName="IDE_CONVERTED_DB_ARTIFACT",fileType="ZIP",categoryType="CUSTOMER_INPUT".Send
send_messagewith text "IDE agent completed all critical and high-severity fixes. Uploaded corrected file as IDE_CONVERTED_DB_ARTIFACT. Ready for re-validation through invoke_validation_after_ide with new artifact id:<artifactId>". Poll messages for "Validation complete", download new report, and present results. If new issues are found in this cluster, fix them before moving on.
If No: Proceed to the next cluster.
No scripts. Do NOT write Python, Bash, or any scripts to batch-process fixes.
Use
sed,perl, or PowerShell for file edits, NOTfs_write. Large SQL files (10K+ lines) cause the editor to freeze when usingfs_write. Useexecute_bashto edit the working copy directly on disk:macOS/Linux/Git Bash:
sed -i '' 's/old/new/g' <working_copy>orperl -i -pe 's/old/new/g' <working_copy>Windows (PowerShell): use the literal-string
.Replace()method (NOT-replace, which is a regex operator). Read withGet-Content -Encoding UTF8to avoid Windows PowerShell 5.1's ANSI code-page corruption, and write with[System.IO.File]::WriteAllLines+ no-BOM UTF-8 (NOTSet-Content -Encoding UTF8, which prepends a UTF-8 BOM on PS 5.1 that Rule 10's ASCII verification will flag). Wrap the-Commandargument in single quotes so bash/Git Bash does not expand$c/$falsebefore PowerShell parses them, and prepend$ErrorActionPreference='Stop'so intermediate failures surface instead of silently producing an empty working copy:powershell -Command '$ErrorActionPreference="Stop"; $c = (Get-Content "<working_copy>" -Encoding UTF8).Replace("old","new"); [System.IO.File]::WriteAllLines("<working_copy>", $c, [System.Text.UTF8Encoding]::new($false))'. Use-replace [regex]::Escape("old"),"new"only if regex matching is actually required; when using-replace, also double any literal$in the replacement string ("new".Replace("$","$$")) because-replaceinterprets$1,$$, etc. as regex substitution tokens — which silently corrupts PostgreSQL dollar-quoting like$$and$BODY$.
No bulk operations. Fix one object at a time.
No invented fixes. Only apply fixes described in the validation report.
Report every fix in chat with: object name, line number in working copy, problem (from report), proposed fix, and updated progress table.
Encoding safety before upload. Before creating a ZIP for upload, sanitize non-ASCII characters that can corrupt during ZIP packaging and cause the validator to fail with
total_checks: 0.
Sanitize and verify (cross-platform, using Perl):
perl -i -CSD -pe "s/\x{2014}/--/g; s/\x{2013}/-/g; s/[\x{2018}\x{2019}]/'/g; s/[\x{201c}\x{201d}]/\"/g; s/\x{2026}/.../g; s/\x{a0}/ /g" <working_copy>
perl -ne 'if(/[^\x00-\x7F]/){print "$ARGV:$.: $_"; $f++} END{exit !$f}' <working_copy> || echo "Clean: ASCII only"Perl is available on macOS and Linux by default, and on Windows via Git Bash.
Windows alternative (PowerShell):
powershell -Command "
$text = [IO.File]::ReadAllText('<working_copy>', [Text.Encoding]::UTF8);
$text = $text -replace '\u2014','--' -replace '\u2013','-' -replace '[\u2018\u2019]',\"'\" -replace '[\u201c\u201d]','\"' -replace '\u2026','...' -replace '\u00a0',' ';
$utf8NoBom = New-Object System.Text.UTF8Encoding $false;
[IO.File]::WriteAllText('<working_copy>', $text, $utf8NoBom);
if ($text -match '[^\x00-\x7F]') { Write-Host 'WARNING: non-ASCII characters remain' } else { Write-Host 'Clean: ASCII only' }
"Common offenders: em-dash (—), en-dash (–), smart quotes (""''). These appear in MSSQL-generated comment headers and corrupt from UTF-8 to Windows-1252 0x97 during ZIP packaging.
From-Scratch Workflow
Use this workflow when starting a new MSSQL → PostgreSQL conversion entirely from the IDE. If you already have a completed AWS Transform job with artifacts, skip to the Handoff Workflow section.
Step 1: Authentication
Cookie auth requires the Transform app URL — Ask the user for their Transform app URL (e.g.,
https://xxxxxxxx.transform.us-east-1.on.aws).Do not use the SSO/IdC start URL (
https://d-xxx.awsapps.com/start).If the auth cookie has expired, ask the user for a new one.
Step 2: Create Workspace and Job
Unless the user explicitly says to create a new workspace/job, always ask first:
"Do you have an existing AWS Transform workspace or job you'd like to reuse, or should I create new ones?"
If reusing an existing workspace: List all available workspaces so the user can see names and IDs, then ask which one to use. Then ask if they also have an existing job to reuse or need a new job in that workspace.
If reusing an existing job: List all jobs in the selected workspace so the user can see job names and IDs, then ask which one to use. Use artifact store tools to check what outputs the agent has already produced — the job may already be past the upload or assessment phase.
If creating a new workspace: Names must match
[a-zA-Z0-9]+(?:[-_\.][a-zA-Z0-9]+)*— no spaces allowed.If creating a new job: MSSQL to PostgreSQL conversion uses
WINDOWS_DATABASE(SQL Server modernization) as the job type.Always choose MSSQL file upload (NOT the connect-to-database option) after starting the job.
Step 3: SQL File Upload
The source SQL file can be either a
.sqlfile or a.ziparchive containing SQL files. Both formats are accepted by AWS Transform. Upload the file as-is — do NOT zip a.sqlfile before uploading.If the ActiveFile is a mssql file, use that.
If not, ask for user's permission and search locally for files — use
fileSearchto find.sqlor.zipfiles on the user's machine instead of asking for the full path.Upload the file as an artifact first using
upload_artifact.Then send the artifact reference in chat using the URI format:
aws-transform://workspaces/{workspaceId}/jobs/{jobId}/artifacts/{artifactId}Don't send bare artifact IDs — the agent won't recognize them. It needs the full
aws-transform://URI.
Step 4: Interacting with the Agent
Always use
send_messageas the primary form of communication with the job agent.Messages can have interaction buttons — Agent messages include
SELECTinteractions with options. Respond by sending the option'svalueas a chat message.
Step 5: Monitoring Job Progress
The job is carried out by AWS Transform agents; all communication and updates are wired through them.
Always check all three: messages, worklogs, and HITL tasks.
Worklogs are the most granular progress indicator — they update more frequently than messages and show the agent's internal reasoning/actions step by step.
Messages show user-facing interactions with SELECT options (e.g. "MSSQL to PostgreSQL", "Upload DDL files").
HITL tasks may or may not appear — the agent can request input via chat messages instead.
No HITL tasks doesn't mean no input needed — The job can be in
AWAITING_HUMAN_INPUTwith no HITL tasks; input is expected via chat messages.Jobs go through phases:
STARTING→PLANNING→AWAITING_HUMAN_INPUT→ active processing.The
input_setupstep handles file ingestion before moving todiscovery.Planning can take a few minutes — no tasks or messages will appear until it completes.
Polling loop (mandatory throughout the job lifecycle):
After any action that triggers agent work (file upload, schema conversion, etc.), enter a polling loop:
Use mcp-sleep to wait 10 seconds.
Check messages, worklogs, and HITL tasks.
Format timestamps — Worklog and message timestamps may be returned as epoch milliseconds or numeric values (e.g.,
140638). Always convert these to human-readable format (e.g.,2026-04-13 21:06:38 UTC) before displaying to the user.If the agent sent a message requiring a response (SELECT options, questions, or
AWAITING_HUMAN_INPUTstatus), respond or prompt the user.If the agent is still processing (no new actionable messages), go back to step 1.
Continue polling until the current phase completes (e.g., assessment report is ready, schema conversion finishes, validation completes).
Do NOT stop polling prematurely — always keep the loop running until there is a clear completion signal or user input is needed.
Step 6: Reading Assessment Results
Download the assessment report zip artifact.
Extract the zip file and review all contents — it typically contains PDF reports and CSV data files.
PDF reports:
assessment_summary.pdfis a short document with a summary of the assessment.The other report PDF is a longer document with detailed findings of migration issues with the database.
CSV files: Contain structured data such as object inventories, issue lists, and migration action items. Read and present these to the user — they are useful for programmatic analysis and tracking.
Step 7: Schema Conversion
When the user is ready to proceed towards schema conversion, send this intent to the agent.
Custom transformation rules: During conversion, the AWS Transform agent may ask about custom transformation rules. Do NOT assume default rules. Always ask the user:
"The conversion agent is asking about custom transformation rules. Do you have custom rules to upload, or should I proceed with default rules?" Only proceed with defaults if the user explicitly confirms.
Schema conversion is a long-running process — expect to poll for job progress (see Step 5).
After the schema conversion report is available, review it with the user. Do NOT skip ahead to downloading the converted PostgreSQL file — it is not available yet.
The converted PostgreSQL SQL file is only produced after the target DB deployment workflow completes. After reviewing the conversion report, continue interacting with the AWS Transform agent to proceed through the deployment workflow (see Step 8).
Step 8: Target DB Deployment
After schema conversion and report review, the AWS Transform agent will guide the workflow toward deploying the converted schema to the target PostgreSQL database.
Continue polling and responding to the agent's messages through this phase (see Step 5).
Do NOT assume the user already has a target database cluster. The deployment flow requires setting up a DB connector first.
DB Connector Setup:
The AWS Transform agent will issue a HITL task to set up a DB connector. Before creating a new one, check if the workspace already has a connector configured:
List existing connectors in the workspace first. If connectors exist, present them to the user:
"This workspace already has the following DB connector(s) configured:
<connector name>—<connection details>
Would you like to use an existing connector, or set up a new one?"
If the user picks an existing connector, use that and skip connector creation.
If a new connector is needed, the HITL task will require details from the user. Ask for:
AWS Account ID
Any other connection parameters the HITL task requests (e.g., database endpoint, credentials, VPC details)
Do NOT guess or assume any of these values — always ask the user.
The converted PostgreSQL SQL file (
ATX_CONVERTED_DB_ARTIFACTorpostgres-completed-deployment.sql) is only available as an artifact after the deployment workflow completes. Do NOT attempt to download it before this point — it won't exist yet.Once deployment finishes, proceed to retrieve the artifacts (see Step 9).
Step 9: Retrieving Conversion Artifacts
# List all artifacts from the completed AWS Transform job
list_resources resource="artifacts" workspaceId="<workspaceId>" jobId="<jobId>"Scan the returned list for matching artifact names/labels. AWS Transform MCP does not support filtering by label — you must list all, then match.
Scan for converted database artifacts: Look for all artifacts with
fileMetadata.pathstarting withATX_CONVERTED_DB_ARTIFACT. Each artifact represents a converted database, with the database name as the suffix:ATX_CONVERTED_DB_ARTIFACT_<dbName>.Extract the database names and present them to the user:
"Converted artifacts are available for N database(s):
OrdersDBInventoryDBAuditDB
Which database would you like to work on?"
Wait for the user to choose. Then download the selected artifact:
get_resource resource="artifact" workspaceId="<workspaceId>" jobId="<jobId>" artifactId="<matched-id>" savePath="/local/path/ATX_CONVERTED_DB_ARTIFACT_<dbName>.zip"Extract the ZIP — contains:
sourcesql/,targetsql/,validationreport/. Readtargetsql/manifest.jsonto discover the converted SQL files and custom rules — file paths in the manifest are relative totargetsql/.Fallback (single artifact): If no
ATX_CONVERTED_DB_ARTIFACT_*artifacts are found, look for a singleATX_CONVERTED_DB_ARTIFACT(no suffix) and use it directly.Fallback (individual artifacts): If no ZIP artifacts found, look for:
postgres-completed-deployment.sql→ converted PG fileSchema Conversion Report→ validation reportThen ask user for the source SQL file path
Once artifacts are retrieved, proceed to the Common Workflow section below.
Handoff Workflow
Use this workflow when an AWS Transform conversion job has already completed and you need to pick up the remaining fixes in the IDE.
Why IDE Handover
The IDE agent complements the AWS Transform agentic flow by providing capabilities that a managed batch pipeline cannot:
Interactive fixing — Apply a fix, show the user the exact change, wait for approval or adjustment, then proceed.
Cross-object awareness — The IDE has the full converted file open and can cross-reference across procedures, views, and tables while editing.
Granular human-in-the-loop — Pause at every individual object for user approval instead of coarse-grained job checkpoints.
Local tooling — Run PostgreSQL syntax validation locally, show diffs, and use language intelligence for SQL editing.
Long-tail remediation — Remaining broken objects each have unique issues requiring case-by-case judgment.
Full transparency — Every fix is reported in chat with what changed and why.
What AWS Transform Handles vs What the IDE Agent Handles
| Responsibility | AWS Transform Transform Agent | IDE Agent (this steering) |
|---|---|---|
| Schema conversion (DDL) | ✅ | — |
| Bulk stored proc rewrite | ✅ | Fix remaining broken procs flagged in report |
| Data type mapping | ✅ | Fix type mapping violations flagged in report |
| View creation | ✅ | Resolve failed views flagged in report |
| Index migration | ✅ | Re-create missing indexes flagged in report |
| Validation report generation | ✅ | Parse and act on report |
| Critical/high-severity remediation | — | ✅ |
| Application code changes | — | Out of scope (flag for user) |
Step 1: Collect AWS Transform Job Context
Prompt user for AWS Transform job identifiers:
workspaceId— The AWS Transform workspace where the conversion job ranjobId— The AWS Transform job that performed the MSSQL → PostgreSQL conversionagentInstanceId— The agent instance that produced the conversion artifacts
Step 2: Retrieve Artifacts from AWS Transform
Once the user provides identifiers, list all job artifacts and match by name/label:
# List all artifacts
list_resources resource="artifacts" workspaceId="<workspaceId>" jobId="<jobId>"Scan for converted database artifacts: Look for all artifacts with
fileMetadata.pathstarting withATX_CONVERTED_DB_ARTIFACT. Each artifact represents a converted database:ATX_CONVERTED_DB_ARTIFACT_<dbName>.Extract the database names and present them:
"This job has converted artifacts for N database(s):
OrdersDBInventoryDB
Which database would you like to fix?"
Wait for the user to choose. Then download:
get_resource resource="artifact" workspaceId="<workspaceId>" jobId="<jobId>" artifactId="<matched-id>" savePath="/local/path/ATX_CONVERTED_DB_ARTIFACT_<dbName>.zip"Extract the ZIP — contains:
sourcesql/,targetsql/,validationreport/. Readtargetsql/manifest.jsonto discover the converted SQL files and custom rules — file paths in the manifest are relative totargetsql/.Fallback (single artifact): If no
ATX_CONVERTED_DB_ARTIFACT_*found, look for a singleATX_CONVERTED_DB_ARTIFACT(no suffix) and use it directly.Fallback (individual artifacts): If no ZIP artifacts found, scan for:
postgres-completed-deployment.sql→ converted PG fileSchema Conversion Report→ validation reportAsk user for the source SQL file separately
Fallback (no artifacts): If no artifacts found or AWS Transform job not referenced, ask user for local file paths to:
Original source SQL file (T-SQL / SQL Server)
Converted PostgreSQL SQL file
Conversion validation report (HTML or text)
Once artifacts are retrieved, proceed to the Common Workflow section below.
Common Workflow (Both Paths Converge Here)
Once you have the source SQL, converted PostgreSQL SQL, and validation report — regardless of whether you arrived via the from-scratch or handoff path — follow these steps.
Step 1: Check PostgreSQL Extension
Verify the user has a PostgreSQL extension installed in their IDE. If not installed, ask:
"A PostgreSQL extension is required to validate fixes before applying them. Please install one:
VS Code: Install
ms-ossdata.vscode-postgresqlorckolkman.vscode-postgresfrom the Extensions marketplaceKiro: Install the PostgreSQL extension from the Extensions panel
DBeaver: Built-in — no additional install needed
Once installed, configure a connection profile for the target Aurora PostgreSQL cluster and let me know the profile name."
Step 2: Set Fix Autonomy Mode
Ask the user:
"How should I handle fix approvals?
per-fix (default) — I propose each fix and wait for your approval before applying it
per-cluster — I show proposed fixes for the first 2–3 issues in a cluster so you can review the approach, then apply all fixes in the cluster after your approval. A cluster diff is shown after applying.
autonomous — I apply all critical/high fixes end-to-end and present a full diff and summary at the end
Choose [per-fix / per-cluster / autonomous]:"
Store the chosen mode for the session. The user can switch mid-session by saying e.g. "Switch to per-cluster mode". Mode affects approval behavior:
per-fix— Rule 2d (approval prompt before every fix) is enforced.per-cluster— Rule 2d is skipped. The agent shows proposed before/after fixes for the first 2–3 issues as a preview, asks for approval, then applies all fixes in the cluster. Rule 3 (cluster diff) is shown after applying.autonomous— Rules 2d and 3 approval prompts are skipped. Fixes are still logged in chat (Rule 8) and a final summary is shown.
Step 3: Present Available Commands
Before starting fixes, inform the user:
"Before we begin, here's what you can ask me to do at any time:
Show diff — Display a diff of all changes made so far (three-way diff of source MSSQL, converted PG, and working copy). The converted PG vs working copy diff is skipped if the files are still identical.
Run validation — Upload the working copy to AWS Transform for functional re-validation and get a new report
Show progress — Print the current progress table with cluster statuses
Switch autonomy mode — Change fix approval mode (per-fix / per-cluster / autonomous)
Skip cluster — Skip the current cluster and move to the next one
Revert cluster — Undo all fixes in the current cluster
Fix a medium/low item — Ask me to fix a specific advisory item
I'm done — End the session, upload the final file to AWS Transform, and optionally deploy
Let's start."
Step 4: Parse Report and Prioritize
Parse the Issue Clusters table — Each row has a severity emoji (🔴🟠🟡🟢), a description, and a score deduction.
Filter to critical and high — Only 🔴 Critical and 🟠 High clusters are in scope for auto-fixing.
For each in-scope cluster, read "What Needs Immediate Attention" — Contains affected objects, risk description, and recommended SQL fixes.
For medium/low clusters — Present as advisory items. Do not auto-fix unless user explicitly requests.
For info/warning items — Note in summary but take no action.
Separate load failures from conversion defects — Schema Loading Notes distinguish objects that failed to load due to missing dependencies vs true migration issues.
Read the custom rules file — Parse the custom rules JSON from
targetsql/(listed inmanifest.json'scustom_rulesarray). Understand the current type mappings, extensions, and naming conventions. This context is needed when applying fixes — if a fix contradicts or extends these rules, you'll update the custom rules file in Step 6 (and verify in Step 7).
Step 5: Set Up Three-File Workflow
Ensure the working directory is trusted — Ask the user:
"Which directory should I use for the working files? It should be a directory already open and trusted in your IDE. This avoids permission prompts that can freeze the chat."
Read
targetsql/manifest.jsonto identify the converted SQL file(s) fromexecution_orderand the custom rules file(s) fromcustom_rules. File paths in the manifest are relative totargetsql/.Copy the converted PG file (the first
fileinexecution_order) to a working copy (e.g.,postgres-deployment-fixing.sql). Keep the original converted PG file as a read-only reference. All fixes go to the working copy only.Copy the custom rules file(s) to the working directory. All custom rules edits go to this working copy — the original in
targetsql/stays untouched.macOS/Linux/Git Bash:
cp <targetsql>/<rule_file> <working_directory>/<rule_file>Windows (PowerShell):
powershell -Command "Copy-Item '<targetsql>/<rule_file>' '<working_directory>/<rule_file>'"
Open the source SQL, converted PG file, and working copy in the editor:
Kiro:
kiro <sourcesql/source.sql>thenkiro --reuse-window <targetsql/converted.sql>thenkiro --reuse-window <working_copy>VS Code:
code <sourcesql/source.sql> <targetsql/converted.sql> <working_copy>DBeaver: Open all files via File → Open
Tell the user:
"I've opened three files: the source MSSQL, the converted PG file, and the working copy. You can arrange them side by side. The source MSSQL and converted PG files are for reference only — all fixes go to the working copy."
Step 6: Apply Fixes in Priority Order
Apply fixes in dependency order to avoid cascading failures:
Prerequisites — Extensions, schemas, and any infrastructure the report identifies as missing
Type/column fixes — Data type corrections flagged as critical or high
Views — Resolve dependency issues, then re-create failed views in order
Stored procedures and functions — Apply each fix pattern described in the report
Indexes — Re-create missing indexes
Validate — Confirm syntax validity and that all critical/high items are addressed
Custom rules — update as you go: When a fix establishes a reusable conversion pattern (type mapping, extension, naming), update the custom rules file immediately:
Overwriting an existing rule (e.g., changing
BIT → BOOLEANtoBIT → NUMERIC) → ask the user for confirmation before modifying. Do NOT overwrite silently.Adding a new rule → In per-fix mode, ask confirmation. In per-cluster/autonomous mode, just inform the user and add it.
This keeps custom rules in sync with the actual conversion. Validation uses these rules to score — inaccurate rules cause false positives.
Step 7: Verify Custom Rules
Why this matters: The validation sub-agent uses the custom rules file to score the conversion. If the custom rules don't reflect the actual type mappings and patterns used in the converted SQL, validation will flag false positives and lower the score. Keeping custom rules accurate ensures validation results are meaningful.
Before uploading, verify that the custom rules file reflects all conversion patterns applied during this session:
Review changes made — For each fix that changed a type mapping, added an extension, or established a naming pattern, confirm the custom rules file was updated during Step 6.
Check for missed updates — If any fixes were applied that should have updated custom rules but didn't (e.g., you changed a
BITcolumn toNUMERICbut the rules still sayBIT → BOOLEAN), update them now following the rules below.Confirm with user if overwriting — If any rule was modified (not just added), confirm the user approved the change during Step 6. If not, ask now.
Custom rules file format:
{
"extensions": {
"base_extensions": ["citext", "uuid-ossp", "pgcrypto"],
"additional_extensions": []
},
"type_mappings": [
{
"rule-id": "<unique_id>",
"rule-name": "",
"source-type": "<MSSQL_TYPE>",
"target-type": "<POSTGRESQL_TYPE>",
"precision": null,
"scale": null
}
],
"naming": {
"casing": "lowercase",
"schema_mappings": {},
"strip_schema_prefixes": []
}
}What to update:
Type mapping fixes → Add or modify entries in
type_mappings. Use a descriptiverule-id(e.g., "bit", "money").Extension requirements → Add to
extensions.additional_extensionsif a fix requires a PostgreSQL extension not inbase_extensions.Naming conventions → Update
naming.schema_mappingsornaming.casingif applicable.
Save the updated custom rules file to the working directory. It will be included in the next upload ZIP (Step 8 uses the updated version).
Step 8: Upload Fixed File to AWS Transform
Copy working copy and upload to artifact store
macOS/Linux/Git Bash:
execute_bash: cp <working_copy> <working_directory>/postgres-completed-deployment.sqlWindows (PowerShell):
execute_bash: powershell -Command "Copy-Item '<working_copy>' '<working_directory>/postgres-completed-deployment.sql'"
upload_artifact(
workspaceId="<workspaceId>",
jobId="<jobId>",
content="<working_directory>/postgres-completed-deployment.sql",
fileName="IDE_CONVERTED_DB_ARTIFACT",
fileType="TXT",
categoryType="CUSTOMER_INPUT"
)Notify the AWS Transform job chat
send_message(
workspaceId="<workspaceId>",
jobId="<jobId>",
text="IDE agent completed all critical and high-severity fixes. Uploaded corrected file as IDE_CONVERTED_DB_ARTIFACT. Ready for re-validation through invoke_validation_after_ide with new artifact id:<artifactId>"
)Step 9: Monitor Validation and Continue
Poll AWS Transform job messages for validation status updates:
list_resources(
resource="messages",
workspaceId="<workspaceId>",
jobId="<jobId>"
)Filter for messages containing "validation". Display matching messages to show progress. Re-poll every 10 seconds until a message containing "Validation complete" appears. Use the mcp-sleep tool between polls.
When "Validation complete" is found, extract the artifact ID from the message and download the new report:
get_resource(
resource="artifact",
workspaceId="<workspaceId>",
jobId="<jobId>",
artifactId="<artifactId from validation complete message>",
savePath="<working_directory>/validation_report_latest.html"
)Prompt the user:
"Validation is complete. New report downloaded.
Would you like to:
Review & fix — Parse the new report and apply another round of fixes
Deploy — Accept the current state and deploy to the target database
Choose [1] or [2]:"
If 1: Go back to Step 4 (Parse Report and Prioritize).
If 2: Prepare and upload the final converted artifact before deployment:
Prepare a ZIP bundle in a staging directory:
Create the staging directory:
macOS/Linux/Git Bash:
execute_bash: mkdir -p <working_directory>/zip_stagingWindows (PowerShell):
execute_bash: powershell -Command "New-Item -ItemType Directory -Force -Path '<working_directory>/zip_staging'"
Copy working copy as
postgres-completed-deployment.sql:macOS/Linux/Git Bash:
execute_bash: cp <working_copy> <working_directory>/zip_staging/postgres-completed-deployment.sqlWindows (PowerShell):
execute_bash: powershell -Command "Copy-Item '<working_copy>' '<working_directory>/zip_staging/postgres-completed-deployment.sql'"
Copy the custom rules file(s) from the working directory:
macOS/Linux/Git Bash:
execute_bash: cp <working_directory>/<rule_file> <working_directory>/zip_staging/<rule_file>Windows (PowerShell):
execute_bash: powershell -Command "Copy-Item '<working_directory>/<rule_file>' '<working_directory>/zip_staging/<rule_file>'"
Create
manifest.jsonwith database name, execution order (file: "postgres-completed-deployment.sql",type: "all",object_count: <count of CREATE statements>), and"custom_rules"listing the custom rules filenames
Create ZIP:
macOS/Linux:
execute_bash: cd <working_directory>/zip_staging && rm -f ../IDE_CONVERTED_DB_ARTIFACT.zip && zip ../IDE_CONVERTED_DB_ARTIFACT.zip *Windows:
execute_bash: powershell -Command "Compress-Archive -Path '<working_directory>/zip_staging/*' -DestinationPath '<working_directory>/IDE_CONVERTED_DB_ARTIFACT.zip' -Force"
Clean up:
macOS/Linux/Git Bash:
execute_bash: rm -rf <working_directory>/zip_stagingWindows (PowerShell):
execute_bash: powershell -Command "Remove-Item -Recurse -Force '<working_directory>/zip_staging'"
Upload via
upload_artifactwithfileName="IDE_CONVERTED_DB_ARTIFACT",fileType="ZIP",categoryType="CUSTOMER_INPUT".Send a message to the AWS Transform job with the artifact ID:
send_message( workspaceId="<workspaceId>", jobId="<jobId>", text="IDE agent completed all fixes. Final converted artifact uploaded as IDE_CONVERTED_DB_ARTIFACT (artifactId: <artifactId>). Ready for deployment." )Proceed with deployment via AWS Transform job or IDE PostgreSQL extension if the user prefers.
Report Structure
The validation report follows this general structure:
| Section | What It Contains | How to Use |
|---|---|---|
| Executive Summary | Quantitative Score, Expert Assessment, production readiness grade | Determine overall severity — 🔴 NOT READY means critical issues exist |
| Migration Overview table | Per-category counts (Tables, Views, Procs, Triggers, Columns, Constraints, Indexes, Type Mappings) with Pass/Warn/Fail rates | Identify which categories have failures |
| Issue Clusters table | Severity (🔴🟠🟡🟢), cluster description, score deduction | Prioritize fixes — work critical clusters first |
| Schema Loading Notes | Objects that failed to load due to missing dependencies vs true migration issues | Distinguish load failures from conversion defects |
| What Needs Immediate Attention | Detailed per-cluster breakdown with affected objects, risk description, and recommended SQL fixes | Primary source of fix instructions |
| Recommended Action Plan | Ordered steps: 🔴 Before testing → 🟡 Before go-live → 🟢 Post-migration | Follow this sequence when applying fixes |
| What We Could Not Verify | Items not tested (runtime correctness, data accuracy, performance, collation) | Flag as remaining risks after fixes |
Progress Reporting
Maintain a two-tier progress display: a summary table for overall status, plus an active context block.
Progress Table
## Conversion Progress
| # | Severity | Cluster | Status |
|---|----------|---------|--------|
| 1 | 🔴 Crit | <cluster description> (<N> objects) | ✅ Fixed |
| 2 | 🟠 High | <cluster description> (<N> objects) | 🔄 M/N |
| 3 | 🟠 High | <cluster description> (<N> objects) | ⏳ Pending |
| 4 | 🟡 Med | <cluster description> (<N> objects) | ℹ Advisory |
### Currently fixing:
`<schema.object_name>` — <brief description of the fix being applied>
### Last completed:
`<schema.object_name>` — <brief description of what was fixed>Status Values
| Status | Meaning |
|---|---|
⏳ Pending | Cluster not yet started |
🔄 M/N | In progress — M of N objects fixed so far |
✅ Fixed | All objects in cluster resolved |
⚠ Partial (M/N, K skipped) | Some objects could not be fixed — requires user attention |
ℹ Advisory | Medium/low severity — presented to user, not auto-fixed |
Per-Fix Chat Response
For every individual fix, the chat response MUST include:
1. Fix summary with line reference:
✅ Fixed `schema.object_name` (line N in working copy)
Problem: <description from the report>
Fix applied: <one-line summary of what was changed>
Syntax validation: ✅ Passed (validated via PostgreSQL extension)2. Updated progress table (as shown above).
3. Approval prompt — STOP and wait:
Approve this fix? [Yes / No / Modify]Do NOT proceed to the next fix until the user responds.
After all critical/high clusters are done, print a final summary:
🔴 Critical: X/X done · 🟠 High: Y/Y done · Overall: Z/Z clusters resolvedKnown Limitations
The IDE agent applies fixes based on the report's recommendations — it does not independently discover new issues
Runtime correctness of fixed procedures cannot be verified without production-equivalent test data
Application code changes (e.g., cursor-based result sets, connection strings) are outside scope — flag for user
Collation differences (MSSQL case-insensitive vs PostgreSQL case-sensitive) need separate testing
Performance validation requires production-equivalent load testing
CLR stored procedures, linked server queries, and SSIS packages require architectural changes beyond SQL file fixes
Example Requirements
## Requirement 1: Fix All Critical Issues
**User Story:** As a DBA, I want all critical-severity issues from the validation report
resolved in the PostgreSQL file so that the schema is safe for production.
**Acceptance Criteria:**
1. WHEN fixes are applied, ALL 🔴 critical clusters from the report SHALL be resolved
2. WHEN fixes are applied, the PostgreSQL file SHALL be syntactically valid
3. WHEN fixes are applied, previously converted logic SHALL NOT be altered
## Requirement 2: Fix All High-Severity Issues
**User Story:** As a developer, I want all high-severity issues from the validation report
resolved so that runtime failures are eliminated.
**Acceptance Criteria:**
1. WHEN fixes are applied, ALL 🟠 high clusters from the report SHALL be resolved
2. WHEN fixes are applied, semantic behavior SHALL match the original source SQL
3. WHEN fixes are applied, the fix SHALL follow the report's recommended approachExample Tasks
### From-Scratch Tasks
- [ ] 1. Authenticate and set up AWS Transform job
- [ ] 1.1 Authenticate to AWS Transform using cookie auth
- [ ] 1.2 Create workspace and job (or use existing)
- [ ] 1.3 Upload source SQL artifact (.sql or .zip as-is)
- [ ] 1.4 Send artifact URI to agent via chat
- [ ] 2. Monitor conversion and review assessment
- [ ] 2.1 Poll messages, worklogs, and HITL tasks for progress
- [ ] 2.2 Download and review assessment report PDFs and CSVs
- [ ] 2.3 Trigger schema conversion when user is ready
- [ ] 2.4 Poll for conversion completion
- [ ] 2.5 Retrieve conversion artifacts (ZIP or individual files)
### Handoff Tasks
- [ ] 1. Collect AWS Transform job context and inputs
- [ ] 1.1 Prompt user for workspaceId, jobId, and agentInstanceId
- [ ] 1.2 List all artifacts from AWS Transform job
- [ ] 1.3 Download ATX_CONVERTED_DB_ARTIFACT ZIP or individual artifacts
- [ ] 1.4 If no artifacts found, ask user for local file paths
### Common Tasks (both workflows)
- [ ] 3. Check PostgreSQL extension prerequisite
- [ ] 4. Parse report and prioritize
- [ ] 4.1 Extract all issue clusters by severity
- [ ] 4.2 Identify critical and high-severity clusters
- [ ] 4.3 Separate load failures from true migration defects
- [ ] 4.4 Create working copy of converted PG file
- [ ] 5. Apply critical-severity fixes
- [ ] 5.1 For each 🔴 critical cluster, validate proposed fix via PostgreSQL extension, then apply
- [ ] 6. Apply high-severity fixes
- [ ] 6.1 For each 🟠 high cluster, validate proposed fix via PostgreSQL extension, then apply
- [ ] 7. Present advisory items
- [ ] 7.1 Summarize 🟡 medium and 🟢 low clusters for user review
- [ ] 8. Validate and upload
- [ ] 8.1 Confirm all critical and high clusters are addressed
- [ ] 8.2 Present diff of all changes
- [ ] 8.3 Create ZIP and upload to AWS Transform artifact store
- [ ] 9. Monitor validation and continue
- [ ] 9.1 Poll AWS Transform job messages for validation progress
- [ ] 9.2 Download new validation report
- [ ] 9.3 Ask user: apply another round of fixes or deployRequirements and compatibility
Written for: Claude Code
Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta
“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.
Needs: Names Claude Code tools, Needs an MCP server, Needs network access, Needs a command-line tool, Needs Python
Security
What our scanner noticed· Medium risk
- Phrasing that asks for actions without confirmation
- References to credential files
- Instructions that use the network
- Downloads piped into a shell
- Scripts that your agent may run
This skill includes scripts that your agent may run. Read them before you use it.
A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.
Attribution and licence
- Published by
- AWS Labs
- Publisher
- AWS Labs (Official)
- Source
- awslabs/agent-plugins · plugins/aws-transform/skills/aws-transform · commit fbefb37
- Licence
- Apache License 2.0 (redistribution allowed)
- LICENSE (added by AutoGineer from LICENSE)
- NOTICE (added by AutoGineer from NOTICE)
- ATTRIBUTION.md (written by AutoGineer)
- Synced
AutoGineer is not affiliated with or endorsed by AWS Labs.
Download ZIP
The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download aws-transform.zip