summarize-session
Summarize the current session and generate reusable Claude rules, skills, or commands.
Add support for a new AI tool with adapters, CLI, completion, and tests.
Claude Code
$ npx -y skills add lbb00/ai-rules-sync --skill new-adapter --agent claude-code
Codex
$ npx skills add lbb00/ai-rules-sync --skill new-adapter -a codex -y
Cursor
$ npx skills add lbb00/ai-rules-sync --skill new-adapter -a cursor -y
Gemini CLI
$ npx skills add lbb00/ai-rules-sync --skill new-adapter -a gemini-cli -y
GitHub Copilot
$ npx skills add lbb00/ai-rules-sync --skill new-adapter -a github-copilot -y
OpenCode
$ npx skills add lbb00/ai-rules-sync --skill new-adapter -a opencode -y
Windsurf
$ npx skills add lbb00/ai-rules-sync --skill new-adapter -a windsurf -y
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:
Create `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`:
In `src/project-config.ts`:
In `src/cli/register.ts`:
In `src/completion.ts`:
In `src/completion/scripts.ts`:
Create `src/__tests__/<tool>-<type>.test.ts`:
# 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
English · 中文 · Documentation AI Rules Sync (AIS) — Install, compose, update, and publish native agent assets from multiple Git repositories across all your projects. AIS is an asset federation toolkit, not a format converter.
Summarize the current session and generate reusable Claude rules, skills, or commands.
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.
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.