analyze
БесплатноБез исполняемых скриптовНе проверенAnalyzes an existing Node.js/Express app and creates a migration plan. Use when the user wants to migrate, convert, or deploy their app.
от schuettc★ 15 звёзд на GitHubОб этом скилле
Analyze — Understand Your App
You are analyzing the user's existing Node.js/Express application to create a migration plan for AWS serverless deployment.
When This Skill Activates
- User says "I want to deploy this to AWS"
- User asks to migrate, convert, or move their app to the cloud
- User asks Claude to look at their app for deployment
- No
.migration/plan.mdexists yet
What To Do
Phase 0: Safety Check
Before making any changes, make sure the user's work is safe. This migration creates a lot of new files and modifies the project structure significantly — if something goes wrong, the user needs an easy way to get back to where they started.
Check git is initialized — Run
git status. If the project isn't a git repo, suggest initializing one: "Before we start, let's set up version control so you can always get back to your current working app if needed. Want me to rungit initand make an initial commit?"Check for uncommitted changes — If there are uncommitted changes, ask the user to commit them first: "I see you have uncommitted changes. Let's save those before we start the migration — that way you can always roll back to exactly where you are now. Want me to commit these for you?"
Create a migration branch — Create a new branch so all migration work is isolated: "I'll create a
migrationbranch to work on. Yourmainbranch stays untouched, so you can always switch back."git checkout -b migrationCheck Node.js version — Run
node --version. The migration targets Node.js 20.x for Lambda. If the user is on Node 16 or older, warn them: "You're running Node.js [version]. AWS Lambda uses Node.js 20, and some of the tools we'll use (like Vite and CDK) need Node.js 18 or newer. I'd recommend upgrading before we continue — otherwise you may hit confusing errors later."Check if git is configured — Verify
git config user.nameandgit config user.emailare set so commits work.
Once safety checks pass, proceed to exploration.
Phase 1: Explore
Thoroughly read the existing application:
- Find the entry point — Look for
app.js,index.js,server.js, orpackage.jsonmain field - Map all routes — Find every Express route (GET, POST, PUT, DELETE, PATCH)
- Note the HTTP method, path, and what each handler does
- Identify middleware (auth checks, body parsing, validation)
- Find static files — Look for
express.static()calls, HTML/CSS/JS files, assets - Detect data patterns — How does the app store data?
- In-memory variables/arrays
- JSON file reads/writes
- SQLite or other local database
- External API calls
- Check for auth — Does the app have login/signup? Sessions? JWT?
- Read package.json — Note dependencies, scripts, Node.js version
- Check for environment variables —
.envfiles,process.envusage
Phase 2: Plan
Present findings to the user in plain language:
Routes Summary: "I found [N] Express routes. Here's what each one does:"
GET /— Serves the main pageGET /api/items— Returns a list of items from [data source]POST /api/items— Creates a new item- etc.
Data Storage: "Your app currently stores data in [method]. In AWS, we'll move this to DynamoDB, a cloud database that scales automatically."
Static Files: "You have [N] HTML files and [N] CSS/JS files. We'll migrate these into a modern React frontend built with Vite, then host the production build on CloudFront, a global CDN."
Authentication: "Your app [does/doesn't] have authentication. [If yes: We'll move this to Cognito. If no: We can add it later if you need it.]"
Phase 3: Discuss
Ask the user targeted questions:
- "Does this summary look right? Did I miss anything?"
- "Which routes are the most important to get working first?"
- "Are there any routes that should only be accessible to logged-in users?"
- "Is there any data that needs to persist between sessions?" (if unclear)
- "Are there any features you want to add or remove during the migration?"
- "Do you have an AWS account set up? (If not, I can help with that)"
Phase 4: Output
Create .migration/plan.md with:
# Migration Plan
## App Summary
- **Entry point**: [file]
- **Framework**: Express [version]
- **Node.js version**: [version]
## Routes to Migrate
| Method | Path | Description | Auth Required | Lambda Handler |
|--------|------|-------------|---------------|----------------|
| GET | / | Main page | No | N/A (static) |
| GET | /api/items | List items | No | get-items |
| POST | /api/items | Create item | Yes | create-item |
## Data Model
- **Current storage**: [method]
- **Target**: DynamoDB
- **Tables needed**: [list with key design]
## Frontend
- **Current files**: [list of HTML/CSS/JS files]
- **Target**: Vite + React (TypeScript) → built to static files → hosted on S3 + CloudFront
## Authentication
- **Needed**: Yes/No
- **Protected routes
Установить analyze в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл analyze?
Analyzes an existing Node.js/Express app and creates a migration plan. Use when the user wants to migrate, convert, or deploy their app.
Как установить скилл analyze?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл analyze запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub