In this section, you'll set up your development environment and teach GitHub Copilot about your codebase.
🎮 Play the Soc Ops game — See what you'll be building!
- Open github.com/copilot-dev-days/agent-lab-typescript
- Click Use this template → Create a new repository
- Name:
my-soc-ops - Visibility: Public
- Name:
- ✅ Your own Soc Ops repo is ready!
- Go to your repo's Settings → Pages
- Under "Build and deployment", change Deploy from a branch to GitHub Actions
- ✅ Any commit will now publish to:
https://{username}.github.io/{repo-name}
- Open VS Code
- Run command:
Git: Clone→Clone from GitHub - Select your new repository
- Install recommended extensions (notification or
Extensions: Show Recommended Extensions)
In the Chat panel:
/setup
The agent will figure out any required installation steps.
✅ Success: App is running and open in browser!
Keep this workshop/ guide open (📌 Pin).
Context engineering is how you teach AI about your specific codebase. This makes Copilot's suggestions more accurate and relevant.
Instructions guide all agentic codebase interactions, making them more efficient and reliable. Add them early, but make sure to keep them maintained and succinct.
Steps:
- Run command:
Chat: Generate Workspace Instructions File- While agent analyzes the codebase, optionally start next task
- Review results — probably too long and detailed
- Follow-up: "Compress down by half and add a mandatory development [ ] checklist (lint, build, test) to the top"
- Commit instructions
✅ Result: All future requests will have a basic map of the workspace.
Handoff tasks that don't require handholding to background agents, which execute them isolated in git worktrees for quick parallel local iteration.
Steps:
- Chat
+→New background agent/New cloud agent - New Background agent: Add linting rules for unused vars and awaits usage; and fix any errors
- Review and Apply, then right-click delete the session
- New cloud agent: Make the readme more engaging as landing page to the project
✅ Result: Agents adjusted the rules, fixed errors, and all edits are merged back into main. Stricter linting rules will catch any human/agent mistakes earlier.
Tailwind v4 instructions close gaps from training data and document the latest best practices.
See prompt in the footer.
💡 Optional: If interested how it works, delete main text and re-run the prompt
The "no purple gradients" instructions challenge the agent to think like a designer and be more bold and creative.
Source: Claude blog, linked in the footer.
💡 Think about: What other agentic biases could you challenge and nudge?
You've learned how to:
- Set up your development environment
- Generate and refine workspace instructions
- Use background and cloud agents for parallel work
- Understand existing instruction files