connection-schema-design
OfficialDesign robust connection schemas with core rules
Authorzerobias-org
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Designing connectionProfile.yml and connectionState.yml schemas can be error-prone without a clear, consistent rule set. This skill provides explicit guidelines to ensure schemas always extend core profiles, properly reference base states, and avoid scope leakage.
Core Features & Use Cases
- Extends core profiles: Always extend a core profile (tokenProfile.yml, oauthClientProfile.yml, oauthTokenProfile.yml, or basicConnection.yml) instead of creating custom ones.
- Mandatory base state extension: connectionState MUST extend baseConnectionState.yml to include expiresIn for token lifecycle management.
- expiresIn in seconds: Use expiresIn (integer seconds) rather than expiresAt to schedule refresh operations.
- Core profile/state selection: Provides a decision tree to select the appropriate core profile and state depending on credentials and needs.
- Common patterns: Demonstrates typical patterns for token-based or OAuth flows and how to compose profiles and states.
Quick Start
Apply these rules when drafting your first connectionProfile.yml and connectionState.yml to ensure proper core profile extension and state management.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: connection-schema-design Download link: https://github.com/zerobias-org/module/archive/main.zip#connection-schema-design Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.