Skip to content
Back to skills

Cross Service Verification

ASecurity

Use when verifying that a cross-service change was applied correctly. Checks for stale references, contract mismatches, uncommitted changes, and broken imports across all services.

  • 9 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 26, 2026
developmentpythonbashgitapi

Works with

  • api

Security analysis

A100/100

Scanned May 27, 2026

npx -y skills add alibrahim/cascade --skill cross-service-verification --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cross Service Verification?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cross Service Verification
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/alibrahim-cross-service-verification/badge)](https://www.skillsdirectory.com/skills/alibrahim-cross-service-verification)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cross-service-verification
description: Use when verifying that a cross-service change was applied correctly. Checks for stale references, contract mismatches, uncommitted changes, and broken imports across all services.
---

# Cross-Service Verification

## Overview

After any multi-service change, verify that every service is consistent before declaring done.

**Core principle:** Evidence before claims, always. A passing grep is proof. "Should work" is not.

## Verification Checklist

### 1. No Stale References
```bash
# For a rename (e.g., role → account_type):
grep -rn "role" services/ --include="*.py" | grep -v "account_type"
# Must return 0 results
```

### 2. Contracts Match Code
For each service with API changes:
- Read the contract for that service
- Read the actual endpoint code
- Field names, types, and structure must match exactly

### 3. All Changes Committed
```bash
for svc in services/*/; do
  echo "=== $(basename $svc) ==="
  cd "$svc" && git status --short && cd ../..
done
# Must show no uncommitted changes
```

### 4. All Services Import
```bash
for svc in services/*/; do
  cd "$svc" && python -c "from app import app; print('OK')" 2>&1 && cd ../..
done
```

### 5. Downstream Consumers Handle New Shape
For each service that reads from a changed upstream:
- Does it use the new field names?
- Does it use `.get()` with defaults for optional fields?
- Would it crash if the field is null/missing?

## When Verification Fails

Report specific failures:
- File path and line number
- What's wrong (stale ref, missing field, wrong type)
- What the fix should be

Then delegate fixes to the service worker and re-verify.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.