skills/initialize-workspace/SKILL.md
Bootstrap agent context for every project in a VS Code multi-root workspace. Use when setting up the agent system across a multi-project workspace, when someone says "initialize all projects in this workspace", "set up agent context for all our repos", or "I have a .code-workspace file and need to get all projects bootstrapped". Runs initialize-repo (or upgrade-repo) per project and generates workspace-level cross-project context.
npx skillsauth add maestria-co/ai-playbook initialize-workspaceInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Run initialize-repo (or upgrade-repo if .context/ exists) across all projects in a VS Code multi-root workspace, then generate workspace-level cross-project context. This skill enables the agent system to understand multi-project relationships, shared dependencies, and cross-project workflows.
Find the .code-workspace file (search current dir and one level up) and parse
its folders array to get project paths.
For each folder, classify as:
src/, lib/, package.json, etc.) → initialize contextFor each git repository, if the current branch is main, master, production,
or release/*, create a context-bootstrap-[date] branch before making any changes.
Never commit context files directly to protected branches.
For each classified project folder:
Has .context/?
No → Apply initialize-repo skill
Yes → Apply upgrade-repo skill (update context, not code)
Each project must be initialized in isolation — don't let one project's context
influence another's. Each gets its own .context/overview.md, .context/standards.md, .context/architecture.md, etc.
Create .context/workspace-overview.md at the workspace root (not inside
any project folder). This is the workspace-level entry point for cross-project tasks.
# Workspace Overview
**Workspace:** [workspace-name]
**Generated:** [date]
## Projects
| Name | Tech Stack | Purpose | Entry Point |
| ----------- | ----------------- | ------------- | --------------- |
| [project-1] | [Node.js, React] | [Frontend] | `src/index.tsx` |
| [project-2] | [Python, FastAPI] | [Backend API] | `app/main.py` |
## Cross-Project Dependencies
### [project-1] → [project-2]
- **Type:** API contract
- **Interface:** REST HTTP
- **Files:** `frontend/src/api/` → `backend/app/routes/`
## Shared Resources
- [ESLint config, Docker Compose, shared type library, etc.]
## Development Workflow
[How to start all services, run tests across projects, build order]
## Agent Entry Point
For tasks spanning multiple projects, use the **Manager** agent — it will coordinate
across projects as needed.
## Maintenance
Update this file when projects are added, dependencies change, or workflows change.
Discover relationships by scanning imports, API calls, and shared configs:
| Type | Description | | ---------------- | ---------------------------------------- | | Shared Library | One project imports code from another | | API Contract | Projects communicate via HTTP/RPC | | Event Bus | Projects communicate via message queue | | Shared Config | Common ESLint, TypeScript, Docker config | | Build Dependency | One project must build before another |
For each discovered relationship, document: type, direction, interface, and specific files.
Pre-init:
Per project:
.context/ initialized or upgradedWorkspace-level:
workspace-overview.md created at workspace root# Workspace Initialization Complete
## Workspace: [workspace-name]
| Project | Status | Branch |
| ----------- | ---------------------------- | ------------------------ |
| [project-1] | ✅ Initialized | context-bootstrap-[date] |
| [project-2] | ✅ Upgraded | context-bootstrap-[date] |
| [docs] | ⏭️ Skipped (resource folder) | — |
**Workspace overview:** `.context/workspace-overview.md`
**Next steps:**
1. Review and commit context changes in each project
2. Use the **Manager** agent for cross-project tasks```
---
## Constraints
- Each project initialized independently — no cross-pollination of context
- Workspace overview lives at workspace root, not inside any project
- Never commit directly to main/master — always use a branch
- Only document relationships that can be verified in actual code
- Skip resource folders (docs, assets) — only source projects get `.context/`
development
Writes and runs a test suite for a piece of code, covering happy path, edge cases, error cases, and security cases. Use when: implementation is complete and needs test coverage, a bug needs a reproduction test and fix validation, or code needs coverage before a refactor. Do not use when: the code under test is not yet implemented, or the spec is still unclear.
testing
Use when creating a new skill, editing an existing skill, or helping a user author a skill for this system. Covers structure, discoverability, quality, and discipline hardening.
development
Evidence-based verification process to run before marking any task complete. Use this skill every time you're about to report that work is done — for features, bug fixes, refactoring, or any code change. This catches the most common failure mode: declaring "done" without proof. If you're finishing up and about to tell the user the task is complete, run this checklist first.
development
Teaches agents how to discover, select, and invoke skills from the skill library. Use this skill whenever you're uncertain which skill applies to a task, when composing multiple skills for complex work, or when you need to understand what skills are available. This is your go-to when facing an ambiguous task and need to figure out the right approach before diving into implementation.