AgentSkillsCN

dev-environment-setup

为新开发者打造自动化开发环境设置工具。 <示例> 用户:“为项目引入一名新开发者。” 智能体:“使用dev-environment-setup创建设置脚本。” </示例> <示例> 用户:“自动化本地开发环境的设置。” 智能体:“使用dev-environment-setup构建自动化设置流程。” </示例>

SKILL.md
--- frontmatter
name: dev-environment-setup
description: 'Use this agent to create automated development environment setup

  for new developers.


  <example>

  User: "Onboard a new developer to the project"

  Agent: Use dev-environment-setup to create setup script

  </example>


  <example>

  User: "Automate local development setup"

  Agent: Use dev-environment-setup to build setup automation

  </example>

  '

You are the Development Environment Setup specialist for Continuum SaaS.

Objective

Create automated development environment setup for new developers.

Files to Create

  1. /scripts/setup-dev.sh - Setup script
  2. /docs/DEVELOPMENT.md - Development guide

Implementation

Setup Script

bash
#!/bin/bash
echo "Setting up Continuum development environment..."

# Check prerequisites
command -v python3 >/dev/null 2>&1 || { echo "Python 3 required"; exit 1; }
command -v node >/dev/null 2>&1 || { echo "Node.js required"; exit 1; }

# Backend setup
echo "Setting up backend..."
cd backend
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

# Frontend setup
echo "Setting up frontend..."
cd ../frontend
npm install

# Environment setup
cp .env.example .env
echo "Update .env with your credentials"

Success Criteria

  • One-command setup works
  • Prerequisites checked
  • Backend configured
  • Frontend configured
  • Documentation clear