parallel-safe-implementation
БесплатноБез исполняемых скриптовНе проверенGuidelines for implementing tasks safely in parallel execution. Use when working on a task in Ralph parallel mode to avoid conflicts. Triggers on: implement…
Об этом скилле
Parallel-Safe Implementation
Guidelines for implementing tasks in Ralph parallel mode without causing conflicts.
The Job
- Implement assigned task completely
- Stay within declared
touchespaths - Respect mutex boundaries
- Avoid undeclared hotspots
- Commit atomically with clear messages
Do NOT: modify DAG, schedule tasks, merge branches, or review other work.
Core Rules
1. Stay in Your Lane
Only modify files within your task's touches declaration:
touches: ["src/auth/**", "tests/auth/**"]
Allowed: src/auth/middleware.ts, tests/auth/login.test.ts
Forbidden: src/api/routes.ts, package.json
2. Respect Mutex
If your task has mutex: ["db-migrations"], you have exclusive access to that resource. Other tasks with the same mutex will wait.
3. Avoid Hotspots
Never touch these without explicit mutex:
package.json/package-lock.json→ mutex:lockfile- Database migrations → mutex:
db-migrations - Route configuration → mutex:
router - Global config files → mutex:
global-config
Implementation Checklist
Before starting:
- Read task description and acceptance criteria
- Check
touchesfor allowed paths - Check
mutexfor exclusive resources - Check
dependsOnto understand available interfaces
While implementing:
- Make small, focused changes
- Avoid large refactors outside task scope
- Don't rename shared types/interfaces unless task requires it
- Test your changes in isolation
Before committing:
- Verify only allowed files changed
- Run relevant tests
- Write clear commit message referencing task ID
Commit Discipline
Good Commits
AUTH-002: Add auth middleware
- Implement JWT validation
- Add role-based access control
- Add unit tests for middleware
Bad Commits
WIP
various fixes
Conflict Prevention
Do
- Import existing modules, don't copy code
- Use existing patterns from codebase
- Add new files instead of heavily modifying shared ones
- Coordinate interface changes via contracts
Don't
- Refactor unrelated code
- Change file structure outside scope
- Modify global types without contract declaration
- Add dependencies without lockfile mutex
Touched Areas Summary
At task completion, report what you changed:
Task AUTH-002 completed
Files changed: 4
+ src/auth/middleware.ts (new)
+ src/auth/roles.ts (new)
~ src/auth/index.ts (export added)
+ tests/auth/middleware.test.ts (new)
Within declared touches: ✓
Mutex used: contract:auth-api
Safety Checklist Output
Pre-implementation safety check:
✓ touches: ["src/auth/**"] - clear scope
✓ mutex: ["contract:auth-api"] - exclusive access
✓ dependsOn: ["AUTH-001"] - user table available
Hotspots to avoid:
✗ package.json (no lockfile mutex)
✗ db/migrations/** (no db-migrations mutex)
Ready to implement safely
Установить parallel-safe-implementation в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл parallel-safe-implementation?
Guidelines for implementing tasks safely in parallel execution. Use when working on a task in Ralph parallel mode to avoid conflicts. Triggers on: implement task safely, parallel mode, avoid conflicts.
Как установить скилл parallel-safe-implementation?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл parallel-safe-implementation запускает скрипты?
Нет, скилл состоит только из инструкций (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