npx skills add https://github.com/harperfast/skills --skill harper-best-practices在 Harper 上构建可扩展、安全且高性能应用程序的指南。这些实践涵盖了从初始模式设计到高级部署策略的方方面面。
在以下情况下参考这些指南:
schema- 规则。logic- 和 api- 规则。ops- 规则验证您的实现。请查看下面每个规则子部分中嵌入的具体示例(GraphQL 模式、REST 查询模式和部署工作流片段)。
| 优先级 | 类别 |
|---|
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 影响 |
|---|
| 前缀 |
|---|
| 1 | 模式与数据设计 | 高 | schema- |
| 2 | API 与通信 | 高 | api- |
| 3 | 逻辑与扩展 | 中 | logic- |
| 4 | 基础设施与运维 | 中 | ops- |
adding-tables-with-schemas - 使用 GraphQL 模式和指令定义表defining-relationships - 使用 @relationship 指令链接表vector-indexing - 使用向量索引进行高效的相似性搜索using-blob-datatype - 存储和检索大型数据(Blobs)handling-binary-data - 管理图像或 MP3 等二进制数据automatic-apis - 利用自动生成的 CRUD 端点querying-rest-apis - REST 请求中的过滤、排序和分页real-time-apps - 用于实时应用的 WebSockets 和 Pub/Subchecking-authentication - 使用基于会话的身份验证来保护应用安全custom-resources - 使用 JS/TS 定义自定义 REST 端点extending-tables - 向生成的表资源添加自定义逻辑programmatic-table-requests - 代码中的高级过滤和排序typescript-type-stripping - 无需构建工具即可使用 TypeScriptcaching - 为实现性能而实施和定义缓存deploying-to-harper-fabric - 使用 Harper Fabric 实现全球扩展creating-a-fabric-account-and-cluster - 设置您的 Harper Fabric 云基础设施creating-harper-apps - 使用 npm create harper@latest 快速入门serving-web-content - 从 Harper 提供 Web 内容的方法阅读各个规则文件以获取详细说明和代码示例:
rules/adding-tables-with-schemas.md
rules/automatic-apis.md
rules/creating-harper-apps.md
要获取包含所有扩展规则的完整指南,请查看:AGENTS.md
每周安装量
120
代码仓库
GitHub 星标数
1
首次出现
2026年2月26日
安全审计
安装于
cursor118
opencode117
gemini-cli117
github-copilot117
amp117
codex117
Guidelines for building scalable, secure, and performant applications on Harper. These practices cover everything from initial schema design to advanced deployment strategies.
Reference these guidelines when:
schema- rules.logic- and api- rules.ops- rules before deployment.See the concrete examples embedded in each rule subsection below (GraphQL schemas, REST query patterns, and deployment workflow snippets).
| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Schema & Data Design | HIGH | schema- |
| 2 | API & Communication | HIGH | api- |
| 3 | Logic & Extension | MEDIUM | logic- |
| 4 | Infrastructure & Ops | MEDIUM | ops- |
adding-tables-with-schemas - Define tables using GraphQL schemas and directivesdefining-relationships - Link tables using the @relationship directivevector-indexing - Efficient similarity search with vector indexesusing-blob-datatype - Store and retrieve large data (Blobs)handling-binary-data - Manage binary data like images or MP3sautomatic-apis - Leverage automatically generated CRUD endpointsquerying-rest-apis - Filters, sorting, and pagination in REST requestsreal-time-apps - WebSockets and Pub/Sub for Real-Time Appschecking-authentication - Secure apps with session-based identity verificationcustom-resources - Define custom REST endpoints using JS/TSextending-tables - Add custom logic to generated table resourcesprogrammatic-table-requests - Advanced filtering and sorting in codetypescript-type-stripping - Use TypeScript without build toolscaching - Implement and define caching for performancedeploying-to-harper-fabric - Scale globally with Harper Fabriccreating-a-fabric-account-and-cluster - Setting up your Harper Fabric cloud infrastructurecreating-harper-apps - Quickstart with npm create harper@latestserving-web-content - Ways to serve web content from HarperRead individual rule files for detailed explanations and code examples:
rules/adding-tables-with-schemas.md
rules/automatic-apis.md
rules/creating-harper-apps.md
For the complete guide with all rules expanded: AGENTS.md
Weekly Installs
120
Repository
GitHub Stars
1
First Seen
Feb 26, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykWarn
Installed on
cursor118
opencode117
gemini-cli117
github-copilot117
amp117
codex117
Azure 升级评估与自动化工具 - 轻松迁移 Functions 计划、托管层级和 SKU
94,100 周安装