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.
$ npx -y skills add lbb00/ai-rules-sync --skill new-adapter --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/new-adapterContext preview
The summary Claude sees to decide when to auto-load this skill.
Add support for a new AI tool with adapters, CLI, completion, and tests.
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.
Repo: lbb00/ai-rules-sync
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.