Skip to content
Agentmart
Submit a tool

ordine-export-import

Use when 需要导出或导入 Ordine 的 Best Practice 数据(含 checklistItems 和 codeSnippets),用于备份、迁移或共享。触发词:导出最佳实践、导入规范、迁移数据、备份bestpractice、export import。

Skill by forge-town

IndexedMIT★ 28
Write a review

Chalk Labs

Need help deploying ordine-export-import?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/forge-town-ordine-export-import

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Use when 需要导出或导入 Ordine 的 Best Practice 数据(含 checklistItems 和 codeSnippets),用于备份、迁移或共享。触发词:导出最佳实践、导入规范、迁移数据、备份bestpractice、export import。

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/ordine-export-import

What's inside

Skill name
ordine-export-import
Description
Use when 需要导出或导入 Ordine 的 Best Practice 数据(含 checklistItems 和 codeSnippets),用于备份、迁移或共享。触发词:导出最佳实践、导入规范、迁移数据、备份bestpractice、export import。
License
MIT
Instructions
101 lines in SKILL.md · view on GitHub

Before installing

  • Instructions call the network

Files (1)

  • SKILL.md

SKILL.md (first lines)

# 导出与导入

## 概述

Ordine 支持将 Best Practice(连同关联的 Checklist Items 和 Code Snippets)批量导出为 JSON 文件,以及从 JSON 文件导入。适用于数据备份、环境迁移和团队共享。

## 通过 CLI

> CLI 当前不直接支持导出导入。使用 REST API 操作。

## 通过 REST API

### 导出所有 Best Practice

```bash
# 导出到文件
curl -s http://localhost:9433/api/best-practices/export > best-practices-export.json

# 预览导出内容
curl -s http://localhost:9433/api/best-practices/export | python3 -m json.tool
```

导出格式:

```json
[
  {
    "id": "bp_classname_convention",
    "title": "className 使用 cn() 函数",
    "condition": "当组件中使用 className 动态拼接时",
    "content": "所有动态 className 必须使用 cn() 工具函数",
    "codeSnippet": "...",
    "category": "style",
    "language": "react",
    "tags": ["className", "tailwind"],
    "checklistItems": [
      { "id": "cli_cn_1", "content": "所有动态 className 使用 cn()", "sortOrder": 0 }
    ],
    "codeSnippets": [
      { "id": "cs_cn_good", "title": "✅ 正确用法", "code": "...", "language": "tsx", "sortOrder": 0 }
    ]
  }
]
```

### 导入 Best Practice

```bash
# 从文件导入
curl -X POST http://localhost:9433/api/best-practices/import \
  -H "Content-Type: application/json" \
  -d @best-practices-export.json
```

返回导入统计:

```json
{
  "imported": {
    "bestPractices": 5,
    "checklistItems": 12,
    "codeSnippets": 8
  }
}
```

### 典型工作流

#### 备份

```bash
# 定期备份
DATE=$(date +%Y%m%d)
curl -s http://localhost:9433/api/best-practices/export > "backups/bp-${DATE}.json"
```

#### 环境迁移

```bash
# 从开发环境导出
ORDINE_API_URL=http://localhost:9433 \
  curl -s http://localhost:9433/api/best-practices/export > bp-export.json

# 导入到生产环境
curl -X POST http://production-server:9433/api/best-practices/import \
  -H "Content-Type: application/json" \
  -d @bp-export.json
```

#### 团队共享

将导出的 JSON 文件提交到仓库,团队成员各自导入:

```bash
# 从仓库中的共享文件导入
curl -X POST http://localhost:9433/api/best-practices/import \
  -H "Content-Type: application/json" \
  -d @shared/best-practices.json
```

From forge-town/ordine, MIT.

More from forge-town/ordine

Signals

Stars
28
Forks
2
Open issues
0
Last commit (this folder)
Apr 21, 2026 (6 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
Website
ordine.ai
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from forge-town

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get ordine-export-import running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying ordine-export-import?

CallGet help
Cite this page

ordine-export-import skill. Agent Mart. https://agentmart.dev/skills/forge-town-ordine-export-import (last updated 2026-10-24)