Agent skill
setup-workspace
Configure workspace context and project settings.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/setup-workspace
SKILL.md
Setup Workspace
The Planner drives this workflow with Orchestrator support for process setup. Guide the creation or update of workspace-specific context by detecting project characteristics and gathering information.
Prerequisites: Access to project root, project files exist (at minimum a README or package manifest).
Modes
- Quick Start (Minimum Viable): Project name, purpose, stack confirmation, key documentation pointers
- Comprehensive: All sections in the workspace context schema
Phase 1: Detection
Scan for project markers and report findings.
Steps
- Look for README.md
- Check for package manifests (package.json, *.csproj, pom.xml)
- Look for docs/ or docs/adr/ directories
- Scan for configuration files
- Report findings
Output
## Context Anchors
- **Phase:** Detection
## Detection Results
| Marker | Found | Details |
| ---------------- | ------ | ------------- |
| README.md | Yes/No | <details> |
| Package manifest | Yes/No | <type> |
| Documentation | Yes/No | <structure> |
| Configuration | Yes/No | <files found> |
## Next Step
Confirm detection findings are correct.
**Approval Required:** Yes
⛔ CHECKPOINT
STOP. Do not proceed until human confirms detection findings.
Phase 2: Stack Inference
Infer technology stack from detected files.
Steps
- Classify backend technology
- Classify frontend technology
- Identify documentation structure
- Report inference
Stack Categories
- Backend: .NET / Node / Java / Python / None
- Frontend: Angular / React / Vue / None
- Docs: ADR structure / Custom / None
⛔ CHECKPOINT
STOP. Do not proceed until human confirms stack inference.
Phase 3: Project Identity
Gather project-specific information.
Steps
- Ask project name
- Ask one-line purpose
- Ask about domain terminology
- Ask about project-specific conventions
Phase 4: Preview and Confirm
Generate workspace context and get approval.
Steps
- Generate workspace context from gathered information
- Present preview
- Apply after approval
Output
## Context Anchors
- **Phase:** Preview and Confirm
## Generated Context
<preview summary>
## Next Step
Approve to write workspace context.
**Approval Required:** Yes
⛔ CHECKPOINT
STOP. Approve workspace context before writing.
Workspace Context Schema
The workspace context file contains:
- Project identity (name, purpose)
- Domain terminology
- Architecture (pattern, backend, frontend)
- Convention amendments (project-specific overrides)
- Key documentation pointers
Error Handling
| Error | Recovery |
|---|---|
| Empty project (no markers) | Ask user to describe project manually |
| Conflicting markers | Present all detected, ask for clarification |
| Existing context file | Offer to update vs replace |
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?