Deployment Handoff Command
Generate professional handoff messages for deployed resources and services with all necessary information for developer handoff.
When to Use This Skill
| Use this skill when... |
Use deploy-release instead when... |
| Handing off an already-deployed service to another developer or client |
Cutting a new release tag or driving release-please automation |
| Documenting deployment details (URLs, env vars, monitoring) on a ticket |
Publishing a draft, pre-release, or manual GitHub release |
| Onboarding a new team member with access information for a running service |
Setting up release-please-config.json / .release-please-manifest.json |
| Composing a client-facing deployment summary |
Writing the Dockerfile (container-development) or Skaffold config (skaffold-orbstack) |
Context
- Git remotes: !
git remote -v
- Branch: !
git branch --show-current
- Last commit: !
git log --oneline --max-count=1
- README: !
find . -maxdepth 1 -name 'README.md'
- Docker: !
find . -maxdepth 1 \( -name "Dockerfile" -o -name "docker-compose*.yml" \)
- CI/CD: !
find . -path '*/.github/workflows/*' -maxdepth 3 -name '*.yml'
- Config files: !
find . -maxdepth 1 \( -name ".env.example" -o -name "*.config.*" \)
Parameters
$1 (RESOURCE_NAME, optional): Name of the deployed resource/service
$2 (DEPLOYMENT_TYPE, optional): Type of deployment (web-app, api, database, infrastructure, etc.)
Execution
Execute this deployment handoff documentation workflow:
Step 1: Discover resource details
Gather deployment details from current repository context. Identify relevant documentation and configuration files. Extract repository information and branch details.
Step 2: Collect technical information
Collect:
- Service/resource name and purpose
- Deployment environment details
- Access URLs and endpoints
- Configuration and environment variables
- Dependencies and prerequisites
- Monitoring and logging information
Step 3: Gather documentation links
Find and compile:
- Repository URL and relevant branches
- Deployment documentation
- API documentation (if applicable)
- Configuration guides
- Troubleshooting resources
Step 4: Compile access information
Assemble:
- Service URLs and endpoints
- Database connection details (without credentials)
- Admin/management interfaces
- Monitoring dashboards
- Log locations and access methods
Step 5: Generate handoff message
Create a professionally formatted handoff message with clear sections, action items for the receiving developer, and contact information for follow-up questions.
Template Structure
Service Overview
- Name: Resource/service identifier
- Purpose: Brief description of functionality
- Environment: Production/staging/development
- Deployment Date: When the deployment occurred
- Deployed By: Who performed the deployment
Technical Details
- Technology Stack: Languages, frameworks, databases used
- Architecture: High-level system design
- Dependencies: External services and libraries
- Configuration: Key settings and environment variables
Access Information
- Service URL: Primary access point
- Admin Interface: Management dashboard (if applicable)
- Database: Connection information (non-sensitive)
- File Storage: Asset/file locations
- Monitoring: Health check endpoints and dashboards
Documentation
- Repository: GitHub/GitLab repository URL
- Branch: Deployed branch/tag
- API Docs: API documentation location
- Setup Guide: Installation/configuration instructions
- Troubleshooting: Known issues and solutions
Developer Handoff Checklist
Output Format
The command generates a structured message with:
- Professional tone suitable for client communications
- Clear structure with headers and bullet points
- Actionable information for immediate developer productivity
- Complete context for understanding the deployment
Configuration Options
format: markdown # slack, email, markdown
include_sensitive: false # Include sensitive config info
detail_level: standard # minimal, standard, comprehensive
template_style: professional # professional, technical, brief
Integration Points
- Repository Detection: Automatically detects git repository information
- Environment Variables: Reads from
.env files and configuration
- Documentation Scanning: Searches for README, docs, and API specifications
- CI/CD Integration: Extracts deployment pipeline information
- Monitoring Integration: Links to observability tools and dashboards
Success Criteria
- Handoff message contains all necessary information for developer productivity
- Format is suitable for ticket comments
- Message includes clear next steps and action items
- All links and references are accurate and accessible
- Professional tone appropriate for client-facing communications
Agentic Optimizations
| Context |
Command |
| Git remote URL |
git remote get-url origin |
| Current branch |
git branch --show-current |
| Recent commits |
git log --oneline --max-count=5 |
| Find config files |
find . -maxdepth 1 -name '*.config.*' -o -name '.env.example' |
| Find Dockerfiles |
find . -maxdepth 1 -name 'Dockerfile' -o -name 'docker-compose*.yml' |
| Find CI workflows |
find .github/workflows -maxdepth 1 -name '*.yml' |
| PR details |
gh pr view --json title,url,state,mergedAt |
Example Usage
# Basic handoff for current project
/container:deploy-handoff
# Specific service handoff
/container:deploy-handoff "User API" "web-service"
# Comprehensive handoff — request the detail level in prose
/container:deploy-handoff "Payment System" "microservice"
# then: use comprehensive detail level
Sample Output Format
## 🚀 Deployment Handoff: [Service Name]
**Service**: [Service Name]
**Environment**: [Production/Staging/Development]
**Deployment Date**: [Date]
**Deployed By**: [Developer Name]
### 📋 Service Overview
- **Purpose**: [Brief description of functionality]
- **Technology Stack**: [Languages/frameworks used]
- **Status**: ✅ Active and operational
### 🔗 Access Information
- **Service URL**: [Primary access point]
- **Admin Dashboard**: [Management interface]
- **API Documentation**: [API docs location]
- **Health Check**: [Monitoring endpoint]
### 📚 Documentation & Resources
- **Repository**: [GitHub repository URL]
- **Branch/Tag**: [Deployed version]
- **Setup Guide**: [Configuration instructions]
- **Troubleshooting**: [Known issues and solutions]
### ✅ Developer Handoff Checklist
- [ ] Review service functionality and purpose
- [ ] Access all provided URLs and interfaces
- [ ] Verify monitoring and alerting setup
- [ ] Test basic functionality
- [ ] Review configuration and environment variables
### 📞 Support & Contact
For questions or issues with this deployment, please:
1. Check the troubleshooting guide first
2. Review logs at [log location]
3. Contact [deployer] for immediate assistance
*Generated on [date] for [project/client]*
1---
2created: 2025-12-16
3modified: 2026-09-02
4reviewed: 2026-09-02
5allowed-tools: Read, Bash(git *), mcp__github__get_pull_request, mcp__github__list_issues, TodoWrite
6args: "[resource-name] [deployment-type]"
7argument-hint: "[resource-name] [deployment-type]"
8disable-model-invocation: true
9description: "Generate deployment handoff docs — tech stack, access URLs, config, monitoring, dev checklist. Use when handing off a service, documenting deployments, or creating client-facing summaries."
10name: deploy-handoff
11---
12
13# Deployment Handoff Command
14
15Generate professional handoff messages for deployed resources and services with all necessary information for developer handoff.
16
17## When to Use This Skill
18
19| Use this skill when... | Use `deploy-release` instead when... |
20|---|---|
21| Handing off an already-deployed service to another developer or client | Cutting a new release tag or driving release-please automation |
22| Documenting deployment details (URLs, env vars, monitoring) on a ticket | Publishing a draft, pre-release, or manual GitHub release |
23| Onboarding a new team member with access information for a running service | Setting up `release-please-config.json` / `.release-please-manifest.json` |
24| Composing a client-facing deployment summary | Writing the Dockerfile (`container-development`) or Skaffold config (`skaffold-orbstack`) |
25
26## Context
27
28- Git remotes: !`git remote -v`
29- Branch: !`git branch --show-current`
30- Last commit: !`git log --oneline --max-count=1`
31- README: !`find . -maxdepth 1 -name 'README.md'`
32- Docker: !`find . -maxdepth 1 \( -name "Dockerfile" -o -name "docker-compose*.yml" \)`
33- CI/CD: !`find . -path '*/.github/workflows/*' -maxdepth 3 -name '*.yml'`
34- Config files: !`find . -maxdepth 1 \( -name ".env.example" -o -name "*.config.*" \)`
35
36## Parameters
37
38- `$1` (RESOURCE_NAME, optional): Name of the deployed resource/service
39- `$2` (DEPLOYMENT_TYPE, optional): Type of deployment (web-app, api, database, infrastructure, etc.)
40
41## Execution
42
43Execute this deployment handoff documentation workflow:
44
45### Step 1: Discover resource details
46
47Gather deployment details from current repository context. Identify relevant documentation and configuration files. Extract repository information and branch details.
48
49### Step 2: Collect technical information
50
51Collect:
52- Service/resource name and purpose
53- Deployment environment details
54- Access URLs and endpoints
55- Configuration and environment variables
56- Dependencies and prerequisites
57- Monitoring and logging information
58
59### Step 3: Gather documentation links
60
61Find and compile:
62- Repository URL and relevant branches
63- Deployment documentation
64- API documentation (if applicable)
65- Configuration guides
66- Troubleshooting resources
67
68### Step 4: Compile access information
69
70Assemble:
71- Service URLs and endpoints
72- Database connection details (without credentials)
73- Admin/management interfaces
74- Monitoring dashboards
75- Log locations and access methods
76
77### Step 5: Generate handoff message
78
79Create a professionally formatted handoff message with clear sections, action items for the receiving developer, and contact information for follow-up questions.
80
81## Template Structure
82
83### Service Overview
84- **Name**: Resource/service identifier
85- **Purpose**: Brief description of functionality
86- **Environment**: Production/staging/development
87- **Deployment Date**: When the deployment occurred
88- **Deployed By**: Who performed the deployment
89
90### Technical Details
91- **Technology Stack**: Languages, frameworks, databases used
92- **Architecture**: High-level system design
93- **Dependencies**: External services and libraries
94- **Configuration**: Key settings and environment variables
95
96### Access Information
97- **Service URL**: Primary access point
98- **Admin Interface**: Management dashboard (if applicable)
99- **Database**: Connection information (non-sensitive)
100- **File Storage**: Asset/file locations
101- **Monitoring**: Health check endpoints and dashboards
102
103### Documentation
104- **Repository**: GitHub/GitLab repository URL
105- **Branch**: Deployed branch/tag
106- **API Docs**: API documentation location
107- **Setup Guide**: Installation/configuration instructions
108- **Troubleshooting**: Known issues and solutions
109
110### Developer Handoff Checklist
111- [ ] Review service functionality and purpose
112- [ ] Access all provided URLs and interfaces
113- [ ] Verify monitoring and alerting setup
114- [ ] Check backup and recovery procedures
115- [ ] Review security configurations
116- [ ] Test deployment process
117- [ ] Document any additional findings
118
119## Output Format
120
121The command generates a structured message with:
122- **Professional tone** suitable for client communications
123- **Clear structure** with headers and bullet points
124- **Actionable information** for immediate developer productivity
125- **Complete context** for understanding the deployment
126
127## Configuration Options
128
129```yaml
130format: markdown # slack, email, markdown
131include_sensitive: false # Include sensitive config info
132detail_level: standard # minimal, standard, comprehensive
133template_style: professional # professional, technical, brief
134```
135
136## Integration Points
137
138- **Repository Detection**: Automatically detects git repository information
139- **Environment Variables**: Reads from `.env` files and configuration
140- **Documentation Scanning**: Searches for README, docs, and API specifications
141- **CI/CD Integration**: Extracts deployment pipeline information
142- **Monitoring Integration**: Links to observability tools and dashboards
143
144## Success Criteria
145- Handoff message contains all necessary information for developer productivity
146- Format is suitable for ticket comments
147- Message includes clear next steps and action items
148- All links and references are accurate and accessible
149- Professional tone appropriate for client-facing communications
150
151## Agentic Optimizations
152
153| Context | Command |
154|---------|---------|
155| Git remote URL | `git remote get-url origin` |
156| Current branch | `git branch --show-current` |
157| Recent commits | `git log --oneline --max-count=5` |
158| Find config files | `find . -maxdepth 1 -name '*.config.*' -o -name '.env.example'` |
159| Find Dockerfiles | `find . -maxdepth 1 -name 'Dockerfile' -o -name 'docker-compose*.yml'` |
160| Find CI workflows | `find .github/workflows -maxdepth 1 -name '*.yml'` |
161| PR details | `gh pr view --json title,url,state,mergedAt` |
162
163## Example Usage
164
165```bash
166# Basic handoff for current project
167/container:deploy-handoff
168
169# Specific service handoff
170/container:deploy-handoff "User API" "web-service"
171
172# Comprehensive handoff — request the detail level in prose
173/container:deploy-handoff "Payment System" "microservice"
174# then: use comprehensive detail level
175```
176
177## Sample Output Format
178
179```
180## 🚀 Deployment Handoff: [Service Name]
181
182**Service**: [Service Name]
183**Environment**: [Production/Staging/Development]
184**Deployment Date**: [Date]
185**Deployed By**: [Developer Name]
186
187### 📋 Service Overview
188- **Purpose**: [Brief description of functionality]
189- **Technology Stack**: [Languages/frameworks used]
190- **Status**: ✅ Active and operational
191
192### 🔗 Access Information
193- **Service URL**: [Primary access point]
194- **Admin Dashboard**: [Management interface]
195- **API Documentation**: [API docs location]
196- **Health Check**: [Monitoring endpoint]
197
198### 📚 Documentation & Resources
199- **Repository**: [GitHub repository URL]
200- **Branch/Tag**: [Deployed version]
201- **Setup Guide**: [Configuration instructions]
202- **Troubleshooting**: [Known issues and solutions]
203
204### ✅ Developer Handoff Checklist
205- [ ] Review service functionality and purpose
206- [ ] Access all provided URLs and interfaces
207- [ ] Verify monitoring and alerting setup
208- [ ] Test basic functionality
209- [ ] Review configuration and environment variables
210
211### 📞 Support & Contact
212For questions or issues with this deployment, please:
2131. Check the troubleshooting guide first
2142. Review logs at [log location]
2153. Contact [deployer] for immediate assistance
216
217*Generated on [date] for [project/client]*
218```