بنقرة واحدة
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