Tutorial: Onboard a New Developer¶
Time: 10 minutes | Level: Beginner
Get a new team member fully configured with your team's AI coding standards.
What You Will Learn¶
- Install DevSync and detect AI tools
- Install team standards from a Git repository
- Verify the installation
Prerequisites¶
- Python 3.10+ installed
- One or more AI coding tools installed (Claude Code, Cursor, etc.)
- Your team's standards package hosted in a Git repository
Step 1: Install DevSync¶
Verify:
Step 2: Configure LLM (Optional)¶
For AI-powered adaptation:
Info
If the new developer doesn't have an API key, they can skip this step. Installation still works using --no-ai for file-copy mode.
Step 3: Detect AI Tools¶
Expected output:
Step 4: Install Team Standards¶
Navigate to the project and install:
DevSync will:
- Clone the team standards repository
- Read the practice declarations
- Detect installed AI tools
- Adapt practices to the project's existing setup
- Prompt for any MCP server credentials
Installing team-standards...
Detected tools: Claude Code, Cursor
Adapting 4 practices + 1 MCP server...
Claude Code:
Created: .claude/rules/code-style.md
Created: .claude/rules/testing.md
Created: .claude/rules/security.md
Created: .claude/rules/error-handling.md
Cursor:
Created: .cursor/rules/code-style.mdc
Created: .cursor/rules/testing.mdc
Created: .cursor/rules/security.mdc
Created: .cursor/rules/error-handling.mdc
MCP server "github" requires credentials:
GITHUB_TOKEN (required): GitHub personal access token
> ghp_xxxxxxxxxxxxxxxxxxxx
Installation complete.
Step 5: Verify¶
Check the installed files:
Open your IDE -- the AI coding assistant now follows your team's standards.
Without AI (File-Copy Mode)¶
If the developer doesn't have an LLM API key:
Files are copied directly without AI adaptation. This still works -- the developer gets the same standards, just without intelligent merging with existing rules.
Onboarding Script¶
Automate the entire process with a shell script:
#!/usr/bin/env bash
set -e
echo "Installing DevSync..."
pip install devsync
echo "Detecting AI tools..."
devsync tools
echo "Installing team standards..."
devsync install https://github.com/company/team-standards
echo "Verifying installation..."
devsync list
echo "Done! Your AI tools are configured."
Next Steps¶
- Team Config Repository -- create your own team standards
- Multi-IDE Workflow -- managing standards across multiple IDEs