Skip to content
legacy-bridge logo

Legacy Bridge

legacy-bridge

Backward compatibility bridge that translates legacy @load patterns to new Skills format. Enables seamless migration with zero breaking changes during 6-month transition period.

SKILL.md

Full skill instructions

Legacy Bridge

Quick Navigation: Level 1: Quick Start (5 min) → Level 2: Implementation (30 min) → Level 3: Mastery (Extended)


Level 1: Quick Start

Overview

The legacy-bridge skill provides backward compatibility for existing @load patterns used in CLAUDE.md and the product-matrix system. This bridge enables a zero-breaking-change migration path from the legacy standards loader to the new Skills-based architecture.

Migration Timeline: 6-month transition period (deprecation warnings only, no breaking changes)

When to Use

Use this skill when:

  • You have existing code using @load product:* patterns
  • You need to maintain backward compatibility during migration
  • You want to gradually transition to the new Skills format

Quick Reference

Legacy PatternNew Skill Loading
@load product:apiskill-loader.py load product:api
@load CS:pythonskills/​coding-standards/​python
@load SEC:*skills/​security/​* + NIST baseline

Level 2: Implementation

Pattern Translation

The legacy-bridge automatically translates old @load patterns to new skill loads:

Product Type Patterns
# Old Pattern → New Skill Loading
@load product:api         → Load: [coding-standards, testing, security, devops]
@load product:web-service → Load: [coding-standards, testing, security, frontend, devops]
@load product:frontend-web → Load: [frontend, testing, security]
Standard Code Patterns
# Coding Standards (CS)
@load CS:python       → Load: skills/​coding-standards/​python
@load CS:javascript   → Load: skills/​coding-standards/​javascript

# Testing Standards (TS)
@load TS:pytest       → Load: skills/​testing/​pytest
@load TS:*            → Load: skills/​testing/​* (all testing skills)

# Security Standards (SEC)
@load SEC:auth        → Load: skills/​security/​authentication
@load SEC:*           → Load: skills/​security/​* + NIST-IG:base
Composite Patterns
# Multiple standards combined
@load [product:api + CS:python + TS:pytest]
  → Load: product:api skills + python coding + pytest testing

Wildcard Expansion

The bridge automatically expands wildcards:

SEC:*  expands to:
  - SEC:auth
  - SEC:secrets
  - SEC:input-validation
  - NIST-IG:base  # Auto-included with security

TS:* expands to:
  - TS:unit
  - TS:integration
  - TS:e2e

Auto-Inclusion Rules

NIST Baseline Auto-Loading:

  • Any security standard (SEC:*) automatically includes NIST-IG:base
  • Explicit override available with --no-auto-nist flag

Level 3: Mastery Resources

Migration Guide

Phase 1: Compatibility Mode (Current)

Both patterns work side-by-side:

# Legacy pattern (still works)
@load product:api

# New skill pattern (recommended)
skill-loader.py load product:api
Phase 2: Deprecation Warnings (Month 3-6)

Deprecation warnings will appear in logs.

Phase 3: Legacy Removal (Month 6+)

Legacy syntax will be removed. Migration guide available.

Migration Tools

# Scan codebase for legacy patterns
skill-loader.py audit-legacy --path .

# Generate migration report
skill-loader.py migration-report --output migration-plan.md

# Auto-migrate files (with backup)
skill-loader.py migrate --path . --backup

Related Skills

External Resources

  • resources/​legacy-mappings.yaml - Complete mapping definitions
  • config/​product-matrix.yaml - Original product definitions
  • examples/​legacy-patterns/ - Migration examples

More Security skills

supabase logo
Security

supabase

Handles the full Supabase workflow from schema changes to deployment, with built-in security guardrails that catch common traps like RLS...

2.7K 308.9K
View

Comprehensive guides and best practices for Neon Serverless Postgres, covering setup, connection methods, authentication, and platform APIs.

98 216.2K
View

Guide for setting up and using Firebase Authentication. Use this skill when the user's app requires user sign-in, user management, or secure data access using auth rules.

462 163.8K
View

A skill to evaluate how secure Firestore security rules are. Use this when Firestore security rules are updated to ensure that the generated rules are extremely secure and robust.

462 127.7K
View

Official skill for integrating Firebase AI Logic (Gemini API) into web applications. Covers setup, multimodal inference, structured output, and security.

462 125.1K
View

Complete Better Auth server and client setup with database adapters, session management, plugins, and security configuration.

222 118.2K
View

Deploy and manage projects on Vercel using token-based authentication. Use when working with Vercel CLI using access tokens rather than interactive login — e.g. "deploy to vercel", "set up vercel", "add environment variables to vercel".

31.9K 116.1K
View
cloudflare logo
Security

cloudflare

Complete Cloudflare platform integration with decision trees for compute, storage, AI, networking, security, and infrastructure-as-code.

3K 110.7K
View

Run Azure compliance and security audits with azqr plus Key Vault expiration checks. Covers best-practice assessment, resource review, policy/compliance validation, and security posture checks. WHEN: compliance scan, security audit, BEFORE running azqr (compliance cli tool), Azure best practices, Key Vault expiration check, expired certificates, expiring secrets, orphaned resources, compliance assessment.

253 103K
View
gws-gmail logo
Security

gws-gmail

Send, read, and manage Gmail messages, drafts, labels, and account settings.

31.2K 78.9K
View

Comprehensive website auditing across 230+ rules in 21 categories including SEO, performance, security, and accessibility.

94 72.3K
View
gws-shared logo
Security

gws-shared

Shared authentication, CLI syntax, and output formatting patterns for gws Google Workspace commands.

31.2K 63.4K
View

Security AI tools

StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
GeoSpy logo
Security

GeoSpy

GeoSpy: Pricing, Features, FAQs, and Alternatives for AI Teams

Free
View

Detect AI-generated voices to protect against audio fraud.

Paid
View

Ensure Your Content's Originality with AI Plagiarism Checker

Freemium
View
Img Upscaler logo
Security

Img Upscaler

Upscale images by 400% without quality loss

Freemium
View
AICheatCheck logo
Security

AICheatCheck

Accurately Detect AI-Generated Content with TheChecker.AI

Free
View
D
Security

Detect GPT

Chrome extension that detects and flags AI-generated content

Free
View