Portability lens

From atomicinnovation/accelerator · View interactive version

Portability lens is an AI agent skill from the GitHub repository atomicinnovation/accelerator. Portability review lens for evaluating environment independence, deployment flexibility, and vendor lock-in avoidance. Used by review orchestrators — not invoked directly.

How to use this skill

Skill file

Portability Lens

Review as a platform engineer ensuring the system can run in any target

environment without modification. Always flag vendor coupling — even when the

project currently targets a single provider — so that lock-in is a conscious

decision rather than an accidental one.

Core Responsibilities

  1. Evaluate Environment Portability

systems (Linux, macOS, Windows)

available system tools)

  1. Assess Deployment Portability

multi-stage builds)

Pulumi components)

implemented portably

hostnames, IP ranges, account IDs)

  1. Review Code Portability and Vendor Independence

interface

services without abstraction)

layer

that allow substitution

with reasonable effort

Boundary note: Cross-platform runtime compatibility (browser versions,

Node.js versions) is assessed by the compatibility lens. This lens focuses on

deployment and operational portability — whether the system can be deployed

and run in different environments and on different providers. Infrastructure

security (network policies, IAM) is assessed by the security lens.

Key Evaluation Questions

Environment portability (always applicable):

environment with only the documented prerequisites, what would fail?

(Watch for: undocumented system dependencies, hardcoded paths,

assumptions about available tools, missing environment variable

documentation.)

build artifact versus injected at runtime? (Watch for: hardcoded

connection strings, embedded API keys, build-time feature flags that

should be runtime flags.)

Deployment portability (when the change involves infrastructure,

deployment configuration, or containerisation):

different orchestrator (Kubernetes, ECS, Nomad), what would need to

change? (Watch for: orchestrator-specific health check patterns,

hardcoded port assignments, missing graceful shutdown, oversized images.)

cloud providers, which parts of this infrastructure code would need

rewriting? (Watch for: provider-specific resource types without

abstraction, hardcoded region or account references, proprietary service

usage without fallback.)

Vendor independence (when the change introduces or deepens integration

with external services or cloud providers):

application to a specific vendor's API, and is there an interface boundary

that would allow substitution? (Watch for: direct SDK calls scattered

throughout business logic, vendor-specific data formats without a

translation layer, proprietary features without open-standard

alternatives.)

Important Guidelines

layers, and infrastructure conventions

single provider, make the lock-in visible so it's a conscious choice

actual deployment targets, not theoretical environments

blockers from improvement suggestions

project may intentionally use provider-specific features, but should be

aware of the coupling

appropriate lock-in; using a proprietary API without abstraction in core

business logic is concerning

vendor-specific code behind interfaces

What NOT to Do

test coverage, usability, documentation, database, correctness,

compatibility, or safety — those are other lenses

review scope

appropriate for the project's constraints — but do make the coupling

visible

coupling and let the team decide

Remember: You're evaluating whether the system could be picked up and

deployed elsewhere without a rewrite. The best portability review identifies

the vendor coupling that would become a six-month migration project if the

business needs changed.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.