deep-analysis

Trace gRPC authentication and authorization flows in the Go SSO backend.

1|Updated Mar 15, 2024
One-click install
npx skills add https://github.com/rshelekhov/sso --skill deep-analysis-rshelekhov
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: deep-analysis
Source: https://github.com/rshelekhov/sso/tree/main/.claude/skills/deep-analysis
Command: npx skills add https://github.com/rshelekhov/sso --skill deep-analysis-rshelekhov

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you quickly understand how the SSO Go backend is structured and how authentication/authorization flows are implemented. It enables fast onboarding, debugging, and architectural decisions by providing in-context, detailed backend insights.

Core Features & Use Cases

  • Codebase exploration: Uses a codebase-detective agent with semantic search to locate key components across controllers, usecases, repositories, and proto definitions.
  • Flow tracing: Maps gRPC endpoints to their controllers, usecases, and data stores to reveal the end-to-end authentication and multi-tenant flows.
  • Architecture insights: Highlights clean-architecture layers, DI patterns, and dependency graph usage in the SSO service.
  • Usage example: When you ask, “How does JWT generation work for login?”, the Skill returns a mapped path with file names and lines for traceability.

Quick Start

Run a deep-dive on the Go SSO backend to map authentication flows, trace gRPC paths, and review clean architecture.

Frequently Asked Questions about deep-analysis

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I trace authentication flows in a Go SSO backend?

Trace authentication flows by mapping gRPC endpoints to their controllers, usecases, and data stores. This Skill uses semantic search and codebase analysis to reveal end-to-end paths, including JWT handling, login sequences, and multi-tenant request routing with file locations and line numbers for direct navigation.

What's the best way to understand a large Go codebase with clean architecture?

Analyze the codebase systematically by identifying clean-architecture layers, dependency injection patterns, and component dependencies. This Skill maps controllers, usecases, repositories, and proto definitions to produce architecture diagrams and code flow visualizations that expose structural relationships and design intent.

How does JWT generation and tenant isolation work in gRPC services?

JWT generation and tenant isolation are implemented through specific authentication and authorization logic in the SSO backend. This Skill locates JWT handling code, traces token generation workflows, and identifies tenant isolation boundaries across gRPC endpoints and data access layers.

Can I quickly onboard to an unfamiliar Go SSO backend?

Yes. This Skill accelerates onboarding by providing guided codebase exploration with semantic search, architecture maps, and targeted code snippets. It enables new developers to locate authentication logic, understand request flows, and grasp multi-tenant design without manual repository scanning.

What debugging approach works best for authorization issues in gRPC backends?

Debug authorization issues by tracing gRPC request paths through controllers and usecases to identify where permission checks fail. This Skill maps authentication and authorization logic across layers, highlights tenant isolation enforcement points, and reveals code flow context for targeted troubleshooting.