parallel-integrate
БесплатноБез исполняемых скриптовНе проверенVerify integration after parallel agent execution and generate report
от jpoutrin★ 16 звёзд на GitHubОб этом скилле
parallel-integrate
Category: Parallel Development
Usage
/parallel-integrate [--parallel-dir <dir>] [--tech django|typescript|go]
Arguments
--parallel-dir: Optional - Path to parallel directory (auto-detects if single directory inparallel/)--tech: Optional - Technology stack for specific checks (default: auto-detect)
Purpose
Verify integration after all parallel agents complete their work. Checks contract compliance, boundary violations, runs tests, and generates an integration report.
Prerequisites
- All parallel tasks completed
- All feature branches merged to main (or ready to merge)
- Run after
/parallel-decomposeexecution
Execution Instructions for Claude Code
0. Determine Parallel Directory
If --parallel-dir provided:
- Use specified directory (e.g.,
parallel/TS-0042-inventory-system)
If not provided:
- Scan
parallel/for subdirectories - If single directory found, use it
- If multiple, list and ask user to specify
- If none, error with guidance
Read manifest.json from parallel directory:
PARALLEL_DIR="parallel/TS-0042-inventory-system"
cat "$PARALLEL_DIR/manifest.json"
1. Verify Branch Status
Check all task branches are complete:
# List task branches
git branch -a | grep feature/task-
# Check for unmerged branches
git branch --no-merged main | grep feature/task-
2. Merge Remaining Branches
If unmerged branches exist:
git checkout main
for branch in $(git branch --no-merged main | grep feature/task-); do
echo "Merging $branch..."
git merge $branch --no-edit
done
3. Technology-Specific Integration
For Django Projects
Migration Merge:
# Check for migration conflicts
python manage.py showmigrations | grep "\[ \]"
# If conflicts, merge migrations
python manage.py makemigrations --merge
# Apply all migrations
python manage.py migrate
Verification:
# Django system check
python manage.py check
# Run all tests
pytest
# Type checking
mypy apps/
# Linting
ruff check .
For TypeScript Projects
Build Verification:
# Type check
npx tsc --noEmit
# Lint
npm run lint
# Run tests
npm test
# Build
npm run build
For Go Projects
# Build and vet
go build ./...
go vet ./...
# Run tests
go test ./...
# Check formatting
gofmt -d .
4. Contract Compliance Check
For each task in $PARALLEL_DIR/tasks/:
API Contract Check:
- Compare implemented endpoints against
$PARALLEL_DIR/contracts/api-schema.yaml - Verify request/response schemas match
- Check error formats
Type Contract Check:
- Verify types match
$PARALLEL_DIR/contracts/types.py(or.ts) - Check for missing fields
- Verify enum values
5. Boundary Violation Check
For each task, verify:
- Files modified are within declared scope
- No files touched that were in "BOUNDARY" list
- No unauthorized contract modifications
# Check git history for boundary violations
for task in $(ls $PARALLEL_DIR/tasks/); do
echo "Checking $task boundaries..."
# Compare committed files against task scope
done
6. Tech Spec Compliance Check
Read Tech Spec path from manifest:
TECH_SPEC=$(jq -r '.tech_spec.path' "$PARALLEL_DIR/manifest.json")
If Tech Spec exists, validate implementation:
Architecture Alignment:
- Compare implemented components against Tech Spec Design Overview
- Verify component boundaries match spec
- Check that data flow matches documented architecture
Data Model Compliance:
- Compare implemented models against Tech Spec Data Model section
- Verify all entities are implemented
- Check field types and constraints match
API Compliance:
- Compare implemented endpoints against Tech Spec API Specification
- Verify request/response formats match
- Check error handling matches spec
7. Generate Integration Report
Create $PARALLEL_DIR/integration-report.md:
# Integration Report
Generated: [date]
Parallel Dir: parallel/TS-0042-inventory-system
Source PRD: [from manifest.sources.prd]
Tech Spec: [from manifest.tech_spec.id]
Tasks Integrated: [count]
## Summary
| Check | Status | Details |
|-------|--------|---------|
| Branch Merge | ✅/❌ | X branches merged |
| Contract Compliance | ✅/⚠️/❌ | X/Y endpoints match |
| Tech Spec Compliance | ✅/⚠️/❌ | X deviations |
| Boundary Violations | ✅/❌ | X violations found |
| Tests | ✅/❌ | X passed, Y failed |
| Type Check | ✅/❌ | X errors |
| Lint | ✅/❌ | X warnings |
## Contract Compliance
### API Endpoints
| Endpoint | Status | Notes |
|----------|--------|-------|
| GET /api/users/ | ✅ | Matches spec |
| POST /api/users/ | ⚠️ | Missing validation field |
### Type Definitions
| Type | Status | Notes |
|------|--------|-------|
| UserDTO | ✅ | Matches contract |
| OrderDTO | ⚠️ | Extra field `updated_at` |
## Boundary Violations
| Task | File | Issue |
|------|------|-------|
| task-003 | apps/users/models.py | Mo
Установить parallel-integrate в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл parallel-integrate?
Verify integration after parallel agent execution and generate report
Как установить скилл parallel-integrate?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл parallel-integrate запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic