DeFi
1145 skills in Blockchain > DeFi
definition-resource-design
Guide for designing Definition resources in OptAIC (the "Law"). Use when creating PipelineDef, StoreDef, AccessorDef, OpDef, MLModuleDef, or PortfolioOptimizerDef. Covers interface_spec, input/output schemas, compatibility rules, and embedded guardrail contracts.
moqui-service-writer
This skill should be used when users need to create, validate, or modify Moqui framework services, entities, and queries. It provides comprehensive guidance for writing correct Moqui XML definitions, following framework patterns and conventions.
estrutura-paginas
Define a estrutura padrão para páginas individuais de cartas Pokémon TCG. Use quando criar novas páginas de carta, organizar layout de perícia, ou o usuário mencionar estrutura de página, layout de carta, ou template de carta.
backend-api
Design and implement RESTful API endpoints following industry best practices for resource naming, HTTP methods, status codes, and versioning. Use this skill when creating or modifying API route handlers, endpoint files, controller files, or API router configuration files. Use this skill when working with REST API design, implementing HTTP endpoints in backend frameworks, defining API routes and URL patterns, setting up API versioning strategies, or configuring request/response handling in web services. Use this skill when working with files in routes/, api/, controllers/, endpoints/, or views/ directories that handle HTTP requests. Use this skill when defining OpenAPI/Swagger specifications, implementing rate limiting, or establishing API conventions for your application.
writing-proposals
Use when creating or pricing energy consulting proposals including ASHRAE Level 1/2/3 audits, benchmarking services, commissioning, compliance pathway consulting, and performance target analysis. Provides pricing models, cost estimation, scope templates, service definitions, labor hour estimates, and proposal generation. Use when the user mentions proposal writing, pricing services, scoping work, energy audit costs, consulting rates, or needs to generate professional proposals for energy projects.
wcs-asset-patterns
Defines the 'Composite Asset' problem and the correct data mapping patterns for Wing Commander Saga (WCS) assets. This skill should be used when understanding the relationship between POF 3D models and TBL data files, or when designing asset migration strategies that preserve gameplay functionality.
guardrails-contracts
Follow these patterns when designing guardrails validation contracts in OptAIC. Use for signal bounds, dataset schemas, portfolio constraints, PIT validation, and other domain-specific validation rules. Covers the "Law vs Police" architecture where Definitions contain contracts and the Engine enforces them.
frontend-components
Design and build reusable, composable UI components following the single responsibility principle with clear prop interfaces and proper state management. Use this skill when creating or modifying React components, Vue components, Svelte components, web components, or any modular UI building blocks. Use this skill when implementing component composition patterns, defining component props and interfaces, managing local component state, or creating component documentation. Use this skill when working with component files in components/, widgets/, views/, or pages/ directories. Use this skill when refactoring large components into smaller composable pieces, establishing component naming conventions, or designing component APIs for reusability across different contexts.
pipeline
Manage the content pipeline and idea backlog. Use when checking pipeline status, evaluating pillar distribution, reviewing idea statuses, or planning content calendar. Includes idea template, pillar definitions, and frontmatter schemas.
spec-writing
This skill should be used when the user asks to "write a spec", "create a specification", "define acceptance criteria", "break down a feature", "write user stories", or needs guidance on structuring feature requirements. Provides patterns for effective spec writing and task decomposition.
backend-api
Design and implement RESTful API endpoints following best practices for URL structure, HTTP methods, status codes, and versioning. Use this skill when creating or modifying API routes, controllers, or endpoint handlers. When working on files like routes.py, api.py, controllers/, endpoints/, or any file defining HTTP endpoints. When designing URL patterns, choosing HTTP methods (GET, POST, PUT, PATCH, DELETE), implementing pagination, filtering, or sorting. When adding rate limiting headers or API versioning strategies.
backend-models
Define database models with clear naming, proper data types, validation, relationships, and constraints to ensure data integrity. Use this skill when creating or modifying ORM model files, database schema definitions, model class files, or entity files. Use this when defining model relationships (has-many, belongs-to, many-to-many), setting up database constraints (NOT NULL, UNIQUE, foreign keys), adding timestamps and indexes, implementing model-level validations, or choosing appropriate data types for fields. Use this when working on files in directories like models/, entities/, app/models/, or any file that defines database table structures and relationships.
product-strategy
Master product strategy, market analysis, competitive positioning, and long-term product vision. Define business models and craft go-to-market strategies that drive success.
architecture-discovery
Guide users through discovering and defining system architecture through structured conversation. Triggers on "I want to build", "design a system", "architect", "planning a new project", "how should I build X".
creating-agents-automatically
Recursive meta-skill that detects workflow patterns and automatically generates Claude Code agent definitions. Use when user invokes /create-agent or patterns warrant new agent.
backend-models
Define database models and schemas with proper data types, constraints, relationships, and validation rules for PostgreSQL (Supabase/Bun.sql) and Firestore (Firebase). Use this skill when creating or modifying database models, ORM entity definitions, Prisma schemas, or Firestore document structures. Apply when working on model files (models/*.ts, entities/*.ts, schema.prisma, models/*.py, Models/*.cs), defining database relationships, setting up validation rules, or implementing data integrity constraints. This skill ensures snake_case naming for SQL and camelCase for NoSQL, required timestamps (created_at/updated_at), UUIDs for SQL and auto-generated IDs for Firestore, foreign key constraints with indexed columns, Row Level Security (RLS) policies for Supabase, strict Firestore security rules, normalized data for SQL (3NF) with denormalization for Firestore read performance, and pgvector setup for AI embeddings.
typescript
Write type-safe TypeScript 5.x code using ES2022+ features, strict mode, discriminated unions, and modern async patterns. Use for TypeScript files (.ts), type definitions (.d.ts), configuration, or full-stack type safety.
explore-source
Explore external reference source code to understand implementations, draw inspiration, debug issues, or answer questions. Use when exploring repos like InstantDB, Trigger.dev, Vercel AI SDK, HeroUI Native, or any external codebase. Handles two modes - "inspiration" (adaptive, translating concepts to user's stack) or "understanding" (direct, definitive answers about the source). Always cite file:line references.
project-types
Project type definitions with type-specific questions, patterns, and stacks.Use when: determining project architecture, asking type-specific questions.Referenced by: idea-validation, brainstorming, /ship command.
full-auth
When explicitly authorized, execute end-to-end with a phased plan in one run until Definition of Done is met.