Agent Skills 排行榜 · 关键词 + 语义搜索

按 / 聚焦搜索框
正在使用 AI 进行语义搜索...
29,242
总 Skills
222.1M
总安装量
2,809
贡献者
# Skill 仓库 描述 安装量
3651 us-stock-analysis tradermonty/claude-trading-skills
US Stock Analysis Overview Perform comprehensive analysis of US stocks covering fundamental analysis (financials, business quality, valuation), technical analysis (indicators, trends, patterns), peer comparisons, and generate detailed investment reports. Fetch real-time market data via web search tools and apply structured analytical frameworks. Data Sources Always use web search tools to gather current market data: Primary Data to Fetch: Current stock price and trading data (price, volume, 52-w...
5.3K
3652 lynx-devtool lynx-community/skills
DevTool Skill This skill allows you to interact with Lynx applications running on connected devices (Android, iOS, Desktop) using the Lynx DevTool CLI. Usage The CLI is located at <path_to_the_skill>/scripts/index.mjs relative to this skill's directory. You can run it using node . In the skill directory, use: node < path_to_the_skill > /scripts/index.mjs < command > Note: All command outputs are multi-line JSON. You can use jq or Node.js to process the data. Global Options -h, --help : Display h...
5.3K
3653 react-patterns affaan-m/ecc
React Patterns Idiomatic React 18/19 patterns for building robust, accessible, performant component trees. When to Activate Writing or modifying React function components, custom hooks, or component trees Reviewing JSX/TSX files Designing state shape or component composition Migrating class components or older forwardRef / useEffect -heavy code Choosing between local state, lifted state, context, and external stores Working with Server Components / Client Components (Next.js App Router, RSC) Imp...
5.3K
3654 negotiation wondelai/skills
Negotiation Tactical empathy-based negotiation framework from FBI hostage negotiator Chris Voss. Transform any negotiation by understanding the emotional drivers behind decisions and using proven techniques to build rapport, uncover hidden information, and reach better outcomes. Core Principle People want to be understood and feel safe. Every negotiation is an act of communication where the goal is to influence behavior. The most effective path to "yes" runs through empathy, active listening, an...
5.3K
3655 drizzle lobehub/lobehub
Drizzle ORM Schema Style Guide Configuration Config: drizzle.config.ts Schemas: src/database/schemas/ Migrations: src/database/migrations/ Dialect: postgresql with strict: true Helper Functions Location: src/database/schemas/_helpers.ts timestamptz(name) : Timestamp with timezone createdAt() , updatedAt() , accessedAt() : Standard timestamp columns timestamps : Object with all three for easy spread Naming Conventions Tables : Plural snake_case ( users , session_groups ) Columns : snake_case ( us...
5.3K
3656 troubleshooting-efs aws/agent-toolkit-for-aws
Troubleshooting EFS Overview Domain expertise for diagnosing and resolving Amazon EFS issues. Covers mount failures, NFS connectivity, IAM and POSIX permissions, throughput and performance, and encryption problems. For authoritative guidance, see EFS Troubleshooting . Common Tasks 0. Verify Dependencies You MUST verify aws CLI is available You MUST check if amazon-efs-utils or nfs-utils is installed on the instance You MUST ONLY check for tool existence and version — MUST NOT execute destructive...
5.3K
3657 wp-rest-api wordpress/agent-skills
WP REST API When to use Use this skill when you need to: create or update REST routes/endpoints debug 401/403/404 errors or permission/nonce issues add custom fields/meta to REST responses expose custom post types or taxonomies via REST implement schema + argument validation adjust response links/embedding/pagination Inputs required Repo root + target plugin/theme/mu-plugin (path to entrypoint). Desired namespace + version (e.g. my-plugin/v1 ) and routes. Authentication mode (cookie + nonce vs a...
5.3K
3658 claude-delegate amelnagdy/delegate-skills
Claude Delegate You are the orchestrator . Delegate one bounded coding task to a separate implementer — a Claude Code CLI session — then review what it produced and land it yourself. You write the brief and own the judgment; the separate Claude session edits the working tree; you verify and commit. This skill is not a signal for the current Claude to implement directly. Use it only after the human explicitly asks for delegation to another Claude Code process or session. When not to use this The ...
5.3K
3659 code-documenter jeffallan/claude-skills
Code Documenter Documentation specialist for inline documentation, API specs, documentation sites, and developer guides. Role Definition You are a senior technical writer with 8+ years of experience documenting software. You specialize in language-specific docstring formats, OpenAPI/Swagger specifications, interactive documentation portals, static site generation, and creating comprehensive guides that developers actually use. When to Use This Skill Adding docstrings to functions and classes...
5.3K
3660 react-native-best-practices software-mansion-labs/skills
React Native Best Practices Overview Performance optimization guide for React Native applications, covering JavaScript/React, Native (iOS/Android), and bundling optimizations. Based on Callstack's "Ultimate Guide to React Native Optimization". Skill Format Each reference file follows a hybrid format for fast lookup and deep understanding: Quick Pattern: Incorrect/Correct code snippets for immediate pattern matching Quick Command: Shell commands for process/measurement skills Quick Config: Co...
5.3K
3661 entry-point-analyzer trailofbits/skills
Entry Point Analyzer Systematically identify all state-changing entry points in a smart contract codebase to guide security audits. When to Use Use this skill when: Starting a smart contract security audit to map the attack surface Asked to find entry points, external functions, or audit flows Analyzing access control patterns across a codebase Identifying privileged operations and role-restricted functions Building an understanding of which functions can modify contract state When NOT to Us...
5.3K
3662 chat-sdk vercel/chat
Chat SDK Unified TypeScript SDK for building chat bots across Slack, Teams, Google Chat, Discord, GitHub, and Linear. Write bot logic once, deploy everywhere. Critical: Read the bundled docs The chat package ships with full documentation in node_modules/chat/docs/ and TypeScript source types. Always read these before writing code: node_modules/chat/docs/ Full documentation (MDX files) node_modules/chat/dist/ Built types (.d.ts files) Key docs to read based on task: docs/get...
5.3K
3663 shadcn-vue unovue/shadcn-vue
Contains Shell Commands This skill contains shell command directives ( !`command` ) that may execute system commands. Review carefully before installing. shadcn-vue A framework for building ui, components and design systems. Components are added as source code to the user's project via the CLI. IMPORTANT: Run all CLI commands using the project's package runner: npx shadcn-vue@latest , pnpm dlx shadcn-vue@latest , or bunx --bun shadcn-vue@latest — based on the project's packageManager . Examples ...
5.3K
3664 wp-block-themes wordpress/agent-skills
WP Block Themes When to use Use this skill for block theme work such as: editing theme.json (presets, settings, styles, per-block styles) adding or changing templates ( templates/*.html ) and template parts ( parts/*.html ) adding patterns ( patterns/*.php ) and controlling what appears in the inserter adding style variations ( styles/*.json ) debugging “styles not applying” / “editor doesn’t reflect theme.json” Inputs required Repo root and which theme is targeted (theme directory if multiple e...
5.3K
3665 rhwp-edit nomadamas/k-skill
rhwp-edit What this skill does k-skill-rhwp CLI로 .hwp 문서의 본문 텍스트 , 표 구조 , 셀 내용 을 round-trip 안전하게 수정한다. CLI는 @rhwp/core (Rust + WebAssembly) 위에 얇은 Node 래퍼를 씌워 insertText , deleteText , replaceAll , createTable , setCellText 같은 편집 동작을 서브커맨드로 노출한다. 결과는 항상 새 파일로 저장한다. 이 스킬은 편집 전용 이다. 문서를 Markdown/JSON으로 변환하거나 필드만 추출하려면 hwp 스킬을 사용한다. 페이지 렌더링 디버깅이나 IR 비교가 필요하면 rhwp-advanced 스킬을 사용한다. When to use "HWP 본문에 한 줄 추가해줘" "서식은 유지한 채로 2025를 2026으로 일괄 치환해줘" "3행 4열짜리 표를 HWP에 넣어줘" "표의 특정 셀 내용을 바꿔줘" "빈 HWP 새 파일을 만...
5.3K
3666 jupyter-notebook openai/skills
Jupyter Notebook Skill Create clean, reproducible Jupyter notebooks for two primary modes: Experiments and exploratory analysis Tutorials and teaching-oriented walkthroughs Prefer the bundled templates and the helper script for consistent structure and fewer JSON mistakes. When to use Create a new .ipynb notebook from scratch. Convert rough notes or scripts into a structured notebook. Refactor an existing notebook to be more reproducible and skimmable. Build experiments or tutorials that will be...
5.3K
3667 openai-docs openai/skills
OpenAI Docs Provide authoritative, current guidance from OpenAI developer docs using the developers.openai.com MCP server. Always prioritize the developer docs MCP tools over web.run for OpenAI-related questions. Only if the MCP server is installed and returns no meaningful results should you fall back to web search. Quick start Use mcp__openaiDeveloperDocs__search_openai_docs to find the most relevant doc pages. Use mcp__openaiDeveloperDocs__fetch_openai_doc to pull exact sections and quote/par...
5.3K
3668 next-best-practices vercel-labs/openreview
Next.js Best Practices Apply these rules when writing or reviewing Next.js code. File Conventions See file-conventions.md for: Project structure and special files Route segments (dynamic, catch-all, groups) Parallel and intercepting routes Middleware rename in v16 (middleware → proxy) RSC Boundaries Detect invalid React Server Component patterns. See rsc-boundaries.md for: Async client component detection (invalid) Non-serializable props detection Server Action exceptions Async Patterns Next.js ...
5.3K
3669 p-image qu-skills/superpowers
Pruna P-Image Generation Generate images with Pruna's optimized P-Image models via inference.sh CLI. Quick Start Requires inference.sh CLI ( infsh ). Get installation instructions: npx skills add inference-sh/skills@agent-tools infsh login infsh app run pruna/p-image --input '{"prompt": "a futuristic cityscape at sunset"}' P-Image Models Pruna optimizes AI models for speed without sacrificing quality. Model App ID Best For P-Image pruna/p-image Fast text-to-image, multiple aspect ratios P-Image-...
5.3K
3670 opentelemetry grafana/skills
No SKILL.md available for this skill. View on GitHub Installs 629 Repository grafana/skills GitHub Stars 123 First Seen Apr 14, 2026
5.3K
3671 prompt-engineer jeffallan/claude-skills
Prompt Engineer Expert prompt engineer specializing in designing, optimizing, and evaluating prompts that maximize LLM performance across diverse use cases. When to Use This Skill Designing prompts for new LLM applications Optimizing existing prompts for better accuracy or efficiency Implementing chain-of-thought or few-shot learning Creating system prompts with personas and guardrails Building structured output schemas (JSON mode, function calling) Developing prompt evaluation and testing frame...
5.3K
3672 ljg-skill-map lijigang/ljg-skills
ljg-skill-map: 技能地图 扫描 ~/.claude/skills/ 下所有已安装技能,生成一目了然的可视化地图。 执行 1. 扫描 运行 scripts/scan.sh ,获取所有技能的 JSON 数据(name, version, invocable, desc)。 2. 分类 根据技能名称和描述,将技能自动归入以下类别: 类别 图标 含义 典型成员 认知原子 ◆ 内容处理的原子操作 ljg-plain, ljg-word, ljg-writes, ljg-paper 输出铸造 ▲ 将内容转化为可交付物 ljg-card 联网触达 ● 与外部世界交互 agent-reach 系统运维 ■ Agent 自身的维护和管理 datetime-check, memory-review, save-conversation, skill-creator, ljg-skill-map 环境部署 ★ 一次性安装和配置 Her-init 归类依据名称前缀和描述关键词判断。遇到新技能无法归类时,放入「未分类」。 3. 渲染 用 ASCII 方框图呈现,格式如下: ╔═══════════...
5.2K
3673 motion-ui affaan-m/ecc
Motion System v4.2 Production-ready UI motion system for React / Next.js. Focused on performance, accessibility, and usability — not decoration. When to Use Use this motion system when motion: Guides attention (e.g., onboarding, key actions) Communicates state (loading, success, error, transitions) Preserves spatial continuity (layout changes, navigation) Appropriate Scenarios Interactive components (buttons, modals, menus) State transitions (loading → loaded, open → closed) Navigation and layou...
5.2K
3674 playwright-interactive openai/skills
Playwright Interactive Skill Use a persistent js_repl Playwright session to debug local web or Electron apps, keep the same handles alive across iterations, and run functional plus visual QA without restarting the whole toolchain unless the process ownership changed. Preconditions js_repl must be enabled for this skill. If js_repl is missing, enable it in ~/.codex/config.toml : [ features ] js_repl = true You can also start a new session with --enable js_repl (equivalent to -c features.js_repl=t...
5.2K
3675 crosspost affaan-m/everything-claude-code
Crosspost Distribute content across platforms without turning it into the same fake post in four costumes. When to Activate the user wants to publish the same underlying idea across multiple platforms a launch, update, release, or essay needs platform-specific versions the user says "crosspost", "post this everywhere", or "adapt this for X and LinkedIn" Core Rules Do not publish identical copy across platforms. Preserve the author's voice across platforms. Adapt for constraints, not stereotypes....
5.2K
3676 videodb affaan-m/everything-claude-code
VideoDB Skill Perception + memory + actions for video, live streams, and desktop sessions. When to use Desktop Perception Start/stop a desktop session capturing screen, mic, and system audio Stream live context and store episodic session memory Run real-time alerts/triggers on what's spoken and what's happening on screen Produce session summaries , a searchable timeline, and playable evidence links Video ingest + stream Ingest a file or URL and return a playable web stream link Transcode/normali...
5.2K
3677 logistics-exception-management affaan-m/everything-claude-code
Logistics Exception Management Role and Context You are a senior freight exceptions analyst with 15+ years managing shipment exceptions across all modes — LTL, FTL, parcel, intermodal, ocean, and air. You sit at the intersection of shippers, carriers, consignees, insurance providers, and internal stakeholders. Your systems include TMS (transportation management), WMS (warehouse management), carrier portals, claims management platforms, and ERP order management. Your job is to resolve exceptions ...
5.2K
3678 kotlin-exposed-patterns affaan-m/everything-claude-code
Kotlin Exposed Patterns Comprehensive patterns for database access with JetBrains Exposed ORM, including DSL queries, DAO, transactions, and production-ready configuration. When to Use Setting up database access with Exposed Writing SQL queries using Exposed DSL or DAO Configuring connection pooling with HikariCP Creating database migrations with Flyway Implementing the repository pattern with Exposed Handling JSON columns and complex queries How It Works Exposed provides two query styles: DSL f...
5.2K
3679 agent-eval affaan-m/everything-claude-code
Agent Eval Skill A lightweight CLI tool for comparing coding agents head-to-head on reproducible tasks. Every "which coding agent is best?" comparison runs on vibes — this tool systematizes it. When to Activate Comparing coding agents (Claude Code, Aider, Codex, etc.) on your own codebase Measuring agent performance before adopting a new tool or model Running regression checks when an agent updates its model or tooling Producing data-backed agent selection decisions for a team Installation Note:...
5.2K
3680 gog steipete/clawdis
gog Use gog for Gmail/Calendar/Drive/Contacts/Sheets/Docs. Requires OAuth setup. Setup (once) gog auth credentials /path/to/client_secret.json gog auth add you@gmail.com --services gmail,calendar,drive,contacts,docs,sheets gog auth list Common commands Gmail search: gog gmail search 'newer_than:7d' --max 10 Gmail messages search (per email, ignores threading): gog gmail messages search "in:inbox from:ryanair.com" --max 20 --account you@example.com Gmail send (plain): gog gmail send --to a@b.com ...
5.2K
3681 perl-patterns affaan-m/everything-claude-code
Modern Perl Development Patterns Idiomatic Perl 5.36+ patterns and best practices for building robust, maintainable applications. When to Activate Writing new Perl code or modules Reviewing Perl code for idiom compliance Refactoring legacy Perl to modern standards Designing Perl module architecture Migrating pre-5.36 code to modern Perl How It Works Apply these patterns as a bias toward modern Perl 5.36+ defaults: signatures, explicit modules, focused error handling, and testable boundaries. The...
5.2K
3682 returns-reverse-logistics affaan-m/everything-claude-code
Returns & Reverse Logistics Role and Context You are a senior returns operations manager with 15+ years handling the full returns lifecycle across retail, e-commerce, and omnichannel environments. Your responsibilities span return merchandise authorization (RMA), receiving and inspection, condition grading, disposition routing, refund and credit processing, fraud detection, vendor recovery (RTV), and warranty claims management. Your systems include OMS (order management), WMS (warehouse manageme...
5.2K
3683 dmux-workflows affaan-m/everything-claude-code
dmux Workflows Orchestrate parallel AI agent sessions using dmux, a tmux pane manager for agent harnesses. When to Activate Running multiple agent sessions in parallel Coordinating work across Claude Code, Codex, and other harnesses Complex tasks that benefit from divide-and-conquer parallelism User says "run in parallel", "split this work", "use dmux", or "multi-agent" What is dmux dmux is a tmux-based orchestration tool that manages AI agent panes: Press n to create a new pane with a prompt Pr...
5.2K
3684 x-api affaan-m/everything-claude-code
X API Drift-prone skill. X API endpoints, access tiers, quotas, and write permissions change frequently. Verify current developer docs and account access before quoting rate limits or implementing a posting/search flow. Programmatic interaction with X (Twitter) for posting, reading, searching, and analytics. When to Activate User wants to post tweets or threads programmatically Reading timeline, mentions, or user data from X Searching X for content, trends, or conversations Building X integratio...
5.2K
3685 claude-devfleet affaan-m/everything-claude-code
Claude DevFleet Multi-Agent Orchestration When to Use Use this skill when you need to dispatch multiple Claude Code agents to work on coding tasks in parallel. Each agent runs in an isolated git worktree with full tooling. Setup The DevFleet server is a separate project, not bundled with ECC. Install and run it from its repository first: https://github.com/LEC-AI/claude-devfleet Then connect the running instance via MCP: claude mcp add devfleet --transport http http://localhost:18801/mcp Before ...
5.2K
3686 perl-security affaan-m/everything-claude-code
Perl Security Patterns Comprehensive security guidelines for Perl applications covering input validation, injection prevention, and secure coding practices. When to Activate Handling user input in Perl applications Building Perl web applications (CGI, Mojolicious, Dancer2, Catalyst) Reviewing Perl code for security vulnerabilities Performing file operations with user-supplied paths Executing system commands from Perl Writing DBI database queries How It Works Start with taint-aware input boundari...
5.2K
3687 perl-testing affaan-m/everything-claude-code
Perl Testing Patterns Comprehensive testing strategies for Perl applications using Test2::V0, Test::More, prove, and TDD methodology. When to Activate Writing new Perl code (follow TDD: red, green, refactor) Designing test suites for Perl modules or applications Reviewing Perl test coverage Setting up Perl testing infrastructure Migrating tests from Test::More to Test2::V0 Debugging failing Perl tests TDD Workflow Always follow the RED-GREEN-REFACTOR cycle. Show more Installs 1.5K Repository aff...
5.2K
3688 team-builder affaan-m/everything-claude-code
Team Builder Interactive menu for browsing and composing agent teams on demand. Works with flat or domain-subdirectory agent collections. When to Use You have multiple agent personas (markdown files) and want to pick which ones to use for a task You want to compose an ad-hoc team from different domains (e.g., Security + SEO + Architecture) You want to browse what agents are available before deciding Prerequisites Agent files must be markdown files containing a persona prompt (identity, rules, wo...
5.2K
3689 gog openclaw/openclaw
gog Use gog for Gmail/Calendar/Drive/Contacts/Sheets/Docs. Requires OAuth setup. Setup (once) gog auth credentials /path/to/client_secret.json gog auth add you@gmail.com --services gmail,calendar,drive,contacts,docs,sheets gog auth list Common commands Gmail search: gog gmail search 'newer_than:7d' --max 10 Gmail messages search (per email, ignores threading): gog gmail messages search "in:inbox from:ryanair.com" --max 20 --account you@example.com Gmail send (plain): gog gmail send --to a@b.com ...
5.2K
3690 project-builder starchild-ai-agent/official-skills
Project Build Three phases, always in order: DESIGN → BUILD → DEBUG . Skill references (read on demand, not upfront): references/build-patterns.md — Step-by-step patterns for tasks, dashboards, scripts references/debug-handbook.md — Layer-by-layer diagnosis, common issues Platform references (shared, in config/context/references/ ): preview-guide.md — Preview serving, health checks, publishing, community deploy localhost-api.md — Scripts can call the agent via /chat/stream (decide when to think,...
5.2K
3691 search-strategy anthropics/knowledge-work-plugins
Search Strategy If you see unfamiliar placeholders or need to check which tools are connected, see CONNECTORS.md . The core intelligence behind enterprise search. Transforms a single natural language question into parallel, source-specific searches and produces ranked, deduplicated results. The Goal Turn this: "What did we decide about the API migration timeline?" Into targeted searches across every connected source: ~~chat: "API migration timeline decision" (semantic) + "API migration" in:engi...
5.2K
3692 elite-powerpoint-designer willem4130/claude-code-skills
Transform content into world-class presentations with the design quality of Apple keynotes, Microsoft product launches, and Google I/O. This skill applies 2024-2025 presentation design trends and brand-level consistency to create stunning, professional slide decks. Core Design Philosophy Principles: - Minimalism First - Remove everything that doesn't serve a clear purpose - Bold & Clear - Large typography, high contrast, confident colors - Visual Hierarchy - Guide attention through size, c...
5.2K
3693 agentforce-d360-analyze forcedotcom/sf-skills
agentforce-d360-analyze — Data Cloud 360° session view Hierarchical session reconstruction from Data Cloud STDM + GenAI DMOs for one Agentforce session. Three stages — fetch → assemble → render. Typical wall-clock: ~10–30s for a ~15-turn session. The pipeline is DC-only : it reads runtime audit rows that Data Cloud has materialized. It is not a runtime-availability tool — see "DC-only blind spot" below for what this skill cannot answer. If the user hasn't given enough to proceed When invoked wit...
5.2K
3694 ui-ux-pro-max nexu-io/open-design
UI/UX Pro Max - Design Intelligence Comprehensive design guide for web and mobile applications. Contains 50+ styles, 161 color palettes, 57 font pairings, 161 product types with reasoning rules, 99 UX guidelines, and 25 chart types across 10 technology stacks. Searchable database with priority-based recommendations. When to Apply This Skill should be used when the task involves UI structure, visual design decisions, interaction patterns, or user experience quality control . Must Use This Skill m...
5.2K
3695 office-to-md claude-office-skills/skills
Office to Markdown Skill Overview This skill enables conversion from various Office formats to Markdown using markitdown - Microsoft's open-source tool for converting documents to Markdown. Perfect for making Office content searchable, version-controllable, and AI-friendly. How to Use Provide the Office file (Word, Excel, PowerPoint, PDF, etc.) Optionally specify conversion options I'll convert it to clean Markdown Example prompts: "Convert this Word document to Markdown" "Turn this PowerPoint i...
5.2K
3696 pdf ocr extraction claude-office-skills/skills
PDF OCR Extraction Extract text from scanned documents and image-based PDFs using OCR technology. Overview This skill helps you: Extract text from scanned documents Make image PDFs searchable Digitize paper documents Process handwritten text (limited) Batch process multiple documents How to Use Basic OCR "Extract text from this scanned PDF" "OCR this document image" "Make this PDF searchable" With Options "Extract text from pages 1-10, English language" "OCR this document, preserve layout" "Extr...
5.2K
3697 triage vinvcn/mattpocock-skills-zh-cn
Triage Move issues on the project backlog through a small state machine of triage roles. Every comment or issue posted to the backlog during triage must start with this disclaimer: > *This was generated by AI during triage.* Reference docs AGENT-BRIEF.md — how to write durable agent briefs OUT-OF-SCOPE.md — how the .out-of-scope/ knowledge base works Roles Two category roles: bug — something is broken enhancement — new feature or improvement Five state roles: needs-triage — maintainer needs to e...
5.2K
3698 code-review getsentry/skills
Two-axis review of the diff between HEAD and a fixed point the user supplies: Standards — does the code conform to this repo's documented coding standards? Spec — does the code faithfully implement the originating issue / PRD / spec? Both axes run as parallel sub-agents so they don't pollute each other's context, then this skill aggregates their findings. The issue tracker should have been provided to you — run /setup-matt-pocock-skills if docs/agents/issue-tracker.md is missing. Process 1. Pin ...
5.2K
3699 fullstack-guardian jeffallan/claude-skills
Fullstack Guardian Security-focused full-stack developer implementing features across the entire application stack. Role Definition You are a senior full-stack engineer with 12+ years of experience. You think in three layers: [Frontend] for user experience, [Backend] for data and logic, [Security] for protection. You implement features end-to-end with security built-in from the start. When to Use This Skill Implementing new features across frontend and backend Building APIs with correspondin...
5.2K
3700 typescript lobehub/lobehub
TypeScript Code Style Guide Types and Type Safety Avoid explicit type annotations when TypeScript can infer Avoid implicitly any ; explicitly type when necessary Use accurate types: prefer Record<PropertyKey, unknown> over object or any Prefer interface for object shapes (e.g., React props); use type for unions/intersections Prefer as const satisfies XyzInterface over plain as const Prefer @ts-expect-error over @ts-ignore over as any Avoid meaningless null/undefined parameters; design strict fun...
5.2K