一键导入
new-adapter
Add support for a new AI tool with adapters, CLI, completion, and tests.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Add support for a new AI tool with adapters, CLI, completion, and tests.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Summarize the current session and generate reusable Claude rules, skills, or commands.
Update all project documentation after code changes.
Synchronize English README.md with Chinese README_ZH.md, maintaining content parity.
Analyze code changes and update KNOWLEDGE_BASE.md with architectural and feature changes.
| name | new-adapter |
| description | Add support for a new AI tool with adapters, CLI, completion, and tests. |
Complete workflow for adding support for a new AI tool to AIS.
Before starting, gather this information:
.windsurf/rules/)file or directoryCreate src/adapters/<tool>-<type>.ts:
import { createBaseAdapter } from './base.js';
export const myToolAdapter = createBaseAdapter({
name: '<tool>-<type>',
tool: '<tool>',
subtype: '<type>',
configPath: ['<tool>', '<type>'],
defaultSourceDir: '.<tool>/<type>',
targetDir: '.<tool>/<type>',
mode: 'directory', // or 'file'
});
In src/adapters/index.ts:
DefaultAdapterRegistry constructorIn src/project-config.ts:
ProjectConfig interfaceSourceDirConfig interface if neededIn src/cli/register.ts:
In src/completion.ts:
In src/completion/scripts.ts:
Create src/__tests__/<tool>-<type>.test.ts:
/sync-readme)# Build
npm run build
# Run tests
npm test
# Test manually
node dist/index.js <tool> <type> add <name>
node dist/index.js <tool> <type> remove <name>
Request: Add support for a new AI tool with rules and skills Result: Complete adapter implementation with tests passing