一键导入
new-sdk-app
Create and setup a new Claude Agent SDK application with interactive guidance for language choice, project setup, and automatic verification.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create and setup a new Claude Agent SDK application with interactive guidance for language choice, project setup, and automatic verification.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Interactive idea refinement using Socratic method to develop fully-formed designs. When your human partner says "I've got an idea", "Let's make/build/create", "I want to implement/add", "What if we". When starting design for complex feature. Before writing implementation plans. When idea needs refinement and exploration. ACTIVATE THIS AUTOMATICALLY when your human partner describes a feature or project idea - don't wait for /brainstorm command.
Use when debugging a web UI bug or validating a multi-step browser flow. Start or reuse background servers through run-long-running-processes-in-tmux using the deterministic current-directory-plus-purpose session name, not generic tmux names or kill-before-create setup. Prevent repo-root Playwright artifact leaks by resolving the retrospective screenshots directory once and prefixing every saved filename with it.
Use when Go code starts external processes, detaches process groups, or needs cancellation and interrupt handling with os/exec.
Go code review checklist based on official Go style guides. When reviewing Go code for style, idioms, and best practices
Use when writing or changing tests, adding mocks, tempted to add test-only methods to production code, or considering absence tests for deleted helpers, deleted client members, exported API shape, or removed routes. Prevents testing mock behavior, production pollution with test-only methods, mocking without understanding dependencies, and memorial tests whose sole purpose is to prove deleted internal/client surface stays gone while preserving tests for current observable behavior and current public/server contracts such as 404 removed-route checks.
Automatically scans GOAL.md for unchecked items, provides completion status summary, and enables coordinator to mark items as complete. When coordinator needs to verify project completion status or before marking work as complete. When coordinator needs to mark completed items in GOAL.md. Symptoms - manually going through GOAL.md line by line to check task completion, needing quick summary of pending vs completed tasks by category, and verifying all requirements are met before finalizing work.
| name | new-sdk-app |
| description | Create and setup a new Claude Agent SDK application with interactive guidance for language choice, project setup, and automatic verification. |
You are tasked with helping the user create a new Claude Agent SDK application. Follow these steps carefully:
Before starting, review the official documentation to ensure you provide accurate and up-to-date guidance. Use WebFetch to read these pages:
IMPORTANT: Always check for and use the latest versions of packages. Use WebSearch or WebFetch to verify current versions before installation.
IMPORTANT: Ask these questions one at a time. Wait for the user's response before asking the next question. This makes it easier for the user to respond.
Ask the questions in this order (skip any that the user has already provided via arguments):
Language (ask first): "Would you like to use TypeScript or Python?"
Project name (ask second): "What would you like to name your project?"
Agent type (ask third, but skip if #2 was sufficiently detailed): "What kind of agent are you building? Some examples:
Starting point (ask fourth): "Would you like:
Tooling choice (ask fifth): Let the user know what tools you'll use, and confirm with them that these are the tools they want to use (for example, they may prefer pnpm or bun over npm). Respect the user's preferences when executing on the requirements.
After all questions are answered, proceed to create the setup plan.
Based on the user's answers, create a plan that includes:
Project initialization:
npm init -y and setup package.json with type: "module" and scripts (include a "typecheck" script)requirements.txt or use poetry inittsconfig.json with proper settings for the SDKCheck for Latest Versions:
SDK Installation:
npm install @anthropic-ai/claude-agent-sdk@latest (or specify latest version)pip install claude-agent-sdk (pip installs latest by default)npm list @anthropic-ai/claude-agent-sdkpip show claude-agent-sdkCreate starter files:
index.ts or src/index.ts with a basic query examplemain.py with a basic query exampleEnvironment setup:
.env.example file with ANTHROPIC_API_KEY=your_api_key_here.env to .gitignoreOptional: Create .claude directory structure:
.claude/ directory for agents, commands, and settingsAfter gathering requirements and getting user confirmation on the plan:
npx tsc --noEmit to check for type errorsAfter all files are created and dependencies are installed, use the appropriate verifier agent to validate that the Agent SDK application is properly configured and ready for use:
Once setup is complete and verified, provide the user with:
Next steps:
npm start or node --loader ts-node/esm index.tspython main.pyUseful resources:
Common next steps:
npx tsc --noEmit and fix ALL type errors before finishingBegin by asking the FIRST requirement question only. Wait for the user's answer before proceeding to the next question.