‹ 首页

setup

@wellapp-ai · 收录于 5 天前 · 上游提交 1 个月前

One-time environment setup for new team members

适合你,如果团队需要为新成员快速搭建一致的开发环境

/ 通过 npx 安装 校验哈希
npx oh-my-skill add wellapp-ai/well/setup
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- wellapp-ai/well/setup
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify wellapp-ai/well/setup
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
340GitHub stars
~880上下文体积 · 单文件
索引托管

怎么用

商店整理自技能原文 · 版本 782601c · 表述以原文为准
它做什么

装上后,当你需要首次设置开发环境时,Claude 会指导你逐步完成工具安装、仓库克隆、MCP 配置等所有步骤,最终生成可用的开发环境。

什么时候触发

当你提出“设置开发环境”、“新环境初始化”等需求时触发。

装好后可以这样说
Claude 会引导你完成安装配置
Claude 会指导你编辑 mcp.json 文件
技能原文 SKILL.md作者撰写 · MIT · 782601c

Environment Setup Skill

Use this skill for first-time setup of your development environment.

Phase 1: Core Development Tools

Verify these are installed:

  • [ ] Cursor IDE (latest version)
  • [ ] GitHub Desktop
  • [ ] Docker
  • [ ] TablePlus (database GUI)
  • [ ] Figma Desktop App - https://www.figma.com/downloads/
  • [ ] Screen.studio (optional, for demos)
  • [ ] Google Cloud SDK (only for admins)
Phase 2: Repository Setup
  1. Clone the repository
  2. Run npm install in monorepo root
  3. Start Docker: docker-compose up -d
  4. Run migrations: npm run migrate
  5. Seed database: npm run seed
Phase 2.5: Pattern Resources Orientation

Familiarize yourself with design resources:

  1. Read /docs/pattern-resources.md - External UI/UX references
  2. Read /docs/design-system/ folder - Internal tokens and guidelines
  3. Bookmark key competitor sites for your domain:
  4. Mobbin - Real app screenshots
  5. Page Flows - User flow recordings
  6. Refactoring UI - Visual design principles
Phase 3: Environment Configuration
  1. Copy .env.example to .env in:
  2. apps/api/.env
  3. apps/web/.env
  4. Configure required variables
Phase 4: MCP Configuration
Installation Method: Manual (Recommended)

Cursor's UI auto-install can loop indefinitely. Edit ~/.cursor/mcp.json directly.

Complete mcp.json Template

Copy this to ~/.cursor/mcp.json and replace YOUR_* placeholders:

{
  "mcpServers": {
    "notion": {
      "command": "npx",
      "args": ["-y", "@notionhq/notion-mcp-server"],
      "env": {
        "OPENAPI_MCP_HEADERS": "{\"Authorization\": \"Bearer YOUR_NOTION_TOKEN\", \"Notion-Version\": \"2022-06-28\"}"
      }
    },
    "n8n-mcp": {
      "command": "npx",
      "args": ["-y", "supergateway", "--streamableHttp", "YOUR_N8N_URL/mcp-server/http", "--header", "authorization:Bearer YOUR_N8N_TOKEN"]
    },
    "context7": {
      "command": "npx",
      "args": ["-y", "@upstash/context7-mcp@latest"]
    },
    "figma": {
      "url": "http://127.0.0.1:3845/mcp"
    }
  }
}
Authentication by MCP

| MCP | Auth Type | How to Get Token | |-----|-----------|------------------| | Notion | API Token | notion.so/my-integrations > New integration > Copy token | | n8n | Bearer Token | n8n instance > Settings > API > Create key | | Context7 | None | Just works | | Figma Desktop | None | Enable in Figma app Dev Mode (Shift+D) | | Figma Remote | OAuth | Use "url": "https://mcp.figma.com/mcp", click Connect in Cursor | | Browser | None | Built-in to Cursor |

Browser MCP (Built-in)

Browser MCP is built into Cursor and requires no setup. Use it for:

  • Taking screenshots of competitor apps during DIVERGE phase
  • Testing Storybook stories
  • E2E workflow verification

Tip: During feature exploration, navigate to competitor apps and use browser_take_screenshot to capture reference designs.

Troubleshooting

MCP won't install (infinite loop):

  1. Cancel the operation (Cmd+C or close dialog)
  2. Manually edit ~/.cursor/mcp.json
  3. Add the config block directly
  4. Restart Cursor: Cmd+Shift+P > "Reload Window"

MCP shows disconnected:

  1. Verify JSON syntax is valid (use jsonlint.com)
  2. Check token is correct and not expired
  3. For Figma: ensure desktop app is running with MCP enabled

Verification: After restart, list MCP folder to confirm all servers loaded:

ls ~/.cursor/projects/*/mcps/
Phase 5: Cursor Settings

Configure in Cursor Settings:

  • Model: Claude Opus 4.5
  • Auto mode: Disabled
  • Completion sounds: Enabled
  • Usage summary: Always
Phase 6: Verification

Run these to verify setup:

  • [ ] npm run dev - starts without errors
  • [ ] npm run typecheck - passes
  • [ ] npm run storybook - loads components
Completion

When all phases complete, you're ready to use:

  • init [Notion URL] - Start a new feature
  • plan [feature] - Create implementation plan
按 MIT 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。