mend-agent-rules
БесплатноБез исполняемых скриптовНе проверенSynchronize CLAUDE.md and AGENTS.md with available agents and skills.
от diegosouzapw★ 68 звёзд на GitHubОб этом скилле
Mend Agent Rules
This skill automates the synchronization of CLAUDE.md and AGENTS.md using AI / LLM to ensure they always reflect the current state of the repository's agents and skills.
Purpose
To provide AI agents with up-to-date instructions and context about available specialized capabilities without manual maintenance.
Instructions
- Discovery: Scan the following directories and categorize them:
- Project Skills: All
SKILL.mdfiles in.claude/skills/(recursive). - Agents: Agent definitions or metadata in
.claude/agents/.
- Project Skills: All
- Extraction: For each skill/agent found, extract:
name: From YAML frontmatter or directory name.description: From YAML frontmatter or first paragraph.path: Relative path from the workspace root.
- Target Identification: Identify documentation files and their respective markers:
- CLAUDE.md and AGENTS.md:
<!-- AVAILABLE_SKILLS_START -->and<!-- AVAILABLE_SKILLS_END --><!-- AVAILABLE_AGENTS_START -->and<!-- AVAILABLE_AGENTS_END --><!-- FRAMEWORK_DOCS_START -->and<!-- FRAMEWORK_DOCS_END -->
- CLAUDE.md and AGENTS.md:
- Formatting:
- Skills List: Generate a table of all discovered project skills.
- Agents List: Generate a table of discovered agents.
- Synchronization: Replace the content between the specific markers in BOTH target files.
- Update BOTH
CLAUDE.mdandAGENTS.mdwith the project skills table, agents table, and framework documentation. - CRITICAL: The framework documentation (explaining what Agent Skills are, directory structure, and guidelines) MUST be present in both files between the
FRAMEWORK_DOCSmarkers. If it is missing from one but present in the other, synchronize it.
- Update BOTH
- Verification: Confirm that both files are identical except for their top-level headers (
# CLAUDE.mdvs# AGENTS.md) and that all markers are preserved.
Markers
CLAUDE.md
<!-- AVAILABLE_SKILLS_START -->
<!-- AVAILABLE_SKILLS_END -->
<!-- AVAILABLE_AGENTS_START -->
<!-- AVAILABLE_AGENTS_END -->
<!-- FRAMEWORK_DOCS_START -->
<!-- FRAMEWORK_DOCS_END -->
AGENTS.md
<!-- AVAILABLE_SKILLS_START -->
<!-- AVAILABLE_SKILLS_END -->
<!-- AVAILABLE_AGENTS_START -->
<!-- AVAILABLE_AGENTS_END -->
<!-- FRAMEWORK_DOCS_START -->
<!-- FRAMEWORK_DOCS_END -->
Example Table Format
| Name | Description | Link |
|---|---|---|
| lint-fix | Iteratively run linters, apply auto-fixes, and resolve remaining issues. | .claude/skills/lint-fix/SKILL.md |
Установить mend-agent-rules в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл mend-agent-rules?
Synchronize CLAUDE.md and AGENTS.md with available agents and skills.
Как установить скилл mend-agent-rules?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл mend-agent-rules запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic