new-adapter
Add support for a new AI tool with adapters, CLI, completion, and tests.
Summarize the current session and generate reusable Claude rules, skills, or commands.
Claude Code
$ npx -y skills add lbb00/ai-rules-sync --skill summarize-session --agent claude-code
Codex
$ npx skills add lbb00/ai-rules-sync --skill summarize-session -a codex -y
Cursor
$ npx skills add lbb00/ai-rules-sync --skill summarize-session -a cursor -y
Gemini CLI
$ npx skills add lbb00/ai-rules-sync --skill summarize-session -a gemini-cli -y
GitHub Copilot
$ npx skills add lbb00/ai-rules-sync --skill summarize-session -a github-copilot -y
OpenCode
$ npx skills add lbb00/ai-rules-sync --skill summarize-session -a opencode -y
Windsurf
$ npx skills add lbb00/ai-rules-sync --skill summarize-session -a windsurf -y
name: summarize-session description: Summarize the current session and generate reusable Claude rules, skills, or commands.
At the end of a productive coding session, analyze the conversation to extract reusable patterns and generate Claude Code artifacts (rules, skills, commands) that can accelerate future work.
1. **Review Session Activity**
2. **Identify Patterns**
**Rules Candidates** (coding standards, project conventions):
**Skills Candidates** (multi-step workflows):
**Commands Candidates** (single-action shortcuts):
3. **Generate Artifacts**
For each identified pattern, create the appropriate artifact:
**Rules** → `.claude/rules/<name>/RULE.md`
--- name: rule-name description: Brief description --- # Rule Name ## When to Apply ... ## Guidelines ...
**Skills** → `.claude/skills/<name>/SKILL.md`
--- name: skill-name description: Brief description --- # Skill Name ## Instructions 1. Step 1 2. Step 2 ...
**Commands** → `.claude/commands/<name>.md`
# Command Name Description of what this command does. ## Steps 1. ... 2. ...
4. **Validate Artifacts**
5. **Document Session Summary**
## Session Summary ### Accomplished - [List of completed tasks] ### Generated Artifacts #### Rules - `<rule-name>`: <description> #### Skills - `<skill-name>`: <description> #### Commands - `<command-name>`: <description> ### Next Steps - [Recommendations for future work]
**Identified Pattern**: Multi-step process for adding adapters **Generated**: Skill `new-adapter`
**Identified Pattern**: TypeScript strict mode conventions **Generated**: Rule `typescript-conventions`
**Identified Pattern**: Test-then-commit workflow **Generated**: Command `test-and-commit`
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.
Add support for a new AI tool with adapters, CLI, completion, and tests.
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.