deployment-checklist Skill
# deployment-checklist Skill **Version**: 1.1.0 (Phase 1 Optimization) **Purpose**: Comprehensive pre-deployment verification checklist for MCP Management System ensuring all 15 services are tested, documented, validated, and ready for production. --- ## Mission Pre-deployment verification checklist: - Validate all 15 MCP services - Verify configuration files - Check code quality and tests - Ensure documentation complete - Assess security and compatibility - Generate deployment confidence score --- ## Deployment Types & Requirements **Type Detection Logic**: - hotfix: Keywords ["emergency", "critical bug", "production down", "hotfix"] - bug_fix: Keywords ["bug fix", "fix issue", "resolve bug", "patch"] - feature: Keywords ["new feature", "add feature", "implement", "enhancement"] - major_release: Keywords ["major release", "v2.0", "v3.0", "breaking change", "migration"] **Category Requirements**: | Type | Required Checks | |------|-----------------| | hotfix | Bug fix verified, No new breaking issues, Rollback plan ready | | bug_fix | MCP services responding, Affected area tested, No regression | | feature | All pre-deployment checks, Performance impact measured, Token efficiency validated, Documentation complete | | major_release | Full test suite (100%), Performance benchmarks, Security audit, Backward compatibility, Migration guide, Rollback tested | --- ## Checklist: 6 Categories ### Category 1: MCP Services Verification (15 total) **Services List** (grouped by function): - Analysis & Thinking (7): clear-thought, clear-thought-1.5, sequential-thinking-tools, stochastic-thinking, context7, code-context-provider-mcp, model-enhancement-servers - Development Tools (4): github-mcp, npm-sentinel-mcp, node-omnibus-mcp, python-toolbox-mcp - Automation (3): playwright-mcp, magic-mcp, mobile-mcp - Backend (1): supabase-mcp **Verification Logic**: 1. Check if test script exists: `test-all-15-services.cjs` 2. If exists → Run: `node test-all-15-services.cjs` (timeout: 2 min) 3. If not → Manual verification required (list all 15 services) **Success Criteria**: All 15 services respond successfully --- ### Category 2: Configuration Files **Files to Validate**: 1. **.mcp.json**: - JSON syntax: `node -e "JSON.parse(require('fs').readFileSync('.mcp.json', 'utf-8'))"` - Structure: 15 services defined, each has `command` and `args` fields - Paths: Verify service paths exist 2. **.mcp.local.json** (optional): - JSON syntax validation - If exists → Log confirmation 3. **.gitignore**: - Check sensitive patterns: `.mcp.local.json`, `.env`, `*.env` - Warn if missing **Success Criteria**: All config files valid, sensitive files gitignored --- ### Category 3: Code Quality **Checks**: 1. **TypeScript** (if tsconfig.json exists): - Run: `tsc --noEmit` (timeout: 1 min) - Success: No type errors 2. **Console.log** (warn only): - Search: `console\.log` in `*.{js,ts,tsx,jsx}` - Count occurrences 3. **TODO/FIXME**: - Search: `TODO|FIXME` in `*.{js,ts,tsx,jsx,md}` - Count occurrences **Success Criteria**: No TypeScript errors (console.log and TODO are warnings) --- ### Category 4: Testing **Logic**: 1. Check package.json for `test` script 2. If exists → Run: `npm test` (timeout: 3 min) 3. If not → Warn: "No test script in package.json" **Success Criteria**: Test suite passes (or skip if no tests) --- ### Category 5: Documentation **Files to Check**: 1. **CLAUDE.md**: - Verify exists - If .mcp.json changed → Warn to update CLAUDE.md 2. **README.md**: - Verify exists 3. **NEXT_SESSION.md**: - Verify exists (optional) - Recommend creation if ending session 4. **Code Documentation** (changed files only): - Check for JSDoc in files with functions/classes - Warn if functions without JSDoc **Success Criteria**: CLAUDE.md and README.md exist, code documentation present --- ### Category 6: Security & Compatibility **Security Checks**: 1. **Hardcoded Secrets**: - Patterns: `api[_-]?key`, `password`, `token`, `secret`, `sk-[a-zA-Z0-9]{32,}`, `ghp_[a-zA-Z0-9]{36,}` - Search in: `*.{js,ts,tsx,jsx,json}` - Fail if found 2. **.env Files**: - Check if tracked by git: `git ls-files | grep -E '\.(env|key|secret)$'` - Fail if found **Compatibility Checks**: 1. **Version Bump** (from package.json): - major_release → Suggest: `${major + 1}.0.0` - feature → Suggest: `${major}.${minor + 1}.0` - bug_fix → Suggest: `${major}.${minor}.${patch + 1}` **Success Criteria**: No hardcoded secrets, .env gitignored, version bump suggested --- ## Report Generation **Confidence Score Calculation**:
fill the variables
This prompt has 10 variables. Pro fills them into a ready-to-paste prompt for you — no manual find-and-replace.
{js,ts,tsx,jsx}{js,ts,tsx,jsx,md}{32,}{36,}{js,ts,tsx,jsx,json}{major + 1}{major}{minor + 1}{minor}{patch + 1}
Unlock with Pro →when to use it
Community prompt sourced from the open-source GitHub repo DONGHO5270/mcp-management-system (Apache-2.0). A "deployment-checklist Skill" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
roleplaycommunitygeneral
source
DONGHO5270/mcp-management-system · Apache-2.0