spectacles-conventions
OfficialEnforce Spectacles TypeScript conventions.
Software Engineering#typescript#logging#coding-conventions#component-patterns#decorators#spectacles#lens-studio
Authorspecs-devs
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Spectacles TypeScript coding conventions, Lens Studio component patterns, decorators, logging, and project structure. Load automatically when writing or reviewing TypeScript for Lens Studio / Spectacles.
Core Features & Use Cases
- Establishes a consistent component pattern: using @component, extending BaseScriptComponent, and documenting inputs with @input and @hint.
- Ensures reliable runtime behavior: includes a standard Logger setup in onAwake and optional lifecycle logging.
- Improves project structure: provides guidelines for file organization, naming, and imports to streamline collaboration.
Quick Start
Open a TypeScript file and apply the prescribed conventions by decorating with @component, extending BaseScriptComponent, and adding inputs with @input and @hint, plus a Logger in onAwake.
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: spectacles-conventions Download link: https://github.com/specs-devs/agentic-tools/archive/main.zip#spectacles-conventions 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.