ai-doc-sync
Version:
Tool to synchronize AI documentation to Cursor rules, Cline rules and Devin knowledge base
76 lines (54 loc) • 1.44 kB
Markdown
# AI Document Synchronizer
AIドキュメントをCursor Rules、Cline Rules、Devinナレッジベースに同期するためのツール。
**English**: A tool to synchronize AI documentation to Cursor rules, Cline rules and Devin knowledge base.
## インストール / Installation
```bash
npm install ai-doc-sync
```
または、グローバルにインストール:
```bash
npm install -g ai-doc-sync
```
## 使い方 / Usage
### コマンドライン / Command Line
```bash
# プロジェクトルートディレクトリで実行
npx ai-doc-sync sync
# または、インストール済みの場合
ai-doc-sync sync
```
### npm scriptとして / As npm script
package.jsonに以下を追加:
```json
{
"scripts": {
"sync-document": "ai-doc-sync sync"
}
}
```
そして実行:
```bash
npm run sync-document
```
### 設定 / Configuration
`.ai-syncrc`ファイルをプロジェクトルートに作成:
```json
{
"aiDocumentPath": ".ai-document",
"cursorRulesPath": ".cursor/rules",
"clineRulesPath": ".cline/rules",
"devinApiToken": "your_token_here"
}
```
または、環境変数を設定:
```
DEVIN_API_TOKEN=your_token_here
```
## 機能 / Features
- `.ai-document`ディレクトリ内のMarkdownファイルを自動検出
- Cursor IDEルールへの変換
- Cline IDEルールへの変換
- Devin知識ベースへの登録
- 柔軟な設定オプション
## ライセンス / License
MIT