Co-Pilot / 辅助式
更新于 a month ago

stdb-skills

IiSyn
0.0k
isyn/stdb-skills
78
Agent 评分

💡 摘要

一组技能,旨在增强AI编码代理在SpacetimeDB应用开发中的能力。

🎯 适合人群

TypeScript开发者UI/UX设计师软件工程师产品经理全栈开发者

🤖 AI 吐槽:看起来很能打,但别让配置把人劝退。

安全分析中风险

风险:Medium。建议检查:是否执行 shell/命令行指令;是否发起外网请求(SSRF/数据外发)。以最小权限运行,并在生产环境启用前审计代码与依赖。

SpacetimeDB Agent Skills

A collection of skills for AI coding agents. Skills are packaged instructions and scripts that extend agent capabilities for building real-time, multiplayer applications with SpacetimeDB.

Skills follow the Agent Skills format.

Available Skills

spacetimedb-best-practices

SpacetimeDB development best practices for TypeScript server modules and client SDK. Contains rules across multiple categories, prioritized by impact.

Use when:

  • Writing SpacetimeDB server modules in TypeScript
  • Implementing client-side subscriptions and state management
  • Setting up React hooks for SpacetimeDB integration
  • Reviewing code for performance and real-time sync issues
  • Optimizing query patterns and reducer design

Categories covered:

  • Module Design (Critical)
  • Table Schema & Indexing (Critical)
  • Reducer Patterns (High)
  • Subscription Optimization (High)
  • Client State Management (Medium-High)
  • React Integration (Medium)
  • TypeScript Patterns (Medium)
  • Real-time Sync (Low-Medium)

web-design-guidelines

Review UI code for compliance with web interface best practices. Audits your code for 100+ rules covering accessibility, performance, and UX.

Use when:

  • "Review my UI"
  • "Check accessibility"
  • "Audit design"
  • "Review UX"
  • "Check my site against best practices"

Categories covered:

  • Accessibility (aria-labels, semantic HTML, keyboard handlers)
  • Focus States (visible focus, focus-visible patterns)
  • Forms (autocomplete, validation, error handling)
  • Animation (prefers-reduced-motion, compositor-friendly transforms)
  • Typography (curly quotes, ellipsis, tabular-nums)
  • Images (dimensions, lazy loading, alt text)
  • Performance (virtualization, layout thrashing, preconnect)
  • Navigation & State (URL reflects state, deep-linking)
  • Dark Mode & Theming (color-scheme, theme-color meta)
  • Touch & Interaction (touch-action, tap-highlight)
  • Locale & i18n (Intl.DateTimeFormat, Intl.NumberFormat)

Installation

npx add-skill spacetimedb/agent-skills

Usage

Skills are automatically available once installed. The agent will use them when relevant tasks are detected.

Examples:

Create a SpacetimeDB module for a chat app
Review this reducer for performance issues
Help me optimize my subscription queries
Set up React hooks for my SpacetimeDB client

Skill Structure

Each skill contains:

  • SKILL.md - Instructions for the agent
  • scripts/ - Helper scripts for automation (optional)
  • references/ - Supporting documentation (optional)

License

MIT

五维分析
清晰度8/10
创新性7/10
实用性9/10
完整性8/10
可维护性7/10
优缺点分析

优点

  • 提供SpacetimeDB的全面最佳实践。
  • 针对相关任务自动使用技能。
  • 支持多个开发方面。

缺点

  • 仅限于SpacetimeDB上下文。
  • 可能需要对TypeScript的熟悉。
  • 并非所有技能对每个用户都是必要的。

相关技能

openai-agents-js

A
toolCo-Pilot / 辅助式
84/ 100

“看起来很能打,但别让配置把人劝退。”

mastra

A
toolCode Lib / 代码库
84/ 100

“这是 AI 智能体的瑞士军刀,但你需要一本说明书才能搞清楚哪片刀片是用来切 LLM 的,哪片是用来撬开顽固的工作流的。”

basilic

A
toolCo-Pilot / 辅助式
82/ 100

“看起来很能打,但别让配置把人劝退。”

免责声明:本内容来源于 GitHub 开源项目,仅供展示和评分分析使用。

版权归原作者所有 iSyn.