assimilate-popular-wor…
This skill should be used when the user asks to "find skills in the wild", "assimilate popular workflows", "discover SKILL.md files in repos", "research…
Comprehensive verification checklists for MCP Apps. Tests with basic-host reference, validates handler-before-connect, text fallback, resource URI linking, single-file bundling, host styling, CSP, and legacy pattern detection.
$ npx -y skills add a5c-ai/babysitter --skill mcp-app-verification --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/mcp-app-verificationContext preview
The summary Claude sees to decide when to auto-load this skill.
Comprehensive verification checklists for MCP Apps. Tests with basic-host reference, validates handler-before-connect, text fallback, resource URI linking, single-file bundling, host styling, CSP, and legacy pattern detection.
name: mcp-app-verification description: Comprehensive verification checklists for MCP Apps. Tests with basic-host reference, validates handler-before-connect, text fallback, resource URI linking, single-file bundling, host styling, CSP, and legacy pattern detection. allowed-tools: Read, Bash, Glob, Grep graph: domains: [domain:software-engineering] specializations: [specialization:ai-agents-conversational] skillAreas: [skill-area:mcp-server-implementation, skill-area:agent-simulation-testing] roles: [role:backend-engineer, role:fullstack-engineer] workflows: [workflow:feature-development] topics: [topic:api-design]
Run comprehensive verification checklists for MCP Apps covering correctness, compatibility, and migration completeness.
MCP Apps have several critical invariants that must be verified before deployment. This skill provides systematic verification across multiple dimensions:
1. **Runtime verification**: App loads and functions in basic-host reference 2. **Pattern verification**: Critical code patterns are correct (handler-before-connect, text fallback) 3. **Build verification**: Single-file bundle is valid and complete 4. **Styling verification**: Host theming applies correctly 5. **CSP verification**: All origins declared, no silent failures 6. **Migration verification**: No remaining legacy patterns (OpenAI, old MIME types, snake_case)
# Step 1: Build the project npm run build # Step 2: Verify single-file bundle ls -la dist/mcp-app.html # Should be a single file with all assets inlined # Step 3: Check for external references in bundle grep -E '<script src="|<link.*href="|<img src="(?!data:)' dist/mcp-app.html # Should return NOTHING (all assets inlined) # Step 4: Start server npm run serve & SERVER_PID=$! # Step 5: Test with basic-host cd /tmp/mcp-ext-apps/examples/basic-host SERVERS='["http://localhost:3001/mcp"]' npm run start # Verify: app loads, handlers fire, styling applies # Step 6: Stop server kill $SERVER_PID
# Handler-before-connect check
# Find app.connect() and verify handlers are above it
grep -n 'app\.connect\|\.ontoolinput\|\.ontoolresult\|\.onhostcontextchanged\|\.onteardown' src/main.ts
# Text fallback check
# Every tool handler should return content array
grep -A5 'return {' src/server.ts | grep -c 'content:'
# Resource URI linking
grep 'resourceUri' src/server.ts
grep "registerAppResource" src/server.ts
# RESOURCE_MIME_TYPE usage (not hardcoded)
grep 'RESOURCE_MIME_TYPE' src/server.ts
grep "text/html;profile" src/server.ts # Should NOT match
# CSS variable fallbacks
grep -c 'var(--.*,' src/global.css # Count with fallbacks
grep 'var(--' src/global.css | grep -v ',' # Flag missing fallbacks# Server-side legacy patterns grep -rn 'openai/' src/ # Old metadata paths grep -rn 'text/html+skybridge' src/ # Old MIME type grep -rn "text/html;profile=mcp-app" src/ # Hardcoded (use RESOURCE_MIME_TYPE) grep -rn '_domains"' src/ # Snake_case CSP grep -rn "_domains:" src/ # Snake_case CSP # Client-side legacy patterns grep -rn 'window\.openai\.toolInput' src/ grep -rn 'window\.openai\.toolOutput' src/ grep -rn 'window\.openai' src/ # All should return ZERO matches
#!/bin/bash
# mcp-app-verify.sh - Comprehensive MCP App verification
ERRORS=0
echo "=== MCP App Verification ==="
# 1. Build
echo "[1/8] Building..."
npm run build 2>&1 || { echo "FAIL: Build failed"; ERRORS=$((ERRORS+1)); }
# 2. Single-file bundle
echo "[2/8] Checking singlEnforce obedience on agentic workforces. Manage extremely complex workflows through deterministic, hallucination-free self-orchestration.
Repo: a5c-ai/babysitter
This skill should be used when the user asks to "find skills in the wild", "assimilate popular workflows", "discover SKILL.md files in repos", "research…
This skill should be used when the user asks to "babysit issues", "work on assigned issues", "check a5c-agent issues", "process babysitter issues", or wants to…
Discover public GitHub repositories that import defineTask from @a5c-ai/babysitter-sdk and maintain a deduplicated catalog of those repositories in…
This skill should be used when the user asks to "fix pipelines", "fix CI", "check staging pipelines", "fix failing workflows", "fix failing actions", or wants…
Scaffold new babysitter process definitions following SDK patterns, proper structure, and best practices. Guides the 3-phase workflow from research to…
For a repository in the babysitter-users catalog, locate its babysitter processes and any committed runs (.a5c/runs/<runId>/) and perform a retrospective on a…