Apply Grey Haven Studio's TypeScript/React and Python/FastAPI coding standards from production templates. Use when writing code, reviewing PRs, fixing linting errors, formatting files, or when the user mentions 'code standards', 'Grey Haven style', 'linting', 'Prettier', 'ESLint', 'Ruff', 'formatting rules', or 'coding conventions'. Includes exact Prettier/ESLint/Ruff configs, naming conventions, project structure, and multi-tenant database patterns.
/plugin marketplace add greyhaven-ai/claude-code-config/plugin install developer-experience@grey-haven-pluginsThis skill is limited to using the following tools:
EXAMPLES.mdREFERENCE.mdchecklists/python-review.mdchecklists/typescript-review.mdtemplates/python-endpoint.pytemplates/python-model.pytemplates/ruff.tomltemplates/typescript-component.tsxtemplates/typescript-server-function.tsActual coding standards from Grey Haven Studio production templates.
Follow these exactly when working on Grey Haven codebases. This skill provides navigation to detailed examples, reference configs, and templates.
Based on cvi-template - TanStack Start + React 19
Key Settings:
any, unused vars)~/ maps to ./src/*Naming Conventions:
camelCase (getUserData, isAuthenticated)PascalCase (UserProfile, AuthProvider)UPPER_SNAKE_CASE (API_BASE_URL, MAX_RETRIES)PascalCase (User, AuthConfig)snake_case (user_id, created_at, tenant_id) ⚠️ CRITICALProject Structure:
src/
├── routes/ # File-based routing (TanStack Router)
├── lib/
│ ├── components/ # UI components (grouped by feature)
│ ├── server/ # Server functions and DB schema
│ ├── config/ # Environment validation
│ ├── hooks/ # Custom React hooks (use-* naming)
│ ├── utils/ # Utility functions
│ └── types/ # TypeScript definitions
└── public/ # Static assets
Based on cvi-backend-template - FastAPI + SQLModel
Key Settings:
Naming Conventions:
snake_case (get_user_data, is_authenticated)PascalCase (UserRepository, AuthService)UPPER_SNAKE_CASE (API_BASE_URL, MAX_RETRIES)snake_case (user_id, created_at, tenant_id) ⚠️ CRITICALis_ or has_ (is_active, has_access)Project Structure:
app/
├── config/ # Application settings
├── db/
│ ├── models/ # SQLModel entities
│ └── repositories/ # Repository pattern (tenant isolation)
├── routers/ # FastAPI endpoints
├── services/ # Business logic
├── schemas/ # Pydantic models (API contracts)
└── utils/ # Utilities
ALWAYS use snake_case for database column names - this is non-negotiable in Grey Haven projects.
✅ Correct:
// TypeScript - Drizzle schema
export const users = pgTable("users", {
id: uuid("id").primaryKey(),
created_at: timestamp("created_at").defaultNow(),
tenant_id: uuid("tenant_id").notNull(),
email_address: text("email_address").notNull(),
is_active: boolean("is_active").default(true),
});
# Python - SQLModel
class User(SQLModel, table=True):
id: UUID = Field(default_factory=uuid4, primary_key=True)
created_at: datetime = Field(default_factory=datetime.utcnow)
tenant_id: UUID = Field(foreign_key="tenants.id", index=True)
email_address: str = Field(unique=True, index=True)
is_active: bool = Field(default=True)
❌ Wrong:
// DON'T use camelCase in database schemas
export const users = pgTable("users", {
id: uuid("id"),
createdAt: timestamp("createdAt"), // WRONG!
tenantId: uuid("tenantId"), // WRONG!
emailAddress: text("emailAddress"), // WRONG!
});
See EXAMPLES.md for complete examples.
Every database table must include tenant isolation:
tenant_id (snake_case in DB) or tenantId (camelCase in TypeScript code)tenant_idSee EXAMPLES.md for implementation patterns.
⚠️ ALWAYS activate virtual environment before running Python commands:
source .venv/bin/activate
Required for:
pytest)task test, task format)Use this skill when:
These standards come from actual Grey Haven production templates:
cvi-template (TanStack Start + React 19 + Drizzle)cvi-backend-template (FastAPI + SQLModel + PostgreSQL)When in doubt, reference these templates for patterns and configurations.
snake_case (both TypeScript and Python schemas)any type: ALLOWED in Grey Haven TypeScript (pragmatic approach)singleQuote: false)disallow_untyped_defs: true)tenant_id/tenantId~/ for TypeScript imports from src/trailingComma: "all")This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.