Ordine 快速上手

SkillDev tools

Use when you need to understand the overall architecture of the Ordine system and a quick-start guide, including core concepts, entity relationships, and CLI and API usage. Trigger words: ordine入门、快速开始、ordine是什么、系统架构、ordine overview.

Use Ordine 快速上手 in Claude, ChatGPT or Ahel Desktop

Free. Sign in, add Ordine 快速上手 and connect your AI. About a minute.

Also: Claude Code · Cursor · Codex

Then ask your AI: use the Ordine 快速上手 skill

Details

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Add Ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.

Ordine 快速上手Start free

What this skill tells your AI

The instructions your AI receives, as published by forge-town/ordine in skills/ordine-quickstart/SKILL.md and read by Ahel’s review.

是什么

Ordine 是一个 AI-first 的工作调度框架,用于自动化代码质量检查和修复。

核心概念

Skill (AI 能力)
  ↑ 被引用
Operation (原子操作: 检查/修复)
  ↑ 被组合        ↑ 被绑定
Pipeline (DAG 流水线)    Recipe (操作 + 规范绑定)
  ↓ 触发运行              ↑ 引用
Job (运行记录)    Best Practice (编码规范)
                            ├── Checklist Items
                            └── Code Snippets

实体关系

实体说明示例 ID
SkillAI Agent 的能力skill_check_dao
Operation原子操作(引用 Skill)op_check_dao
PipelineDAG 流水线(组合多个 Operation 节点)pipe_multi_quality_check
Best Practice编码规范bp_classname_convention
Recipe绑定 Operation + Best Practicercp_check_classname
Rule自定义检查规则(含脚本)rule_no_template_classname
JobPipeline 的一次运行记录job_abc123
Checklist ItemBest Practice 的检查项cli_cn_1
Code SnippetBest Practice 的代码示例cs_cn_good

环境准备

启动 Server

cd apps/server
cp .env.example .env  # 配置 DATABASE_URL
bun dev

默认端口 9433。

配置 CLI

export ORDINE_API_URL=http://localhost:9433

CLI 命令速查

命令说明
ordine pipelines列出所有 Pipeline
ordine ls同上(别名)
ordine run <id>运行 Pipeline(自动 follow)
ordine run <id> -i <path>运行 Pipeline 并指定输入路径
ordine run <id> --no-follow运行 Pipeline(不等待完成)

REST API 速查

基础 URL: http://localhost:9433

资源端点方法
Pipelines/api/pipelinesGET, POST, PUT
Pipelines/api/pipelines/:idGET, PATCH, DELETE
Pipelines/api/pipelines/:id/runPOST
Operations/api/operationsGET, POST, PUT
Operations/api/operations/:idGET, PATCH, DELETE
Best Practices/api/best-practicesGET, POST, PUT
Best Practices/api/best-practices/:idGET, PATCH, DELETE
Best Practices/api/best-practices/exportGET
Best Practices/api/best-practices/importPOST
Recipes/api/recipesGET, POST, PUT
Rules/api/rulesGET, POST, PUT
Rules/api/rules/:idGET, PATCH, DELETE
Skills/api/skillsGET, POST
Skills/api/skills/:idGET, PATCH, DELETE
Jobs/api/jobsGET, POST
Jobs/api/jobs/:idGET, PATCH, DELETE
Checklist Items/api/checklist-itemsGET(?bestPracticeId), PUT, DELETE(?id)
Code Snippets/api/code-snippetsGET(?bestPracticeId), PUT, DELETE(?id)
Filesystem/api/filesystem/browseGET(?path)
Filesystem/api/filesystem/treeGET(?path)
Health/healthGET

典型工作流

1. 创建一个代码质量检查流水线

# 1. 注册 Skill
# → 参见 ordine-create-skill

# 2. 创建 Operation(引用 Skill)
# → 参见 ordine-create-operation

# 3. 创建 Best Practice + Checklist
# → 参见 ordine-create-bestpractice

# 4. 创建 Recipe(绑定 Operation + Best Practice)
# → 参见 ordine-create-recipe

# 5. 创建 Pipeline(组合 Operation 节点)
# → 参见 ordine-create-pipeline

# 6. 运行 Pipeline
ordine run pipe_check_xxx -i ./src
# → 参见 ordine-run-pipeline

2. 日常使用

# 查看有哪些 Pipeline
ordine ls

# 运行检查
ordine run pipe_multi_quality_check -i ./src

# 查看运行结果
curl -s "http://localhost:9433/api/jobs?status=completed" | python3 -m json.tool

相关 Skill

Skill用途
ordine-quickstart本文 — 系统概览和快速上手
ordine-create-pipeline创建 Pipeline
ordine-list-pipelines列出 Pipeline
ordine-run-pipeline运行 Pipeline + 监控 Job
ordine-create-operation创建 Operation
ordine-create-bestpractice创建 Best Practice
ordine-create-recipe创建 Recipe
ordine-create-rule创建 Rule
ordine-create-skill注册 Skill
ordine-manage-job管理 Job
ordine-manage-checklist管理 Checklist Items
ordine-manage-codesnippet管理 Code Snippets
ordine-browse-filesystem浏览文件系统
ordine-export-import导出/导入 Best Practice

Signals

GitHub stars
28
Forks
2
Last commit
Oct 2026
Advanced
Item type
skill
Key
ordine-quickstart
Source
github.com/forge-town/ordine