workspace-contract
Create or update AGENTS.md and CLAUDE.md workspace contracts for AI coding agents. Use when the user wants project instructions, symlink strategy…
от Andersonlimahw★ 19 звёзд на GitHub
Установить workspace-contract в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Workspace Contract
Goal: make the project readable to future agents in one load.
Process
- Read existing
AGENTS.mdandCLAUDE.mdif present. - Decide canonical file:
- Prefer
AGENTS.mdas canonical for multi-agent portability. - Use
CLAUDE.mdas a symlink toAGENTS.mdwhen supported and requested. - Use a short pointer file when symlink support is unknown or unsafe.
- Prefer
- Append or update a delimited AI workspace block. Preserve unrelated instructions.
- Include only operational facts future agents need.
- Verify links, symlink target, and absence of duplicated long blocks.
Required Sections
- Project identity and topology.
- Domains and owning folders.
- Setup depth and scope.
- Skills map: name, scope, trigger, location.
- Agent map: orchestrator, subagents, delegation rules.
- Verification commands.
- Marketplace/plugin sync rules when the repo has
plugins/. - Handoff path and continuation protocol.
Symlink Policy
Use this decision order:
- If both files already contain meaningful content, preserve both and add cross-links.
- If
AGENTS.mdis canonical andCLAUDE.mdis absent, createCLAUDE.md -> AGENTS.mdwhen the filesystem and user allow symlinks. - If symlink is unsafe, create a short
CLAUDE.mdpointer that referencesAGENTS.md. - Never replace user-authored instructions without preserving them.
Minimal Block
## AI Workspace
Depth: medium
Topology: monorepo
Canonical instructions: AGENTS.md
Skills:
- setup-ai-workspace: project setup and routing
Agents:
- workspace-orchestrator: cross-domain planning and delegation
Verification:
- Run repo tests or documented quality gates after edits.
Rules
- No marketing prose.
- No duplicated long policy blocks.
- No stale file paths.
- If this repo's
plugins/changes, update.claude-plugin/marketplace.jsonin the same change.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл workspace-contract?
Create or update AGENTS.md and CLAUDE.md workspace contracts for AI coding agents. Use when the user wants project instructions, symlink strategy, orchestrator routing, skill maps, or monorepo/domain AI configuration files.
Как установить скилл workspace-contract?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл workspace-contract запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…